AI Slop Code RIsk Monitor

cvat-ai/cvat

CVAT is a leading data annotation platform for image, video, audio, and 3D datasets. It offers open-source, cloud, and enterprise products, as well as labeling services, with AI-assisted labeling, quality assurance, team collaboration, analytics, and developer APIs.

7.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for cvat-ai/cvat, a Python project with 16,896 GitHub stars. SynthScan examined 452,560 lines of code across 2069 source files, recording 2915 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 7.1 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

7.1
Adjusted Signal
7.1
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
16.9K
Stars
Python
Language
452.6K
Lines of Code
2.1K
Files
2.9K
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 23.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 2531 finding(s).

Hallucinated Dependency & Supply Chain Risk 6.9/100 · LOW

Are imports declared and package/API names verified? 279 finding(s).

Agent Over-Engineering Ratio 20.9/100 · LOW

Are wrappers, guards, and repeated structures necessary? 2213 finding(s).

PR Review Velocity Impact 31.5/100 · MEDIUM

Which changes need focused human review? 2915 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 42HIGH 23MEDIUM 11LOW 2839

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2915 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers2095 hits · 1944 pts
SeverityFileLineSnippetContext
LOWcvat-data/src/ts/3rdparty/Decoder.worker.js175 function updateGlobalBufferAndViews(buf) {CODE
LOWcvat-data/src/ts/3rdparty/Decoder.worker.js370 function receiveInstantiatedSource(output) {CODE
LOWcvat-canvas/src/typescript/svg.patch.ts516 function computeSideEdgeConstraints(edge: Edge, fr: Edge) {CODE
LOWcvat-canvas/src/typescript/paste.ts60export function getFinalEllipseCoordinates(CODE
LOWcvat-canvas/src/typescript/paste.ts98export function getFinalPolyshapeCoordinates(CODE
LOWcvat-canvas/src/typescript/paste.ts223export function getFinalCuboidCoordinates(targetPoints: number[], geometry: Geometry): FinalCoordinates {CODE
LOWcvat-canvas/src/typescript/paste.ts291export function finalizePastedShapePoints(CODE
LOWcvat-canvas/src/typescript/rotatedShapeFitter.ts203export function fitRotatedPreviewFromGuide(points: number[]): RotatedShapeFit | null {CODE
LOWcvat-canvas/src/typescript/rotatedShapeFitter.ts288export function interpolateRotatedShapeFit(CODE
LOWcvat-canvas/src/typescript/rotatedShapeFitter.ts320export function needsAnotherFitAnimationFrame(target: RotatedShapeFit, current: RotatedShapeFit): boolean {CODE
LOWcvat-canvas/src/typescript/shared.ts307export function getSkeletonEdgeCoordinates(edge: SVG.Line): {CODE
LOWcvat-canvas/src/typescript/shared.ts529export function findClosestPointOnSegment(CODE
LOWcvat-canvas/src/typescript/shared.ts608export function processPolygonUnionResult(result: martinez.Geometry): { shapeType: string; points: number[] }[] {CODE
LOWcvat-canvas/src/typescript/shared.ts629export function isPolygonSelfIntersecting(points: number[]): boolean {CODE
LOWcvat-canvas/src/typescript/shared.ts699function extractSnapPointsFromState(drawnState: DrawnState): Readonly<number[]> {CODE
LOWcvat-canvas/src/typescript/autoborderHandler.ts95function collectAddedPointIndexesAndDirection(CODE
LOWcvat-canvas/src/typescript/canvasModel.ts386function disableInternalSVGDrawing(data: DrawData | MasksEditData, currentData: DrawData | MasksEditData): boolean {CODE
LOWtests/cypress/support/utils.cy.js31export function checkAutoborderPointsCount(expectedCount) {CODE
LOWtests/cypress/support/utils.cy.js67export function imagePointToCanvasCoordinates(point, {CODE
LOW…as3d_functionality_control_button_mouse_interaction.js16 function testPerspectiveChangeOnButtonClick(CODE
LOW…lity_2/case_56_canvas3d_functionality_basic_actions.js19 function testPerspectiveChangeOnKeyPress(key, screenshotNameBefore, screenshotNameAfter) {CODE
LOW…lity_2/case_56_canvas3d_functionality_basic_actions.js30 function testPerspectiveChangeOnArrowKeyPress(key, screenshotNameBefore, screenshotNameAfter) {CODE
LOW…lity_2/case_56_canvas3d_functionality_basic_actions.js41 function testPerspectiveChangeOnWheel(screenshotNameBefore, screenshotNameAfter) {CODE
LOW…lity_2/case_56_canvas3d_functionality_basic_actions.js53 function testTopSideFrontChangeOnWheel(element, screenshotNameBefore, screenshotNameAfter) {CODE
LOWtests/cypress/e2e/issues_prs2/pr_9924_video_chapters.js12function checkChapterNavigationButtons(direction, expectedSliderPos) {CODE
LOWtests/cypress/e2e/features/single_object_annotation.js64 function checkSingleShapeModeOpened() {CODE
LOWtests/cypress/e2e/features/masks_basics.js101 function readTemporaryMaskPixelAlpha(clientX, clientY) {CODE
LOWtests/cypress/e2e/features/multi_selection.js146 function openSelectionOverflowMenu() {CODE
LOWtests/cypress/e2e/features/multi_selection.js188 function assertSelectionDragDoesNotPan(selector, modifiers = {}) {CODE
LOW…2e/actions_objects2/case_108_rotated_bounding_boxes.js45 function testCompareRotateBetweenShapes(shape1, shape2) {CODE
LOW…cypress/e2e/actions_objects2/case_15_group_features.js110 function testSidebarItemsBackgroundColorEquality() {CODE
LOW…ss/e2e/actions_objects2/case_14_appearance_features.js177 function testDrawShapeCheckOpacity({CODE
LOWtests/cypress/e2e/features2/ground_truth_jobs.js87 function checkRectangleAndObjectMenu(rectangle, isGroundTruthJob = false) {CODE
LOWtests/cypress/e2e/features2/ground_truth_jobs.js141 function createTaskWithQualityParams(qualityParams, archiveName, name = taskName) {CODE
LOW…/e2e/actions_projects_models/markdown_base_pipeline.js118 function expectBeforeUnloadBlocked(shouldBlock) {CODE
LOW…/e2e/actions_projects_models/markdown_base_pipeline.js248 function checkGuideAndAssetAvailableOnAnnotationView() {CODE
LOW…ns_projects_models/project_create_task_by_dimension.js36 function assertTaskCreationOptions({ generic, audio, multi }) {CODE
LOWtests/cypress/e2e/actions_objects/snap_tool_feature.js40 function testCollectShapePointRadius(objectId) {CODE
LOW…e/actions_objects/case_24_delete_unlock_lock_object.js37 function deleteObjectViaGUIFromSidebar() {CODE
LOW…e/actions_objects/case_24_delete_unlock_lock_object.js43 function deleteObjectViaGUIFromObject() {CODE
LOW…e/actions_objects/case_24_delete_unlock_lock_object.js64 function checkFailDeleteLockObject(shortcut) {CODE
LOW…ess/e2e/actions_objects/case_22_tag_annotation_mode.js30 function changeCheckboxAutomaticallyGoToNextFrame(value) {CODE
LOW…ypress/e2e/actions_objects/case_37_object_make_copy.js88 function compareObjectsSidebarAttr(objectSidebar1, objectSidebar2) {CODE
LOW…press/e2e/actions_objects/simplify_polygons_feature.js180 function expectCopiedPolygonMetrics(metrics, baselineStats) {CODE
LOW…jects/case_34_drawing_with_predefined_number_points.js48 function tryDrawObjectPredefinedNumberPoints(object, pointsCount) {CODE
LOW…ss/e2e/actions_tasks3/case_18_filters_functionality.js83 function checkingFilterApplication(ids) {CODE
LOW…se_32_attribute_annotation_mode_zoom_margin_feature.js25 function changeSettingsZoomPadding(valueZoomPadding) {CODE
LOW⚡…s_tasks4/cloud_storage/case_109_dummy_cloud_storage.js18 function testListDummyCloudStorages(dummyCS) {CODE
LOW⚡…s_tasks4/cloud_storage/case_109_dummy_cloud_storage.js25 function testCheckAndCloseNotification() {CODE
LOW…ctions_tasks2/case_26_canvas_color_settings_feature.js42 function checkStateValuesInBackground(expectedValue) {CODE
LOW…s/e2e/actions_tasks/case_66_rename_label_raw_editor.js30 function testChangingRawLabelsViewerText(rawLabelsTextarea) {CODE
LOW…/actions_tasks/case_67_intelligent_polygon_cropping.js42 function testCheckedIntelligentPolygonCropping(uncheck) {CODE
LOW…s_default_number_of_points_in_polygon_approximation.js14 function testOpenSettingsWorkspace() {CODE
LOW…s_default_number_of_points_in_polygon_approximation.js24 function testCheckSliderAttrValuenow(expectedValue) {CODE
LOW…ess/e2e/actions_tasks/case_72_hotkeys_change_labels.js36 function testCheckingAlwaysShowObjectDetails(check) {CODE
LOWtests/cypress/e2e/actions_tasks/mutable_attributes.js31 function testChangingAttributeValue(expectedValue, value) {CODE
LOWtests/python/conftest.py19def pytest_collection_modifyitems(items):CODE
LOWtests/python/webhook_receiver/server.py11class RequestHandler(BaseHTTPRequestHandler):CODE
LOW⚡tests/python/shared/utils/resource_import_export.py20def _make_custom_resource_params(resource: str, obj: str, cloud_storage_id: int) -> dict[str, Any]:CODE
LOW⚡tests/python/shared/utils/resource_import_export.py28def _make_default_resource_params(resource: str, obj: str) -> dict[str, Any]:CODE
2035 more matches not shown…
Hallucination Indicators42 hits · 405 pts
SeverityFileLineSnippetContext
CRITICALcvat-canvas3d/src/typescript/canvas3dView.ts1342 this.views.perspective.renderer.domElement.dispatchEvent(event);CODE
CRITICALcvat-canvas3d/src/typescript/canvas3dView.ts2141 const currentPointNumber = +this.action.resize.helperElement.name.split('_')[1];CODE
CRITICALtests/python/shared/tasks/types.py15from shared.utils.helpers import read_video_fileCODE
CRITICALtests/python/cli/test_cli_tasks.py16from shared.utils.helpers import generate_image_fileCODE
CRITICALtests/python/cli/util.py15from shared.utils.helpers import generate_image_fileCODE
CRITICALtests/python/sdk/test_datasets.py17from shared.utils.helpers import generate_image_files, generate_video_fileCODE
CRITICALtests/python/sdk/test_auto_annotation.py19from shared.utils.helpers import generate_image_fileCODE
CRITICALtests/python/sdk/test_tasks.py26from shared.utils.helpers import generate_image_filesCODE
CRITICALtests/python/sdk/test_pytorch.py29from shared.utils.helpers import generate_image_filesCODE
CRITICALtests/python/sdk/test_examples.py41from shared.utils.helpers import generate_image_file, generate_video_fileCODE
CRITICALtests/python/sdk/fixtures.py17from shared.utils.helpers import generate_image_fileCODE
CRITICALtests/python/rest_api/test_tus_uploads.py11from shared.utils.helpers import generate_image_fileCODE
CRITICALtests/python/rest_api/test_quality_requirements.py24from shared.utils.helpers import generate_image_filesCODE
CRITICALtests/python/rest_api/types.py16from shared.utils.helpers import read_video_fileCODE
CRITICALtests/python/rest_api/test_analytics.py20from shared.utils.helpers import generate_image_filesCODE
CRITICALtests/python/rest_api/_test_base.py23from shared.utils.helpers import generate_image_files, generate_video_fileCODE
CRITICALtests/python/rest_api/test_webhooks_sender.py15from shared.utils.helpers import generate_image_filesCODE
CRITICALtests/python/rest_api/test_audio_support.py28from shared.utils.helpers import read_audio_pcmCODE
CRITICALtests/python/rest_api/test_requests.py18from shared.utils.helpers import generate_image_filesCODE
CRITICALtests/python/rest_api/test_projects.py38from shared.utils.helpers import generate_image_filesCODE
CRITICALtests/python/rest_api/test_quality_control.py21from shared.utils.helpers import generate_image_filesCODE
CRITICALtests/python/rest_api/test_tasks.py74from shared.utils.helpers import generate_image_filesCODE
CRITICALtests/python/rest_api/test_jobs.py32from shared.utils.helpers import generate_image_filesCODE
CRITICALcvat-cli/src/cvat_cli/__main__.py12from cvat_sdk.core.exceptions import AuthStoreErrorCODE
CRITICALcvat-cli/src/cvat_cli/_internal/common.py23from cvat_sdk.core.exceptions import AuthStoreErrorCODE
CRITICALcvat/apps/quality_control/models.py14from django.core.exceptions import ValidationErrorCODE
CRITICALcvat/apps/iam/password_validation.py5from django.core.exceptions import ValidationErrorCODE
CRITICALcvat/apps/iam/serializers.py18from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALcvat/apps/engine/cloud_provider.py23from azure.core.exceptions import HttpResponseError, ServiceRequestErrorCODE
CRITICALcvat/apps/engine/cloud_provider.py682 self._s3.meta.client.meta.events.register("choose-signer.s3.*", disable_signing)CODE
CRITICALcvat/apps/engine/models.py21from django.core.exceptions import ValidationErrorCODE
CRITICALcvat/apps/engine/serializers.py1857 models.RelatedFile.images.through.objects.filter(STRING
CRITICALcvat/apps/engine/serializers.py2326 models.RelatedFile.images.through.objects.filter(STRING
CRITICALcvat/apps/engine/serializers.py2341 models.RelatedFile.images.through.objects.filter(STRING
CRITICALcvat/apps/engine/utils.py34from django.core.exceptions import ValidationErrorCODE
CRITICALcvat/apps/engine/tests/test_rest_api.py35from azure.core.exceptions import HttpResponseError, ServiceRequestErrorCODE
CRITICALcvat-sdk/cvat_sdk/core/auth.py31from cvat_sdk.core.exceptions import AuthStoreErrorCODE
CRITICALcvat-ui/src/utils/get-hidden-z-layers.ts9 return state.annotation.annotations.zLayer.hiddenByFrame.get(frame) || new Set<number>();CODE
CRITICALcvat-ui/src/actions/annotation-actions.ts1158 const hiddenZLayers = state.annotation.annotations.zLayer.hiddenByFrame.get(toFrame) || new Set<number>();CODE
CRITICALcvat-ui/src/actions/annotation-actions.ts1218 const [undo] = state.annotation.annotations.history.undo.slice(-1);CODE
CRITICALcvat-ui/src/actions/annotation-actions.ts1265 const [redo] = state.annotation.annotations.history.redo.slice(-1);CODE
CRITICALcvat-ui/src/actions/auth-actions.ts107 state.plugins.callbacks.auth.onAuthenticationStart.forEach((callback) => callback());CODE
Deep Nesting297 hits · 251 pts
SeverityFileLineSnippetContext
LOWtests/python/shared/utils/dump_objects.py58CODE
LOWtests/python/shared/utils/helpers.py54CODE
LOWtests/python/cli/test_cli_misc.py213CODE
LOWtests/python/sdk/test_examples.py2130CODE
LOWtests/python/rest_api/test_check_objects_integrity.py18CODE
LOWtests/python/rest_api/test_labels.py266CODE
LOWtests/python/rest_api/test_labels.py592CODE
LOWtests/python/rest_api/test_task_data.py153CODE
LOWtests/python/rest_api/test_task_data.py234CODE
LOWtests/python/rest_api/test_task_data.py650CODE
LOWtests/python/rest_api/test_task_data.py951CODE
LOWtests/python/rest_api/test_task_data.py1335CODE
LOWtests/python/rest_api/test_task_data.py1526CODE
LOWtests/python/rest_api/test_task_data.py1658CODE
LOWtests/python/rest_api/test_task_data.py1775CODE
LOWtests/python/rest_api/test_task_data.py2250CODE
LOWtests/python/rest_api/test_task_data.py2343CODE
LOWtests/python/rest_api/test_task_data.py2431CODE
LOWtests/python/rest_api/test_task_data.py2567CODE
LOWtests/python/rest_api/test_task_data.py2618CODE
LOWtests/python/rest_api/test_requests.py311CODE
LOWtests/python/rest_api/test_projects.py905CODE
LOWtests/python/rest_api/test_quality_control.py1252CODE
LOWtests/python/rest_api/test_tasks.py1109CODE
LOWtests/python/rest_api/test_tasks.py2252CODE
LOWtests/python/rest_api/test_tasks.py2296CODE
LOWtests/python/rest_api/test_tasks.py2663CODE
LOWtests/python/rest_api/test_jobs.py107CODE
LOWtests/python/rest_api/test_jobs.py883CODE
LOWtests/python/rest_api/test_access_tokens.py133CODE
LOWtests/python/rest_api/test_invitations.py58CODE
LOWcvat-cli/src/cvat_cli/_internal/parsers.py31CODE
LOWcvat-cli/src/cvat_cli/_internal/agent.py183CODE
LOWcvat-cli/src/cvat_cli/_internal/agent.py352CODE
LOWcvat-cli/src/cvat_cli/_internal/agent.py421CODE
LOWcvat-cli/src/cvat_cli/_internal/agent.py466CODE
LOWutils/dicom_converter/script.py84CODE
LOWutils/dataset_manifest/create.py59CODE
LOWutils/dataset_manifest/core.py155CODE
LOWutils/dataset_manifest/core.py790CODE
LOWutils/dataset_manifest/utils.py262CODE
LOWutils/dataset_manifest/utils.py378CODE
LOWcvat/rq_patching.py24CODE
LOWcvat/rq_patching.py90CODE
LOW…ns/rules/tests/generators/memberships_test.gen.rego.py15CODE
LOW…ns/rules/tests/generators/memberships_test.gen.rego.py75CODE
LOW…ns/rules/tests/generators/memberships_test.gen.rego.py177CODE
LOW…/rules/tests/generators/organizations_test.gen.rego.py15CODE
LOW…/rules/tests/generators/organizations_test.gen.rego.py131CODE
LOW…ns/rules/tests/generators/invitations_test.gen.rego.py15CODE
LOW…ns/rules/tests/generators/invitations_test.gen.rego.py173CODE
LOWcvat/apps/consensus/intersect_merge.py134CODE
LOWcvat/apps/consensus/intersect_merge.py293CODE
LOWcvat/apps/consensus/intersect_merge.py140CODE
LOWcvat/apps/consensus/permissions.py26CODE
LOWcvat/apps/consensus/permissions.py138CODE
LOWcvat/apps/redis_handler/cron.py18CODE
LOWcvat/apps/redis_handler/rq.py125CODE
LOWcvat/apps/redis_handler/apps.py30CODE
LOWcvat/apps/redis_handler/permissions.py33CODE
237 more matches not shown…
Unused Imports225 hits · 215 pts
SeverityFileLineSnippetContext
LOWrqscheduler.py10CODE
LOWtests/python/conftest.py9CODE
LOWtests/python/conftest.py10CODE
LOWtests/python/conftest.py11CODE
LOWtests/python/conftest.py12CODE
LOWtests/python/shared/utils/dump_test_db.py71CODE
LOWtests/python/cli/conftest.py6CODE
LOWtests/python/sdk/conftest.py6CODE
LOWtests/python/sdk/test_masks.py5CODE
LOWcvat-cli/src/cvat_cli/_internal/commands_tasks.py5CODE
LOWcvat-cli/src/cvat_cli/_internal/commands_profile.py5CODE
LOWcvat-cli/src/cvat_cli/_internal/commands_config.py5CODE
LOWcvat-cli/src/cvat_cli/_internal/utils.py5CODE
LOWcvat-cli/src/cvat_cli/_internal/agent_driver.py5CODE
LOWcvat-cli/src/cvat_cli/_internal/agent.py5CODE
LOW…ls/ffmpeg_compatibility/switch_task_to_static_cache.py6CODE
LOWutils/dataset_manifest/__init__.py4CODE
LOWutils/dataset_manifest/__init__.py4CODE
LOWutils/dataset_manifest/__init__.py4CODE
LOWcvat/settings/development.py6CODE
LOWcvat/settings/testing_rest.py6CODE
LOWcvat/settings/testing.py9CODE
LOWcvat/settings/production.py6CODE
LOWcvat/settings/email_settings.py7CODE
LOWcvat/utils/paths.py5CODE
LOWcvat/utils/django_database/__init__.py5CODE
LOWcvat/utils/django_database/__init__.py6CODE
LOWcvat/utils/django_database/__init__.py7CODE
LOWcvat/apps/profiler.py4CODE
LOWcvat/apps/consensus/models.py5CODE
LOWcvat/apps/consensus/apps.py18CODE
LOWcvat/apps/redis_handler/serializers.py5CODE
LOWcvat/apps/redis_handler/rq.py1CODE
LOWcvat/apps/redis_handler/permissions.py5CODE
LOWcvat/apps/redis_handler/views.py1CODE
LOWcvat/apps/dataset_manager/cron.py5CODE
LOWcvat/apps/dataset_manager/formats/registry.py126CODE
LOWcvat/apps/dataset_manager/formats/registry.py127CODE
LOWcvat/apps/dataset_manager/formats/registry.py128CODE
LOWcvat/apps/dataset_manager/formats/registry.py129CODE
LOWcvat/apps/dataset_manager/formats/registry.py130CODE
LOWcvat/apps/dataset_manager/formats/registry.py131CODE
LOWcvat/apps/dataset_manager/formats/registry.py132CODE
LOWcvat/apps/dataset_manager/formats/registry.py133CODE
LOWcvat/apps/dataset_manager/formats/registry.py134CODE
LOWcvat/apps/dataset_manager/formats/registry.py135CODE
LOWcvat/apps/dataset_manager/formats/registry.py136CODE
LOWcvat/apps/dataset_manager/formats/registry.py137CODE
LOWcvat/apps/dataset_manager/formats/registry.py138CODE
LOWcvat/apps/dataset_manager/formats/registry.py139CODE
LOWcvat/apps/dataset_manager/formats/registry.py140CODE
LOWcvat/apps/dataset_manager/formats/registry.py141CODE
LOWcvat/apps/dataset_manager/formats/registry.py142CODE
LOWcvat/apps/dataset_manager/formats/registry.py143CODE
LOWcvat/apps/dataset_manager/formats/registry.py144CODE
LOWcvat/apps/dataset_manager/formats/registry.py145CODE
LOWcvat/apps/dataset_manager/formats/registry.py146CODE
LOWcvat/apps/dataset_manager/formats/registry.py147CODE
LOWcvat/apps/dataset_manager/data_model/__init__.py5CODE
LOWcvat/apps/dataset_manager/data_model/__init__.py5CODE
165 more matches not shown…
Over-Commented Block86 hits · 85 pts
SeverityFileLineSnippetContext
LOWcvat-canvas/src/typescript/shared.ts581 return acc;COMMENT
LOWcvat-canvas/src/typescript/canvasView.ts441 private markStateEdited(state: any): void {COMMENT
LOWtests/allow_webhooks_receiver.sh1# We want to exclude webhooks_receiver from SSRF protection,COMMENT
LOWtests/allow_moto.sh1# Allow the test S3 server through Smokescreen's SSRF protection.COMMENT
LOWtests/python/shared/tasks/__init__.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOWtests/python/cli/conftest.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOWtests/python/sdk/conftest.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOWtests/python/rest_api/__init__.py1# Copyright (C) 2022 Intel CorporationCOMMENT
LOWutils/__init__.py1# Copyright (C) 2022 Intel CorporationCOMMENT
LOWutils/dataset_manifest/requirements.txt1# SHA1:8b48ce50c105772dfd9d44ee0f13479b547fe6beCOMMENT
LOWutils/dataset_manifest/__init__.py1# Copyright (C) 2021-2022 Intel CorporationCOMMENT
LOWhelm-chart/Chart.yaml1apiVersion: v2COMMENT
LOWhelm-chart/Chart.yaml21# This is the version number of the application being deployed. This version number should beCOMMENT
LOWhelm-chart/values.yaml201 tolerations: []COMMENT
LOWhelm-chart/values.yaml261 # - e2e-az2COMMENT
LOWhelm-chart/values.yaml321 # - key: kubernetes.io/e2e-az-nameCOMMENT
LOWhelm-chart/values.yaml381 ports:COMMENT
LOWhelm-chart/values.yaml401# repository: postgresCOMMENT
LOWhelm-chart/values.yaml421# database: databaseCOMMENT
LOWhelm-chart/values.yaml581 ## @param ingress.annotations Additional annotations for the Ingress resource.COMMENT
LOWcvat/settings/__init__.py1# Copyright (C) 2018-2022 Intel CorporationCOMMENT
LOWcvat/utils/version.py1# Copyright (C) 2019-2022 Intel CorporationCOMMENT
LOWcvat/utils/__init__.py1# Copyright (C) 2023 Intel CorporationCOMMENT
LOWcvat/requirements/all.txt1# SHA1:06f1cef9f12e8fbb0059de4b040a5f3a4fee3469COMMENT
LOWcvat/requirements/testing.txt1# SHA1:a3427424bb5c878ce0abf909f6de9c95e2420c1dCOMMENT
LOWcvat/requirements/HEADER.txt1#COMMENT
LOWcvat/requirements/production.txt1# SHA1:00c2724124893aa1aae87823c6e7e0dd4f1f7591COMMENT
LOWcvat/requirements/base.txt1# SHA1:50c22079f81408efde948b7baad8cf76b01a0450COMMENT
LOWcvat/requirements/base.txt21 # via -r cvat/requirements/base.inCOMMENT
LOWcvat/requirements/base.txt41clickhouse-connect==1.3.0COMMENT
LOWcvat/requirements/base.txt61 # via limitsCOMMENT
LOWcvat/requirements/base.txt81django-allauth[saml,socialaccount]==65.18.0COMMENT
LOWcvat/requirements/base.txt101djangorestframework==3.17.1COMMENT
LOWcvat/requirements/base.txt121 # viaCOMMENT
LOWcvat/requirements/base.txt141imagesize==1.4.1COMMENT
LOWcvat/requirements/base.txt161json-stream-rs-tokenizer==0.4.29COMMENT
LOWcvat/requirements/base.txt181mmh3==5.1.0COMMENT
LOWcvat/requirements/base.txt201 # tensorboardxCOMMENT
LOWcvat/requirements/base.txt221psutil==7.2.2COMMENT
LOWcvat/requirements/base.txt241 # via django-allauthCOMMENT
LOWcvat/requirements/base.txt261 # via -r cvat/requirements/base.inCOMMENT
LOWcvat/requirements/base.txt281regex==2024.11.6COMMENT
LOWcvat/requirements/base.txt301rq-scheduler==0.13.1COMMENT
LOWcvat/requirements/base.txt321six==1.17.0COMMENT
LOWcvat/requirements/base.txt341 # nibabelCOMMENT
LOWcvat/requirements/development.txt1# SHA1:18d0dab18db93b73d1126b2847f1b11f5368209cCOMMENT
LOWcvat/apps/organizations/__init__.py1# Copyright (C) 2021-2022 Intel CorporationCOMMENT
LOWcvat/apps/redis_handler/__init__.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOWcvat/apps/redis_handler/management/__init__.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOWcvat/apps/redis_handler/management/commands/__init__.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOWcvat/apps/health/__init__.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOWcvat/apps/log_viewer/__init__.py1# Copyright (C) 2018-2022 Intel CorporationCOMMENT
LOWcvat/apps/dataset_manager/__init__.py1# Copyright (C) 2021-2022 Intel CorporationCOMMENT
LOW…at/apps/dataset_manager/tests/test_rest_api_formats.py1721 # further file update / removal. There are several possible variants of the problem.COMMENT
LOW…at/apps/dataset_manager/tests/test_rest_api_formats.py1901 isinstance(e, LockNotAvailableError) for e in swallowed_exceptionsCOMMENT
LOWcvat/apps/dataset_manager/management/__init__.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOW…t/apps/dataset_manager/management/commands/__init__.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOWcvat/apps/growth/__init__.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOWcvat/apps/growth/tests/__init__.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOWcvat/apps/access_tokens/models.py41 return resultCOMMENT
26 more matches not shown…
Empty Error Handlers16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHtests/python/shared/utils/dump_test_db.py174except TypeError:CODE
HIGHcvat-cli/src/cvat_cli/_internal/agent.py555except (KeyError, ValueError):CODE
HIGHutils/dataset_manifest/create.py18except ValueError:CODE
HIGHcvat/settings/base.py66except FileExistsError:CODE
HIGHcvat/apps/dataset_manager/task.py804except StopIteration:CODE
HIGHcvat/apps/dataset_manager/formats/openimages.py81except Exception: # nosecCODE
HIGHcvat/apps/dataset_manager/formats/yolo.py80except Exception: # nosecCODE
HIGHcvat/apps/dataset_manager/formats/cvat.py224except ValueError:CODE
HIGHcvat/apps/dataset_manager/formats/cvat.py236except ValueError:CODE
HIGHcvat/apps/quality_control/serializers.py566except (CODE
HIGHcvat/apps/engine/signals.py119except Project.DoesNotExist:CODE
HIGHcvat/apps/engine/models.py688except OSError:CODE
HIGHcvat/apps/engine/utils.py176except Exception: # nosecCODE
HIGHcvat-sdk/examples/webhook_resource_monitoring.py162except KeyboardInterrupt:CODE
HIGHcvat-sdk/cvat_sdk/core/utils.py84except FileExistsError:CODE
HIGHcvat-sdk/cvat_sdk/datasets/caching.py180except FileNotFoundError:CODE
Excessive Try-Catch Wrapping68 hits · 65 pts
SeverityFileLineSnippetContext
LOW…verless/onnx/WongKinYiu/yolov7/nuclio/model_handler.py31 except Exception as e:CODE
LOW…verless/onnx/WongKinYiu/yolov7/nuclio/model_handler.py96 except Exception as e:CODE
LOWtests/python/rest_api/test_tasks.py1471 except Exception as ex:CODE
LOWcvat-cli/src/cvat_cli/_internal/agent.py367 except Exception:CODE
LOWcvat-cli/src/cvat_cli/_internal/agent.py406 except Exception:CODE
LOWcvat-cli/src/cvat_cli/_internal/agent.py497 except Exception as ex:CODE
LOWcvat-cli/src/cvat_cli/_internal/agent.py536 except Exception:CODE
LOWutils/dicom_converter/script.py116 except Exception as ex:CODE
LOWutils/dataset_manifest/create.py85 except Exception as ex:CODE
LOWutils/dataset_manifest/create.py119 except Exception as ex:CODE
LOWutils/dataset_manifest/create.py140 except Exception as ex:CODE
LOWcvat/utils/remote_debugger.py51 except Exception as ex:CODE
LOWcvat/apps/redis_handler/background.py98 except Exception:CODE
LOWcvat/apps/redis_handler/rq.py196 except Exception as ex:CODE
LOWcvat/apps/redis_handler/views.py169 except Exception: # nosec B112CODE
LOWcvat/apps/redis_handler/views.py207 except Exception:CODE
LOW…apps/redis_handler/management/commands/migrateredis.py59 except Exception as ex:CODE
LOWcvat/apps/dataset_manager/util.py434 except Exception as ex:CODE
LOWcvat/apps/dataset_manager/cron.py90 except Exception:CODE
LOWcvat/apps/dataset_manager/bindings.py192 except Exception as e:CODE
LOWcvat/apps/dataset_manager/bindings.py2236 except Exception as e:CODE
LOWcvat/apps/dataset_manager/bindings.py2708 except Exception as e:CODE
LOWcvat/apps/dataset_manager/formats/audio_tsv.py176 except Exception as e:CODE
LOWcvat/apps/dataset_manager/formats/openimages.py81 except Exception: # nosecCODE
LOWcvat/apps/dataset_manager/formats/yolo.py80 except Exception: # nosecCODE
LOWcvat/apps/iam/views.py72 except Exception as ex:CODE
LOWcvat/apps/events/event.py58 except Exception:CODE
LOWcvat/apps/events/handlers.py71 except Exception:CODE
LOWcvat/apps/events/handlers.py81 except Exception:CODE
LOWcvat/apps/events/handlers.py94 except Exception:CODE
LOWcvat/apps/events/handlers.py107 except Exception:CODE
LOWcvat/apps/events/handlers.py208 except Exception:CODE
LOWcvat/apps/events/handlers.py345 except Exception:CODE
LOWcvat/apps/events/export.py82 except Exception:CODE
LOWcvat/apps/engine/plugins.py49 except Exception as ex:CODE
LOWcvat/apps/engine/plugins.py59 except Exception as ex:CODE
MEDIUMcvat/apps/engine/cloud_provider.py107def wrapper(self, *args, **kwargs):CODE
LOWcvat/apps/engine/cloud_provider.py110 except Exception as ex:CODE
LOWcvat/apps/engine/cloud_provider.py134 except Exception as ex:CODE
LOWcvat/apps/engine/cloud_provider.py201 except Exception:CODE
LOWcvat/apps/engine/cloud_provider.py1423 except Exception:CODE
LOWcvat/apps/engine/cloud_provider.py1451 except Exception as ex:CODE
LOWcvat/apps/engine/task.py1292 except Exception as ex:CODE
LOWcvat/apps/engine/task.py1321 except Exception as ex:CODE
LOWcvat/apps/engine/task.py1766 except Exception:CODE
LOWcvat/apps/engine/media_extractors.py1205 except Exception as ex:CODE
LOWcvat/apps/engine/request_handlers.py34 except Exception:CODE
LOWcvat/apps/engine/serializers.py5037 except Exception:CODE
LOWcvat/apps/engine/cache.py826 except Exception as e:CODE
LOWcvat/apps/engine/utils.py114 except Exception as err:CODE
LOWcvat/apps/engine/utils.py176 except Exception: # nosecCODE
MEDIUMcvat/apps/engine/utils.py101def execute_python_code(source_code, global_vars=None, local_vars=None):CODE
LOWcvat/apps/engine/permissions.py85 except Exception:CODE
MEDIUMcvat/apps/engine/views.py850def __call__(self):CODE
LOWcvat/apps/engine/views.py3470 except Exception as ex:STRING
LOWcvat/apps/engine/views.py3582 except Exception as ex:STRING
LOWcvat/apps/engine/views.py3629 except Exception as ex:STRING
LOWcvat/apps/engine/views.py3679 except Exception as ex:STRING
LOWcvat/apps/engine/views.py3879 except Exception as ex:STRING
LOWcvat/apps/engine/management/utils.py62 except Exception:CODE
8 more matches not shown…
Modern Structural Boilerplate21 hits · 22 pts
SeverityFileLineSnippetContext
LOWcvat-cli/src/cvat_cli/__main__.py23logger = logging.getLogger(__name__)CODE
LOWcvat-cli/src/cvat_cli/_internal/agent_driver.py36def set_worker_current_function(func: cvataa.AutoAnnotationFunction) -> None:CODE
LOWcvat-cli/src/cvat_cli/_internal/agent.py599 def _update_ar(self, ar_id: str, progress: float) -> None:CODE
LOWcvat/apps/redis_handler/utils.py40 def set_status(self, *args: Any, **kwargs: Any) -> None:CODE
LOWcvat/apps/dataset_manager/data_model/__init__.py28__all__ = [CODE
LOWcvat/apps/quality_control/backends/__init__.py8__all__ = ["ComparisonSample", "FrameComparisonSample", "QualityBackend", "make_quality_backend"]CODE
LOWcvat/apps/quality_control/backends/datumaro/__init__.py7__all__ = ["Datumaro2DBackend"]CODE
LOWcvat/apps/engine/task.py1593 def update_status(msg: str) -> None:CODE
LOWcvat/apps/engine/serializers.py786 def _update_attribute(cls, db_attr: models.AttributeSpec, attr: dict[str, Any]) -> None:CODE
LOWcvat/apps/engine/schema.py246__all__ = [] # No public symbols hereCODE
LOWcvat/apps/engine/tests/utils.py111def set_rq_async_mode(is_async: bool) -> None:CODE
LOWcvat-sdk/cvat_sdk/auto_annotation/__init__.py42__all__ = [CODE
LOWcvat-sdk/cvat_sdk/core/auth.py436 def set_default_profile(self, name: str) -> None:CODE
LOWcvat-sdk/cvat_sdk/core/auth.py451 def set_default_server(self, server: str) -> None:CODE
LOWcvat-sdk/cvat_sdk/core/filters.py11__all__ = ["Condition", "F", "Field", "Filter", "JsonLogicExpression", "all_", "any_", "not_"]CODE
LOWcvat-sdk/cvat_sdk/datasets/__init__.py15__all__ = [CODE
LOWdev/update_version.py56 def set_prerelease(self, value: str) -> None:CODE
LOW⚡dev/update_version.py81 def _set_default_prerelease_number(self) -> None:CODE
LOW⚡dev/update_version.py84 def _set_default_prerelease(self) -> None:CODE
LOW⚡dev/update_version.py88 def _set_default_patch(self) -> None:CODE
LOW⚡dev/update_version.py92 def _set_default_minor(self) -> None:CODE
Slop Phrases9 hits · 16 pts
SeverityFileLineSnippetContext
LOWdocker-compose.dev.yml35 # For debugging, make sure to set 1 processCOMMENT
LOWdocker-compose.dev.yml47 # For debugging, make sure to set 1 processCOMMENT
LOWdocker-compose.dev.yml59 # For debugging, make sure to set 1 processCOMMENT
LOWdocker-compose.dev.yml71 # For debugging, make sure to set 1 processCOMMENT
LOWdocker-compose.dev.yml83 # For debugging, make sure to set 1 processCOMMENT
LOW⚡cvat/rq_patching.py156 # don't forget to check if the issue https://github.com/rq/rq/issues/2006 has been resolved in upstreamCOMMENT
LOW⚡cvat/rq_patching.py156 # don't forget to check if the issue https://github.com/rq/rq/issues/2006 has been resolved in upstreamCOMMENT
LOW⚡cvat/rq_patching.py158 # don't forget to check if the PR https://github.com/rq/rq/pull/2241 has been mergedCOMMENT
LOW⚡cvat/rq_patching.py158 # don't forget to check if the PR https://github.com/rq/rq/pull/2241 has been mergedCOMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHcvat/apps/engine/cloud_provider.py208Method downloads the required bytes range of the file. Args: key (str): File on the bucket STRING
HIGHcvat-sdk/cvat_sdk/core/proxies/model_proxy.py340 Export a dataset in the specified format (e.g. 'YOLO 1.1'). By default, a result file will be downloadeSTRING
HIGHcvat-sdk/cvat_sdk/core/proxies/model_proxy.py396 Create a resource backup and download it locally or upload to a cloud storage. By default, a result filSTRING
Self-Referential Comments5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMhelm-chart/values-maintenance.yaml1# This file is used to disable all CVAT components for maintenance purposes.COMMENT
MEDIUM⚡cvat/apps/engine/signals.py143 # Create the client after commit to avoid retaining one heavyweight client per deleted Data.COMMENT
MEDIUMcvat/apps/engine/serializers.py168 # This class isn't recommended for direct use in public serializersCOMMENT
MEDIUMcvat/apps/engine/views.py1409 # Create a temporary copy of the parameters we will try to create the task withSTRING
MEDIUMsite/build_docs.py161 # Create a temp repo for checkoutsCOMMENT
AI Slop Vocabulary7 hits · 13 pts
SeverityFileLineSnippetContext
MEDIUMcvat/utils/http.py17# Therefore, for robust operation, these need to be passed with every request via theCOMMENT
LOWcvat/apps/engine/backup.py491 # No filtering necessary; just use the original manifest.COMMENT
MEDIUMcvat/apps/engine/serializers.py1222 # TODO: move to ChoicesField when SDK supports seamless transition from string to enumCOMMENT
MEDIUMcvat/apps/engine/serializers.py3146 # TODO: move to ChoicesField when SDK supports seamless transition from string to enumSTRING
LOWcvat/apps/engine/parsers.py13 # Let's just return empty dictionary which will be used forCOMMENT
LOWcvat/apps/engine/utils.py243 # inside a docker container, it will just return the number of CPU coresCOMMENT
LOWcvat-sdk/cvat_sdk/auto_annotation/driver.py134 # we'll just use exact comparisons for now.COMMENT
Fake / Example Data9 hits · 11 pts
SeverityFileLineSnippetContext
LOWtests/cypress/e2e/features/bulk_actions.js8import { createDummyAWSBucket } from '../../support/dummy-data';CODE
LOW⚡…s_tasks4/cloud_storage/case_109_dummy_cloud_storage.js12} = require('../../../support/dummy-data');CODE
LOWtests/python/rest_api/test_issues.py84 "message": "lorem ipsum",CODE
LOWtests/python/rest_api/test_issues.py122 "message": "lorem ipsum",CODE
LOW⚡cvat/apps/iam/serializers.py99 dummy_user, regular_user = get_dummy_or_regular_user(self.cleaned_data["email"])CODE
LOW⚡cvat/apps/iam/serializers.py107 if not dummy_user:CODE
LOW⚡cvat/apps/iam/serializers.py111 user = dummy_user or adapter.new_user(request)CODE
LOWcvat/apps/events/tests/test_events.py57 request.user = get_user_model()(id=100, username="testuser", email="testuser@example.org")CODE
LOWcvat/apps/lambda_manager/tests/test_lambda.py182 username="user", password="user", email="user@example.com"CODE
AI Structural Patterns13 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/python/rest_api/test_tus_uploads.py80CODE
LOWtests/python/rest_api/test_quality_requirements.py60CODE
LOWtests/python/rest_api/_test_base.py35CODE
LOWtests/python/rest_api/_test_base.py689CODE
LOWtests/python/rest_api/test_task_data.py650CODE
LOWcvat/apps/quality_control/backends/datumaro/matching.py274CODE
LOWcvat/apps/quality_control/backends/datumaro/matching.py406CODE
LOWcvat/apps/iam/tests/test_rest_api.py67CODE
LOWcvat/apps/engine/permissions.py1215CODE
LOWcvat/apps/engine/permissions.py1310CODE
LOWcvat/apps/lambda_manager/views.py78CODE
LOWcvat/apps/lambda_manager/views.py130CODE
LOWcvat/apps/lambda_manager/tests/test_lambda.py1578CODE
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtests/python/sdk/test_api_client.py78 data=b'{"count":0,"next":null,"previous":null,"results":[]}',CODE
HIGHcvat/apps/engine/serializers.py2830 If not null, the files referenced by server_files will be retrievedCODE
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWutils/dataset_manifest/core.py218 # Check if the number of key frames meets the upper boundCOMMENT
LOWcvat/settings/base.py701 # Set VERSION to None if only the request version should be rendered.COMMENT
LOW…at/apps/dataset_manager/tests/test_rest_api_formats.py131 # Close the fileCOMMENT
LOWcvat/apps/quality_control/backends/datumaro/matching.py991 # Check if the bottom segment is fully covered by the top oneCOMMENT
LOWcvat/apps/engine/tests/utils.py580 # Close the fileCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHcvat-sdk/pyproject.toml27 # these dependencies are used by auto-generated codeCOMMENT
Verbosity Indicators4 hits · 7 pts
SeverityFileLineSnippetContext
LOWcvat-canvas/src/typescript/svg.patch.ts24 // So, we need to check if handler still existsCOMMENT
LOWtests/python/rest_api/test_tasks.py832 # We need to check if frame 5 is generated correctly for job#1COMMENT
LOW⚡cvat/apps/webhooks/tests/test_webhooks_sender.py78 # Step 1: register the user.COMMENT
LOWcvat/apps/webhooks/tests/test_webhooks_sender.py165 # Step 2: follow the real confirmation link from the sent email and confirm it.COMMENT
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsite/content/en/docs/guides/helm-agents-userguide.md92kubectl -n cvat-agents create secret generic cvat-agent --from-literal=token=YOUR_TOKEN_HERECODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWcvat-canvas/src/typescript/interactionHandler.ts356 // TODO: implementCOMMENT
LOWcvat-sdk/cvat_sdk/core/proxies/model_proxy.py227 # TODO: implement revision checkingCOMMENT
LOWcvat-sdk/cvat_sdk/core/proxies/model_proxy.py238 # TODO: implement revision checkingCOMMENT
Structural Annotation Overuse2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡cvat/apps/webhooks/tests/test_webhooks_sender.py78 # Step 1: register the user.COMMENT
LOWcvat/apps/webhooks/tests/test_webhooks_sender.py165 # Step 2: follow the real confirmation link from the sent email and confirm it.COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcvat-core/src/server-proxy.ts1746async function getData(jid: number, chunk: number, quality: ChunkQuality): Promise<ArrayBuffer> {CODE