🦉 Data Versioning and ML Experiments
This report summarizes scanner evidence for treeverse/dvc, a Python project with 15,910 GitHub stars. SynthScan examined 90,352 lines of code across 575 source files, recording 1545 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 27.1 (Elevated 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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 985 finding(s).
Are imports declared and package/API names verified? 469 finding(s).
Are wrappers, guards, and repeated structures necessary? 986 finding(s).
Which changes need focused human review? 1545 finding(s).
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.
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.
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.
The scanner identified 1545 distinct pattern matches across 14 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/test_ignore.py | 167 | def test_match_ignore_from_file( | CODE |
| LOW | tests/unit/test_ignore.py | 303 | def test_ignore_unignore_from_git_example(tmp_dir, dvc, scm): | STRING |
| LOW | tests/unit/test_pathspec_math.py | 71 | def test_dvcignore_pattern_change_dir(tmp_dir, patterns, dirname, changed): | CODE |
| LOW⚡ | tests/unit/test_dirs.py | 9 | def test_global_config_dir_respects_env_var(monkeypatch): | CODE |
| LOW⚡ | tests/unit/test_dirs.py | 16 | def test_site_cache_dir_on_unix(monkeypatch): | CODE |
| LOW⚡ | tests/unit/test_dirs.py | 21 | def test_site_cache_dir_env_var(monkeypatch): | CODE |
| LOW⚡ | tests/unit/test_dirs.py | 26 | def test_site_cache_dir_with_config_parameter(monkeypatch): | CODE |
| LOW⚡ | tests/unit/test_dirs.py | 31 | def test_site_cache_dir_env_var_precedence(monkeypatch): | CODE |
| LOW | tests/unit/test_prompt.py | 4 | def test_confirm_in_tty_if_stdin_is_closed(mocker): | CODE |
| LOW | tests/unit/test_tabular_data.py | 99 | def test_dict_like_interfaces(): | CODE |
| LOW | tests/unit/test_tabular_data.py | 296 | def test_drop_duplicates_rich_text(): | CODE |
| LOW | tests/unit/test_tabular_data.py | 349 | def test_drop_duplicates_subset(axis, subset, expected): | CODE |
| LOW | tests/unit/test_tabular_data.py | 374 | def test_drop_duplicates_invalid_axis(): | CODE |
| LOW | tests/unit/test_updater.py | 71 | def test_check_update_respect_config(result, updater, mocker): | CODE |
| LOW | tests/unit/test_updater.py | 107 | def test_check_refetches_each_day(mock_tty, updater, caplog, mocker): | CODE |
| LOW | tests/unit/test_updater.py | 124 | def test_check_fetches_on_invalid_data_format(mock_tty, updater, caplog, mocker): | CODE |
| LOW | tests/unit/test_lockfile.py | 8 | def test_stage_dump_no_outs_deps(tmp_dir, dvc): | CODE |
| LOW | tests/unit/test_lockfile.py | 18 | def test_stage_dump_when_already_exists(tmp_dir, dvc): | CODE |
| LOW | tests/unit/test_lockfile.py | 30 | def test_stage_dump_with_deps_and_outs(tmp_dir, dvc): | CODE |
| LOW | tests/unit/test_lockfile.py | 48 | def test_stage_overwrites_if_already_exists(tmp_dir, dvc): | CODE |
| LOW | tests/unit/test_lockfile.py | 60 | def test_load_when_lockfile_does_not_exist(tmp_dir, dvc): | CODE |
| LOW | tests/unit/test_lockfile.py | 78 | def test_load_when_lockfile_is_corrupted(tmp_dir, dvc, corrupt_data): | CODE |
| LOW | tests/unit/test_lockfile.py | 88 | def test_try_loading_lockfile_that_is_gitignored( | CODE |
| LOW | tests/unit/test_analytics.py | 24 | def test_collect_and_send_report(mocker, tmp_global_dir): | CODE |
| LOW | tests/unit/test_analytics.py | 194 | def test_git_remote_hash_local(mocker, git_remote): | CODE |
| LOW | tests/unit/test_progress.py | 16 | def test_quiet_logging_disable_false(caplog, capsys, mocker): | CODE |
| LOW | tests/unit/test_scm.py | 7 | def test_resolve_rev_empty_git_repo(scm): | CODE |
| LOW | tests/unit/test_dvcfile.py | 34 | def test_pipelines_single_stage_file(path): | CODE |
| LOW | tests/unit/test_dvcfile.py | 41 | def test_stage_load_on_not_existing_file(tmp_dir, dvc, file, is_dvcignored): | CODE |
| LOW | tests/unit/test_dvcfile.py | 54 | def test_stage_load_on_non_file(tmp_dir, dvc, file): | CODE |
| LOW | tests/unit/test_dvcfile.py | 62 | def test_stage_load_on_invalid_data(tmp_dir, dvc, file): | CODE |
| LOW | tests/unit/test_dvcfile.py | 93 | def test_dump_multiple_pipeline_stages(tmp_dir, dvc): | CODE |
| LOW | tests/unit/test_dvcfile.py | 115 | def test_dump_stages_single_stage(tmp_dir, dvc): | CODE |
| LOW | tests/unit/test_dvcfile.py | 127 | def test_stage_load_file_exists_but_dvcignored(tmp_dir, dvc, scm, file): | CODE |
| LOW | tests/unit/test_dvcfile.py | 140 | def test_try_loading_dvcfile_that_is_gitignored(tmp_dir, dvc, scm, file): | CODE |
| LOW | tests/unit/test_dvcfile.py | 155 | def test_dvcfile_encoding_error(tmp_dir, dvc): | CODE |
| LOW | tests/unit/test_rwlock.py | 59 | def test_rwlock_edit_is_guarded(tmp_path, mocker): | CODE |
| LOW | tests/unit/test_config.py | 119 | def test_feature_section_supports_arbitrary_values(caplog): | CODE |
| LOW | tests/unit/test_context.py | 40 | def test_context_dict_ignores_keys_except_str(): | CODE |
| LOW | tests/unit/test_context.py | 66 | def test_context_setitem_getitem(): | CODE |
| LOW | tests/unit/test_context.py | 213 | def test_overwrite_with_setitem(): | CODE |
| LOW | tests/unit/test_context.py | 322 | def test_track_from_multiple_files(tmp_dir): | CODE |
| LOW | tests/unit/test_context.py | 400 | def test_resolve_resolves_dict_keys(): | CODE |
| LOW | tests/unit/test_context.py | 409 | def test_resolve_resolves_boolean_value(): | CODE |
| LOW | tests/unit/test_context.py | 420 | def test_load_from_raises_if_file_not_exist(tmp_dir, dvc): | CODE |
| LOW | tests/unit/test_context.py | 427 | def test_load_from_raises_if_file_is_directory(tmp_dir, dvc): | CODE |
| LOW | tests/unit/test_api.py | 8 | def test_open_raises_error_if_no_context(tmp_dir, dvc): | CODE |
| LOW | tests/unit/test_api.py | 18 | def test_open_rev_raises_error_on_wrong_mode(tmp_dir, dvc): | CODE |
| LOW | tests/unit/test_compare.py | 26 | def test_diff_table_with_value_column(): | CODE |
| LOW | tests/unit/test_compare.py | 69 | def test_diff_table_precision(): | CODE |
| LOW | tests/unit/test_compare.py | 100 | def test_diff_unsupported_diff_message(extra, expected): | CODE |
| LOW | tests/unit/test_compare.py | 267 | def test_metrics_show_with_valid_falsey_values(): | CODE |
| LOW | tests/unit/test_compare.py | 289 | def test_metrics_show_with_no_revision(): | CODE |
| LOW | tests/unit/test_compare.py | 305 | def test_metrics_show_with_non_dict_values(): | CODE |
| LOW | tests/unit/test_compare.py | 313 | def test_metrics_show_with_multiple_revision(): | CODE |
| LOW | tests/unit/test_compare.py | 343 | def test_metrics_show_with_one_revision_multiple_paths(): | CODE |
| LOW | tests/unit/test_compare.py | 373 | def test_metrics_show_with_different_metrics_header(): | CODE |
| LOW | tests/unit/test_compare.py | 405 | def test_metrics_show_precision(): | CODE |
| LOW | tests/unit/test_compare.py | 471 | def test_metrics_show_default(capsys): | CODE |
| LOW | tests/unit/test_compare.py | 494 | def test_metrics_show_markdown(capsys): | CODE |
| 803 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/func/test_ignore.py | 470 | dvc.push() | CODE |
| HIGH⚡ | tests/func/test_gc.py | 229 | dvc.push() | CODE |
| HIGH | tests/func/test_gc.py | 354 | dvc.push(["file1", "dir1"]) | CODE |
| HIGH | tests/func/test_gc.py | 388 | dvc.push(["file1", "dir1"], remote="other_remote") | CODE |
| HIGH⚡ | tests/func/test_gc.py | 413 | dvc.push() | CODE |
| HIGH | tests/func/test_gc.py | 442 | dvc.push() | CODE |
| HIGH | tests/func/test_run_cache.py | 19 | assert dvc.push(run_cache=True) == 2 | CODE |
| HIGH⚡ | tests/func/test_run_cache.py | 90 | cmd="cp foo bar && cp foo goo", | CODE |
| HIGH | tests/func/test_run_cache.py | 216 | dvc.push(run_cache=True) | CODE |
| HIGH | tests/func/test_run_cache.py | 247 | dvc.push(run_cache=True) | CODE |
| HIGH | tests/func/test_data_status.py | 415 | assert dvc.push() == 4 | CODE |
| HIGH | tests/func/test_data_status.py | 439 | dvc.push(remote="myremote") | CODE |
| HIGH | tests/func/test_data_status.py | 518 | dvc.push() | CODE |
| HIGH | tests/func/test_data_status.py | 916 | dvc.push() | CODE |
| HIGH | tests/func/test_data_status.py | 1235 | assert dvc.push() == 3 | CODE |
| HIGH | tests/func/test_data_status.py | 1264 | dvc.push() | CODE |
| HIGH | tests/func/test_external_repo.py | 53 | erepo_dir.dvc.push() | CODE |
| HIGH | tests/func/test_external_repo.py | 112 | erepo_dir.dvc.push() | CODE |
| HIGH | tests/func/test_status.py | 127 | cmd="echo alice>alice && echo bob>bob", | CODE |
| HIGH | tests/func/test_virtual_directory.py | 20 | assert dvc.push() == 3 | CODE |
| HIGH | tests/func/test_virtual_directory.py | 33 | assert dvc.push() == 2 | CODE |
| HIGH | tests/func/test_virtual_directory.py | 41 | assert dvc.push() == 2 | CODE |
| HIGH | tests/func/test_virtual_directory.py | 63 | assert dvc.push() == 5 | CODE |
| HIGH | tests/func/test_virtual_directory.py | 75 | assert dvc.push() == 1 | CODE |
| HIGH | tests/func/test_virtual_directory.py | 85 | assert dvc.push() == 1 | CODE |
| HIGH⚡ | tests/func/test_virtual_directory.py | 98 | assert dvc.push() == 3 | CODE |
| HIGH⚡ | tests/func/test_virtual_directory.py | 110 | assert dvc.push() == 3 | CODE |
| HIGH | tests/func/test_virtual_directory.py | 123 | assert dvc.push() == 3 | CODE |
| HIGH | tests/func/test_virtual_directory.py | 134 | assert dvc.push() == 2 | CODE |
| HIGH | tests/func/test_virtual_directory.py | 147 | assert dvc.push() == 3 | CODE |
| HIGH⚡ | tests/func/test_virtual_directory.py | 158 | assert not dvc.push() | CODE |
| HIGH⚡ | tests/func/test_virtual_directory.py | 166 | assert not dvc.push() | CODE |
| HIGH | tests/func/test_virtual_directory.py | 180 | assert dvc.push() == 22 | CODE |
| HIGH | tests/func/test_virtual_directory.py | 198 | assert dvc.push() == 2 | CODE |
| HIGH | tests/func/test_import.py | 355 | erepo_dir.dvc.push([os.path.join(os.fspath(erepo_dir), "dire*")], glob=True) | CODE |
| HIGH⚡ | tests/func/test_import.py | 438 | erepo_dir.dvc.push() | CODE |
| HIGH⚡ | tests/func/test_import.py | 455 | dvc.push() | CODE |
| HIGH | tests/func/test_import.py | 602 | erepo_dir.dvc.push() | CODE |
| HIGH⚡ | tests/func/test_get.py | 233 | erepo_dir.dvc.push() | CODE |
| HIGH⚡ | tests/func/test_get.py | 260 | dvc.push() | CODE |
| HIGH | tests/func/test_remote.py | 211 | dvc.push() | CODE |
| HIGH | tests/func/test_remote.py | 220 | dvc.push() | CODE |
| HIGH⚡ | tests/func/test_remote.py | 255 | dvc.push() | CODE |
| HIGH | tests/func/test_remote.py | 285 | dvc.push() | CODE |
| HIGH | tests/func/test_remote.py | 419 | dvc.push() | CODE |
| HIGH | tests/func/test_remote.py | 438 | dvc.push() | CODE |
| HIGH | tests/func/test_install.py | 92 | scm.gitpython.repo.git.push("origin", "master") | CODE |
| HIGH⚡ | tests/func/test_data_cloud.py | 134 | dvc.push() | CODE |
| HIGH⚡ | tests/func/test_data_cloud.py | 437 | assert dvc.push(["dvc.yaml:copy-ipsum-baz"]) == 1 | CODE |
| HIGH⚡ | tests/func/test_data_cloud.py | 441 | assert dvc.push(["dvc.yaml"]) == 2 | CODE |
| HIGH⚡ | tests/func/test_data_cloud.py | 445 | dvc.push(["dvc.yaml:StageThatDoesNotExist"]) | CODE |
| HIGH⚡ | tests/func/test_data_cloud.py | 531 | assert dvc.push(**{key: True}) == expected | CODE |
| HIGH⚡ | tests/func/test_data_cloud.py | 544 | assert dvc.push("copy-foo-bar") == 1 | CODE |
| HIGH⚡ | tests/func/test_data_cloud.py | 548 | assert dvc.push() == 0 | CODE |
| HIGH | tests/func/test_data_cloud.py | 177 | dvc.push() | CODE |
| HIGH | tests/func/test_data_cloud.py | 198 | dvc.push() | CODE |
| HIGH | tests/func/test_data_cloud.py | 332 | dvc.push("bar") | CODE |
| HIGH | tests/func/test_data_cloud.py | 363 | dvc.push() | CODE |
| HIGH | tests/func/test_data_cloud.py | 414 | assert dvc.push() == 3 | CODE |
| HIGH | tests/func/test_data_cloud.py | 477 | dvc.push() | CODE |
| 93 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 10 | CODE | |
| LOW | tests/conftest.py | 12 | CODE | |
| LOW | tests/conftest.py | 13 | CODE | |
| LOW | tests/conftest.py | 14 | CODE | |
| LOW | tests/integration/conftest.py | 1 | CODE | |
| LOW | tests/integration/conftest.py | 1 | CODE | |
| LOW | tests/utils/asserts.py | 5 | CODE | |
| LOW | tests/remotes/__init__.py | 1 | CODE | |
| LOW | tests/remotes/__init__.py | 1 | CODE | |
| LOW | tests/remotes/__init__.py | 1 | CODE | |
| LOW | tests/remotes/__init__.py | 3 | CODE | |
| LOW | tests/remotes/__init__.py | 3 | CODE | |
| LOW | tests/func/test_dataset.py | 26 | CODE | |
| LOW | tests/func/test_data_cloud.py | 15 | CODE | |
| LOW | tests/func/experiments/conftest.py | 3 | CODE | |
| LOW | tests/func/experiments/conftest.py | 3 | CODE | |
| LOW | tests/func/experiments/conftest.py | 3 | CODE | |
| LOW | tests/func/experiments/conftest.py | 3 | CODE | |
| LOW | tests/func/experiments/conftest.py | 3 | CODE | |
| LOW | tests/func/experiments/conftest.py | 3 | CODE | |
| LOW | tests/func/api/test_data.py | 9 | CODE | |
| LOW | tests/func/api/test_experiments.py | 7 | CODE | |
| LOW | dvc/config.py | 19 | CODE | |
| LOW | dvc/config.py | 20 | CODE | |
| LOW | dvc/data_cloud.py | 13 | CODE | |
| LOW | dvc/data_cloud.py | 14 | CODE | |
| LOW | dvc/data_cloud.py | 15 | CODE | |
| LOW | dvc/config_schema.py | 23 | CODE | |
| LOW | dvc/database.py | 19 | CODE | |
| LOW | dvc/database.py | 19 | CODE | |
| LOW | dvc/database.py | 19 | CODE | |
| LOW | dvc/database.py | 20 | CODE | |
| LOW | dvc/__init__.py | 8 | CODE | |
| LOW | dvc/__init__.py | 9 | CODE | |
| LOW | dvc/__init__.py | 9 | CODE | |
| LOW | dvc/types.py | 4 | CODE | |
| LOW | dvc/updater.py | 12 | CODE | |
| LOW | dvc/ignore.py | 25 | CODE | |
| LOW | dvc/ignore.py | 27 | CODE | |
| LOW | dvc/dvcfile.py | 19 | CODE | |
| LOW | dvc/dvcfile.py | 20 | CODE | |
| LOW | dvc/dvcfile.py | 23 | CODE | |
| LOW | dvc/cachemgr.py | 9 | CODE | |
| LOW | dvc/exceptions.py | 9 | CODE | |
| LOW | dvc/analytics.py | 10 | CODE | |
| LOW | dvc/scm.py | 10 | CODE | |
| LOW | dvc/scm.py | 19 | CODE | |
| LOW | dvc/scm.py | 21 | CODE | |
| LOW | dvc/_debug.py | 6 | CODE | |
| LOW | dvc/_debug.py | 7 | CODE | |
| LOW | dvc/output.py | 47 | CODE | |
| LOW | dvc/output.py | 49 | CODE | |
| LOW | dvc/ui/__init__.py | 10 | CODE | |
| LOW | dvc/ui/__init__.py | 11 | CODE | |
| LOW | dvc/ui/__init__.py | 11 | CODE | |
| LOW | dvc/ui/__init__.py | 12 | CODE | |
| LOW | dvc/ui/__init__.py | 13 | CODE | |
| LOW | dvc/ui/__init__.py | 14 | CODE | |
| LOW | dvc/ui/__init__.py | 17 | CODE | |
| LOW | dvc/ui/__init__.py | 18 | CODE | |
| 249 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/unit/fs/test_dvcfs.py | 611 | except FileNotFoundError: | CODE |
| HIGH | tests/unit/fs/test_fs.py | 29 | except ImportError: | CODE |
| HIGH | tests/func/test_cli.py | 157 | except DvcParserError: | CODE |
| HIGH | tests/func/test_cli.py | 163 | except SystemExit: | CODE |
| HIGH | tests/func/test_cli.py | 174 | except DvcParserError: | CODE |
| HIGH | tests/func/test_cli.py | 180 | except SystemExit: | CODE |
| HIGH | dvc/logger.py | 153 | except Exception: # noqa: BLE001, S110 | CODE |
| HIGH | dvc/_debug.py | 156 | except AttributeError: | CODE |
| HIGH | dvc/info.py | 61 | except NotDvcRepoError: | CODE |
| HIGH | dvc/info.py | 107 | except ImportError: | CODE |
| HIGH | dvc/info.py | 158 | except PermissionError: | CODE |
| HIGH | dvc/output.py | 991 | except FileNotFoundError: | CODE |
| HIGH | dvc/output.py | 1334 | except KeyError: | CODE |
| HIGH | dvc/ui/_rich_progress.py | 28 | except KeyError: | CODE |
| HIGH | dvc/utils/studio.py | 142 | except IndexError: | CODE |
| HIGH | dvc/testing/benchmarks/fixtures.py | 217 | except (CheckoutError, DownloadError): | CODE |
| HIGH | dvc/fs/dvc.py | 409 | except (FileNotFoundError, NotADirectoryError): | CODE |
| HIGH | dvc/fs/dvc.py | 458 | except KeyError: | CODE |
| HIGH | dvc/repo/brancher.py | 102 | except NotDvcRepoError: | CODE |
| HIGH | dvc/repo/index.py | 252 | except NoRemoteError: | CODE |
| HIGH | dvc/repo/index.py | 974 | except (StageFileDoesNotExistError, StageNotFound): | CODE |
| HIGH | dvc/repo/__init__.py | 604 | except FileExistsError: | CODE |
| HIGH | dvc/repo/__init__.py | 379 | except KeyError: | CODE |
| HIGH | dvc/repo/open_repo.py | 230 | except SCMError: | CODE |
| HIGH | dvc/repo/open_repo.py | 57 | except NotDvcRepoError: | CODE |
| HIGH | dvc/repo/stage.py | 398 | except OutputNotFoundError: | CODE |
| HIGH | dvc/repo/data.py | 403 | except (KeyError, DataIndexDirError): | CODE |
| HIGH | dvc/repo/data.py | 467 | except StorageKeyError: | CODE |
| HIGH | dvc/repo/metrics/show.py | 183 | except (SCMError, NoSCMError): | CODE |
| HIGH | dvc/repo/experiments/collect.py | 109 | except (SCMError, InnerSCMError): | CODE |
| HIGH | dvc/repo/experiments/cache.py | 45 | except FileNotFoundError: | CODE |
| HIGH | dvc/repo/experiments/__init__.py | 319 | except InvalidExpRefError: | CODE |
| HIGH | dvc/repo/experiments/queue/celery.py | 290 | except FileNotFoundError: | CODE |
| HIGH | dvc/repo/experiments/queue/celery.py | 314 | except FileNotFoundError: | CODE |
| HIGH | dvc/repo/experiments/queue/celery.py | 432 | except KeyboardInterrupt: | CODE |
| HIGH | dvc/repo/experiments/queue/workspace.py | 97 | except ExpQueueEmptyError: | CODE |
| HIGH | dvc/repo/experiments/queue/workspace.py | 157 | except (FileNotFoundError, json.JSONDecodeError): | CODE |
| HIGH | dvc/repo/experiments/executor/base.py | 421 | except SCMError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/command/test_help.py | 13 | CODE | |
| LOW | tests/unit/command/test_help.py | 17 | CODE | |
| LOW | tests/unit/repo/experiments/queue/test_celery.py | 176 | CODE | |
| LOW | tests/unit/repo/experiments/queue/test_celery.py | 190 | CODE | |
| LOW | dvc/rwlock.py | 76 | CODE | |
| LOW | dvc/logger.py | 143 | CODE | |
| LOW | dvc/dagascii.py | 83 | CODE | |
| LOW | dvc/lock.py | 110 | CODE | |
| LOW | dvc/dvcfile.py | 427 | CODE | |
| LOW | dvc/cachemgr.py | 41 | CODE | |
| LOW | dvc/_debug.py | 34 | CODE | |
| LOW | dvc/compare.py | 182 | CODE | |
| LOW | dvc/compare.py | 226 | CODE | |
| LOW | dvc/output.py | 425 | CODE | |
| LOW | dvc/output.py | 912 | CODE | |
| LOW | dvc/render/match.py | 68 | CODE | |
| LOW | dvc/render/converter/vega.py | 22 | CODE | |
| LOW | dvc/render/converter/vega.py | 33 | CODE | |
| LOW | dvc/render/converter/vega.py | 85 | CODE | |
| LOW | dvc/render/converter/vega.py | 122 | CODE | |
| LOW | dvc/dependency/param.py | 124 | CODE | |
| LOW | dvc/utils/collections.py | 6 | CODE | |
| LOW | dvc/utils/table.py | 14 | CODE | |
| LOW | dvc/utils/table.py | 48 | CODE | |
| LOW | dvc/utils/serialize/_py.py | 88 | CODE | |
| LOW | dvc/utils/serialize/_py.py | 114 | CODE | |
| LOW | dvc/cli/__init__.py | 151 | CODE | |
| LOW | dvc/testing/benchmarks/fixtures.py | 95 | CODE | |
| LOW | dvc/testing/benchmarks/cli/stories/test_modify_data.py | 38 | CODE | |
| LOW | dvc/api/experiments.py | 46 | CODE | |
| LOW | dvc/api/data.py | 258 | CODE | |
| LOW | dvc/stage/__init__.py | 313 | CODE | |
| LOW | dvc/stage/__init__.py | 420 | CODE | |
| LOW | dvc/commands/add.py | 10 | CODE | |
| LOW | dvc/commands/gc.py | 13 | CODE | |
| LOW | dvc/commands/remote.py | 82 | CODE | |
| LOW | dvc/commands/plots.py | 75 | CODE | |
| LOW | dvc/commands/plots.py | 184 | CODE | |
| LOW | dvc/commands/diff.py | 118 | CODE | |
| LOW | dvc/commands/experiments/ls.py | 12 | CODE | |
| LOW | dvc/commands/experiments/diff.py | 13 | CODE | |
| LOW | dvc/parsing/interpolate.py | 96 | CODE | |
| LOW | dvc/fs/dvc.py | 378 | CODE | |
| LOW | dvc/fs/dvc.py | 447 | CODE | |
| LOW | dvc/repo/gc.py | 55 | CODE | |
| LOW | dvc/repo/index.py | 47 | CODE | |
| LOW | dvc/repo/index.py | 946 | CODE | |
| LOW | dvc/repo/index.py | 467 | CODE | |
| LOW | dvc/repo/index.py | 653 | CODE | |
| LOW | dvc/repo/commit.py | 46 | CODE | |
| LOW | dvc/repo/__init__.py | 102 | CODE | |
| LOW | dvc/repo/open_repo.py | 155 | CODE | |
| LOW | dvc/repo/checkout.py | 42 | CODE | |
| LOW | dvc/repo/diff.py | 25 | CODE | |
| LOW | dvc/repo/worktree.py | 305 | CODE | |
| LOW | dvc/repo/data.py | 408 | CODE | |
| LOW | dvc/repo/experiments/collect.py | 126 | CODE | |
| LOW | dvc/repo/experiments/run.py | 15 | CODE | |
| LOW | dvc/repo/experiments/pull.py | 22 | CODE | |
| LOW | dvc/repo/experiments/__init__.py | 138 | CODE | |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/unit/test_logger.py | 65 | except Exception: | CODE |
| LOW⚡ | tests/unit/test_logger.py | 76 | except Exception: | CODE |
| LOW⚡ | tests/unit/test_logger.py | 87 | except Exception: | CODE |
| LOW⚡ | tests/unit/test_logger.py | 98 | except Exception: | CODE |
| LOW | tests/unit/test_logger.py | 116 | except Exception: | CODE |
| LOW | tests/unit/test_logger.py | 136 | except Exception: | CODE |
| LOW | tests/unit/test_logger.py | 154 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | dvc/database.py | 84 | except Exception as exc: | CODE |
| LOW | dvc/logger.py | 153 | except Exception: # noqa: BLE001, S110 | CODE |
| LOW | dvc/logger.py | 161 | except Exception: # noqa: BLE001 | CODE |
| LOW | dvc/updater.py | 80 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | dvc/analytics.py | 150 | except Exception: | CODE |
| LOW | dvc/analytics.py | 178 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | dvc/_debug.py | 124 | except Exception: | CODE |
| MEDIUM | dvc/_debug.py | 121 | def debug(): | CODE |
| LOW | dvc/render/match.py | 114 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | dvc/utils/__init__.py | 393 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | dvc/cli/__init__.py | 236 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | dvc/repo/fetch.py | 88 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | dvc/repo/reproduce.py | 188 | except Exception as exc: # noqa: BLE001 | STRING |
| LOW | dvc/repo/scm_context.py | 104 | except Exception: | CODE |
| LOW | dvc/repo/artifacts.py | 268 | except Exception as exc: | CODE |
| LOW | dvc/repo/artifacts.py | 336 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | dvc/repo/artifacts.py | 364 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | dvc/repo/artifacts.py | 378 | except Exception as exc: | CODE |
| LOW | dvc/repo/metrics/show.py | 69 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | dvc/repo/metrics/show.py | 126 | except Exception as e: | CODE |
| LOW | dvc/repo/metrics/show.py | 227 | except Exception as exc: | CODE |
| LOW | dvc/repo/experiments/collect.py | 61 | except Exception as exc: | CODE |
| LOW | dvc/repo/experiments/stash.py | 144 | except Exception: | CODE |
| LOW | dvc/repo/experiments/push.py | 127 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | dvc/repo/experiments/queue/tempdir.py | 128 | except Exception as exc: | CODE |
| LOW | dvc/repo/experiments/queue/tasks.py | 75 | except Exception: | CODE |
| LOW | dvc/repo/experiments/queue/workspace.py | 134 | except Exception as exc: | CODE |
| LOW | dvc/repo/experiments/queue/base.py | 427 | except Exception: # noqa: BLE001 | CODE |
| LOW | dvc/repo/experiments/executor/local.py | 191 | except Exception: | CODE |
| LOW | dvc/repo/experiments/executor/base.py | 645 | except Exception: | CODE |
| LOW | dvc/repo/params/show.py | 111 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | dvc/repo/params/show.py | 194 | except Exception as exc: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | dvc/api/show.py | 41 | Get metrics tracked in `repo`. Without arguments, this function will retrieve all metrics from all tracked metr | STRING |
| HIGH | dvc/api/show.py | 164 | Get parameters tracked in `repo`. Without arguments, this function will retrieve all params from all tracked pa | STRING |
| HIGH | dvc/api/experiments.py | 14 | Create a new DVC experiment using `exp save`. See https://dvc.org/doc/command-reference/exp/save. Args: | STRING |
| HIGH | dvc/api/artifacts.py | 13 | Return path and Git revision for an artifact in a DVC project. The resulting path and revision can be used in | STRING |
| HIGH | dvc/api/data.py | 112 | Opens a file tracked in a DVC project. This function may only be used as a context manager (using the `with` | STRING |
| HIGH | dvc/repo/ls.py | 57 | Methods for getting files and outputs for the repo. Args: url (str): the repo url path (str, option | STRING |
| HIGH | dvc/repo/init.py | 16 | Creates an empty repo on the given directory -- basically a `.dvc` directory with subdirectories for configurat | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dvc/progress.py | 44 | CODE | |
| LOW | dvc/compare.py | 298 | CODE | |
| LOW | dvc/compare.py | 344 | CODE | |
| LOW | dvc/output.py | 310 | CODE | |
| LOW | dvc/ui/__init__.py | 96 | CODE | |
| LOW | dvc/ui/__init__.py | 137 | CODE | |
| LOW | dvc/ui/__init__.py | 292 | CODE | |
| LOW | dvc/testing/path_info.py | 290 | CODE | |
| LOW | dvc/stage/__init__.py | 130 | CODE | |
| LOW | dvc/fs/dvc.py | 86 | CODE | |
| LOW | dvc/fs/callbacks.py | 39 | CODE | |
| LOW | dvc/repo/fetch.py | 28 | CODE | |
| LOW | dvc/repo/fetch.py | 101 | CODE | |
| LOW | dvc/repo/brancher.py | 17 | CODE | |
| LOW | dvc/repo/pull.py | 10 | CODE | |
| LOW | dvc/repo/add.py | 192 | CODE | |
| LOW | dvc/repo/gc.py | 55 | CODE | |
| LOW | dvc/repo/reproduce.py | 210 | CODE | |
| LOW | dvc/repo/imp_url.py | 17 | CODE | |
| LOW | dvc/repo/__init__.py | 135 | CODE | |
| LOW | dvc/repo/__init__.py | 478 | CODE | |
| LOW | dvc/repo/ls.py | 46 | CODE | |
| LOW | dvc/repo/artifacts.py | 286 | CODE | |
| LOW | dvc/repo/data.py | 489 | CODE | |
| LOW | dvc/repo/status.py | 42 | CODE | |
| LOW | dvc/repo/status.py | 107 | CODE | |
| LOW | dvc/repo/push.py | 64 | CODE | |
| LOW | dvc/repo/metrics/show.py | 194 | CODE | |
| LOW | dvc/repo/experiments/show.py | 24 | CODE | |
| LOW | dvc/repo/experiments/collect.py | 268 | CODE | |
| LOW | dvc/repo/experiments/run.py | 15 | CODE | |
| LOW | dvc/repo/params/show.py | 161 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/dir_helpers.py | 51 | __all__ = [ | CODE |
| LOW | dvc/ignore.py | 305 | def _update_trie(self, dirname: str, trie: Trie) -> None: | CODE |
| LOW | dvc/ignore.py | 347 | def _update_sub_repo(self, path: str, ignore_trie: Trie) -> None: | CODE |
| LOW | dvc/scm.py | 128 | def update_git(self, event: "GitProgressEvent") -> None: | CODE |
| LOW | dvc/progress.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | dvc/progress.py | 105 | def update_msg(self, msg: str, n: int = 1) -> None: | CODE |
| LOW | dvc/progress.py | 112 | def set_msg(self, msg: str) -> None: | CODE |
| LOW | dvc/output.py | 733 | def set_exec(self) -> None: | CODE |
| LOW | dvc/utils/objects.py | 8 | __all__ = ["cached_property"] | CODE |
| LOW | dvc/testing/matchers.py | 98 | __all__ = [ | CODE |
| LOW | dvc/testing/fixtures.py | 9 | __all__ = [ | CODE |
| LOW | dvc/api/__init__.py | 10 | __all__ = [ | CODE |
| LOW | dvc/commands/du.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | dvc/repo/data.py | 78 | def set_size(self, size: int) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | dvc/commands/experiments/queue_worker.py | 11 | self.repo.experiments.celery_queue.worker.start( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/utils/test_humanize.py | 43 | text = "lorem ipsum" | CODE |
| LOW | tests/unit/utils/test_humanize.py | 61 | text = "lorem ipsum" | CODE |
| LOW⚡ | tests/unit/repo/test_scm_context.py | 107 | context.track_file("lorem ipsum") | CODE |
| LOW⚡ | tests/unit/repo/test_scm_context.py | 108 | assert context.files_to_track == {"foo", "lorem ipsum"} | CODE |
| LOW⚡ | tests/unit/repo/test_scm_context.py | 116 | assert set(match.groups()) == {"'lorem ipsum'", "foo"} | CODE |
| LOW⚡ | tests/func/test_virtual_directory.py | 102 | tmp_dir.gen({"dir": {"subdir": {"ipsum": "lorem ipsum", "file": "file"}}}) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .github/PULL_REQUEST_TEMPLATE.md | 3 | * [ ] 📖 If this PR requires [documentation](https://dvc.org/doc) updates, I have created a separate PR (or issue, at lea | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/test_ignore.py | 21 | ("#to_ignore", ["\\#to_ignore"], True), | COMMENT |
| LOW | tests/unit/test_pathspec_math.py | 21 | # Put a backslash ("\") in front of the first "!" for patterns that | COMMENT |
| LOW | tests/unit/test_pathspec_math.py | 41 | # The range notation, e.g. [a-zA-Z], can be used to match one of the | COMMENT |
| LOW | dvc/utils/__init__.py | 81 | env[lp_key] = lp_orig | COMMENT |
| LOW | dvc/cli/utils.py | 41 | # see: https://bugs.python.org/issue22848 | COMMENT |
| LOW | dvc/stage/run.py | 81 | kwargs = {"cwd": stage.wdir, "env": fix_env(None), "close_fds": True} | COMMENT |
| LOW | dvc/fs/__init__.py | 121 | # | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/unit/fs/test_dvcfs.py | 719 | # Create the test dirs | COMMENT |
| MEDIUM | tests/unit/fs/test_dvcfs.py | 748 | # Create the test dir | COMMENT |
| MEDIUM | dvc/cli/__init__.py | 1 | """This module provides an entrypoint to the dvc cli and parsing utils.""" | STRING |