AI Slop Code Risk Monitor

astral-sh/uv

SlopCodeMonitor badge for astral-sh/uv Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

An extremely fast Python package and project manager, written in Rust.

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for astral-sh/uv, a Rust project with 91,380 GitHub stars. SynthScan examined 611,759 lines of code across 1600 source files, recording 1405 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 2.2 (Low 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.

2.2
Adjusted Signal
2.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
91.4K
Stars
Rust
Language
611.8K
Lines of Code
1.6K
Files
1.4K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 9.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.4/100 · LOW

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

Agent Over-Engineering Ratio 1.1/100 · LOW

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

PR Review Velocity Impact 11.9/100 · LOW

Which changes need focused human review? 1405 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 0HIGH 14MEDIUM 40LOW 1351

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 1405 distinct pattern matches across 17 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.

Over-Commented Block1223 hits · 989 pts
SeverityFileLineSnippetContext
LOWCargo.toml481# full debug information in one warm edit/build/test replay on macOS:COMMENT
LOWCargo.toml501# configuration and our benchmarking configuration, which is unfortunate.COMMENT
LOWcrates/uv-auth/src/index.rs21#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]COMMENT
LOWcrates/uv-auth/src/store.rs61 ///COMMENT
LOWcrates/uv-auth/src/middleware.rs301 fn cache(&self) -> &CredentialsCache {COMMENT
LOWcrates/uv-auth/src/middleware.rs321 /// The discovered credentials must have the requested username to be used.COMMENT
LOWcrates/uv-auth/src/realm.rs1use std::hash::{Hash, Hasher};COMMENT
LOWcrates/uv-resolver-types/src/metadata.rs21 /// A non-fatal error.COMMENT
LOWcrates/uv-resolver-types/src/universal_marker.rs21 kind: &'static str,COMMENT
LOWcrates/uv-resolver-types/src/universal_marker.rs41 /// The full combined PEP 508 and "conflict" marker.COMMENT
LOWcrates/uv-resolver-types/src/universal_marker.rs61 /// So for example, if a particular dependency should only be activatedCOMMENT
LOWcrates/uv-resolver-types/src/universal_marker.rs81 ///COMMENT
LOWcrates/uv-resolver-types/src/universal_marker.rs161 /// Combine this universal marker with the one given in a way thatCOMMENT
LOWcrates/uv-resolver-types/src/universal_marker.rs341COMMENT
LOWcrates/uv-resolver-types/src/universal_marker.rs421COMMENT
LOWcrates/uv-resolver-types/src/universal_marker.rs681fn encode_package_extra(package: &PackageName, extra: &ExtraName) -> ExtraName {COMMENT
LOWcrates/uv-resolver-types/src/universal_marker.rs821}COMMENT
LOWcrates/uv-resolver-types/src/universal_marker.rs1021 // I believe because markers are put into DNF, the marker we get hereCOMMENT
LOWcrates/uv-resolver-types/src/output.rs21/// Includes a complete resolution graph in which every node represents a pinned package and everyCOMMENT
LOWcrates/uv-resolver-types/src/output.rs181 ///COMMENT
LOWcrates/uv-resolver-types/src/output.rs401 `{marker1:?}` (for version `{version1}`) is not disjoint with \COMMENT
LOWcrates/uv-keyring/tests/common/mod.rs1#![allow(dead_code)] // not all of these utilities are used by all testsCOMMENT
LOWcrates/uv-keyring/src/secret_service.rs101 target: Option<String>,COMMENT
LOWcrates/uv-keyring/src/secret_service.rs161COMMENT
LOWcrates/uv-keyring/src/secret_service.rs361 for item in &search.locked {COMMENT
LOWcrates/uv-keyring/src/error.rs21/// without a `SemVer` break. Clients should always have default handlingCOMMENT
LOWcrates/uv-keyring/src/error.rs41 NoEntry,COMMENT
LOWcrates/uv-keyring/src/lib.rs201 /// The specific reasons for invalidity are platform-dependent, but include length constraints.COMMENT
LOWcrates/uv-keyring/src/lib.rs221COMMENT
LOWcrates/uv-keyring/src/lib.rs241 /// Can return an [`Ambiguous`](Error::Ambiguous) errorCOMMENT
LOWcrates/uv-keyring/src/lib.rs261 }COMMENT
LOWcrates/uv-keyring/src/lib.rs281 ///COMMENT
LOWcrates/uv-keyring/src/lib.rs301 ///COMMENT
LOWcrates/uv-keyring/src/lib.rs321 /// on some platforms, and then only if a third-partyCOMMENT
LOWcrates/uv-keyring/src/credential.rs41 ///COMMENT
LOWcrates/uv-keyring/src/credential.rs61 }COMMENT
LOWcrates/uv-keyring/src/credential.rs81 /// Delete the underlying credential, if there is one.COMMENT
LOWcrates/uv-keyring/src/windows.rs61/// See the module header for the meanings of these fields.COMMENT
LOWcrates/uv-keyring/src/windows.rs101 /// The new credential replaces any existing one in the store.COMMENT
LOWcrates/uv-requirements/src/lookahead.rs21/// The lookahead resolver resolves requirements recursively for direct URLs, so that the resolverCOMMENT
LOWcrates/uv-requirements/src/specification.rs1//! Collecting the requirements to compile, sync or install.COMMENT
LOWcrates/uv-platform-tags/src/tags.rs101/// rows must be checked independently rather than combining their components here.COMMENT
LOWcrates/uv-cache-key/src/canonical_url.rs121 std::fmt::Display::fmt(&self.0, f)COMMENT
LOWcrates/uv-pip-commands/src/tree.rs461 .map(|node| {COMMENT
LOWcrates/uv-platform/src/libc.rs281 // unwrap-safety: Since we are guaranteed to have between 1 and 4 ASCII digits and theCOMMENT
LOWcrates/uv-platform/src/cpuinfo.rs21 }COMMENT
LOWcrates/uv-scripts/src/lib.rs481 /// ```pythonCOMMENT
LOWcrates/uv-scripts/src/lib.rs1301COMMENT
LOWcrates/uv-python-types/src/request.rs21 /// An appropriate default Python installationCOMMENT
LOWcrates/uv-python-types/src/request.rs81#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]COMMENT
LOWcrates/uv-python-types/src/request.rs341 return Self::Key(request);COMMENT
LOWcrates/uv-python-types/src/request.rs381 /// prefixes (e.g. `"python"`, `"pythonw"`, or even `""`) or a set of specific PythonCOMMENT
LOWcrates/uv-distribution/src/distribution_database.rs1141 let mut hashers = algorithms.into_iter().map(Hasher::from).collect::<Vec<_>>();COMMENT
LOWcrates/uv-distribution/src/variant/nvidia.rs41const MIN_COMPUTE_CAPABILITY: (u8, u8) = (5, 0);COMMENT
LOWcrates/uv-distribution/src/index/built_wheel_index.rs301 ///COMMENT
LOW…ates/uv-distribution/src/metadata/dependency_groups.rs21///COMMENT
LOWcrates/uv-distribution/src/metadata/requires_dist.rs321/// requires-python = ">=3.13.0"COMMENT
LOWcrates/uv-distribution/src/metadata/requires_dist.rs341/// Provides-Extra: asyncCOMMENT
LOWcrates/uv-project-commands/src/check.rs221 // as constructs like `members = ["../foo"]` are legal.COMMENT
LOWcrates/uv-project-commands/src/run.rs1261}COMMENT
1163 more matches not shown…
Empty Error Handlers12 hits · 60 pts
SeverityFileLineSnippetContext
HIGHcrates/uv-virtualenv/src/_virtualenv.py88except AttributeError:CODE
HIGH…s/uv-python-interpreter/python/get_interpreter_info.py214except (ImportError, AttributeError):CODE
HIGH…s/uv-python-interpreter/python/get_interpreter_info.py374except UnicodeDecodeError:CODE
HIGH…s/uv-python-interpreter/python/get_interpreter_info.py663except (ImportError, AttributeError):CODE
HIGH…ed/excluded/bird-feeder/check_installed_bird_feeder.py7except ModuleNotFoundError:CODE
HIGH…ce/packages/bird-feeder/check_installed_bird_feeder.py7except ModuleNotFoundError:CODE
HIGH…ce/packages/bird-feeder/check_installed_bird_feeder.py7except ModuleNotFoundError:CODE
HIGH…aces/albatross-in-example/check_installed_albatross.py7except ModuleNotFoundError:CODE
HIGH…le/examples/bird-feeder/check_installed_bird_feeder.py7except ModuleNotFoundError:CODE
HIGHagents/hooks/post-edit-format.py27except FileNotFoundError:CODE
HIGHagents/hooks/post-edit-format.py40except FileNotFoundError:CODE
HIGHagents/hooks/post-edit-format.py53except FileNotFoundError:CODE
Unused Imports46 hits · 46 pts
SeverityFileLineSnippetContext
LOWcrates/uv-build/python/uv_build/__init__.py21CODE
LOWcrates/uv-build/python/uv_build/__init__.py21CODE
LOWcrates/uv-build/python/uv_build/__init__.py22CODE
LOWcrates/uv-virtualenv/src/activator/activate_this.py31CODE
LOW…s/uv-python-interpreter/python/get_interpreter_info.py666CODE
LOW…s/uv-python-interpreter/python/packaging/_manylinux.py8CODE
LOW…ed/excluded/bird-feeder/check_installed_bird_feeder.py1CODE
LOW…ed/excluded/bird-feeder/check_installed_bird_feeder.py4CODE
LOW…luded/excluded/bird-feeder/src/bird_feeder/__init__.py1CODE
LOW…oject-in-excluded/packages/seeds/src/seeds/__init__.py1CODE
LOW…lbatross-project-in-excluded/src/albatross/__init__.py1CODE
LOW…ce/packages/bird-feeder/check_installed_bird_feeder.py1CODE
LOW…ce/packages/bird-feeder/check_installed_bird_feeder.py4CODE
LOW…space/packages/bird-feeder/src/bird_feeder/__init__.py1CODE
LOW…ss-root-workspace/packages/seeds/src/seeds/__init__.py1CODE
LOW…ces/albatross-root-workspace/src/albatross/__init__.py1CODE
LOW…ce/packages/bird-feeder/check_installed_bird_feeder.py1CODE
LOW…ce/packages/bird-feeder/check_installed_bird_feeder.py4CODE
LOW…space/packages/bird-feeder/src/bird_feeder/__init__.py1CODE
LOW…virtual-workspace/packages/seeds/src/seeds/__init__.py1CODE
LOW…workspace/packages/albatross/src/albatross/__init__.py1CODE
LOW…aces/albatross-in-example/check_installed_albatross.py4CODE
LOW…le/examples/bird-feeder/check_installed_bird_feeder.py1CODE
LOW…le/examples/bird-feeder/check_installed_bird_feeder.py4CODE
LOW…ample/examples/bird-feeder/src/bird_feeder/__init__.py1CODE
LOW…kspaces/albatross-in-example/src/albatross/__init__.py1CODE
LOW…deptry_reproducer/python/deptry_reproducer/__init__.py1CODE
LOW…ges/built-by-uv/src/built_by_uv/arithmetic/__init__.py1CODE
LOWpython/uv/_find_uv.py1CODE
LOWpython/uv/__init__.py1CODE
LOWpython/uv/__init__.py3CODE
LOWscripts/publish-crates.py12CODE
LOWscripts/update_schemastore.py8CODE
LOWscripts/sync-python-version-constants.py23CODE
LOWscripts/check-cargo-bans.py10CODE
LOWscripts/check-cargo-lock-changes.py10CODE
LOWscripts/check_cache_compat.py7CODE
LOWscripts/vendor-packaging.py19CODE
LOWscripts/build_uv_pgo.py11CODE
LOWscripts/check_system_python.py157CODE
LOWscripts/generate-known-stdlib.py11CODE
LOWscripts/transform_readme.py8CODE
LOWscripts/update-latest-changelog-section.py10CODE
LOWscripts/patch-dist-manifest-checksums.py10CODE
LOWscripts/create-python-mirror.py19CODE
LOWscripts/check-trampoline-version-consistency.py15CODE
Self-Referential Comments15 hits · 45 pts
SeverityFileLineSnippetContext
MEDIUM…tes/uv-python-interpreter/python/packaging/__init__.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMtest/requirements/transformers/pyproject.toml1# This file is a translation ofCOMMENT
MEDIUMscripts/uv-run-remote-script-test.py1# This file is used to test `uv run <url>` in ../crates/uv/tests/run.rsCOMMENT
MEDIUMscripts/update_schemastore.py34 # Create a new branch tagged with the current uv commit up to date with the latestCOMMENT
MEDIUMscripts/check_embedded_python.py25 # Create a temporary directory.COMMENT
MEDIUMscripts/check_embedded_python.py27 # Create a virtual environment with `uv`.COMMENT
MEDIUMscripts/check_cache_compat.py124 # Create a temporary directory.COMMENT
MEDIUMscripts/check_system_python.py165 # Create a temporary directory.COMMENT
MEDIUMscripts/check_system_python.py223 # Create a virtual environment with `uv`.COMMENT
MEDIUMscripts/benchmark/src/benchmark/resolver.py358 # Create a Poetry project.COMMENT
MEDIUMscripts/benchmark/src/benchmark/resolver.py644 # Create a PDM project.COMMENT
MEDIUMscripts/benchmark/src/benchmark/resolver.py1049 # Create a Poetry project.COMMENT
MEDIUMscripts/smoke-test/commands.sh10# Create a virtual environment and install a package with `uv pip`COMMENT
MEDIUM.github/workflows/release.yml367 # Create a GitHub Release while uploading all files to itCOMMENT
MEDIUM.github/workflows/release.yml393 # Create a GitHub Release while uploading all files to itCOMMENT
Decorative Section Separators9 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUM⚡crates/uv-types/src/traits.rs69/// ┌────────────────┐COMMENT
MEDIUM⚡crates/uv-types/src/traits.rs71/// └───────▲────────┘COMMENT
MEDIUM⚡crates/uv-types/src/traits.rs74/// ┌───────┴────────┐COMMENT
MEDIUM⚡crates/uv-types/src/traits.rs75/// ┌─────────►│ uv-dispatch │◄─────────┐COMMENT
MEDIUM⚡crates/uv-types/src/traits.rs76/// │ └───────▲────────┘ │COMMENT
MEDIUM⚡crates/uv-types/src/traits.rs79/// ┌───────┴────────┐ ┌───────┴────────┐ ┌────────┴────────────────┐COMMENT
MEDIUM⚡crates/uv-types/src/traits.rs81/// └───────▲────────┘ └───────▲────────┘ └────────▲────────────────┘COMMENT
MEDIUM⚡crates/uv-types/src/traits.rs83/// └─────────────┐ │ ┌──────────────┘COMMENT
MEDIUM⚡crates/uv-types/src/traits.rs86/// └────────────────┘COMMENT
AI Slop Vocabulary13 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMcrates/uv-distribution-types/src/any.rs75/// Like [`InstalledVersion`], but with [`CanonicalUrl`] to ensure robust URL comparisons.COMMENT
MEDIUMcrates/uv-client/src/httpcache/mod.rs256 /// whether a new request can utilize a cached response or not. This isCOMMENT
MEDIUMcrates/uv-extract/src/stream.rs656 // that leverage this feature anyway.COMMENT
MEDIUMcrates/uv-windows/src/exception.rs37/// halfway through a Rust operation. It needs to be robust to operating with unknown programCOMMENT
MEDIUMcrates/uv/tests/project/init.rs2090 // robust to errors in discovery.COMMENT
MEDIUMcrates/uv-trampoline/src/bounce.rs196/// PEP 405 specifies a more robust procedure (checking both the parent and grandparentCOMMENT
MEDIUMcrates/uv-trampoline/src/bounce.rs407 // See also <https://github.com/astral-sh/uv/pull/18170> which explores a more robust solutionCOMMENT
MEDIUMcrates/uv-environment-operations/src/lib.rs366/// This isn't fully robust, and cannot be, as the path may not exist.COMMENT
MEDIUMcrates/uv-build-frontend/src/lib.rs881 // allow us to leverage the hook in _most_ cases while still avoiding incorrect metadata forCOMMENT
MEDIUMcrates/uv-python-interpreter/src/environment.rs327 // should be generally robust.COMMENT
MEDIUMcrates/uv-python-interpreter/src/interpreter.rs174 /// This routine mimics the CPython `getpath.py` logic in order to make a more robust assessmentCOMMENT
LOWtest/ecosystem/openai-python/pyproject.toml193# it's fine to just use Pyright.COMMENT
LOWpython/uv/__main__.py12 # If it's already set, then just use itCOMMENT
Hyper-Verbose Identifiers23 hits · 24 pts
SeverityFileLineSnippetContext
LOWcrates/uv-test/src/archive.rs78 def prepare_metadata_for_build_wheel(metadata_directory, config_settings=None):CODE
LOW⚡crates/uv-build/python/uv_build/__init__.py92def get_requires_for_build_sdist(CODE
LOW⚡crates/uv-build/python/uv_build/__init__.py100def get_requires_for_build_wheel(CODE
LOW⚡crates/uv-build/python/uv_build/__init__.py108def prepare_metadata_for_build_wheel(CODE
LOWcrates/uv-build/python/uv_build/__init__.py128def get_requires_for_build_editable(CODE
LOWcrates/uv-build/python/uv_build/__init__.py136def prepare_metadata_for_build_editable(CODE
LOWcrates/uv/tests/pip_compile/pip_compile.rs13421 def prepare_metadata_for_build_wheel(metadata_directory, config_settings=None):CODE
LOWcrates/uv/tests/sync/sync.rs7847 def prepare_metadata_for_build_editable(metadata_directory, config_settings=None):CODE
LOWcrates/uv/tests/sync/sync.rs7967 def prepare_metadata_for_build_editable(metadata_directory, config_settings=None):STRING
LOWcrates/uv/tests/sync/sync.rs18907 def get_requires_for_build_wheel(config_settings=None):STRING
LOW…s/uv-python-interpreter/python/get_interpreter_info.py110def _running_under_legacy_virtualenv() -> bool:CODE
LOW…s/uv-python-interpreter/python/get_interpreter_info.py283 def _should_use_osx_framework_prefix() -> bool:CODE
LOW…s/uv-python-interpreter/python/get_interpreter_info.py420def get_operating_system_and_architecture():CODE
LOW…s/uv-python-interpreter/python/packaging/_manylinux.py83def _glibc_version_string_confstr() -> "str | None":CODE
LOW…s/uv-python-interpreter/python/packaging/_manylinux.py102def _glibc_version_string_ctypes() -> "str | None":CODE
LOWscripts/publish-crates.py110def build_cargo_publish_command(CODE
LOWscripts/build_uv_pgo.py347def extend_project_environments(project: EcosystemProject, content: str) -> str:CODE
LOWscripts/create-python-mirror.py71def collect_metadata_from_git_history() -> list[dict]:CODE
LOWscripts/check-trampoline-version-consistency.py24def get_locked_windows_version(lockfile_path: Path) -> str | None:CODE
LOWscripts/publish/test_publish.py448 def _verify_same_file_reupload(self, project: BuiltProject):CODE
LOWscripts/publish/test_publish.py478 def _verify_existing_files_skipped(self, project: BuiltProject):CODE
LOWscripts/publish/test_publish.py515 def _verify_modified_files_rejected(self, project: BuiltProject):CODE
LOWscripts/publish/test_publish.py689 def _check_index_for_provenance(self, project: BuiltProject):CODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHdist-workspace.toml57# Whether CI should include auto-generated code to build local artifactsCOMMENT
HIGHcrates/uv-types/src/requirements.rs33/// A set of requirements as requested by a parent requirement.COMMENT
Deep Nesting13 hits · 13 pts
SeverityFileLineSnippetContext
LOWcrates/uv-python-managed/fetch-download-metadata.py224CODE
LOWcrates/uv-python-managed/fetch-download-metadata.py601CODE
LOWcrates/uv-python-managed/fetch-download-metadata.py711CODE
LOWcrates/uv-virtualenv/src/_virtualenv.py51CODE
LOW…s/uv-python-interpreter/python/get_interpreter_info.py420CODE
LOW…s/uv-python-interpreter/python/packaging/_manylinux.py214CODE
LOWagents/hooks/post-edit-format.py57CODE
LOWscripts/check-cargo-bans.py22CODE
LOWscripts/build_uv_pgo.py312CODE
LOWscripts/registries-test.py79CODE
LOWscripts/registries-test.py180CODE
LOWscripts/codspeed-profiles.py209CODE
LOWscripts/publish/test_publish.py620CODE
Verbosity Indicators9 hits · 12 pts
SeverityFileLineSnippetContext
LOWcrates/uv-pip-commands/src/tree.rs241 // Step 1: Add each installed package.COMMENT
LOWcrates/uv-pip-commands/src/tree.rs255 // Step 2: Add all dependencies.COMMENT
LOW⚡crates/uv-pip-commands/src/tree.rs289 // Step 2: Reverse the graph.COMMENT
LOW⚡crates/uv-pip-commands/src/tree.rs294 // Step 3: Filter the graph to those nodes reachable from the target packages.COMMENT
LOWcrates/uv/tests/pip_install/pip_install.rs18156 // Step 1: Install as editable first.COMMENT
LOWcrates/uv/tests/pip_install/pip_install.rs18169 // Step 2: Use `--no-sources`; we should retain the package.COMMENT
LOWcrates/uv/tests/sync/sync.rs18207 // Step 1: `uv sync --no-sources` should install `anyio` from PyPI.STRING
LOWcrates/uv/tests/sync/sync.rs18220 // Step 2: `uv sync` should switch to an editable installation.STRING
LOWcrates/uv/tests/sync/sync.rs18234 // Step 3: `uv sync --no-sources` again should switch back to PyPI package.STRING
Structural Annotation Overuse6 hits · 10 pts
SeverityFileLineSnippetContext
LOWcrates/uv-pip-commands/src/tree.rs241 // Step 1: Add each installed package.COMMENT
LOWcrates/uv-pip-commands/src/tree.rs255 // Step 2: Add all dependencies.COMMENT
LOW⚡crates/uv-pip-commands/src/tree.rs289 // Step 2: Reverse the graph.COMMENT
LOW⚡crates/uv-pip-commands/src/tree.rs294 // Step 3: Filter the graph to those nodes reachable from the target packages.COMMENT
LOWcrates/uv/tests/pip_install/pip_install.rs18156 // Step 1: Install as editable first.COMMENT
LOWcrates/uv/tests/pip_install/pip_install.rs18169 // Step 2: Use `--no-sources`; we should retain the package.COMMENT
Example Usage Blocks7 hits · 10 pts
SeverityFileLineSnippetContext
LOWscripts/publish-crates.py8# Usage:COMMENT
LOWscripts/install-cargo-extensions.sh8## Usage:COMMENT
LOWscripts/check-release-artifact-sboms.sh7## Usage:COMMENT
LOWscripts/codesign-macos.sh5# Usage:COMMENT
LOWscripts/nextest-setup-hook-unix.sh7# Usage:COMMENT
LOWscripts/apply-ci-snapshots.sh4# Usage:COMMENT
LOWscripts/cargo.sh6## Usage:COMMENT
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMcrates/uv-project-commands/src/init.rs1022/// The module name inferred from a distribution and any override needed by the scaffold.COMMENT
MEDIUMcrates/uv-cache/src/lib.rs462 /// Populate the cache scaffold.COMMENT
MEDIUM.github/zizmor.yml4 # We use `secrets: inherit` pervasively in uv's CI to orchestrate reusableCOMMENT
Modern Structural Boilerplate9 hits · 9 pts
SeverityFileLineSnippetContext
LOWcrates/uv-python-managed/fetch-download-metadata.py68logger = logging.getLogger(__name__)CODE
LOW…ges/built-by-uv/src/built_by_uv/arithmetic/__init__.py3__all__ = ["circle_area"]CODE
LOWpython/uv/__init__.py5__all__ = ["find_uv_bin"]CODE
LOWscripts/update_schemastore.py21def update_schemastore(schemastore: Path, *, root: Path) -> None:CODE
LOWscripts/check_embedded_python.py12logger = logging.getLogger(__name__)CODE
LOWscripts/check_cache_compat.py16logger = logging.getLogger(__name__)CODE
LOWscripts/check_system_python.py18logger = logging.getLogger(__name__)CODE
LOWscripts/create-python-mirror.py48logger = logging.getLogger(__name__)CODE
LOWscripts/benchmark/src/benchmark/resolver.py63logger = logging.getLogger(__name__)CODE
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/uv-build-backend/src/metadata.rs1358 extend_project(r#"maintainers = [{ email = "ferris@example.org", extra = true }]"#);CODE
LOWcrates/uv-build-backend/src/metadata.rs1362 4 | maintainers = [{ email = "ferris@example.org", extra = true }]CODE
LOWcrates/uv-build-backend/src/metadata.rs1382 let contents = extend_project(r#"authors = [["Ferris", "ferris@example.org"]]"#);CODE
LOWcrates/uv-build-backend/src/metadata.rs1386 4 | authors = [["Ferris", "ferris@example.org"]]CODE
LOWcrates/uv/tests/project/edit.rs11187 packages.child("placeholder").touch()?;CODE
LOWcrates/uv/tests/project/edit.rs11241 packages.child("placeholder").touch()?;CODE
LOWcrates/uv/tests/project/edit.rs11478 packages.child("placeholder").touch()?;CODE
LOWdocs/guides/projects.md87 { name = "ferris", email = "ferris@example.org" }CODE
Excessive Try-Catch Wrapping3 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMcrates/uv/tests/project/run.rs4361 print(f"Error: Expected pythonw.exe but got: {executable}", file=sys.stderr)CODE
MEDIUMscripts/repair-sdist-cargo-lock.py42 print(f"Error: {sdist_path} is not a valid tar file", file=sys.stderr)CODE
LOWscripts/create-python-mirror.py93 except Exception:CODE
Redundant / Tautological Comments4 hits · 5 pts
SeverityFileLineSnippetContext
LOWscripts/update_schemastore.py70 # Check if the schema has changedCOMMENT
LOWscripts/nextest-setup-hook-unix.sh18# Set UV_TEST_CODESIGN_IDENTITY to enable signing. See `scripts/codesign-macos.sh`.COMMENT
LOWscripts/apply-ci-snapshots.sh83# Check if any artifacts were downloadedCOMMENT
LOWscripts/generate-crate-readmes.py126 # Check if README already existsSTRING