AI Slop Code RIsk Monitor

treeverse/dvc

🦉 Data Versioning and ML Experiments

27.1 Elevated pattern signal View on GitHub

Maintenance and Governance Review

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.

27.1
Adjusted Signal
27.1
Raw Pattern Score
100%
Time Factor
2026-10-05
Last Push
15.9K
Stars
Python
Language
90.4K
Lines of Code
575
Files
1.5K
Pattern Hits
2026-10-12
Scan Date
0.35
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 43.6/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 47.6/100 · MEDIUM

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

Agent Over-Engineering Ratio 47.1/100 · MEDIUM

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

PR Review Velocity Impact 75.7/100 · CRITICAL

Which changes need focused human review? 1545 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 1HIGH 199MEDIUM 4LOW 1341

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 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.

Hyper-Verbose Identifiers863 hits · 875 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_ignore.py167def test_match_ignore_from_file(CODE
LOWtests/unit/test_ignore.py303def test_ignore_unignore_from_git_example(tmp_dir, dvc, scm):STRING
LOWtests/unit/test_pathspec_math.py71def test_dvcignore_pattern_change_dir(tmp_dir, patterns, dirname, changed):CODE
LOW⚡tests/unit/test_dirs.py9def test_global_config_dir_respects_env_var(monkeypatch):CODE
LOW⚡tests/unit/test_dirs.py16def test_site_cache_dir_on_unix(monkeypatch):CODE
LOW⚡tests/unit/test_dirs.py21def test_site_cache_dir_env_var(monkeypatch):CODE
LOW⚡tests/unit/test_dirs.py26def test_site_cache_dir_with_config_parameter(monkeypatch):CODE
LOW⚡tests/unit/test_dirs.py31def test_site_cache_dir_env_var_precedence(monkeypatch):CODE
LOWtests/unit/test_prompt.py4def test_confirm_in_tty_if_stdin_is_closed(mocker):CODE
LOWtests/unit/test_tabular_data.py99def test_dict_like_interfaces():CODE
LOWtests/unit/test_tabular_data.py296def test_drop_duplicates_rich_text():CODE
LOWtests/unit/test_tabular_data.py349def test_drop_duplicates_subset(axis, subset, expected):CODE
LOWtests/unit/test_tabular_data.py374def test_drop_duplicates_invalid_axis():CODE
LOWtests/unit/test_updater.py71def test_check_update_respect_config(result, updater, mocker):CODE
LOWtests/unit/test_updater.py107def test_check_refetches_each_day(mock_tty, updater, caplog, mocker):CODE
LOWtests/unit/test_updater.py124def test_check_fetches_on_invalid_data_format(mock_tty, updater, caplog, mocker):CODE
LOWtests/unit/test_lockfile.py8def test_stage_dump_no_outs_deps(tmp_dir, dvc):CODE
LOWtests/unit/test_lockfile.py18def test_stage_dump_when_already_exists(tmp_dir, dvc):CODE
LOWtests/unit/test_lockfile.py30def test_stage_dump_with_deps_and_outs(tmp_dir, dvc):CODE
LOWtests/unit/test_lockfile.py48def test_stage_overwrites_if_already_exists(tmp_dir, dvc):CODE
LOWtests/unit/test_lockfile.py60def test_load_when_lockfile_does_not_exist(tmp_dir, dvc):CODE
LOWtests/unit/test_lockfile.py78def test_load_when_lockfile_is_corrupted(tmp_dir, dvc, corrupt_data):CODE
LOWtests/unit/test_lockfile.py88def test_try_loading_lockfile_that_is_gitignored(CODE
LOWtests/unit/test_analytics.py24def test_collect_and_send_report(mocker, tmp_global_dir):CODE
LOWtests/unit/test_analytics.py194def test_git_remote_hash_local(mocker, git_remote):CODE
LOWtests/unit/test_progress.py16def test_quiet_logging_disable_false(caplog, capsys, mocker):CODE
LOWtests/unit/test_scm.py7def test_resolve_rev_empty_git_repo(scm):CODE
LOWtests/unit/test_dvcfile.py34def test_pipelines_single_stage_file(path):CODE
LOWtests/unit/test_dvcfile.py41def test_stage_load_on_not_existing_file(tmp_dir, dvc, file, is_dvcignored):CODE
LOWtests/unit/test_dvcfile.py54def test_stage_load_on_non_file(tmp_dir, dvc, file):CODE
LOWtests/unit/test_dvcfile.py62def test_stage_load_on_invalid_data(tmp_dir, dvc, file):CODE
LOWtests/unit/test_dvcfile.py93def test_dump_multiple_pipeline_stages(tmp_dir, dvc):CODE
LOWtests/unit/test_dvcfile.py115def test_dump_stages_single_stage(tmp_dir, dvc):CODE
LOWtests/unit/test_dvcfile.py127def test_stage_load_file_exists_but_dvcignored(tmp_dir, dvc, scm, file):CODE
LOWtests/unit/test_dvcfile.py140def test_try_loading_dvcfile_that_is_gitignored(tmp_dir, dvc, scm, file):CODE
LOWtests/unit/test_dvcfile.py155def test_dvcfile_encoding_error(tmp_dir, dvc):CODE
LOWtests/unit/test_rwlock.py59def test_rwlock_edit_is_guarded(tmp_path, mocker):CODE
LOWtests/unit/test_config.py119def test_feature_section_supports_arbitrary_values(caplog):CODE
LOWtests/unit/test_context.py40def test_context_dict_ignores_keys_except_str():CODE
LOWtests/unit/test_context.py66def test_context_setitem_getitem():CODE
LOWtests/unit/test_context.py213def test_overwrite_with_setitem():CODE
LOWtests/unit/test_context.py322def test_track_from_multiple_files(tmp_dir):CODE
LOWtests/unit/test_context.py400def test_resolve_resolves_dict_keys():CODE
LOWtests/unit/test_context.py409def test_resolve_resolves_boolean_value():CODE
LOWtests/unit/test_context.py420def test_load_from_raises_if_file_not_exist(tmp_dir, dvc):CODE
LOWtests/unit/test_context.py427def test_load_from_raises_if_file_is_directory(tmp_dir, dvc):CODE
LOWtests/unit/test_api.py8def test_open_raises_error_if_no_context(tmp_dir, dvc):CODE
LOWtests/unit/test_api.py18def test_open_rev_raises_error_on_wrong_mode(tmp_dir, dvc):CODE
LOWtests/unit/test_compare.py26def test_diff_table_with_value_column():CODE
LOWtests/unit/test_compare.py69def test_diff_table_precision():CODE
LOWtests/unit/test_compare.py100def test_diff_unsupported_diff_message(extra, expected):CODE
LOWtests/unit/test_compare.py267def test_metrics_show_with_valid_falsey_values():CODE
LOWtests/unit/test_compare.py289def test_metrics_show_with_no_revision():CODE
LOWtests/unit/test_compare.py305def test_metrics_show_with_non_dict_values():CODE
LOWtests/unit/test_compare.py313def test_metrics_show_with_multiple_revision():CODE
LOWtests/unit/test_compare.py343def test_metrics_show_with_one_revision_multiple_paths():CODE
LOWtests/unit/test_compare.py373def test_metrics_show_with_different_metrics_header():CODE
LOWtests/unit/test_compare.py405def test_metrics_show_precision():CODE
LOWtests/unit/test_compare.py471def test_metrics_show_default(capsys):CODE
LOWtests/unit/test_compare.py494def test_metrics_show_markdown(capsys):CODE
803 more matches not shown…
Cross-Language Confusion153 hits · 848 pts
SeverityFileLineSnippetContext
HIGHtests/func/test_ignore.py470 dvc.push()CODE
HIGH⚡tests/func/test_gc.py229 dvc.push()CODE
HIGHtests/func/test_gc.py354 dvc.push(["file1", "dir1"])CODE
HIGHtests/func/test_gc.py388 dvc.push(["file1", "dir1"], remote="other_remote")CODE
HIGH⚡tests/func/test_gc.py413 dvc.push()CODE
HIGHtests/func/test_gc.py442 dvc.push()CODE
HIGHtests/func/test_run_cache.py19 assert dvc.push(run_cache=True) == 2CODE
HIGH⚡tests/func/test_run_cache.py90 cmd="cp foo bar && cp foo goo",CODE
HIGHtests/func/test_run_cache.py216 dvc.push(run_cache=True)CODE
HIGHtests/func/test_run_cache.py247 dvc.push(run_cache=True)CODE
HIGHtests/func/test_data_status.py415 assert dvc.push() == 4CODE
HIGHtests/func/test_data_status.py439 dvc.push(remote="myremote")CODE
HIGHtests/func/test_data_status.py518 dvc.push()CODE
HIGHtests/func/test_data_status.py916 dvc.push()CODE
HIGHtests/func/test_data_status.py1235 assert dvc.push() == 3CODE
HIGHtests/func/test_data_status.py1264 dvc.push()CODE
HIGHtests/func/test_external_repo.py53 erepo_dir.dvc.push()CODE
HIGHtests/func/test_external_repo.py112 erepo_dir.dvc.push()CODE
HIGHtests/func/test_status.py127 cmd="echo alice>alice && echo bob>bob",CODE
HIGHtests/func/test_virtual_directory.py20 assert dvc.push() == 3CODE
HIGHtests/func/test_virtual_directory.py33 assert dvc.push() == 2CODE
HIGHtests/func/test_virtual_directory.py41 assert dvc.push() == 2CODE
HIGHtests/func/test_virtual_directory.py63 assert dvc.push() == 5CODE
HIGHtests/func/test_virtual_directory.py75 assert dvc.push() == 1CODE
HIGHtests/func/test_virtual_directory.py85 assert dvc.push() == 1CODE
HIGH⚡tests/func/test_virtual_directory.py98 assert dvc.push() == 3CODE
HIGH⚡tests/func/test_virtual_directory.py110 assert dvc.push() == 3CODE
HIGHtests/func/test_virtual_directory.py123 assert dvc.push() == 3CODE
HIGHtests/func/test_virtual_directory.py134 assert dvc.push() == 2CODE
HIGHtests/func/test_virtual_directory.py147 assert dvc.push() == 3CODE
HIGH⚡tests/func/test_virtual_directory.py158 assert not dvc.push()CODE
HIGH⚡tests/func/test_virtual_directory.py166 assert not dvc.push()CODE
HIGHtests/func/test_virtual_directory.py180 assert dvc.push() == 22CODE
HIGHtests/func/test_virtual_directory.py198 assert dvc.push() == 2CODE
HIGHtests/func/test_import.py355 erepo_dir.dvc.push([os.path.join(os.fspath(erepo_dir), "dire*")], glob=True)CODE
HIGH⚡tests/func/test_import.py438 erepo_dir.dvc.push()CODE
HIGH⚡tests/func/test_import.py455 dvc.push()CODE
HIGHtests/func/test_import.py602 erepo_dir.dvc.push()CODE
HIGH⚡tests/func/test_get.py233 erepo_dir.dvc.push()CODE
HIGH⚡tests/func/test_get.py260 dvc.push()CODE
HIGHtests/func/test_remote.py211 dvc.push()CODE
HIGHtests/func/test_remote.py220 dvc.push()CODE
HIGH⚡tests/func/test_remote.py255 dvc.push()CODE
HIGHtests/func/test_remote.py285 dvc.push()CODE
HIGHtests/func/test_remote.py419 dvc.push()CODE
HIGHtests/func/test_remote.py438 dvc.push()CODE
HIGHtests/func/test_install.py92 scm.gitpython.repo.git.push("origin", "master")CODE
HIGH⚡tests/func/test_data_cloud.py134 dvc.push()CODE
HIGH⚡tests/func/test_data_cloud.py437 assert dvc.push(["dvc.yaml:copy-ipsum-baz"]) == 1CODE
HIGH⚡tests/func/test_data_cloud.py441 assert dvc.push(["dvc.yaml"]) == 2CODE
HIGH⚡tests/func/test_data_cloud.py445 dvc.push(["dvc.yaml:StageThatDoesNotExist"])CODE
HIGH⚡tests/func/test_data_cloud.py531 assert dvc.push(**{key: True}) == expectedCODE
HIGH⚡tests/func/test_data_cloud.py544 assert dvc.push("copy-foo-bar") == 1CODE
HIGH⚡tests/func/test_data_cloud.py548 assert dvc.push() == 0CODE
HIGHtests/func/test_data_cloud.py177 dvc.push()CODE
HIGHtests/func/test_data_cloud.py198 dvc.push()CODE
HIGHtests/func/test_data_cloud.py332 dvc.push("bar")CODE
HIGHtests/func/test_data_cloud.py363 dvc.push()CODE
HIGHtests/func/test_data_cloud.py414 assert dvc.push() == 3CODE
HIGHtests/func/test_data_cloud.py477 dvc.push()CODE
93 more matches not shown…
Unused Imports309 hits · 304 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py10CODE
LOWtests/conftest.py12CODE
LOWtests/conftest.py13CODE
LOWtests/conftest.py14CODE
LOWtests/integration/conftest.py1CODE
LOWtests/integration/conftest.py1CODE
LOWtests/utils/asserts.py5CODE
LOWtests/remotes/__init__.py1CODE
LOWtests/remotes/__init__.py1CODE
LOWtests/remotes/__init__.py1CODE
LOWtests/remotes/__init__.py3CODE
LOWtests/remotes/__init__.py3CODE
LOWtests/func/test_dataset.py26CODE
LOWtests/func/test_data_cloud.py15CODE
LOWtests/func/experiments/conftest.py3CODE
LOWtests/func/experiments/conftest.py3CODE
LOWtests/func/experiments/conftest.py3CODE
LOWtests/func/experiments/conftest.py3CODE
LOWtests/func/experiments/conftest.py3CODE
LOWtests/func/experiments/conftest.py3CODE
LOWtests/func/api/test_data.py9CODE
LOWtests/func/api/test_experiments.py7CODE
LOWdvc/config.py19CODE
LOWdvc/config.py20CODE
LOWdvc/data_cloud.py13CODE
LOWdvc/data_cloud.py14CODE
LOWdvc/data_cloud.py15CODE
LOWdvc/config_schema.py23CODE
LOWdvc/database.py19CODE
LOWdvc/database.py19CODE
LOWdvc/database.py19CODE
LOWdvc/database.py20CODE
LOWdvc/__init__.py8CODE
LOWdvc/__init__.py9CODE
LOWdvc/__init__.py9CODE
LOWdvc/types.py4CODE
LOWdvc/updater.py12CODE
LOWdvc/ignore.py25CODE
LOWdvc/ignore.py27CODE
LOWdvc/dvcfile.py19CODE
LOWdvc/dvcfile.py20CODE
LOWdvc/dvcfile.py23CODE
LOWdvc/cachemgr.py9CODE
LOWdvc/exceptions.py9CODE
LOWdvc/analytics.py10CODE
LOWdvc/scm.py10CODE
LOWdvc/scm.py19CODE
LOWdvc/scm.py21CODE
LOWdvc/_debug.py6CODE
LOWdvc/_debug.py7CODE
LOWdvc/output.py47CODE
LOWdvc/output.py49CODE
LOWdvc/ui/__init__.py10CODE
LOWdvc/ui/__init__.py11CODE
LOWdvc/ui/__init__.py11CODE
LOWdvc/ui/__init__.py12CODE
LOWdvc/ui/__init__.py13CODE
LOWdvc/ui/__init__.py14CODE
LOWdvc/ui/__init__.py17CODE
LOWdvc/ui/__init__.py18CODE
249 more matches not shown…
Empty Error Handlers38 hits · 190 pts
SeverityFileLineSnippetContext
HIGHtests/unit/fs/test_dvcfs.py611except FileNotFoundError:CODE
HIGHtests/unit/fs/test_fs.py29except ImportError:CODE
HIGHtests/func/test_cli.py157except DvcParserError:CODE
HIGHtests/func/test_cli.py163except SystemExit:CODE
HIGHtests/func/test_cli.py174except DvcParserError:CODE
HIGHtests/func/test_cli.py180except SystemExit:CODE
HIGHdvc/logger.py153except Exception: # noqa: BLE001, S110CODE
HIGHdvc/_debug.py156except AttributeError:CODE
HIGHdvc/info.py61except NotDvcRepoError:CODE
HIGHdvc/info.py107except ImportError:CODE
HIGHdvc/info.py158except PermissionError:CODE
HIGHdvc/output.py991except FileNotFoundError:CODE
HIGHdvc/output.py1334except KeyError:CODE
HIGHdvc/ui/_rich_progress.py28except KeyError:CODE
HIGHdvc/utils/studio.py142except IndexError:CODE
HIGHdvc/testing/benchmarks/fixtures.py217except (CheckoutError, DownloadError):CODE
HIGHdvc/fs/dvc.py409except (FileNotFoundError, NotADirectoryError):CODE
HIGHdvc/fs/dvc.py458except KeyError:CODE
HIGHdvc/repo/brancher.py102except NotDvcRepoError:CODE
HIGHdvc/repo/index.py252except NoRemoteError:CODE
HIGHdvc/repo/index.py974except (StageFileDoesNotExistError, StageNotFound):CODE
HIGHdvc/repo/__init__.py604except FileExistsError:CODE
HIGHdvc/repo/__init__.py379except KeyError:CODE
HIGHdvc/repo/open_repo.py230except SCMError:CODE
HIGHdvc/repo/open_repo.py57except NotDvcRepoError:CODE
HIGHdvc/repo/stage.py398except OutputNotFoundError:CODE
HIGHdvc/repo/data.py403except (KeyError, DataIndexDirError):CODE
HIGHdvc/repo/data.py467except StorageKeyError:CODE
HIGHdvc/repo/metrics/show.py183except (SCMError, NoSCMError):CODE
HIGHdvc/repo/experiments/collect.py109except (SCMError, InnerSCMError):CODE
HIGHdvc/repo/experiments/cache.py45except FileNotFoundError:CODE
HIGHdvc/repo/experiments/__init__.py319except InvalidExpRefError:CODE
HIGHdvc/repo/experiments/queue/celery.py290except FileNotFoundError:CODE
HIGHdvc/repo/experiments/queue/celery.py314except FileNotFoundError:CODE
HIGHdvc/repo/experiments/queue/celery.py432except KeyboardInterrupt:CODE
HIGHdvc/repo/experiments/queue/workspace.py97except ExpQueueEmptyError:CODE
HIGHdvc/repo/experiments/queue/workspace.py157except (FileNotFoundError, json.JSONDecodeError):CODE
HIGHdvc/repo/experiments/executor/base.py421except SCMError:CODE
Deep Nesting72 hits · 72 pts
SeverityFileLineSnippetContext
LOWtests/unit/command/test_help.py13CODE
LOWtests/unit/command/test_help.py17CODE
LOWtests/unit/repo/experiments/queue/test_celery.py176CODE
LOWtests/unit/repo/experiments/queue/test_celery.py190CODE
LOWdvc/rwlock.py76CODE
LOWdvc/logger.py143CODE
LOWdvc/dagascii.py83CODE
LOWdvc/lock.py110CODE
LOWdvc/dvcfile.py427CODE
LOWdvc/cachemgr.py41CODE
LOWdvc/_debug.py34CODE
LOWdvc/compare.py182CODE
LOWdvc/compare.py226CODE
LOWdvc/output.py425CODE
LOWdvc/output.py912CODE
LOWdvc/render/match.py68CODE
LOWdvc/render/converter/vega.py22CODE
LOWdvc/render/converter/vega.py33CODE
LOWdvc/render/converter/vega.py85CODE
LOWdvc/render/converter/vega.py122CODE
LOWdvc/dependency/param.py124CODE
LOWdvc/utils/collections.py6CODE
LOWdvc/utils/table.py14CODE
LOWdvc/utils/table.py48CODE
LOWdvc/utils/serialize/_py.py88CODE
LOWdvc/utils/serialize/_py.py114CODE
LOWdvc/cli/__init__.py151CODE
LOWdvc/testing/benchmarks/fixtures.py95CODE
LOWdvc/testing/benchmarks/cli/stories/test_modify_data.py38CODE
LOWdvc/api/experiments.py46CODE
LOWdvc/api/data.py258CODE
LOWdvc/stage/__init__.py313CODE
LOWdvc/stage/__init__.py420CODE
LOWdvc/commands/add.py10CODE
LOWdvc/commands/gc.py13CODE
LOWdvc/commands/remote.py82CODE
LOWdvc/commands/plots.py75CODE
LOWdvc/commands/plots.py184CODE
LOWdvc/commands/diff.py118CODE
LOWdvc/commands/experiments/ls.py12CODE
LOWdvc/commands/experiments/diff.py13CODE
LOWdvc/parsing/interpolate.py96CODE
LOWdvc/fs/dvc.py378CODE
LOWdvc/fs/dvc.py447CODE
LOWdvc/repo/gc.py55CODE
LOWdvc/repo/index.py47CODE
LOWdvc/repo/index.py946CODE
LOWdvc/repo/index.py467CODE
LOWdvc/repo/index.py653CODE
LOWdvc/repo/commit.py46CODE
LOWdvc/repo/__init__.py102CODE
LOWdvc/repo/open_repo.py155CODE
LOWdvc/repo/checkout.py42CODE
LOWdvc/repo/diff.py25CODE
LOWdvc/repo/worktree.py305CODE
LOWdvc/repo/data.py408CODE
LOWdvc/repo/experiments/collect.py126CODE
LOWdvc/repo/experiments/run.py15CODE
LOWdvc/repo/experiments/pull.py22CODE
LOWdvc/repo/experiments/__init__.py138CODE
12 more matches not shown…
Excessive Try-Catch Wrapping39 hits · 42 pts
SeverityFileLineSnippetContext
LOW⚡tests/unit/test_logger.py65 except Exception:CODE
LOW⚡tests/unit/test_logger.py76 except Exception:CODE
LOW⚡tests/unit/test_logger.py87 except Exception:CODE
LOW⚡tests/unit/test_logger.py98 except Exception:CODE
LOWtests/unit/test_logger.py116 except Exception:CODE
LOWtests/unit/test_logger.py136 except Exception:CODE
LOWtests/unit/test_logger.py154 except Exception as exc: # noqa: BLE001CODE
LOWdvc/database.py84 except Exception as exc:CODE
LOWdvc/logger.py153 except Exception: # noqa: BLE001, S110CODE
LOWdvc/logger.py161 except Exception: # noqa: BLE001CODE
LOWdvc/updater.py80 except Exception as e: # noqa: BLE001CODE
LOWdvc/analytics.py150 except Exception:CODE
LOWdvc/analytics.py178 except Exception as exc: # noqa: BLE001CODE
LOWdvc/_debug.py124 except Exception:CODE
MEDIUMdvc/_debug.py121def debug():CODE
LOWdvc/render/match.py114 except Exception as e: # noqa: BLE001CODE
LOWdvc/utils/__init__.py393 except Exception as e: # noqa: BLE001CODE
LOWdvc/cli/__init__.py236 except Exception as exc: # noqa: BLE001CODE
LOWdvc/repo/fetch.py88 except Exception as exc: # noqa: BLE001CODE
LOWdvc/repo/reproduce.py188 except Exception as exc: # noqa: BLE001STRING
LOWdvc/repo/scm_context.py104 except Exception:CODE
LOWdvc/repo/artifacts.py268 except Exception as exc:CODE
LOWdvc/repo/artifacts.py336 except Exception as exc: # noqa: BLE001CODE
LOWdvc/repo/artifacts.py364 except Exception as exc: # noqa: BLE001CODE
LOWdvc/repo/artifacts.py378 except Exception as exc:CODE
LOWdvc/repo/metrics/show.py69 except Exception as exc: # noqa: BLE001CODE
LOWdvc/repo/metrics/show.py126 except Exception as e:CODE
LOWdvc/repo/metrics/show.py227 except Exception as exc:CODE
LOWdvc/repo/experiments/collect.py61 except Exception as exc:CODE
LOWdvc/repo/experiments/stash.py144 except Exception:CODE
LOWdvc/repo/experiments/push.py127 except Exception as exc: # noqa: BLE001CODE
LOWdvc/repo/experiments/queue/tempdir.py128 except Exception as exc:CODE
LOWdvc/repo/experiments/queue/tasks.py75 except Exception:CODE
LOWdvc/repo/experiments/queue/workspace.py134 except Exception as exc:CODE
LOWdvc/repo/experiments/queue/base.py427 except Exception: # noqa: BLE001CODE
LOWdvc/repo/experiments/executor/local.py191 except Exception:CODE
LOWdvc/repo/experiments/executor/base.py645 except Exception:CODE
LOWdvc/repo/params/show.py111 except Exception as exc: # noqa: BLE001CODE
LOWdvc/repo/params/show.py194 except Exception as exc:CODE
Docstring Block Structure7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHdvc/api/show.py41Get metrics tracked in `repo`. Without arguments, this function will retrieve all metrics from all tracked metrSTRING
HIGHdvc/api/show.py164Get parameters tracked in `repo`. Without arguments, this function will retrieve all params from all tracked paSTRING
HIGHdvc/api/experiments.py14 Create a new DVC experiment using `exp save`. See https://dvc.org/doc/command-reference/exp/save. Args: STRING
HIGHdvc/api/artifacts.py13 Return path and Git revision for an artifact in a DVC project. The resulting path and revision can be used in STRING
HIGHdvc/api/data.py112 Opens a file tracked in a DVC project. This function may only be used as a context manager (using the `with` STRING
HIGHdvc/repo/ls.py57Methods for getting files and outputs for the repo. Args: url (str): the repo url path (str, optionSTRING
HIGHdvc/repo/init.py16 Creates an empty repo on the given directory -- basically a `.dvc` directory with subdirectories for configuratSTRING
AI Structural Patterns32 hits · 31 pts
SeverityFileLineSnippetContext
LOWdvc/progress.py44CODE
LOWdvc/compare.py298CODE
LOWdvc/compare.py344CODE
LOWdvc/output.py310CODE
LOWdvc/ui/__init__.py96CODE
LOWdvc/ui/__init__.py137CODE
LOWdvc/ui/__init__.py292CODE
LOWdvc/testing/path_info.py290CODE
LOWdvc/stage/__init__.py130CODE
LOWdvc/fs/dvc.py86CODE
LOWdvc/fs/callbacks.py39CODE
LOWdvc/repo/fetch.py28CODE
LOWdvc/repo/fetch.py101CODE
LOWdvc/repo/brancher.py17CODE
LOWdvc/repo/pull.py10CODE
LOWdvc/repo/add.py192CODE
LOWdvc/repo/gc.py55CODE
LOWdvc/repo/reproduce.py210CODE
LOWdvc/repo/imp_url.py17CODE
LOWdvc/repo/__init__.py135CODE
LOWdvc/repo/__init__.py478CODE
LOWdvc/repo/ls.py46CODE
LOWdvc/repo/artifacts.py286CODE
LOWdvc/repo/data.py489CODE
LOWdvc/repo/status.py42CODE
LOWdvc/repo/status.py107CODE
LOWdvc/repo/push.py64CODE
LOWdvc/repo/metrics/show.py194CODE
LOWdvc/repo/experiments/show.py24CODE
LOWdvc/repo/experiments/collect.py268CODE
LOWdvc/repo/experiments/run.py15CODE
LOWdvc/repo/params/show.py161CODE
Modern Structural Boilerplate14 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/dir_helpers.py51__all__ = [CODE
LOWdvc/ignore.py305 def _update_trie(self, dirname: str, trie: Trie) -> None:CODE
LOWdvc/ignore.py347 def _update_sub_repo(self, path: str, ignore_trie: Trie) -> None:CODE
LOWdvc/scm.py128 def update_git(self, event: "GitProgressEvent") -> None:CODE
LOWdvc/progress.py16logger = logging.getLogger(__name__)CODE
LOWdvc/progress.py105 def update_msg(self, msg: str, n: int = 1) -> None:CODE
LOWdvc/progress.py112 def set_msg(self, msg: str) -> None:CODE
LOWdvc/output.py733 def set_exec(self) -> None:CODE
LOWdvc/utils/objects.py8__all__ = ["cached_property"]CODE
LOWdvc/testing/matchers.py98__all__ = [CODE
LOWdvc/testing/fixtures.py9__all__ = [CODE
LOWdvc/api/__init__.py10__all__ = [CODE
LOWdvc/commands/du.py8logger = logging.getLogger(__name__)CODE
LOWdvc/repo/data.py78 def set_size(self, size: int) -> None:CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALdvc/commands/experiments/queue_worker.py11 self.repo.experiments.celery_queue.worker.start(CODE
Fake / Example Data6 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/unit/utils/test_humanize.py43 text = "lorem ipsum"CODE
LOWtests/unit/utils/test_humanize.py61 text = "lorem ipsum"CODE
LOW⚡tests/unit/repo/test_scm_context.py107 context.track_file("lorem ipsum")CODE
LOW⚡tests/unit/repo/test_scm_context.py108 assert context.files_to_track == {"foo", "lorem ipsum"}CODE
LOW⚡tests/unit/repo/test_scm_context.py116 assert set(match.groups()) == {"'lorem ipsum'", "foo"}CODE
LOW⚡tests/func/test_virtual_directory.py102 tmp_dir.gen({"dir": {"subdir": {"ipsum": "lorem ipsum", "file": "file"}}})CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH.github/PULL_REQUEST_TEMPLATE.md3* [ ] 📖 If this PR requires [documentation](https://dvc.org/doc) updates, I have created a separate PR (or issue, at leaCOMMENT
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_ignore.py21 ("#to_ignore", ["\\#to_ignore"], True),COMMENT
LOWtests/unit/test_pathspec_math.py21 # Put a backslash ("\") in front of the first "!" for patterns thatCOMMENT
LOWtests/unit/test_pathspec_math.py41 # The range notation, e.g. [a-zA-Z], can be used to match one of theCOMMENT
LOWdvc/utils/__init__.py81 env[lp_key] = lp_origCOMMENT
LOWdvc/cli/utils.py41 # see: https://bugs.python.org/issue22848COMMENT
LOWdvc/stage/run.py81 kwargs = {"cwd": stage.wdir, "env": fix_env(None), "close_fds": True}COMMENT
LOWdvc/fs/__init__.py121 #COMMENT
Self-Referential Comments3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMtests/unit/fs/test_dvcfs.py719 # Create the test dirsCOMMENT
MEDIUMtests/unit/fs/test_dvcfs.py748 # Create the test dirCOMMENT
MEDIUMdvc/cli/__init__.py1"""This module provides an entrypoint to the dvc cli and parsing utils."""STRING