Repository Analysis

prefix-dev/pixi

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

4.1 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of prefix-dev/pixi, a Rust project with 7,413 GitHub stars. SynthScan v2.0 examined 321,354 lines of code across 1735 source files, recording 1106 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 4.1 places this repository in the Likely human-written band.

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

4.1
Adjusted Score
4.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
7.4K
Stars
Rust
Language
321.4K
Lines of Code
1.7K
Files
1.1K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 7HIGH 4MEDIUM 111LOW 984

Directory Score Breakdown

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

Pattern Findings

The scanner identified 1106 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block560 hits · 552 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.rs81 }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/utils.rs41/// Check freshness of a locked url against an installed dist.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.rs21 #[error(transparent)]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.rs21use url::Url;COMMENT
LOWcrates/pixi_config/src/lib.rs41 ///COMMENT
LOWcrates/pixi_config/src/lib.rs141/// Used by [`get_cache_dir`] to resolve the cache *root* for callers thatCOMMENT
LOWcrates/pixi_config/src/lib.rs221/// Returns the default cache directory.COMMENT
LOWcrates/pixi_config/src/lib.rs821 pub index_url: Option<Url>,COMMENT
LOWcrates/pixi_config/src/lib.rs1121 #[serde(alias = "authentication_override_file")] // BREAK: remove to stop supporting snake_case aliasCOMMENT
LOWcrates/pixi_config/src/lib.rs1141 pub mirrors: HashMap<Url, Vec<Url>>,COMMENT
LOWcrates/pixi_config/src/lib.rs1161COMMENT
LOWcrates/pixi_config/src/lib.rs1181 #[serde(default)]COMMENT
LOWcrates/pixi_config/src/lib.rs1201 // TODO(rattler-config): promote — package-install link strategy isCOMMENT
LOWcrates/pixi_config/src/lib.rs1221 #[serde(default)]COMMENT
LOWcrates/pixi_config/src/lib.rs1241 /// caches (conda packages, repodata, pypi mapping, etc.) to differentCOMMENT
LOWcrates/pixi_config/src/lib.rs1401COMMENT
LOWcrates/pixi_config/src/lib.rs1441 }COMMENT
LOWcrates/pixi_config/src/lib.rs1621 Ok(config)COMMENT
LOWcrates/pixi_config/src/lib.rs1661 self.cache.validate()?;COMMENT
LOWcrates/pixi_config/src/lib.rs3301 assert_eq!(config.pinning_strategy, Some(PinningStrategy::Semver));COMMENT
LOWcrates/pixi_spec/src/exclude_newer.rs1use chrono::{DateTime, Days, NaiveDate, NaiveTime, Utc};COMMENT
LOWcrates/pixi_spec/src/lib.rs61COMMENT
LOWcrates/pixi_spec/src/lib.rs81/// The variants encode the binary-vs-source distinction at the type levelCOMMENT
LOWcrates/pixi_spec/src/lib.rs521 Either::Right(binary) => binary.try_into_nameless_match_spec(channel_config)?,COMMENT
LOWcrates/pixi_spec/src/lib.rs821 .expect("conversion to toml cannot fail")COMMENT
LOWcrates/pixi_spec/src/subdirectory.rs21#[derive(Debug, Clone, Default, Hash, Eq, PartialEq, PartialOrd, Ord)]COMMENT
500 more matches not shown…
Hyper-Verbose Identifiers313 hits · 238 pts
SeverityFileLineSnippetContext
LOWtests/integration_python/test_run_cli.py24def test_run_in_shell_environment(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py516def test_task_args_with_some_defaults(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py560def test_task_args_all_required(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py632def test_task_with_dependency_args(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py667def test_named_dependency_args_valid(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py705def test_named_dependency_args_invalid(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py755def test_complex_task_dependencies_with_args(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py799def test_depends_on_with_complex_args(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py932def test_argument_with_dash_errors(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py953def test_undefined_arguments_in_command(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py989def test_task_args_multiple_inputs(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1088def test_task_environment_precedence(CODE
LOWtests/integration_python/test_run_cli.py1156def test_multiple_dependencies_with_environments(CODE
LOWtests/integration_python/test_run_cli.py1223def test_short_circuit_composition(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1261def test_task_minijinja_title_filter(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1289def test_template_in_inputs_outputs(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1348def test_argument_forwarding_in_dependencies(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1370def test_task_caching_with_multiple_outputs_args(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1423def test_task_caching_with_multiple_inputs_args(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1481def test_task_caching_when_running_already_cached_depends_task(CODE
LOWtests/integration_python/test_run_cli.py1598def test_shell_quoting_run_commands(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_run_cli.py1638def test_run_with_environment_variable_priority(CODE
LOWtests/integration_python/test_run_cli.py1797def test_task_inputs_outputs_missing_no_initial_cache(CODE
LOWtests/integration_python/test_run_cli.py73def test_run_platform_not_in_environment_errors(pixi: Path, tmp_pixi_workspace: Path) -> None:STRING
LOWtests/integration_python/test_run_cli.py94def test_run_wildcard_target_selector_resolves_per_platform(STRING
LOWtests/integration_python/test_run_cli.py134def test_run_in_shell_project(pixi: Path) -> None:STRING
LOWtests/integration_python/test_run_cli.py193def test_using_prefix_validation(STRING
LOWtests/integration_python/test_run_cli.py311def test_detached_environments_run(pixi: Path, tmp_path: Path, dummy_channel_1: str) -> None:STRING
LOWtests/integration_python/test_run_cli.py464def test_task_args_with_defaults(pixi: Path, tmp_pixi_workspace: Path) -> None:STRING
LOWtests/integration_python/test_run_cli.py1538def 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.py48def setup_build_backend_override(request: pytest.FixtureRequest) -> None:CODE
LOWtests/integration_python/conftest.py92def isolated_pixi_cache_per_worker(CODE
LOWtests/integration_python/test_uv_sources.py10def test_install_with_uv_sources(CODE
LOWtests/integration_python/test_richer_platform_bugs.py38def test_cuda_requirement_does_not_block_install(CODE
LOWtests/integration_python/test_richer_platform_bugs.py62def test_cuda_override_at_package_floor_installs(STRING
LOWtests/integration_python/test_richer_platform_bugs.py90def test_cuda_override_below_package_floor_is_refused(STRING
LOWtests/integration_python/test_richer_platform_bugs.py119def test_run_without_environment_flag_does_not_leak_base_platform(STRING
LOWtests/integration_python/test_richer_platform_bugs.py179def test_task_runs_in_empty_environment(pixi: Path, tmp_pixi_workspace: Path) -> None:STRING
LOWtests/integration_python/test_richer_platform_bugs.py205def test_task_runs_with_kernel_agnostic_dependency(STRING
LOWtests/integration_python/test_richer_platform_bugs.py235def test_sysreq_platform_restriction_lock_check_converges(STRING
LOWtests/integration_python/test_workspace_platform.py113def test_add_single_bare_subdir(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py122def test_add_multiple_bare_subdirs(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py591def test_lockfile_gets_new_platform(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py600def test_lockfile_records_custom_platform_and_vps(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py856def test_move_before_and_after(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py864def test_move_alias_mv_to_bottom(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py870def test_move_requires_an_anchor(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py925def test_add_auto_detected_lands_first_for_this_machine(CODE
LOWtests/integration_python/test_workspace_platform.py1160def test_remove_custom_platform_drops_vps(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py1175def test_list_shows_rich_platform_in_block(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py1466def test_round_trip_mixed_bare_and_rich(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py144def test_add_custom_name_with_subdir(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py158def test_add_custom_name_with_cuda(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py175def test_add_custom_name_with_glibc_on_linux(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py196def test_add_glibc_on_windows_rejected(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py211def test_add_linux_macos_windows_friendly_flags(pixi: Path, tmp_pixi_workspace: Path) -> None:CODE
LOWtests/integration_python/test_workspace_platform.py243def test_add_family_flag_subdir_restriction(CODE
253 more matches not shown…
Decorative Section Separators41 hits · 150 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
MEDIUMtests/integration_python/test_workspace_platform.py108# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py110# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py586# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py588# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py911# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py917# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py1170# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py1172# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py1461# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py1463# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py32# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py34# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py653# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py655# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py832# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py834# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py1039# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py1041# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py1104# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/integration_python/test_workspace_platform.py1106# ----------------------------------------------------------------------------COMMENT
MEDIUMdocs/integration/third_party/conda_deny.md32#--------------------------------------------------------COMMENT
MEDIUMdocs/integration/third_party/conda_deny.md34#--------------------------------------------------------COMMENT
MEDIUMdocs/integration/third_party/conda_deny.md42#--------------------------------------------------------COMMENT
MEDIUMdocs/integration/third_party/conda_deny.md44#--------------------------------------------------------COMMENT
MEDIUMexamples/develop/cpp-sdl/pixi.toml6# --------------------------COMMENT
MEDIUMexamples/develop/cpp-sdl/pixi.toml8# --------------------------COMMENT
MEDIUMexamples/develop/cpp-sdl/pixi.toml12# --------------------------COMMENT
MEDIUMexamples/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.yml205 # ============================================================COMMENT
MEDIUM.github/workflows/release.yml207 # ============================================================COMMENT
Self-Referential Comments56 hits · 128 pts
SeverityFileLineSnippetContext
MEDIUMcrates/pixi_build_ros/robostack.yaml1# This file is part of the RoboStack noetic project. for testing purposes.COMMENT
MEDIUMinstall/install.sh207 # Create the file if it doesn't existCOMMENT
MEDIUMtests/integration_python/test_run_cli.py317 # 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.py140 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_import.py181 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_import.py217 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_import.py264 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_import.py472 # 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.py859 # Create a new projectSTRING
MEDIUMtests/integration_python/test_main_cli.py36 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_main_cli.py551 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_main_cli.py570 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_main_cli.py583 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_main_cli.py615 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_main_cli.py1457 # Create a new projectCOMMENT
MEDIUMtests/integration_python/test_main_cli.py257 # Create a new projectSTRING
MEDIUMtests/integration_python/test_main_cli.py354 # Create a new projectSTRING
MEDIUMtests/integration_python/test_main_cli.py377 # Create a new projectSTRING
MEDIUMtests/integration_python/test_main_cli.py1266 # Create a new project with bzip2 (lightweight package)STRING
MEDIUMtests/integration_python/test_main_cli.py1320 # Create a simple environment.yml file for import testingSTRING
MEDIUMtests/integration_python/test_edge_cases.py385 # 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.py192 # 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.py306 # Create the patch section with START/END markersCOMMENT
MEDIUMscripts/local_patch.py357 # Create the patch entries with START/END markersCOMMENT
MEDIUM.github/actionlint.yml11 # This file is auto-generated so just ignore any errorCOMMENT
Hallucination Indicators7 hits · 70 pts
SeverityFileLineSnippetContext
CRITICALcrates/pixi_cli/src/publish.rs352 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.rs365 let s3_options = manifest.workspace.value.workspace.s3_options.clone();CODE
CRITICALcrates/pixi_api/src/workspace/workspace/description.rs7 workspace.workspace.value.workspace.description.clone()CODE
CRITICALcrates/pixi_build_mojo/src/main.rs363 let content = generated_recipe.recipe.build.script.content.unwrap();CODE
Unused Imports41 hits · 40 pts
SeverityFileLineSnippetContext
LOWtests/integration_python/test_richer_platform_bugs.py11CODE
LOWtests/integration_python/test_workspace_platform.py18CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWtests/integration_python/pixi_build/common.py16CODE
LOWschema/test_manifest.py1CODE
LOWschema/model.py3CODE
LOWexamples/rerun_example/lidar/lidar/download_dataset.py3CODE
LOWexamples/rerun_example/lidar/lidar/__main__.py2CODE
LOW…/nuscenes_dataset/nuscenes_dataset/download_dataset.py3CODE
LOW…xample/nuscenes_dataset/nuscenes_dataset/export_gps.py6CODE
LOW…_example/nuscenes_dataset/nuscenes_dataset/__main__.py2CODE
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 Wrapping17 hits · 32 pts
SeverityFileLineSnippetContext
LOWtests/integration_python/common.py234 except Exception as e:CODE
MEDIUMtests/integration_python/common.py235 print(f"Error running command: {e}")CODE
MEDIUMtests/scripts/check-openssl.py31 colored_print("Error: openssl is part of the dependencies tree", Colors.RED)CODE
MEDIUMtests/scripts/check-openssl.py35 colored_print("Error: Unexpected error message.", Colors.RED)CODE
MEDIUMtests/wheel_tests/generate_summaries.py17 print("Error: No test results found.")CODE
LOWexamples/rerun_example/lidar/lidar/download_dataset.py49 except Exception as error:CODE
MEDIUMexamples/rerun_example/lidar/lidar/download_dataset.py50 print(f"Error unzipping {tar_file_path}, error: {error}")CODE
LOW…/nuscenes_dataset/nuscenes_dataset/download_dataset.py49 except Exception as error:CODE
MEDIUM…/nuscenes_dataset/nuscenes_dataset/download_dataset.py50 print(f"Error unzipping {tar_file_path}, error: {error}")CODE
MEDIUMscripts/local_patch.py55 print(f"Error running cargo metadata in {local_path}: {e}")CODE
MEDIUMscripts/local_patch.py58 print(f"Error parsing cargo metadata JSON: {e}")CODE
LOWscripts/local_patch.py60 except Exception as e:CODE
MEDIUMscripts/local_patch.py390 print(f"Error: Unknown library '{library}'. Supported: {list(LIBRARY_CONFIGS.keys())}")CODE
MEDIUMscripts/local_patch.py394 print(f"Error: {cargo_toml_path} not found")CODE
MEDIUMscripts/local_patch.py448 print(f"Error: Unknown library '{library}'. Supported: {list(LIBRARY_CONFIGS.keys())}")CODE
MEDIUMscripts/local_patch.py452 print(f"Error: {cargo_toml_path} not found")CODE
LOWscripts/test_native_certs.py331 except Exception as e:CODE
Redundant / Tautological Comments19 hits · 26 pts
SeverityFileLineSnippetContext
LOWmkdocs.yml279 # Set debug to true to help troubleshoot social card generation issuesCOMMENT
LOWcrates/pixi_cli/src/completion.rs531 --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.py19 # 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.py339 # Check if the command supports all specified flagsCOMMENT
LOWtests/integration_python/test_main_cli.py646 # Check if the recreated lock file is the same as the originalCOMMENT
LOWtests/integration_python/test_edge_cases.py344 # Check if the command throws an error for unsupported platformCOMMENT
LOWtests/integration_python/pixi_global/test_shortcuts.py207 # Set shortcuts to empty listSTRING
LOWtests/wheel_tests/test_common_wheels.py28 # Check if we need to add system-requirementsCOMMENT
LOWtests/wheel_tests/test_common_wheels.py88 # 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.py109 # Check if this dependency matches the patternCOMMENT
LOWscripts/local_patch.py154 # 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.yml44 # Check if the code has changed in such a way that a rebuild is needed.COMMENT
Deep Nesting12 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/integration_python/conftest.py106CODE
LOWtests/integration_python/conftest.py143CODE
LOWtests/integration_python/common.py59CODE
LOWtests/integration_python/test_main_cli.py1243CODE
LOWtests/integration_python/pixi_build/common.py81CODE
LOW…hon/pixi_build/test_specified_build_source/test_git.py20CODE
LOWtests/wheel_tests/record_results.py22CODE
LOW…_example/nuscenes_dataset/nuscenes_dataset/__main__.py92CODE
LOWscripts/local_patch.py83CODE
LOWscripts/local_patch.py126CODE
LOWscripts/local_patch.py222CODE
LOWscripts/local_patch.py327CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtests/integration_python/common.py273Check if a command supports specific flags by examining its documentation. Args: command_parts: List of comSTRING
HIGHtests/integration_python/common.py311Find all pixi commands that support ALL of the specified flags. Args: *flag_names: Variable number of flag STRING
Fake / Example Data9 hits · 9 pts
SeverityFileLineSnippetContext
LOWcrates/pixi_test_utils/src/git_fixture.rs177 .args(["config", "user.email", "test@test.com"])CODE
LOWtests/integration_python/test_edge_cases.py186 rich_table.write_text(rich_table.read_text().replace("John Doe", "John Doe Jr."))CODE
LOWtests/integration_python/pixi_build/test_git.py67 rich_example.write_text(rich_example.read_text().replace("John Doe", "John Doe Jr."))CODE
LOWtests/data/pypi/rich_table/src/rich_table/__init__.py17 Person("John Doe", 30, "New York"),CODE
LOW…a/pixi-build/rich_example/src/rich_example/__init__.py17 Person("John Doe", 30, "New York"),CODE
LOW…rkspaces/pixi_build/python/src/python_rich/__init__.py17 Person("John Doe", 30, "New York"),CODE
LOW…paces/pixi_build/workspace/src/python_rich/__init__.py18 Person("John Doe", 30, "New York"),CODE
LOW…i_build/workspace_variants/src/python_rich/__init__.py18 Person("John Doe", 30, "New York"),CODE
LOW…pixi_build/getting_started/src/python_rich/__init__.py17 Person("John Doe", 30, "New York"),CODE
Modern Structural Boilerplate8 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/integration_python/pixi_build/common.py35__all__ = [CODE
LOW…ot-particles/particle_kit/src/particle_kit/__init__.py24__all__ = ["cpp", "rs", "View", "Emitter", "Modifier", "registry"]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.py240def set_version(path: Path, new_version: str, table: str = "package") -> None:CODE
LOWscripts/release_backends.py311def set_crate_spec(path: Path, target: str) -> None:CODE
LOWscripts/release_backends.py537def update_feedstock(backend: Backend, clone_dir: Path, api_target: str) -> None:CODE
LOWscripts/release_backends.py715def update_feedstocks(backends: list[Backend]) -> None:CODE
Cross-Language Confusion2 hits · 8 pts
SeverityFileLineSnippetContext
HIGHtests/integration_python/test_run_cli.py1382 "cmd": "echo task with {{ arg1 }} > outputs/{{ arg1 }}.txt && cat outputs/{{ arg1 }}.txt",CODE
HIGHschema/model.py1451 """Remove unrepresentable-in-TOML ``"anyOf":{"type": null}`` values."""STRING
Verbosity Indicators6 hits · 6 pts
SeverityFileLineSnippetContext
LOWcrates/pixi_install_pypi/src/plan/planner.rs175 // Now we need to check if we have any packages left in the required_mapCOMMENT
LOWcrates/pixi_install_pypi/src/plan/validation.rs139 // Okay so these are the same, but we need to check if the cache is newerCOMMENT
LOWcrates/pixi_core/src/lock_file/update.rs1873 // Step 2: Store the unresolved records directly. Partial source recordsCOMMENT
LOWtests/integration_python/test_edge_cases.py386 # Step 1: Install from PyPI (caches the package)STRING
LOWtests/integration_python/test_edge_cases.py401 # Step 2: Install same name/version as editable from local sourceSTRING
LOWtests/integration_python/test_edge_cases.py416 # Step 3: Verify we get local version (has local_marker), not cached registry versionSTRING
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMpixi.toml388# Feature for running lefthook (lint orchestration)COMMENT
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.rs1873 // Step 2: Store the unresolved records directly. Partial source recordsCOMMENT
LOWtests/integration_python/test_edge_cases.py386 # Step 1: Install from PyPI (caches the package)STRING
LOWtests/integration_python/test_edge_cases.py401 # Step 2: Install same name/version as editable from local sourceSTRING
LOWtests/integration_python/test_edge_cases.py416 # 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.rs31/// Example usage:COMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/pixi_cli/src/import.rs25 // TODO: implement conda-lock, conda-txtCOMMENT
LOWcrates/pixi_manifest/src/pyproject.rs230 // TODO: implement some comparison or spec merging logic hereCOMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcrates/pixi_core/src/workspace/mod.rs130// Don't forget to add to the docstring if you add a package here!COMMENT
LOWexamples/python-library-gcp-keyring/pyproject.toml5# 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