Repository Analysis

cvat-ai/cvat

Computer Vision Annotation Tool (CVAT) is a leading platform for building high-quality visual datasets for vision AI. It offers open-source, cloud, and enterprise products, as well as labeling services, for image, video, and 3D annotation with AI-assisted labeling, quality assurance, team collaboration, analytics, and developer APIs.

6.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of cvat-ai/cvat, a Python project with 16,440 GitHub stars. SynthScan v2.0 examined 415,939 lines of code across 1900 source files, recording 2366 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 6.2 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

6.2
Adjusted Score
6.2
Raw Score
100%
Time Factor
2026-07-31
Last Push
16.4K
Stars
Python
Language
415.9K
Lines of Code
1.9K
Files
2.4K
Pattern Hits
2026-08-02
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 36HIGH 7MEDIUM 10LOW 2313

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 2366 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers1649 hits · 1565 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/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.ts346function 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.js18function checkChapterNavigationButtons(direction, expectedSliderPos) {CODE
LOWtests/cypress/e2e/features/single_object_annotation.js70 function checkSingleShapeModeOpened() {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.js109 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
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.js35 function testCheckingAlwaysShowObjectDetails(check) {CODE
LOWtests/cypress/e2e/actions_tasks/mutable_attributes.js31 function testChangingAttributeValue(expectedValue, value) {CODE
LOWtests/python/webhook_receiver/server.py11class RequestHandler(BaseHTTPRequestHandler):CODE
LOWtests/python/shared/utils/resource_import_export.py20def _make_custom_resource_params(resource: str, obj: str, cloud_storage_id: int) -> dict[str, Any]:CODE
LOWtests/python/shared/utils/resource_import_export.py28def _make_default_resource_params(resource: str, obj: str) -> dict[str, Any]:CODE
LOWtests/python/shared/utils/resource_import_export.py34def _make_export_resource_params(CODE
LOWtests/python/shared/utils/resource_import_export.py46def _make_import_resource_params(CODE
LOWtests/python/shared/utils/resource_import_export.py106 def _export_resource_to_cloud_storage(CODE
LOWtests/python/shared/utils/resource_import_export.py134 def _import_resource_from_cloud_storage(CODE
LOWtests/python/shared/utils/resource_import_export.py149 def _import_annotations_from_cloud_storage(CODE
LOWtests/python/shared/utils/resource_import_export.py175 def _import_backup_from_cloud_storage(CODE
LOWtests/python/shared/utils/resource_import_export.py182 def _import_dataset_from_cloud_storage(CODE
LOWtests/python/cli/test_cli_tasks.py63 def test_can_create_task_from_local_images(self):CODE
LOWtests/python/cli/test_cli_tasks.py81 def test_can_create_task_from_local_images_with_parameters(self):CODE
LOWtests/python/cli/test_cli_tasks.py115 def test_can_list_tasks_in_simple_format(self, fxt_new_task: Task):CODE
LOWtests/python/cli/test_cli_tasks.py121 def test_can_list_tasks_in_json_format(self, fxt_new_task: Task):CODE
LOWtests/python/cli/test_cli_tasks.py133 def test_can_download_task_annotations(self, fxt_new_task: Task):CODE
1589 more matches not shown…
Hallucination Indicators36 hits · 345 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/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/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.py23from 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_tasks.py72from 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.py13from 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.py22from azure.core.exceptions import HttpResponseError, ServiceRequestErrorCODE
CRITICALcvat/apps/engine/cloud_provider.py666 self._s3.meta.client.meta.events.register("choose-signer.s3.*", disable_signing)CODE
CRITICALcvat/apps/engine/models.py22from django.core.exceptions import ValidationErrorCODE
CRITICALcvat/apps/engine/serializers.py1674 models.RelatedFile.images.through.objects.filter(STRING
CRITICALcvat/apps/engine/serializers.py2137 models.RelatedFile.images.through.objects.filter(STRING
CRITICALcvat/apps/engine/serializers.py2152 models.RelatedFile.images.through.objects.filter(STRING
CRITICALcvat/apps/engine/utils.py34from django.core.exceptions import ValidationErrorCODE
CRITICALcvat/apps/engine/tests/test_rest_api.py34from azure.core.exceptions import HttpResponseError, ServiceRequestErrorCODE
CRITICALcvat-sdk/cvat_sdk/core/auth.py31from cvat_sdk.core.exceptions import AuthStoreErrorCODE
CRITICALcvat-ui/src/actions/annotation-actions.ts840 const [undo] = state.annotation.annotations.history.undo.slice(-1);CODE
CRITICALcvat-ui/src/actions/annotation-actions.ts879 const [redo] = state.annotation.annotations.history.redo.slice(-1);CODE
Deep Nesting278 hits · 234 pts
SeverityFileLineSnippetContext
LOWtests/python/shared/utils/dump_objects.py58CODE
LOWtests/python/shared/utils/helpers.py54CODE
LOWtests/python/cli/test_cli_misc.py213CODE
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.py151CODE
LOWtests/python/rest_api/test_task_data.py226CODE
LOWtests/python/rest_api/test_task_data.py642CODE
LOWtests/python/rest_api/test_task_data.py909CODE
LOWtests/python/rest_api/test_task_data.py1238CODE
LOWtests/python/rest_api/test_task_data.py1429CODE
LOWtests/python/rest_api/test_task_data.py1561CODE
LOWtests/python/rest_api/test_task_data.py1678CODE
LOWtests/python/rest_api/test_task_data.py2042CODE
LOWtests/python/rest_api/test_task_data.py2135CODE
LOWtests/python/rest_api/test_task_data.py2223CODE
LOWtests/python/rest_api/test_task_data.py2351CODE
LOWtests/python/rest_api/test_task_data.py2402CODE
LOWtests/python/rest_api/test_requests.py311CODE
LOWtests/python/rest_api/test_projects.py905CODE
LOWtests/python/rest_api/test_quality_control.py1052CODE
LOWtests/python/rest_api/test_tasks.py1107CODE
LOWtests/python/rest_api/test_tasks.py2222CODE
LOWtests/python/rest_api/test_tasks.py2266CODE
LOWtests/python/rest_api/test_tasks.py2633CODE
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.py91CODE
LOWcvat/apps/consensus/intersect_merge.py250CODE
LOWcvat/apps/consensus/intersect_merge.py97CODE
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
LOW…/redis_handler/management/commands/syncperiodicjobs.py24CODE
218 more matches not shown…
Unused Imports186 hits · 176 pts
SeverityFileLineSnippetContext
LOWrqscheduler.py10CODE
LOWtests/python/conftest.py6CODE
LOWtests/python/conftest.py7CODE
LOWtests/python/conftest.py8CODE
LOWtests/python/conftest.py9CODE
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.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/formats/registry.py148CODE
LOWcvat/apps/dataset_manager/formats/registry.py149CODE
LOWcvat/apps/dataset_manager/formats/registry.py150CODE
LOWcvat/apps/dataset_manager/formats/registry.py151CODE
LOWcvat/apps/dataset_manager/formats/registry.py152CODE
LOWcvat/apps/dataset_manager/formats/registry.py153CODE
LOWcvat/apps/dataset_manager/formats/registry.py154CODE
LOWcvat/apps/dataset_manager/formats/registry.py155CODE
LOWcvat/apps/dataset_manager/formats/registry.py156CODE
LOWcvat/apps/quality_control/models.py5CODE
LOWcvat/apps/quality_control/apps.py18CODE
126 more matches not shown…
Over-Commented Block81 hits · 80 pts
SeverityFileLineSnippetContext
LOWcvat-canvas/src/typescript/shared.ts581 return acc;COMMENT
LOWcvat-canvas/src/typescript/canvasView.ts421 if (state && points) {COMMENT
LOWtests/allow_webhooks_receiver.sh1# We want to exclude webhooks_receiver from 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:a10e348a49db3a55e2cf99e4dfbd5fa08083516dCOMMENT
LOWutils/dataset_manifest/__init__.py1# Copyright (C) 2021-2022 Intel CorporationCOMMENT
LOWhelm-chart/Chart.yaml1apiVersion: v2COMMENT
LOWhelm-chart/values.yaml201 # operator: InCOMMENT
LOWhelm-chart/values.yaml241 # test: testCOMMENT
LOWhelm-chart/values.yaml261 additionalVolumes: []COMMENT
LOWhelm-chart/values.yaml321 # Example:COMMENT
LOWhelm-chart/values.yaml521COMMENT
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:6eb1fa2258ce57cbdc11d157361c294e12eb619fCOMMENT
LOWcvat/requirements/HEADER.txt1#COMMENT
LOWcvat/requirements/production.txt1# SHA1:c6b0394c06570ee78289fac0b98eaf0894383414COMMENT
LOWcvat/requirements/base.txt1# SHA1:369da73f04803e21dfd2ea81ab3ce8b2f25f4d02COMMENT
LOWcvat/requirements/base.txt21 # via -r cvat/requirements/base.inCOMMENT
LOWcvat/requirements/base.txt41 # nltkCOMMENT
LOWcvat/requirements/base.txt61 # nltkCOMMENT
LOWcvat/requirements/base.txt81 # djangorestframeworkCOMMENT
LOWcvat/requirements/base.txt101django-sendfile2==0.7.2COMMENT
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.txt181msrest==0.7.1COMMENT
LOWcvat/requirements/base.txt201 # tensorboardxCOMMENT
LOWcvat/requirements/base.txt221psutil==5.9.4COMMENT
LOWcvat/requirements/base.txt241 # via django-allauthCOMMENT
LOWcvat/requirements/base.txt261python-rapidjson==1.20COMMENT
LOWcvat/requirements/base.txt281requests==2.33.1COMMENT
LOWcvat/requirements/base.txt301rsa==4.9.1COMMENT
LOWcvat/requirements/base.txt321sqlparse==0.5.3COMMENT
LOWcvat/requirements/base.txt341 # viaCOMMENT
LOWcvat/requirements/development.txt1# SHA1:7e3d4385f9651b6faaadb490d3864d6c59696b7fCOMMENT
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 # when clear process deletes newly "re-created by export process"COMMENT
LOW…at/apps/dataset_manager/tests/test_rest_api_formats.py1881 try:COMMENT
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/access_tokens/models.py41 obj.id = None # do not use the library-assigned ids, we're using other idsCOMMENT
LOWcvat/apps/access_tokens/__init__.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOWcvat/apps/access_tokens/tests/__init__.py1# Copyright (C) CVAT.ai CorporationCOMMENT
LOWcvat/apps/iam/models.py1# Copyright (C) 2021-2022 Intel CorporationCOMMENT
LOWcvat/apps/iam/__init__.py1# Copyright (C) 2021-2022 Intel CorporationCOMMENT
LOWcvat/apps/iam/views.py81 return serializer.dataCOMMENT
LOWcvat/apps/webhooks/redis_migrations/__init__.py1# Copyright (C) CVAT.ai CorporationCOMMENT
21 more matches not shown…
Excessive Try-Catch Wrapping61 hits · 59 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.py1466 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.py90 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.py361 except Exception as ex:CODE
LOWcvat/apps/dataset_manager/cron.py98 except Exception:CODE
LOWcvat/apps/dataset_manager/cron.py122 except Exception:CODE
LOWcvat/apps/dataset_manager/bindings.py192 except Exception as e:CODE
LOWcvat/apps/dataset_manager/bindings.py2166 except Exception as e:CODE
LOWcvat/apps/dataset_manager/bindings.py2638 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.py71 except Exception as ex:CODE
LOWcvat/apps/events/event.py58 except Exception:CODE
LOWcvat/apps/events/handlers.py70 except Exception:CODE
LOWcvat/apps/events/handlers.py80 except Exception:CODE
LOWcvat/apps/events/handlers.py93 except Exception:CODE
LOWcvat/apps/events/handlers.py106 except Exception:CODE
LOWcvat/apps/events/handlers.py207 except Exception:CODE
LOWcvat/apps/events/handlers.py344 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.py106def wrapper(self, *args, **kwargs):CODE
LOWcvat/apps/engine/cloud_provider.py109 except Exception as ex:CODE
LOWcvat/apps/engine/cloud_provider.py133 except Exception as ex:CODE
LOWcvat/apps/engine/cloud_provider.py195 except Exception:CODE
LOWcvat/apps/engine/task.py1295 except Exception as ex:CODE
LOWcvat/apps/engine/task.py1324 except Exception as ex:CODE
LOWcvat/apps/engine/task.py1756 except Exception:CODE
LOWcvat/apps/engine/media_extractors.py1191 except Exception as ex:CODE
LOWcvat/apps/engine/serializers.py4847 except Exception:CODE
LOWcvat/apps/engine/cache.py821 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.py846def __call__(self):CODE
LOWcvat/apps/engine/views.py3432 except Exception as ex:STRING
LOWcvat/apps/engine/views.py3545 except Exception as ex:STRING
LOWcvat/apps/engine/views.py3592 except Exception as ex:STRING
LOWcvat/apps/engine/views.py3644 except Exception as ex:STRING
LOWcvat/apps/engine/views.py3854 except Exception as ex:STRING
LOWcvat/apps/engine/management/utils.py62 except Exception:CODE
LOWcvat/apps/engine/management/commands/initcontentsize.py30 except Exception as e:CODE
LOWcvat-sdk/gen/postprocess.py109 except Exception as e:CODE
LOWcvat-sdk/cvat_sdk/datasets/caching.py150 except Exception:CODE
1 more matches not shown…
Modern Structural Boilerplate18 hits · 20 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.py39 def set_status(self, *args: Any, **kwargs: Any) -> None:CODE
LOWcvat/apps/engine/task.py1588 def update_status(msg: str) -> None:CODE
LOWcvat/apps/engine/serializers.py601 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/test_rq.py42def _set_rq_async_mode(is_async) -> 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
LOWdev/update_version.py81 def _set_default_prerelease_number(self) -> None:CODE
LOWdev/update_version.py84 def _set_default_prerelease(self) -> None:CODE
LOWdev/update_version.py88 def _set_default_patch(self) -> None:CODE
LOWdev/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
LOWcvat/rq_patching.py156 # don't forget to check if the issue https://github.com/rq/rq/issues/2006 has been resolved in upstreamCOMMENT
LOWcvat/rq_patching.py156 # don't forget to check if the issue https://github.com/rq/rq/issues/2006 has been resolved in upstreamCOMMENT
LOWcvat/rq_patching.py158 # don't forget to check if the PR https://github.com/rq/rq/pull/2241 has been mergedCOMMENT
LOWcvat/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.py202Method 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
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.py480 # No filtering necessary; just use the original manifest.COMMENT
MEDIUMcvat/apps/engine/serializers.py1037 # TODO: move to ChoicesField when SDK supports seamless transition from string to enumCOMMENT
MEDIUMcvat/apps/engine/serializers.py2957 # 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.py257 # 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
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.py2641 If not null, the files referenced by server_files will be retrievedCODE
Self-Referential Comments4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMcvat/apps/iam/models.py5# This file is required for some generated models (e.g. User, Group) to be initializedCOMMENT
MEDIUMcvat/apps/engine/serializers.py167 # This class isn't recommended for direct use in public serializersCOMMENT
MEDIUMcvat/apps/engine/views.py1404 # Create a temporary copy of the parameters we will try to create the task withSTRING
MEDIUMsite/build_docs.py133 # Create a temp repo for checkoutsCOMMENT
Fake / Example Data8 hits · 8 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
LOWcvat/apps/iam/serializers.py97 dummy_user, regular_user = get_dummy_or_regular_user(self.cleaned_data["email"])CODE
LOWcvat/apps/iam/serializers.py106 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 Patterns10 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/python/rest_api/test_tus_uploads.py80CODE
LOWtests/python/rest_api/_test_base.py35CODE
LOWtests/python/rest_api/test_task_data.py642CODE
LOWcvat/apps/quality_control/quality_reports.py1285CODE
LOWcvat/apps/iam/tests/test_rest_api.py55CODE
LOWcvat/apps/engine/permissions.py1210CODE
LOWcvat/apps/engine/permissions.py1305CODE
LOWcvat/apps/lambda_manager/views.py77CODE
LOWcvat/apps/lambda_manager/views.py129CODE
LOWcvat/apps/lambda_manager/tests/test_lambda.py1578CODE
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.py685 # Set VERSION to None if only the request version should be rendered.COMMENT
LOW…at/apps/dataset_manager/tests/test_rest_api_formats.py123 # Close the fileCOMMENT
LOWcvat/apps/quality_control/quality_reports.py1904 # Check if the bottom segment is fully covered by the top oneCOMMENT
LOWcvat/apps/engine/tests/utils.py575 # Close the fileCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHcvat-sdk/pyproject.toml27 # these dependencies are used by auto-generated codeCOMMENT
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOWcvat-canvas/src/typescript/interactionHandler.ts333 // TODO: implementCOMMENT
LOWcvat/apps/dataset_manager/views.py88 # TODO: implement using retries once we move from rq_scheduler to builtin RQ schedulerCOMMENT
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
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
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcvat-canvas/src/typescript/svg.patch.ts24 // So, we need to check if handler still existsCOMMENT
LOWtests/python/rest_api/test_tasks.py830 # We need to check if frame 5 is generated correctly for job#1COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcvat-core/src/server-proxy.ts1686async function getData(jid: number, chunk: number, quality: ChunkQuality): Promise<ArrayBuffer> {CODE