AI Slop Code Risk Monitor

prefix-dev/pixi

SlopCodeMonitor badge for prefix-dev/pixi Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Powerful system-level package manager for Linux, macOS and Windows written in Rust – building on top of the Conda ecosystem.

4.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for prefix-dev/pixi, a Rust project with 7,931 GitHub stars. SynthScan examined 401,758 lines of code across 1911 source files, recording 1489 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 4.0 (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.

4.0
Adjusted Signal
4.0
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
7.9K
Stars
Rust
Language
401.8K
Lines of Code
1.9K
Files
1.5K
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 14.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.8/100 · LOW

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

Agent Over-Engineering Ratio 7.1/100 · LOW

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

PR Review Velocity Impact 20.3/100 · LOW

Which changes need focused human review? 1489 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 9HIGH 5MEDIUM 113LOW 1362

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 1489 distinct pattern matches across 21 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 Block664 hits · 656 pts
SeverityFileLineSnippetContext
LOWcrates/pixi_auth/src/lib.rs1//! Authentication utilities for pixi.COMMENT
LOWcrates/pixi_test_utils/src/git_fixture.rs81/// for that commit.COMMENT
LOWcrates/pixi_test_utils/src/git_fixture.rs101/// │ ├── pyproject.tomlCOMMENT
LOWcrates/pixi_build_rust/src/metadata.rs121 }COMMENT
LOWcrates/pixi_compute_cache_dirs/src/lib.rs1//! Engine-tracked cache-directory lookup.COMMENT
LOWcrates/pixi_compute_cache_dirs/src/lib.rs21//! Declare a marker for the cache, inject the anchors, then resolveCOMMENT
LOWcrates/pixi_compute_cache_dirs/src/lib.rs41//! let root = AbsPathBuf::new(std::env::temp_dir()).unwrap().into_assume_dir();COMMENT
LOWcrates/pixi_install_pypi/src/conda_pypi_clobber.rs161}COMMENT
LOWcrates/pixi_install_pypi/src/hash_verification.rs1//! Verification of locked PyPI artifacts against the hashes in the lock file.COMMENT
LOWcrates/pixi_install_pypi/src/install_wheel.rs121}COMMENT
LOWcrates/pixi_install_pypi/src/utils.rs81/// For directory sources (source distributions), this function uses uv's `CacheInfo`COMMENT
LOWcrates/pixi_install_pypi/src/plan/cache.rs1//! Cache resolution for distribution packages.COMMENT
LOWcrates/pixi_install_pypi/src/plan/planner.rs21 installed_dists::InstalledDists, models::ValidateCurrentInstall, validation::need_reinstall,COMMENT
LOW…ates/pixi_install_pypi/src/plan/installation_source.rs1//! Cache resolution logic for determining whether packages should be installedCOMMENT
LOWcrates/pixi_install_pypi/src/plan/mod.rs1//! This module determines what actions should be taken when installingCOMMENT
LOWcrates/pixi_install_pypi/src/plan/mod.rs21//! An installation plan is built through these steps:COMMENT
LOWcrates/pixi_install_pypi/src/plan/validation.rs41///COMMENT
LOWcrates/pixi_install_pypi/src/plan/installed_dists.rs1//! Defines provider traits for accessing installed Python packages.COMMENT
LOWcrates/pixi_path/src/lib.rs1//! Type-safe path wrappers with compile-time guarantees.COMMENT
LOWcrates/pixi_path/src/lib.rs21//! - Types ending in `Path` are borrowed (like [`std::path::Path`])COMMENT
LOWcrates/pixi_path/src/lib.rs61 #[error("{0} is not an absolute path")]COMMENT
LOWcrates/pixi_path/src/lib.rs81#[derive(Hash, Eq, PartialEq, Debug)]COMMENT
LOWcrates/pixi_path/src/lib.rs161 }COMMENT
LOWcrates/pixi_path/src/lib.rs181 ///COMMENT
LOWcrates/pixi_path/src/lib.rs221 // maintaining the absolute prefix/root.COMMENT
LOWcrates/pixi_path/src/lib.rs241 fs_err::create_dir_all(&self.0)?;COMMENT
LOWcrates/pixi_path/src/lib.rs321COMMENT
LOWcrates/pixi_path/src/lib.rs341 #[inline]COMMENT
LOWcrates/pixi_path/src/lib.rs361 ///COMMENT
LOWcrates/pixi_path/src/lib.rs421COMMENT
LOWcrates/pixi_path/src/lib.rs481 ///COMMENT
LOWcrates/pixi_path/src/lib.rs501COMMENT
LOWcrates/pixi_path/src/lib.rs561 write!(f, "{}", self.0.display())COMMENT
LOWcrates/pixi_path/src/lib.rs581impl AbsPresumedDirPath {COMMENT
LOWcrates/pixi_path/src/lib.rs661 self.to_path_buf()COMMENT
LOWcrates/pixi_path/src/lib.rs781}COMMENT
LOWcrates/pixi_path/src/lib.rs801/// An `AbsPresumedFilePath` is always absolute.COMMENT
LOWcrates/pixi_path/src/lib.rs901 }COMMENT
LOWcrates/pixi_config/src/lib.rs41#[derive(Debug, Clone, Copy, Default, Serialize, Deserialize, PartialEq, Eq)]COMMENT
LOWcrates/pixi_config/src/lib.rs201 /// Search the system and user-level paths (the default).COMMENT
LOWcrates/pixi_config/src/lib.rs461///COMMENT
LOWcrates/pixi_config/src/lib.rs941 pub index_url: Option<Url>,COMMENT
LOWcrates/pixi_config/src/lib.rs1041#[derive(Default, Debug, Clone, Deserialize, Serialize, PartialEq, Eq)]COMMENT
LOWcrates/pixi_config/src/lib.rs1241COMMENT
LOWcrates/pixi_config/src/lib.rs1261COMMENT
LOWcrates/pixi_config/src/lib.rs1281 /// automated logic like `pixi add`COMMENT
LOWcrates/pixi_config/src/lib.rs1301 #[serde(default, skip_serializing_if = "IndexConfig::is_empty")]COMMENT
LOWcrates/pixi_config/src/lib.rs1321COMMENT
LOWcrates/pixi_config/src/lib.rs1341 pub concurrency: ConcurrencyConfig,COMMENT
LOWcrates/pixi_config/src/lib.rs1361COMMENT
LOWcrates/pixi_config/src/lib.rs1381 /// backends and other tools for a different platform than the current one.COMMENT
LOWcrates/pixi_config/src/lib.rs1641#[serde(rename_all = "kebab-case")]COMMENT
LOWcrates/pixi_config/src/lib.rs1681COMMENT
LOWcrates/pixi_config/src/lib.rs1841 }COMMENT
LOWcrates/pixi_config/src/lib.rs2021 warn_about_proxy_config(&config);COMMENT
LOWcrates/pixi_config/src/lib.rs2061 Ok(())COMMENT
LOWcrates/pixi_config/src/lib.rs4621 #[rstest]COMMENT
LOWcrates/pixi_spec/src/exclude_newer.rs21 Duration(std::time::Duration),COMMENT
LOWcrates/pixi_spec/src/exclude_newer.rs41 #[serde(default, skip_serializing_if = "BTreeMap::is_empty")]COMMENT
LOWcrates/pixi_spec/src/exclude_newer.rs161 selfCOMMENT
604 more matches not shown…
Hyper-Verbose Identifiers588 hits · 419 pts
SeverityFileLineSnippetContext
LOWtests/integration_python/test_run_cli.py59def test_run_in_shell_environment(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py568def test_task_args_with_some_defaults(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py612def test_task_args_all_required(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py684def test_task_with_dependency_args(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py719def test_named_dependency_args_valid(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py757def test_named_dependency_args_invalid(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py807def test_complex_task_dependencies_with_args(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py851def test_depends_on_with_complex_args(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py984def test_argument_with_dash_errors(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1005def test_undefined_arguments_in_command(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1041def test_task_args_multiple_inputs(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1140def test_task_environment_precedence(CODE
LOWtests/integration_python/test_run_cli.py1208def test_multiple_dependencies_with_environments(CODE
LOWtests/integration_python/test_run_cli.py1275def test_dependency_unknown_environment_errors(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1291def test_task_add_unknown_default_environment_errors(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1334def test_environment_remove_referenced_by_task_errors(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1350def test_short_circuit_composition(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1388def test_task_minijinja_title_filter(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1416def test_template_in_inputs_outputs(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1475def test_argument_forwarding_in_dependencies(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1497def test_task_caching_with_multiple_outputs_args(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1550def test_task_caching_with_multiple_inputs_args(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1608def test_task_caching_when_running_already_cached_depends_task(CODE
LOWtests/integration_python/test_run_cli.py1725def test_shell_quoting_run_commands(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1765def test_run_with_environment_variable_priority(CODE
LOWtests/integration_python/test_run_cli.py1924def test_task_inputs_outputs_missing_no_initial_cache(CODE
LOWtests/integration_python/test_run_cli.py108def test_run_platform_not_in_environment_errors(pixi: Path, tmp_pixi_workspace: Path) -> None:STRING
LOWtests/integration_python/test_run_cli.py129def test_run_wildcard_target_selector_resolves_per_platform(STRING
LOWtests/integration_python/test_run_cli.py169def test_run_in_shell_project(pixi: Path) -> None:STRING
LOWtests/integration_python/test_run_cli.py228def test_using_prefix_validation(STRING
LOWtests/integration_python/test_run_cli.py346def test_detached_environments_run(pixi: Path, tmp_path: Path, dummy_channel_1: str) -> None:STRING
LOWtests/integration_python/test_run_cli.py516def test_task_args_with_defaults(pixi: Path, tmp_pixi_workspace: Path) -> None:STRING
LOWtests/integration_python/test_run_cli.py1665def test_caching_multiple_tasks_with_depends_on_args(pixi: Path, tmp_pixi_workspace: Path) -> None:STRING
LOWtests/integration_python/test_external_commands.py20def test_command_suggestion_tee_suggests_tree(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_external_commands.py64def test_external_command_not_found(CODE
LOWtests/integration_python/test_external_commands.py100def test_pixi_internal_wins_over_external(CODE
LOWtests/integration_python/conftest.py52def setup_build_backend_override(request: pytest.FixtureRequest) -> None:CODE
LOWtests/integration_python/conftest.py96def isolated_pixi_cache_per_worker(CODE
LOWtests/integration_python/test_offline_conda_forge.py53def test_offline_resolves_the_cached_version(CODE
LOWtests/integration_python/test_offline_conda_forge.py86def test_pypi_workspace_relocks_offline_after_a_warm_install(CODE
LOWtests/integration_python/test_offline_conda_forge.py128def test_offline_install_after_warming_the_cache(STRING
LOWtests/integration_python/test_inline_environments.py13def test_inline_environment_installs_and_runs(CODE
LOWtests/integration_python/test_inline_environments.py44def test_inline_environment_combines_with_features(STRING
LOWtests/integration_python/test_inline_environments.py69def test_inline_content_is_not_a_feature(STRING
LOWtests/integration_python/test_inline_environments.py105def test_inline_task_runs_without_environment_flag(STRING
LOWtests/integration_python/test_inline_environments.py144def test_inline_activation_env(pixi: Path, tmp_pixi_workspace: Path, dummy_channel_1: str) -> None:STRING
LOWtests/integration_python/test_inline_environments.py209def test_inline_target_dependencies(STRING
LOWtests/integration_python/test_inline_environments.py276def test_inline_no_default_feature(STRING
LOWtests/integration_python/test_inline_environments.py300def test_pyproject_inline_environment(STRING
LOWtests/integration_python/test_inline_environments.py330def test_upgrade_keeps_inline_environment(STRING
LOWtests/integration_python/test_inline_environments.py364def test_upgrade_with_environment_flag(STRING
LOWtests/integration_python/test_inline_environments.py394def test_upgrade_with_environment_flag_requires_inline_content(STRING
LOWtests/integration_python/test_inline_environments.py419def test_workspace_environment_list_hides_inline_feature(STRING
LOWtests/integration_python/test_inline_environments.py442def test_workspace_environment_remove_inline(STRING
LOWtests/integration_python/test_inline_environments.py467def test_workspace_environment_add_existing_inline(STRING
LOWtests/integration_python/test_inline_environments.py494def test_info_hides_env_feature(pixi: Path, tmp_pixi_workspace: Path, dummy_channel_1: str) -> None:STRING
LOWtests/integration_python/test_inline_environments.py514def test_lockfile_contains_inline_env(STRING
LOWtests/integration_python/test_inline_environments.py538def test_feature_and_environment_same_name(STRING
LOWtests/integration_python/test_inline_environments.py563def test_add_default_dependency_preserves_inline_env(STRING
LOWtests/integration_python/test_inline_environments.py586def test_ambiguous_inline_task(pixi: Path, tmp_pixi_workspace: Path, dummy_channel_1: str) -> None:STRING
528 more matches not shown…
Decorative Section Separators43 hits · 131 pts
SeverityFileLineSnippetContext
MEDIUMcrates/pixi_compute_engine/src/cycle/mod.rs12//! ────────── ─────────── ──────────COMMENT
MEDIUMcrates/pixi_compute_engine/src/cycle/mod.rs18//! └──────────────►innermost() <outer stack>COMMENT
MEDIUMcrates/pixi_compute_engine/src/cycle/mod.rs110//! Root(A) ─────────▶ A (spawned, fallback_A)COMMENT
MEDIUM⚡tests/integration_python/test_workspace_platform.py126# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/integration_python/test_workspace_platform.py128# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/integration_python/test_workspace_platform.py585# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/integration_python/test_workspace_platform.py587# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/integration_python/test_workspace_platform.py989# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/integration_python/test_workspace_platform.py995# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py34# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py36# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py731# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py733# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py910# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py912# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py1117# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py1124# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/integration_python/test_workspace_platform.py1369# ----------------------------------------------------------------------------STRING
MEDIUM⚡tests/integration_python/test_workspace_platform.py1371# ----------------------------------------------------------------------------STRING
MEDIUM⚡tests/integration_python/test_workspace_platform.py1611# ----------------------------------------------------------------------------STRING
MEDIUM⚡tests/integration_python/test_workspace_platform.py1613# ----------------------------------------------------------------------------STRING
MEDIUMtests/integration_python/test_workspace_platform.py1238# ----------------------------------------------------------------------------STRING
MEDIUMtests/integration_python/test_workspace_platform.py1240# ----------------------------------------------------------------------------STRING
MEDIUMtests/integration_python/test_workspace_platform.py1303# ----------------------------------------------------------------------------STRING
MEDIUMtests/integration_python/test_workspace_platform.py1305# ----------------------------------------------------------------------------STRING
MEDIUM⚡docs/integration/third_party/conda_deny.md32#--------------------------------------------------------COMMENT
MEDIUM⚡docs/integration/third_party/conda_deny.md34#--------------------------------------------------------COMMENT
MEDIUM⚡docs/integration/third_party/conda_deny.md42#--------------------------------------------------------COMMENT
MEDIUM⚡docs/integration/third_party/conda_deny.md44#--------------------------------------------------------COMMENT
MEDIUM⚡examples/develop/cpp-sdl/pixi.toml6# --------------------------COMMENT
MEDIUM⚡examples/develop/cpp-sdl/pixi.toml8# --------------------------COMMENT
MEDIUM⚡examples/develop/cpp-sdl/pixi.toml12# --------------------------COMMENT
MEDIUM⚡examples/develop/cpp-sdl/pixi.toml14# --------------------------COMMENT
MEDIUMexamples/develop/cpp-sdl/pixi.toml40# --------------------------COMMENT
MEDIUMexamples/develop/cpp-sdl/pixi.toml42# --------------------------COMMENT
MEDIUMexamples/pixi-build/v3/pixi.toml1# ----------------------------------COMMENT
MEDIUMexamples/pixi-build/v3/pixi.toml3# -----------------------------------COMMENT
MEDIUMexamples/pixi-build/v3/pixi.toml16# ----------------------------------COMMENT
MEDIUMexamples/pixi-build/v3/pixi.toml18# ----------------------------------COMMENT
MEDIUM.github/workflows/release.yml28 # ============================================================COMMENT
MEDIUM.github/workflows/release.yml30 # ============================================================COMMENT
MEDIUM.github/workflows/release.yml201 # ============================================================COMMENT
MEDIUM.github/workflows/release.yml203 # ============================================================COMMENT
Self-Referential Comments56 hits · 128 pts
SeverityFileLineSnippetContext
MEDIUMinstall/install.sh215 # Create the file if it doesn't existCOMMENT
MEDIUMtests/integration_python/test_run_cli.py352 # Create a dummy projectSTRING
MEDIUMtests/integration_python/test_upgrade.py21 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_upgrade.py50 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_upgrade.py118 # Create a new projectSTRING
MEDIUMtests/integration_python/test_upgrade.py146 # Create a new projectSTRING
MEDIUMtests/integration_python/test_upgrade.py173 # Create a new projectSTRING
MEDIUMtests/integration_python/test_upgrade.py205 # Create a new projectSTRING
MEDIUMtests/integration_python/test_upgrade.py241 # Create a new projectSTRING
MEDIUMtests/integration_python/test_upgrade.py339 # Create a new projectSTRING
MEDIUMtests/integration_python/test_upgrade.py388 # Create a new projectSTRING
MEDIUMtests/integration_python/test_upgrade.py425 # Create a new projectSTRING
MEDIUMtests/integration_python/test_manifest_path.py50 # Create a child project that only has the default environment (no "test" env)COMMENT
MEDIUMtests/integration_python/test_import.py31 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_import.py94 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_import.py138 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_import.py177 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_import.py213 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_import.py258 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_import.py479 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_import.py585 # Create a new projectSTRING
MEDIUMtests/integration_python/test_import.py626 # Create a new projectSTRING
MEDIUMtests/integration_python/test_import.py661 # Create a new projectSTRING
MEDIUMtests/integration_python/test_import.py709 # Create a new projectSTRING
MEDIUMtests/integration_python/test_import.py861 # Create a new projectSTRING
MEDIUMtests/integration_python/test_main_cli.py66 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_main_cli.py727 # Create an empty pixi.toml so it won't go up and find the one inside the repoCOMMENT
MEDIUMtests/integration_python/test_main_cli.py982 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_main_cli.py1001 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_main_cli.py1014 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_main_cli.py1046 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_main_cli.py2178 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_main_cli.py383 # Create a new projectSTRING
MEDIUMtests/integration_python/test_main_cli.py480 # Create a new projectSTRING
MEDIUMtests/integration_python/test_main_cli.py503 # Create a new projectSTRING
MEDIUMtests/integration_python/test_main_cli.py1933 # Create a new project with bzip2 (lightweight package)STRING
MEDIUMtests/integration_python/test_main_cli.py2006 # Create a simple environment.yml file for import testingSTRING
MEDIUM⚡tests/integration_python/test_edge_cases.py419 # Create a new pixi workspaceSTRING
MEDIUMtests/integration_python/test_shell.py11 # Create a new workspaceCOMMENT
MEDIUMtests/integration_python/test_init.py12 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_init.py28 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_init.py87 # Create a new projectCOMMENT
MEDIUMtests/integration_python/pixi_build/test_global.py195 # Create a modifiable copy of simple-packageCOMMENT
MEDIUMtests/wheel_tests/generate_summaries.py74 # Create a Rich panel (box) for the summary textCOMMENT
MEDIUMtests/wheel_tests/wheels.toml1# This file defines the wheels that are used to test common wheels and adding them using pixiCOMMENT
MEDIUMtests/data/pixi-build/cpp-with-path-to-source/pixi.toml8# Define a dependency on ourselves. This will invoke the build backend to buildCOMMENT
MEDIUMtests/data/pixi-build/cpp-with-git-source/pixi.toml8# Define a dependency on ourselves. This will invoke the build backend to buildCOMMENT
MEDIUMtests/data/channels/recipes/completions_channel_1.yaml22 # Create a dummy rg executableCOMMENT
MEDIUMdocs/source_files/shell/package_specifications.sh2# This file contains shell command examples for package specifications documentationCOMMENT
MEDIUM…cs/source_files/pixi_tomls/package_specifications.toml5# This file contains examples for package specifications documentationCOMMENT
MEDIUMexamples/r/example-plot.R7# Create a scatterplot of 'mpg' vs 'wt'COMMENT
MEDIUMexamples/pixi-build/cpp-sdl/pixi.toml10# Define a dependency on ourselves. This will invoke the build backend to buildCOMMENT
MEDIUMexamples/pypi-custom-registry/pixi.toml7# Define a default here, this is not neededCOMMENT
MEDIUMscripts/local_patch.py305 # Create the patch section with START/END markersCOMMENT
MEDIUMscripts/local_patch.py356 # Create the patch entries with START/END markersCOMMENT
MEDIUM.github/actionlint.yml12 # This file is auto-generated so just ignore any errorCOMMENT
Hallucination Indicators9 hits · 90 pts
SeverityFileLineSnippetContext
CRITICALcrates/pixi_cli/src/publish/mod.rs396 workspace.workspace.value.workspace.s3_options.as_ref(),CODE
CRITICALcrates/pixi_manifest/src/toml/build_backend.rs62 let backend_name = self.backend.value.name.value.clone();CODE
CRITICALcrates/pixi_manifest/src/toml/build_backend.rs93 if !self.backend.value.additional_dependencies.specs.is_empty() {CODE
CRITICALcrates/pixi_manifest/src/utils/package_map.rs437 inline.value.build.backend.value.name.value.as_normalized(),CODE
CRITICALcrates/pixi_core/src/workspace/mod.rs2720 assert!(workspace.workspace.value.workspace.channels.is_empty());CODE
CRITICALcrates/pixi_core/src/workspace/mod.rs2721 assert!(workspace.workspace.value.workspace.platforms.is_empty());CODE
CRITICALcrates/pixi_api/src/workspace/workspace/description.rs21 workspace.workspace.value.workspace.description.clone()CODE
CRITICALcrates/pixi_api/src/workspace/workspace/preview.rs48 workspace.workspace.value.workspace.preview.enabled_flags()CODE
CRITICALcrates/pixi_global/src/project/parsed_manifest.rs771 inline.manifest.build.backend.name.as_normalized(),CODE
Unused Imports43 hits · 42 pts
SeverityFileLineSnippetContext
LOWtests/integration_python/test_richer_platform_bugs.py11CODE
LOW…s/integration_python/test_virtual_package_detectors.py1CODE
LOWtests/integration_python/test_workspace_platform.py20CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/common.py18CODE
LOWtests/integration_python/pixi_build/test_publish.py12CODE
LOWschema/test_manifest.py1CODE
LOWschema/model.py3CODE
LOWexamples/rerun_example/lidar/lidar/download_dataset.py3CODE
LOWexamples/rerun_example/lidar/lidar/__main__.py1CODE
LOW…/nuscenes_dataset/nuscenes_dataset/download_dataset.py3CODE
LOW…xample/nuscenes_dataset/nuscenes_dataset/export_gps.py6CODE
LOW…_example/nuscenes_dataset/nuscenes_dataset/__main__.py1CODE
LOWexamples/solve-groups/test_imports.py11CODE
LOWexamples/solve-groups/test_imports.py18CODE
LOW…ot-particles/particle_kit/src/particle_kit/__init__.py3CODE
LOW…ot-particles/particle_kit/src/particle_kit/__init__.py4CODE
LOW…ot-particles/particle_kit/src/particle_kit/__init__.py5CODE
LOW…ot-particles/particle_kit/src/particle_kit/__init__.py7CODE
LOW…-particles/particle_view/src/particle_view/__init__.py1CODE
LOW…ticles/particle_cpp_py/src/particle_cpp_py/__init__.py1CODE
LOW…ticles/particle_cpp_py/src/particle_cpp_py/__init__.py1CODE
LOW…ticles/particle_cpp_py/src/particle_cpp_py/__init__.py1CODE
LOW…ticles/particle_cpp_py/src/particle_cpp_py/__init__.py1CODE
LOW…ticles/particle_cpp_py/src/particle_cpp_py/__init__.py1CODE
LOW…ticles/particle_cpp_py/src/particle_cpp_py/__init__.py1CODE
LOW…ticles/particle_cpp_py/src/particle_cpp_py/__init__.py1CODE
LOW…ticles/particle_cpp_py/src/particle_cpp_py/__init__.py1CODE
LOWscripts/test_native_certs.py19CODE
Excessive Try-Catch Wrapping15 hits · 30 pts
SeverityFileLineSnippetContext
LOWtests/integration_python/common.py233 except Exception as e:CODE
MEDIUMtests/integration_python/common.py234 print(f"Error running command: {e}")CODE
MEDIUMtests/scripts/check-openssl.py32 colored_print("Error: openssl is part of the dependencies tree", Colors.RED)CODE
MEDIUMtests/scripts/check-openssl.py36 colored_print("Error: Unexpected error message.", Colors.RED)CODE
MEDIUMtests/wheel_tests/generate_summaries.py17 print("Error: No test results found.")CODE
MEDIUMexamples/rerun_example/lidar/lidar/download_dataset.py50 print(f"Error unzipping {tar_file_path}, error: {error}")CODE
MEDIUM…/nuscenes_dataset/nuscenes_dataset/download_dataset.py50 print(f"Error unzipping {tar_file_path}, error: {error}")CODE
MEDIUM⚡scripts/local_patch.py54 print(f"Error running cargo metadata in {local_path}: {e}")CODE
MEDIUM⚡scripts/local_patch.py57 print(f"Error parsing cargo metadata JSON: {e}")CODE
LOW⚡scripts/local_patch.py59 except Exception as e: # noqa: BLE001CODE
MEDIUMscripts/local_patch.py389 print(f"Error: Unknown library '{library}'. Supported: {list(LIBRARY_CONFIGS.keys())}")CODE
MEDIUMscripts/local_patch.py393 print(f"Error: {cargo_toml_path} not found")CODE
MEDIUMscripts/local_patch.py447 print(f"Error: Unknown library '{library}'. Supported: {list(LIBRARY_CONFIGS.keys())}")CODE
MEDIUMscripts/local_patch.py451 print(f"Error: {cargo_toml_path} not found")CODE
LOWscripts/test_native_certs.py327 except Exception as e: # noqa: BLE001CODE
Redundant / Tautological Comments17 hits · 22 pts
SeverityFileLineSnippetContext
LOWcrates/pixi_cli/src/completion.rs914 --locked # Check if lock file is up-to-date before installing the environment, aborts when lock filCODE
LOWinstall/install.sh69 # Check if version is incorrectly specified without prefix 'v', and prepend 'v' in this caseCOMMENT
LOWtests/integration_python/test_uv_sources.py34 # Check if dist-info is available for local-library2COMMENT
LOWtests/integration_python/test_upgrade.py157 # Check if json output is correct and readableSTRING
LOWtests/integration_python/common.py346 # Check if the command supports all specified flagsCOMMENT
LOWtests/integration_python/test_main_cli.py1081 # Check if the recreated lock file is the same as the originalCOMMENT
LOWtests/integration_python/pixi_global/test_shortcuts.py205 # Set shortcuts to empty listSTRING
LOWtests/wheel_tests/test_common_wheels.py29 # Check if we need to add system-requirementsCOMMENT
LOWtests/wheel_tests/test_common_wheels.py89 # Check if the target directory existsCOMMENT
LOWtests/data/channels/recipes/trampoline/check_env_2.sh12# Check if the environment variable is setCOMMENT
LOWtests/data/channels/recipes/trampoline/check_env_1.sh12# Check if the environment variable is setCOMMENT
LOWexamples/opencv/webcam_capture.py10 response.raise_for_status() # Check if the request was successfulCODE
LOWexamples/opencv/webcam_capture.py36 # Check if the webcam is opened correctlyCOMMENT
LOWscripts/local_patch.py108 # Check if this dependency matches the patternCOMMENT
LOWscripts/local_patch.py153 # Check if this dependency matches the pattern and we have a version for itCOMMENT
LOWscripts/test_native_certs.py114 # Check if Docker is runningCOMMENT
LOW.github/workflows/ci.yml45 # Check if the code has changed in such a way that a rebuild is needed.COMMENT
Deep Nesting13 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/integration_python/conftest.py117CODE
LOWtests/integration_python/conftest.py154CODE
LOWtests/integration_python/common.py59CODE
LOWtests/integration_python/test_main_cli.py1910CODE
LOWtests/integration_python/test_offline_solving.py153CODE
LOWtests/integration_python/pixi_build/common.py82CODE
LOW…hon/pixi_build/test_specified_build_source/test_git.py20CODE
LOWtests/wheel_tests/record_results.py21CODE
LOW…_example/nuscenes_dataset/nuscenes_dataset/__main__.py92CODE
LOWscripts/local_patch.py82CODE
LOWscripts/local_patch.py125CODE
LOWscripts/local_patch.py221CODE
LOWscripts/local_patch.py326CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtests/integration_python/common.py277Check if a command supports specific flags by examining its documentation. Args: command_parts: List of comSTRING
HIGHtests/integration_python/common.py318Find all pixi commands that support ALL of the specified flags. Args: *flag_names: Variable number of flag STRING
Fake / Example Data9 hits · 8 pts
SeverityFileLineSnippetContext
LOWcrates/pixi_test_utils/src/git_fixture.rs177 .args(["config", "user.email", "test@test.com"])CODE
LOWtests/integration_python/test_edge_cases.py198 rich_table.write_text(rich_table.read_text().replace("John Doe", "John Doe Jr."))CODE
LOWtests/integration_python/pixi_build/test_git.py133 rich_example.write_text(rich_example.read_text().replace("John Doe", "John Doe Jr."))STRING
LOWtests/data/pypi/rich_table/src/rich_table/__init__.py18 Person("John Doe", 30, "New York"),CODE
LOW…a/pixi-build/rich_example/src/rich_example/__init__.py18 Person("John Doe", 30, "New York"),CODE
LOW…rkspaces/pixi_build/python/src/python_rich/__init__.py18 Person("John Doe", 30, "New York"),CODE
LOW…paces/pixi_build/workspace/src/python_rich/__init__.py19 Person("John Doe", 30, "New York"),CODE
LOW…i_build/workspace_variants/src/python_rich/__init__.py19 Person("John Doe", 30, "New York"),CODE
LOW…pixi_build/getting_started/src/python_rich/__init__.py18 Person("John Doe", 30, "New York"),CODE
Modern Structural Boilerplate8 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/integration_python/pixi_build/common.py37__all__ = [CODE
LOW…ot-particles/particle_kit/src/particle_kit/__init__.py24__all__ = ["Emitter", "Modifier", "View", "cpp", "registry", "rs"]CODE
LOW…-particles/particle_view/src/particle_view/__init__.py3__all__ = ["View"]CODE
LOW…ticles/particle_cpp_py/src/particle_cpp_py/__init__.py12__all__ = [CODE
LOWscripts/release_backends.py241def set_version(path: Path, new_version: str, table: str = "package") -> None:CODE
LOWscripts/release_backends.py312def set_crate_spec(path: Path, target: str) -> None:CODE
LOWscripts/release_backends.py538def update_feedstock(backend: Backend, clone_dir: Path, api_target: str) -> None:CODE
LOWscripts/release_backends.py716def update_feedstocks(backends: list[Backend]) -> None:CODE
Cross-Language Confusion2 hits · 8 pts
SeverityFileLineSnippetContext
HIGHtests/integration_python/test_run_cli.py1509 "cmd": "echo task with {{ arg1 }} > outputs/{{ arg1 }}.txt && cat outputs/{{ arg1 }}.txt",CODE
HIGHschema/model.py1718 """Remove unrepresentable-in-TOML ``"anyOf":{"type": null}`` values."""STRING
Verbosity Indicators6 hits · 6 pts
SeverityFileLineSnippetContext
LOWcrates/pixi_install_pypi/src/plan/planner.rs174 // Now we need to check if we have any packages left in the required_mapCOMMENT
LOWcrates/pixi_install_pypi/src/plan/validation.rs145 // Okay so these are the same, but we need to check if the cache is newerCOMMENT
LOWcrates/pixi_core/src/lock_file/update.rs2389 // Step 2: Store the unresolved records directly. Partial source recordsCOMMENT
LOW⚡tests/integration_python/test_edge_cases.py420 # Step 1: Install from PyPI (caches the package)STRING
LOWtests/integration_python/test_edge_cases.py435 # Step 2: Install same name/version as editable from local sourceSTRING
LOWtests/integration_python/test_edge_cases.py450 # Step 3: Verify we get local version (has local_marker), not cached registry versionSTRING
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtests/scripts/run-all-examples.py156except KeyboardInterrupt:CODE
Modern AI Meta-Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMpixi.toml381# Environment for running lefthook (lint orchestration)STRING
MEDIUMexamples/llama-index-inference/inference.py18 # llama2 has a context window of 4096 tokens, but we set it lower to allow for some wiggle roomCOMMENT
Structural Annotation Overuse4 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/pixi_core/src/lock_file/update.rs2389 // Step 2: Store the unresolved records directly. Partial source recordsCOMMENT
LOW⚡tests/integration_python/test_edge_cases.py420 # Step 1: Install from PyPI (caches the package)STRING
LOWtests/integration_python/test_edge_cases.py435 # Step 2: Install same name/version as editable from local sourceSTRING
LOWtests/integration_python/test_edge_cases.py450 # Step 3: Verify we get local version (has local_marker), not cached registry versionSTRING
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/pixi_test_utils/src/git_fixture.rs108/// # Example usageCOMMENT
LOWcrates/pixi_cli/src/add.rs41/// Example usage:COMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/pixi_cli/src/import.rs26 // TODO: implement conda-lock, conda-txtCOMMENT
LOWcrates/pixi_manifest/src/pyproject.rs254 // TODO: implement some comparison or spec merging logic hereCOMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/pixi_core/src/workspace/mod.rs139// Don't forget to add to the docstring if you add a package here!COMMENT
LOWexamples/python-library-gcp-keyring/pyproject.toml8# To use with GCP, make sure you've run a `gcloud auth`COMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/integration_python/common.py59CODE