{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Config::set (cyclomatic 97): Config::set has cyclomatic complexity 97 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"de59a6f2e3809bd919a310b7eafb365d62812a86cf875a8c12827a0b9669f9c8"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_core::lock_file::satisfiability::platform::verify_package_platform_satisfiability (cyclomatic 64): pixi_core::lock_file::satisfiability::platform::verify_package_platform_satisfiability has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/platform.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae6d0ac88363c96f4b4c7fcfd8f0fa4d2f0d78b06c2a9166ffe88047228dc6d"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::publish::execute (cyclomatic 45): pixi_cli::publish::execute has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/publish/mod.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68de4f22589d63128b78e09b4cbc327d5d552dd54c30c2f9e04e1a59b0b939f"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_install_pypi::plan::validation::need_reinstall (cyclomatic 37): pixi_install_pypi::plan::validation::need_reinstall has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/plan/validation.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92d00afdf94478ab9f06ae34726d1c70110d56f1f49f5fc50b1b48091122e0c"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_core::lock_file::update::spawn_extract_environment_task (cyclomatic 36): pixi_core::lock_file::update::spawn_extract_environment_task has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcde43f1a1dbe2134152f9df269ed5464d572192110479090ebf7615e5a1fa6"}},{"ruleId":"D1","level":"warning","message":{"text":"Item::from (cyclomatic 36): Item::from has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/task.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a06583b3b4ac429eb4dbffb48bd47c384592f0f831f8b7e08e4f450b7d71a41"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_core::lock_file::satisfiability::pypi::pypi_satisfies_requirement (cyclomatic 35): pixi_core::lock_file::satisfiability::pypi::pypi_satisfies_requirement has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/pypi.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9a38b79329df9441ab9595a7689dd49e33d6aa25da0dc7a9f0d68ec8a26d75"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceDiscoverer::discover (cyclomatic 35): WorkspaceDiscoverer::discover has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/discovery.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7962b1b3f17e09dca4f27b32bfc01f9bde7dc4b74e556891315dcf5bfbbf7ad5"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_api::workspace::run::run (cyclomatic 29): pixi_api::workspace::run::run has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/run/mod.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6e9d97cfcb6f651018aa5924e0b5248950ef206d8a305522a1178dd9c7b3fa"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::list::get_field_cell (cyclomatic 29): pixi_cli::list::get_field_cell has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/list.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"987b8d3a91076ae806af31cd3c019ee6c98cb3a861d4c97bfd073becee62dc8b"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::upgrade::execute (cyclomatic 29): pixi_cli::upgrade::execute has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/upgrade.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"16eaaa2179289c0683f2accdbd342ac956f9e5308b43cf78bac8b4b8e5f87fda"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateContext::update (cyclomatic 29): UpdateContext::update has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":2595}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b6bb375357897e0c9ae85039efcdaaab87b6f5a2c4df8047839057a816d5d0"}},{"ruleId":"D1","level":"warning","message":{"text":"Package::new (cyclomatic 28): Package::new has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/list/package.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e9ee66537aa4c3d1165d39337e8c7f2c42184f6a91f4f33a494651597a556c"}},{"ruleId":"D1","level":"warning","message":{"text":"PythonGenerator::generate_recipe (cyclomatic 27): PythonGenerator::generate_recipe has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_python/src/main.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"31af3f295efdf1977c57af3715fb8d2ffe550584c9dae3214f66a3277464b213"}},{"ruleId":"D1","level":"warning","message":{"text":"TomlManifest::into_workspace_manifest (cyclomatic 27): TomlManifest::into_workspace_manifest has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/manifest.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced9bd663ee19338e4c30f1ae5be069bd3980f55361a3d2ea97d973dc2e12c56"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::config::alter_config (cyclomatic 26): pixi_cli::config::alter_config has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/config.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dc4db0a5e0f77b6823a58f571270c0e304783250add0939200e5f70ec0d446"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::update::expand_specs_for_shared_git_sources (cyclomatic 26): pixi_cli::update::expand_specs_for_shared_git_sources has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/update.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5143a91da0986d707d77a2dbdf7a25cdcbbdaaf5f2a235887ba0a5dfb371e964"}},{"ruleId":"D1","level":"warning","message":{"text":"CachedWheels::is_cached (cyclomatic 26): CachedWheels::is_cached has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/plan/cache.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ef1c926b2afbe97ca12f0e7ce4e9a5ca5bc5516e42909da2592815600377fb"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_core::lock_file::outdated::find_unsatisfiable_targets (cyclomatic 25): pixi_core::lock_file::outdated::find_unsatisfiable_targets has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/outdated.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0c6f2e78be5e4fa96a12f457eb2d69a1cf641429a28da4d5b15665cde37fbc"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceLocator::locate (cyclomatic 24): WorkspaceLocator::locate has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/discovery.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"59917d5bfe7e532571d931c9c77492f68663cfcff8cd94ee7b8fbd14d7ce17e1"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::run::execute (cyclomatic 22): pixi_cli::run::execute has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/run.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"944286ab4e214ea149c7b15bafdadc6caecd94fa703d471cfa05c3d42ae95994"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_core::lock_file::resolve::pypi::resolve_pypi (cyclomatic 21): pixi_core::lock_file::resolve::pypi::resolve_pypi has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/pypi.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4fe4d0df1be2f678fbdbdec3f857ee9ad6364966c10522c73f591f7ef56403"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_glob::glob_set::walk::set_ignore_hidden_patterns (cyclomatic 21): pixi_glob::glob_set::walk::set_ignore_hidden_patterns has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_glob/src/glob_set/walk.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"363cbfcea9c6aea7224819bd00cdd2ba309599ffa53169e77798d2a53a7892fd"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::config::transplant_config_key (cyclomatic 20): pixi_cli::config::transplant_config_key has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/config.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"282be65bf539d6c36aba4d56a012241a5e306b652c8dd9043e878712c155cc85"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::search::print_package_info (cyclomatic 20): pixi_cli::search::print_package_info has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/search.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3c89be5454ce0276b71a3d377fc352290c52b0b57c04a69403cdd3bf6a7b1c"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::workspace::activation::list (cyclomatic 20): pixi_cli::workspace::activation::list has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/activation.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fb7dac57e5e9eb6c125d3c92751b98e0909b947eb177a61e952e9322a3e613"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::workspace::exclude_newer::execute (cyclomatic 20): pixi_cli::workspace::exclude_newer::execute has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/exclude_newer.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a34c2ff4d52a6dc9add9c48764d23d596fea9f164c93fddff9d8972159ef466"}},{"ruleId":"D1","level":"warning","message":{"text":"HostDetector::detect_registrations (cyclomatic 20): HostDetector::detect_registrations has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/host.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caea673cfd5c16f531fc6f04408f217ddd0d8b227708d4d61f1ae6d39781074"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceMut::update_dependencies (cyclomatic 20): WorkspaceMut::update_dependencies has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/workspace_mut.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a675d09eba2304c9bdafb39a89f371f63124e2a5cacb8ef2421fe6424d9aa8"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_core::lock_file::satisfiability::environment::verify_environment_satisfiability (cyclomatic 20): pixi_core::lock_file::satisfiability::environment::verify_environment_satisfiability has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/environment.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9f71d419e047977d9cfcfd80e38c2dd3eea19803363677bac8c087be0abad2"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_glob::glob_set::walk::walk_globs (cyclomatic 20): pixi_glob::glob_set::walk::walk_globs has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_glob/src/glob_set/walk.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0c486d522a5b5406fc787ae78fdf4299c21014346daabc4ef514029cebf59e"}},{"ruleId":"D1","level":"warning","message":{"text":"PtySession::interact (cyclomatic 20): PtySession::interact has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_pty/src/unix/pty_session.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00a7687bfd5c1e0acd103d2e6777f656e7550dc0c8b7069f9a63e29b7e3acb8"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::install::execute (cyclomatic 19): pixi_cli::install::execute has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/install.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c3e3996111ab9cf9d488a6266ea4f3f6582360c3534838b3261fabad5e8f13"}},{"ruleId":"D1","level":"warning","message":{"text":"PackageReachability::collect_reachable_from_non_skipped (cyclomatic 19): PackageReachability::collect_reachable_from_non_skipped has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/install_subset.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b0b091a6601d9d2c859cbd6a92379126436d541d474f650d276f56f626731f"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_global::common::build_report (cyclomatic 19): pixi_global::common::build_report has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/common.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e4b85987c65309cd6deca1f91068b634dbecd18ec5313aac723cedda8891ca"}},{"ruleId":"D1","level":"warning","message":{"text":"TomlPackage::into_manifest (cyclomatic 19): TomlPackage::into_manifest has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/package.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6753c4acbb134ef99a69373f532f148146e72be7e51693086980f1ad2f7255c"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::search::execute_impl (cyclomatic 18): pixi_cli::search::execute_impl has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/search.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"782ab54a62a90d9c27e1c79f8b843b7b3232da8ab86478c91157a8d76449c911"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactCache::lookup (cyclomatic 18): ArtifactCache::lookup has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/artifact.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e240d648318c7ff14faa6ac237ed0424c8b16940a136e0ca5f6f16507e5ab1df"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandDispatcherBuilder::finish (cyclomatic 18): CommandDispatcherBuilder::finish has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/command_dispatcher/builder.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"141c44d8613e8362ac11f997fc7d193c34b467707446bcccb2cef84e76e572ac"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_docs::arguments (cyclomatic 18): pixi_docs::arguments has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_docs/src/main.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2393b4a49276b5d9fec2ea06ec9e1c405cd92b71a875000da765fd45b8d910f"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_build_ros::package_map::resolve_rosdep_to_conda_package_spec (cyclomatic 17): pixi_build_ros::package_map::resolve_rosdep_to_conda_package_spec has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_ros/src/package_map.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f484656e156645e3148c53bc2a0c8eeeef2409edce0131d1b7184e6ac2d5272d"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::add::execute (cyclomatic 17): pixi_cli::add::execute has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/add.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdc7cf22aebdcdd0f050c50fb2e462ace7312d697010cdaf46a4f309069f486"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::upgrade::parse_specs (cyclomatic 17): pixi_cli::upgrade::parse_specs has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/upgrade.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a8979a79ce164a31a3e8a025440f9ab2594fb0838edbe3f75c7dc4f28099dd"}},{"ruleId":"D1","level":"warning","message":{"text":"UpdateContextBuilder::finish (cyclomatic 17): UpdateContextBuilder::finish has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"7238a5eeae4a7f8cb10fccb42c192ab816d94eb414fda432b63b00d75e9d06f0"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_core::lock_file::satisfiability::platform::verify_platform_satisfiability (cyclomatic 17): pixi_core::lock_file::satisfiability::platform::verify_platform_satisfiability has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/platform.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb6ffe271373ed7e83fa3cd2ef8bce49949e3c51606eb7adfcecbdf8b458bad"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_core::workspace::errors::conda_override_hint (cyclomatic 17): pixi_core::workspace::errors::conda_override_hint has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/errors.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bb4b098bf5c1f4e09ba3c60d42334744a8b62d9588794865115bdfe717c9d8"}},{"ruleId":"D1","level":"warning","message":{"text":"LockFileDiff::from_lock_files (cyclomatic 17): LockFileDiff::from_lock_files has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_diff/src/lib.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccc7ecf8a470dd507fbf1f99b48f2e85e73b6db0f9a1acd63d69930e0fdb13e"}},{"ruleId":"D1","level":"warning","message":{"text":"PyPIEnvironmentUpdater::log_installation_details (cyclomatic 17): PyPIEnvironmentUpdater::log_installation_details has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/lib.rs"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ea4a1145d1c6b7db7e8a4fda07facb30d69718819ca11681ba2d9472fdcdc6"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_script_shell::execute::evaluate_word (cyclomatic 17): pixi_script_shell::execute::evaluate_word has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_script_shell/src/execute.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a289dc75cc01d46edede16657f1b39f0b17b061212dd645b158a2141b22ad922"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchEnvironments::find_task (cyclomatic 17): SearchEnvironments::find_task has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/task_environment.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbce8d4f73d99e8b6cac0fd3bb5a04467307acecb0711d776769d24eb376f9c"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_build_ros::package_map::rosdep_nameless_matchspec (cyclomatic 16): pixi_build_ros::package_map::rosdep_nameless_matchspec has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_ros/src/package_map.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7fdcb67c62f478a6978a7f8d31dac4c09b0d1db53602f13544689565d25f55"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_cli::lock::execute (cyclomatic 16): pixi_cli::lock::execute has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/lock.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2adb7247fa28e61380237cc3d34f5b01aa0967fc9f70af12e09cf1c31ce3724"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_command_dispatcher::install_pixi::ext::install_inner (cyclomatic 16): pixi_command_dispatcher::install_pixi::ext::install_inner has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/install_pixi/ext.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc463c7126f6ed05eb9993a6ac6c9e69ea9edc2c53c249f1b99748b2a7dfed74"}},{"ruleId":"D1","level":"warning","message":{"text":"PackageReachability::collect_targets_dependencies (cyclomatic 16): PackageReachability::collect_targets_dependencies has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/install_subset.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5bb0692ee723adc19ad16d36f3a6fc9bd52700ca36a3c8fba5a1100224d89f"}},{"ruleId":"D1","level":"warning","message":{"text":"Workspace::update_lock_file_with_input (cyclomatic 16): Workspace::update_lock_file_with_input has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b0c777681c4211506b103f2db98d13f6d477f2c971e37a6feb6902d9feab17"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_core::lock_file::outdated::find_inconsistent_solve_groups (cyclomatic 16): pixi_core::lock_file::outdated::find_inconsistent_solve_groups has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/outdated.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"04293f2f62681be93c51e9582ea1581edceff3b291580529324ba608ee2485bf"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_git::git::fetch (cyclomatic 16): pixi_git::git::fetch has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_git/src/git.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b141b5b6229ddbab4f2bc3758bcb7530c5f73557246d8e53ef19e783c2366be"}},{"ruleId":"D1","level":"warning","message":{"text":"Project::environment_in_sync_internal (cyclomatic 16): Project::environment_in_sync_internal has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/mod.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"940da451363c3770699ecc286c749c0e9c9e9dd801f5978eb1a4e30055e7326e"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_manifest::platform::host::apply_conda_overrides (cyclomatic 16): pixi_manifest::platform::host::apply_conda_overrides has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/platform/host.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed22db64c99b169a775cc9735275fb2e70cba6507163a14955acb1120db0d9e"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskGraph::from_cmd_args (cyclomatic 16): TaskGraph::from_cmd_args has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/task_graph.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3a85bda6d3050d8ee871bd43af574578b413cd847f79a49ea2ea5689d394c7"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskGraph::merge_args (cyclomatic 16): TaskGraph::merge_args has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/task_graph.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"403191ae1ffacc91de73c448ed4f1d52a97473adf9e256d95cdcdacff96d4d00"}},{"ruleId":"D1","level":"warning","message":{"text":"UrlSource::fetch (cyclomatic 16): UrlSource::fetch has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_url/src/source.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62309c78237eb1d8b77f79b617717a4a4b18deca62beca0dd680ad53f544fdd"}},{"ruleId":"D1","level":"warning","message":{"text":"pixi_docs::subcommand_to_md (cyclomatic 16): pixi_docs::subcommand_to_md has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_docs/src/main.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae4aabe4f72caa310ec9e1f9f59dd7b8f4dd75bb6933bd3ea949f4e34b99529"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::satisfiability::platform::verify_package_platform_satisfiability (cognitive 172): pixi_core::lock_file::satisfiability::platform::verify_package_platform_satisfiability has cognitive complexity 172 (threshold 15). Drivers by points: if/else 40 (112 pts), match/switch 13 (40 pts), loops 6 (12 pts), boolean chains 8 (nesting depth added 105). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/platform.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"35599acc1c0f402055620e8e029111777461ddfb566d917922dd3fa9f5fe4f07"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::set (cognitive 118): Config::set has cognitive complexity 118 (threshold 15). Drivers by points: if/else 47 (92 pts), match/switch 12 (25 pts), boolean chains 1 (nesting depth added 58). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed2f63086ff057c85e35b835e06f9409a96340f6ade1ce0ee0de56748b7095d"}},{"ruleId":"D2","level":"warning","message":{"text":"Item::from (cognitive 100): Item::from has cognitive complexity 100 (threshold 15). Drivers by points: if/else 25 (73 pts), loops 4 (13 pts), match/switch 6 (12 pts), boolean chains 2 (nesting depth added 63). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/task.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5df44a42394f2857ecdc49ab7cb15d91e3199c983505ee137d73e5beb0603f"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::update::spawn_extract_environment_task (cognitive 96): pixi_core::lock_file::update::spawn_extract_environment_task has cognitive complexity 96 (threshold 15). Drivers by points: if/else 19 (52 pts), loops 14 (38 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 59). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2296e179e0021cdbe9015420228a69c623376eac480165ff5e146d712feea9"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::satisfiability::pypi::pypi_satisfies_requirement (cognitive 85): pixi_core::lock_file::satisfiability::pypi::pypi_satisfies_requirement has cognitive complexity 85 (threshold 15). Drivers by points: if/else 26 (70 pts), match/switch 4 (10 pts), boolean chains 5 (nesting depth added 50). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/pypi.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c12095687cb2a1f9e6a5bd3f88b2ec41bfd412f6588627d7df242fa77110c7"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_install_pypi::plan::validation::need_reinstall (cognitive 82): pixi_install_pypi::plan::validation::need_reinstall has cognitive complexity 82 (threshold 15). Drivers by points: if/else 21 (51 pts), match/switch 12 (30 pts), boolean chains 1 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/plan/validation.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"77580b0179d32552eff4bf46840dcb2df1fcdf0280427b517cba3b8fe8f27af3"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceDiscoverer::discover (cognitive 77): WorkspaceDiscoverer::discover has cognitive complexity 77 (threshold 15). Drivers by points: if/else 18 (45 pts), match/switch 11 (26 pts), boolean chains 5, loops 1 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/discovery.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0a4824d7d7f7ff35b747a67bf6a2c5632e9a0a60a388a9d3d2dd518362dc90"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::publish::execute (cognitive 64): pixi_cli::publish::execute has cognitive complexity 64 (threshold 15). Drivers by points: if/else 25 (39 pts), loops 11 (17 pts), boolean chains 5, match/switch 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/publish/mod.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"9939f0745eddc8bf923fc403710fb7d42aa88ea8527411327b1facfe17bfb884"}},{"ruleId":"D2","level":"warning","message":{"text":"PtySession::interact (cognitive 60): PtySession::interact has cognitive complexity 60 (threshold 15). Drivers by points: if/else 16 (52 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_pty/src/unix/pty_session.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1d649041c789d8ac240e02b4d696b607be2ebc8e70e309e5b6384b69f49df7"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::update::expand_specs_for_shared_git_sources (cognitive 59): pixi_cli::update::expand_specs_for_shared_git_sources has cognitive complexity 59 (threshold 15). Drivers by points: if/else 14 (42 pts), loops 7 (13 pts), boolean chains 4 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/update.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"58edc3d0b0cc8ad785f2974a41c725d57083dbd6a610646990b0f812aae943e9"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateContext::update (cognitive 59): UpdateContext::update has cognitive complexity 59 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 9 (17 pts), match/switch 7 (14 pts), boolean chains 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":2595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe4086d465bd97f66bc720ada2dcef7b0e78cb7dce21cc0f69dd0d1adf41e92"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_api::workspace::run::run (cognitive 54): pixi_api::workspace::run::run has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (40 pts), match/switch 3 (7 pts), boolean chains 6, loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/run/mod.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db9468909fb11b72bbf2a9c49e83defe8029bcd79b0fe4995d3f3fcee2517e1"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::upgrade::execute (cognitive 52): pixi_cli::upgrade::execute has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (39 pts), boolean chains 6, loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/upgrade.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0d6eced0ff70371c0ffcbc71e860d29b2b80ca70546eb7485b7c599bad9982"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_glob::glob_set::walk::set_ignore_hidden_patterns (cognitive 48): pixi_glob::glob_set::walk::set_ignore_hidden_patterns has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (37 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_glob/src/glob_set/walk.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fefd5e005f6849cb55c60872519b963ed40c80f17585422a005ef0b72edb54"}},{"ruleId":"D2","level":"warning","message":{"text":"PypiExtrasResolver::propagate (cognitive 44): PypiExtrasResolver::propagate has cognitive complexity 44 (threshold 15). Drivers by points: if/else 6 (22 pts), loops 7 (18 pts), match/switch 1 (4 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/tree.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d274ced0137c1bbbedcedaf956230eabe0bf034e93b4740b3625fd3906c72b"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::outdated::find_unsatisfiable_targets (cognitive 44): pixi_core::lock_file::outdated::find_unsatisfiable_targets has cognitive complexity 44 (threshold 15). Drivers by points: loops 10 (19 pts), if/else 7 (17 pts), match/switch 3 (8 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/outdated.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dedd25a1cfe408d708f55a3ba6bcbeba8aeaee9acf5280394e7282e7870fa8"}},{"ruleId":"D2","level":"warning","message":{"text":"Package::new (cognitive 43): Package::new has cognitive complexity 43 (threshold 15). Drivers by points: match/switch 21 (23 pts), if/else 10 (20 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/list/package.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b14d57d2a146d604fc03d2b9ce04ae40ca7048c296db9dd2ae27920b54c0847"}},{"ruleId":"D2","level":"warning","message":{"text":"PythonGenerator::generate_recipe (cognitive 43): PythonGenerator::generate_recipe has cognitive complexity 43 (threshold 15). Drivers by points: if/else 27 (32 pts), loops 4 (8 pts), boolean chains 2, match/switch 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_python/src/main.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf35ec20226fe3dd78220cf7c93d90df56ee18a911b637a4d492b4dadd00a1e"}},{"ruleId":"D2","level":"warning","message":{"text":"CachedWheels::is_cached (cognitive 42): CachedWheels::is_cached has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (27 pts), match/switch 7 (15 pts) (nesting depth added 22). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/plan/cache.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e227c1cc8ff52ef32385caa593d90a191cf530d8c6b1edee2410c2be18bf84e"}},{"ruleId":"D2","level":"warning","message":{"text":"TomlManifest::into_workspace_manifest (cognitive 42): TomlManifest::into_workspace_manifest has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (31 pts), loops 5 (6 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/manifest.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5e8657bc4d7f83f972dfb9fdbf8631c15fd3f114c413fe275153b1af893da1"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::config::alter_config (cognitive 41): pixi_cli::config::alter_config has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (31 pts), boolean chains 5, match/switch 4 (5 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/config.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30fae66df5493c9e44927f36ac576d14870b860dcc852ff4e0740c1c373b990"}},{"ruleId":"D2","level":"warning","message":{"text":"LockFileDiff::from_lock_files (cognitive 40): LockFileDiff::from_lock_files has cognitive complexity 40 (threshold 15). Drivers by points: loops 10 (23 pts), match/switch 4 (17 pts) (nesting depth added 26). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_diff/src/lib.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"196e0384bf8c1e0321ac4ceaeee9cfa39ba93308854730d6552e7c8598dc1466"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskGraph::from_cmd_args (cognitive 39): TaskGraph::from_cmd_args has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (29 pts), match/switch 3 (9 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/task_graph.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97ce78192e4c446dcc64764fa2af1e0b77bdfd164efd8232159a08e08084312"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::outdated::find_inconsistent_solve_groups (cognitive 38): pixi_core::lock_file::outdated::find_inconsistent_solve_groups has cognitive complexity 38 (threshold 15). Drivers by points: if/else 6 (17 pts), match/switch 3 (14 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/outdated.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"3022e5c73c638dc9e964921e2103bd4afe8090002dda566c435ef8a6220c0b22"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::install::execute (cognitive 36): pixi_cli::install::execute has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22 (35 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/install.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a03cda9dfa18b0f73a3867bc84003b492ce269edaf4395fb0d5d4a3579bbb13"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::info::execute (cognitive 35): pixi_cli::info::execute has cognitive complexity 35 (threshold 15). Drivers by points: match/switch 5 (17 pts), if/else 11 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 17). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/info.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2c163f06f9a80bed76b04522f1be0de3695e9fee64fbcd2f34c8a1e8ac14da"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::satisfiability::platform::verify_platform_satisfiability (cognitive 34): pixi_core::lock_file::satisfiability::platform::verify_platform_satisfiability has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 6 (14 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/platform.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"404bcbbfb4224a7f3424017003cfd7e0e7563d8554250f34528515ebaf49f78c"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallPlanner::plan (cognitive 34): InstallPlanner::plan has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (22 pts), match/switch 3 (9 pts), loops 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/plan/planner.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4656bf9626e56118e05e7b3d1a8814d0bdd107a3c4a400dad7589958d147c2d6"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::update::warn_unknown_requested_extras (cognitive 33): pixi_core::lock_file::update::warn_unknown_requested_extras has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 5 (11 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f50cecc1a6c80079c67d6ac3be292dd8972b7f5b3fb96d2b10d7b8a2540099"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::publish::discovery::resolve_publish_set (cognitive 32): pixi_cli::publish::discovery::resolve_publish_set has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (6 pts), match/switch 1 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/publish/discovery.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c9822ad73a0eee044c9bd53d6fad6dbc78b5f913def5ae936ea912820d85a5"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::satisfiability::environment::verify_environment_satisfiability (cognitive 32): pixi_core::lock_file::satisfiability::environment::verify_environment_satisfiability has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (20 pts), loops 3 (6 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/environment.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9ae0e001ff6f3dbddab6a6bd0da115534dbe5afc57d3f465e4e6c2b9f250c6"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::add::resolve_dependency_path (cognitive 31): pixi_cli::add::resolve_dependency_path has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 1, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/add.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5746918a607df1bf3c7642dd49238276804ddc223526166442a99e97a12588e2"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::run::execute (cognitive 31): pixi_cli::run::execute has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (21 pts), loops 2 (4 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/run.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7639ef896e6b05f05c57168b2e2e5c743c94bda9e7d2ae4fe5ff3d12c97198"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::resolve::pypi::resolve_pypi (cognitive 31): pixi_core::lock_file::resolve::pypi::resolve_pypi has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 5, loops 3, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/pypi.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a3361de2bc8b2eb36d041795394e621d22335501d094dd4b8cdb75be08ca75"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_toml_edit::array::retain_array_elements (cognitive 31): pixi_toml_edit::array::retain_array_elements has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (29 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml_edit/src/array.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f28581ab479c1b74a40eba98341fa980019299343a8993a18d1daf69b093e15"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::satisfiability::pypi_metadata::expand_self_extras (cognitive 30): pixi_core::lock_file::satisfiability::pypi_metadata::expand_self_extras has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 3 (8 pts), match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/pypi_metadata.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd0e3ffbd5f85410a92081cdb5adb9ad3e49a167c1136d997caf177aed96db4"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_glob::glob_set::walk::walk_globs (cognitive 30): pixi_glob::glob_set::walk::walk_globs has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 4 (6 pts), match/switch 2 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_glob/src/glob_set/walk.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6f161d7b234cf788718ebff67198c1bbdf8d25174603e5b7fda5039a1d5f31"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskGraph::merge_args (cognitive 30): TaskGraph::merge_args has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 5 (9 pts), loops 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/task_graph.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60d3391c5274b4c7c803ae9eb01a7f6af6db9db5b3fc591838ddc40a05b61f8"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_docs::arguments (cognitive 29): pixi_docs::arguments has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 4, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_docs/src/main.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"20773b4c7bdf3876a6cf7fc4b92e32d2c5f1f0800f935d01590e8bf93671c5c6"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::command_info::find_external_commands (cognitive 28): pixi_cli::command_info::find_external_commands has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (22 pts), loops 2 (6 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/command_info.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bcbc65eb7449db46dbbf5fcbc7247af5dc1ac838c5794e6ea4f3db3831fdc7"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::search::execute_impl (cognitive 28): pixi_cli::search::execute_impl has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/search.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1e391f82f5c6a5441d1894f3434dea2400c9eea298cc16533bcd486ac6d4d2"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::search::print_package_info (cognitive 28): pixi_cli::search::print_package_info has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 6 (11 pts), match/switch 3, boolean chains 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/search.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb5e13e2bd796e80f3fc2a8bf60d1633657e1955929d032b35d2c1177f8c174"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_command_dispatcher::keys::solve_pixi_environment::walk_and_resolve (cognitive 28): pixi_command_dispatcher::keys::solve_pixi_environment::walk_and_resolve has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 4 (7 pts), match/switch 3 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/solve_pixi_environment.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b8e25d6b2311026d2564e73e144536e4bdb921a693aab0118c541b0af0d868"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageReachability::collect_reachable_from_non_skipped (cognitive 28): PackageReachability::collect_reachable_from_non_skipped has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 8 (10 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/install_subset.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e0fa9dabd7461d29fad4e054a6ee5c67d200f97a15a158cc8e4560d60ec3f8"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceMut::update_dependencies (cognitive 28): WorkspaceMut::update_dependencies has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 3, loops 3, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/workspace_mut.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20f4d051aba79fcbc9b4e758daade911dcee83077a1f304c9b3adfea77860da"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::utils::filter_lock_file (cognitive 28): pixi_core::lock_file::utils::filter_lock_file has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (16 pts), loops 3 (6 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/utils.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef462fde0bdb62d0ff587c96fe538d97d2fd4b2bbb3222bc0c32e91091be566"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::workspace::activation::list (cognitive 27): pixi_cli::workspace::activation::list has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (7 pts), match/switch 4 (5 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/activation.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e7a0d21e0f6174398ec23e7b12ae26a747c6cc1a9807418e89d7459b5d606f"}},{"ruleId":"D2","level":"warning","message":{"text":"HostDetector::detect_registrations (cognitive 27): HostDetector::detect_registrations has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 4 (9 pts), boolean chains 4, loops 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/host.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2bc43e9c959d6d4db429bf73dc3c878b76a91ba342191fec5838c16a154f7d"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdateContextBuilder::finish (cognitive 27): UpdateContextBuilder::finish has cognitive complexity 27 (threshold 15). Drivers by points: loops 6 (13 pts), if/else 5 (9 pts), match/switch 5 (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa4bced0ec3a51ac92c816fc11a2ba014d30f82c3356e8ae285c2ee605bde86"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::environment::extract_git_requirements_from_workspace (cognitive 27): pixi_core::environment::extract_git_requirements_from_workspace has cognitive complexity 27 (threshold 15). Drivers by points: loops 6 (17 pts), if/else 2 (10 pts) (nesting depth added 19). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/environment/mod.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6014a13f27c7327c8094da062ab973f295adb203af8d65865d36874f4f8664a"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_global::install::create_executable_trampolines (cognitive 27): pixi_global::install::create_executable_trampolines has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (23 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/install.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf414ef899fd042fadfbdab337278c7ad63db5a66206efdf3e2c57a79fc55dc"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_script_shell::execute::evaluate_word (cognitive 27): pixi_script_shell::execute::evaluate_word has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (8 pts), match/switch 2 (6 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_script_shell/src/execute.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc361af2a0ee99152d61cd4c8f577a15e6efd9227d2fd98a94891a57c8ce9b2"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::config::transplant_config_key (cognitive 26): pixi_cli::config::transplant_config_key has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/config.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"199c0f4fabb1ea1f90d110f5781e6e1867290913bb64aaa42ee031867e3e095e"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::workspace::exclude_newer::execute (cognitive 26): pixi_cli::workspace::exclude_newer::execute has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 2 (4 pts), match/switch 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/exclude_newer.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dcc2b9c66daf498e97d7a3d7af31b9b45189cc741f63e1e531d87e4be12657"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::workspace::export::conda_environment::build_env_yaml (cognitive 26): pixi_cli::workspace::export::conda_environment::build_env_yaml has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4 (9 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/export/conda_environment.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"984ee84b9d4a4a5910b64abc8c5a204b2f88f9182812506a9a5ba6d9fa108849"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_manifest::toml::manifest::validate_task_environments (cognitive 26): pixi_manifest::toml::manifest::validate_task_environments has cognitive complexity 26 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 2 (9 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/manifest.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9da95ae4fca1e6d0d902bf97dfe1d3ebdd24b3c8b9807b816037a9d5aa92c8"}},{"ruleId":"D2","level":"warning","message":{"text":"RattlerBuildBackendInstantiator::initialize (cognitive 25): RattlerBuildBackendInstantiator::initialize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (8 pts), match/switch 1 (4 pts) (nesting depth added 13). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to one function item inside it that branches (extract_workspace_deps). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_rattler_build/src/protocol.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd53108e8e50a442dbfc6fac71d85a5d3a6b30046d59ed3b61b94c9ff68dc63"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::search::print_search_results (cognitive 25): pixi_cli::search::print_search_results has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/search.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a611b7aa5c7212abd471085e7ab1f2d3563a73eaa3c52cddefd363b70b915c9"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::workspace::dependencies::execute (cognitive 25): pixi_cli::workspace::dependencies::execute has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4 (8 pts), boolean chains 1, match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/dependencies.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9086309c9623e0ede67a551e0b5b73d2db8a18cdfb5840545b134dc1e0acb8"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactCache::lookup (cognitive 25): ArtifactCache::lookup has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 3 (6 pts), loops 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/artifact.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"20952262c5f0ae371cb87c1f23fa0126e3d30024d05b9f2439b98b71df490483"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_manifest::utils::package_map::deserialize_dependency_table (cognitive 25): pixi_manifest::utils::package_map::deserialize_dependency_table has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 5 (10 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/utils/package_map.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a700a152ee597bfa09e96a846e76c093344ec3421b08ac2525b317d3c606fe"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_build_ros::package_map::resolve_rosdep_to_conda_package_spec (cognitive 24): pixi_build_ros::package_map::resolve_rosdep_to_conda_package_spec has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18 (24 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_ros/src/package_map.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"93dbac3db0a5e440981905db440db8f0915d40fd19c6514a66a6581842e8e47e"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_build_ros::package_map::merge_unique_items_vec (cognitive 24): pixi_build_ros::package_map::merge_unique_items_vec has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_ros/src/package_map.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9954d45ffec2ddbb1af6b913fa01bf508b9b4cce451673c3fc747ca489bcb2e"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::add::execute (cognitive 24): pixi_cli::add::execute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4, match/switch 2 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/add.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c74bb3a3419f6e8f12dbb0f1ae5f6b13fe230bcd448e4c47f3ef10c2c69c783"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::lock::execute (cognitive 24): pixi_cli::lock::execute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/lock.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0b80918aa992a5381fe82e64742f35fffa497bdb3a7c38c135bb970940a8b9"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchEnvironments::find_task (cognitive 24): SearchEnvironments::find_task has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 4 (6 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/task_environment.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a54e8277026a7d6515238a2e1883f59d6abcbad7afeeed0df6c8da8c0ad95a0"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::publish::discovery::discover_opted_in_packages (cognitive 23): pixi_cli::publish::discovery::discover_opted_in_packages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 2 (4 pts), loops 3, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/publish/discovery.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41dd9471132598e2ab545db9b49092468fba24102d2761c9ac455f9da480629"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_command_dispatcher::input_snapshot::classify_files (cognitive 23): pixi_command_dispatcher::input_snapshot::classify_files has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 5 (15 pts), if/else 2 (7 pts), loops 1 (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/input_snapshot.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2e07f7def59352fc3d138743cf19cab75e54fe3916c5847346c8b86ce1c67d"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageReachability::collect_targets_dependencies (cognitive 23): PackageReachability::collect_targets_dependencies has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 6 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/install_subset.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"174d5c6a7778faf4691c28bd42fb10659aadeecf14bae486fe3682ea3a645b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"LockFileDerivedData::prefix (cognitive 23): LockFileDerivedData::prefix has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8403540df84e549d6c0abfa035f560f957955a2fba6d3aa60b7a0439742ff9f"}},{"ruleId":"D2","level":"warning","message":{"text":"RGenerator::generate_recipe (cognitive 22): RGenerator::generate_recipe has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (19 pts), loops 2, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_r/src/main.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4418178c5402866f4451727f95d24663008c4b24ee7a067dc01f27c031975541"}},{"ruleId":"D2","level":"warning","message":{"text":"Project::environment_in_sync_internal (cognitive 22): Project::environment_in_sync_internal has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/mod.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"863708bf43f3802ca7186ac28eb8d8ec784d5eb16988e2454351618598b6e3e2"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_global::install::local_environment_matches_spec (cognitive 22): pixi_global::install::local_environment_matches_spec has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). Of this number, 13 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/install.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"17dc2ab03cbb5a44dc30354a16ec4bb9921c6f3ccb061073af73dde8811e5715"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::clean::execute (cognitive 21): pixi_cli::clean::execute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/clean.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e138bc9d21db5adee3218976258a2aa78e68a44f358222fb1d1d0b2e480d1274"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::workspace::export::conda_environment::build_env_yaml_from_lock_file (cognitive 21): pixi_cli::workspace::export::conda_environment::build_env_yaml_from_lock_file has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (7 pts), match/switch 2 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/export/conda_environment.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7c1aa37e6d05848758e433778bab3298f5f57f52f7500f0bf55250dbec60a5"}},{"ruleId":"D2","level":"warning","message":{"text":"LockedEnvironmentHash::from_environment (cognitive 21): LockedEnvironmentHash::from_environment has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (5 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/environment/mod.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc1631b0a854762e341b12c8988564a8956981a62a6ab0fb4f0fdd268dff606"}},{"ruleId":"D2","level":"warning","message":{"text":"Workspace::update_lock_file_with_input (cognitive 21): Workspace::update_lock_file_with_input has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, loops 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae6ef80455a7285a545b7cee8562b12a9436df961fa7449f282893e4dbb4823"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_glob::glob_hash::normalize_line_endings (cognitive 21): pixi_glob::glob_hash::normalize_line_endings has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (7 pts), loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_glob/src/glob_hash.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"622d76c4feb88ce69e2c6568eaa16c5e441190e3992910072c932db7a9dd107a"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_global::completions::completions_sync_status (cognitive 21): pixi_global::completions::completions_sync_status has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/completions.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8048ba56d53c70e058af2832f8c47ace44c5d340d4f191827d8de15384e6ae89"}},{"ruleId":"D2","level":"warning","message":{"text":"Entrypoint::deserialize (cognitive 21): Entrypoint::deserialize has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 4 (8 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/script/conda/entrypoint.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"849d79134b403bfcfba0f82507b0fca797aa171e1d32819a9d0b1c571837efba"}},{"ruleId":"D2","level":"warning","message":{"text":"TomlPackage::into_manifest (cognitive 21): TomlPackage::into_manifest has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 7 (9 pts), match/switch 2, boolean chains 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/package.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f7b4c42b7a7916f9eb976e60774a6d58b5d30e834ce01b4fa4c994530db040"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::sequence (cognitive 21): Parser::sequence has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_script_shell/src/parse.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d17665c9e70f83c5981b22a6653a50b14b4ed7ac5ebe16f37e83f914ae26fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"MojoBackendConfig::merge_with_target_config (cognitive 20): MojoBackendConfig::merge_with_target_config has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_mojo/src/config.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5363fab8b9a44e5f6859935e63285438d8727b2ef749037ba72e6a5a41c6b974"}},{"ruleId":"D2","level":"warning","message":{"text":"Info::fmt (cognitive 20): Info::fmt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 3 (4 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/info.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b96e8c5ff6a50edae4f476b777f874b99619a3d07fec41e8d93e475c9b7603"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_command_dispatcher::keys::resolve_source_record::assemble_source_record_inner (cognitive 20): pixi_command_dispatcher::keys::resolve_source_record::assemble_source_record_inner has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 5 (9 pts) (nesting depth added 10). Of this number, 10 points are the body\u0027s own statements and 10 belong to one function item inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/resolve_source_record.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5181a8807aa5f51e03996bdb26aa6e1ef3b803a36a691044fdb1453c3021aaf7"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::resolve::pypi::lock_pypi_packages (cognitive 20): pixi_core::lock_file::resolve::pypi::lock_pypi_packages has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 5 (17 pts), if/else 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/pypi.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"4762d2043f7f54171bcf54feee06a925b77df19edd931e7bccf8237637c35f87"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoveredBackend::discover (cognitive 19): DiscoveredBackend::discover has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_discovery/src/discovery.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6ff29c37911d97760d2ec89cbe65900d7a495579ea78edc664efc158a38ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::exec::execute (cognitive 19): pixi_cli::exec::execute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/exec.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e914b12557a03159c9b1d78a6923469916eecd8cda87d4542cb2b08be8e75f6f"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_command_dispatcher::install_pixi::ext::install_inner (cognitive 19): pixi_command_dispatcher::install_pixi::ext::install_inner has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3 (4 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/install_pixi/ext.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f486cc8bd54c9d73d31756d72f9279ec276ec2a6bae0033844a9b29121b36ec"}},{"ruleId":"D2","level":"warning","message":{"text":"PypiNoBuildCheck::check (cognitive 19): PypiNoBuildCheck::check has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 4 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/environment.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ee64241e5c04ebe1733945c709baf04e8cc0650767d9bf0874a56c64a86edc"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceLocator::locate (cognitive 19): WorkspaceLocator::locate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, match/switch 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/discovery.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"be62fac74aad5406448a8bd62cdf87d3cd01e93cb7460a5060a662500133656c"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_manifest::script::conda::metadata::conda_script_spec (cognitive 19): pixi_manifest::script::conda::metadata::conda_script_spec has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/script/conda/metadata.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e63a2402985cbb9aad3531ce0c246f34f4469b3ffb3cd552ef99cc4604bfad"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_manifest::script::tool_pixi::unsupported_tool_pixi_keys (cognitive 19): pixi_manifest::script::tool_pixi::unsupported_tool_pixi_keys has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/script/tool_pixi.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1526a73d3041fccb4a9917e14db2b0a682f8058c33a96a401c3947a7bae033a5"}},{"ruleId":"D2","level":"warning","message":{"text":"PinnedGitCheckout::from_locked_url (cognitive 19): PinnedGitCheckout::from_locked_url has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_record/src/pinned_source.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee60ce973bd37ed5f01b3bb4ba7beade9539c5eec2d968ecf58ca9c18a0bd3f"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_docs::subcommand_to_md (cognitive 19): pixi_docs::subcommand_to_md has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_docs/src/main.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cf4c1e44a0818ef580da7564b12882f50596c4c8c40de30e6d3073c8a4d37b"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaJsonEncoder.normalize_schema (cognitive 19): SchemaJsonEncoder.normalize_schema has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 7 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"schema/model.py"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"060099e11cda642961c61a522e01dd111c3843d72b4b7f35e4fa36d1ed0447ae"}},{"ruleId":"D2","level":"warning","message":{"text":"IntermediateBackend::conda_outputs (cognitive 18): IntermediateBackend::conda_outputs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3195a5ed9087c6b17a94ed5e5d6e836caeaf4b74854fb08ec9f4d6ee0a76de8"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_build_ros::package_map::rosdep_nameless_matchspec (cognitive 18): pixi_build_ros::package_map::rosdep_nameless_matchspec has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_ros/src/package_map.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0fad4829d16908ecc91efa1768d435ee48dbbc2def36ad1174d2cc32887fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::clean::remove_dir_recording_size (cognitive 18): pixi_cli::clean::remove_dir_recording_size has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 4 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/clean.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2c16660daba271809dfdc88b1c5796816de93913f91d5462a0b53ba4ebd29b"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::global::sync::execute (cognitive 18): pixi_cli::global::sync::execute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), match/switch 3 (7 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/global/sync.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"389b8b9089d61e431bed81954aa7c9b686250b57e8e198a759fd15f1b974647b"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::task::print_tasks (cognitive 18): pixi_cli::task::print_tasks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 5 (7 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/task.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f42630e63b7afb48b8f0361f826759b3b85ed485649c04d5c09282e743cd5ed"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::workspace::platform::execute_add (cognitive 18): pixi_cli::workspace::platform::execute_add has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/platform.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee2baea96db881d7d5eab77bf7cd7d30898ef1382f2dee0371a3930426947bf"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_command_dispatcher::keys::source_build::compute_inner (cognitive 18): pixi_command_dispatcher::keys::source_build::compute_inner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, match/switch 3 (4 pts), boolean chains 2, loops 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/source_build.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2005a4460458bdb6db994d550cac12d376257b3c5f804f8f2a66b5e36441edf3"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_git::git::fetch (cognitive 18): pixi_git::git::fetch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 4 (5 pts) (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_git/src/git.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de2d42bb4dea5bef751245d0fbe5c070cf54760e11428b96d630b02c155d113"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionalInheritablePackageMap::deserialize (cognitive 18): ConditionalInheritablePackageMap::deserialize has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 6 (7 pts), loops 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/utils/inheritable_package_map.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb77fd27c4cd302f30acba760a3849912b6699f324fabb4f3bea593f842fed76"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_manifest::script::conda::envelope::parse_block (cognitive 18): pixi_manifest::script::conda::envelope::parse_block has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/script/conda/envelope.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"57098091075a504d4b6406ef0f3096b54434331415b6ac4a652c99181ca51858"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_uv_conversions::conversions::configure_insecure_hosts_for_tls_bypass (cognitive 18): pixi_uv_conversions::conversions::configure_insecure_hosts_for_tls_bypass has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_uv_conversions/src/conversions.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f21cb832a3fd69eb3482b2ebdd9217ae0c7669b771aff4b822328f459a5965a"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_api::global::install::setup_environment (cognitive 17): pixi_api::global::install::setup_environment has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/global/install.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"342558cbd9ba75181d623fd64fe5b6517655ea4a85d1c311eeced143a024718b"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::conda_script::execute_run (cognitive 17): pixi_cli::conda_script::execute_run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/conda_script.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4f08be1655771a3d8ccf66d2ab442b02d764dd5349cb093eb5ec8b447c72d4"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::config::execute (cognitive 17): pixi_cli::config::execute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/config.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"685f31f63d47f44e0d65cb62defdc85199352486157d4bb2568bca28d5a6d559"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::global::update::execute (cognitive 17): pixi_cli::global::update::execute has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (6 pts), if/else 2 (5 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/global/update.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"787efa66a0f0c191f326fae666614445e221e232a1a27d4681073ce568e5a7f1"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::publish::validate_package_manifest (cognitive 17): pixi_cli::publish::validate_package_manifest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/publish/mod.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f1107f98e481435e00d4bb0e1a079e6fa2e86fcab9a9e1063d2fde9b805a14"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_cli::workspace::platform::format_workspace_platform_row (cognitive 17): pixi_cli::workspace::platform::format_workspace_platform_row has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/platform.rs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1e2c9703b6d4fbdc7e5c6801c446ee82b3dec5c85f5c2c239e6628686dcc3c"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandDispatcherBuilder::finish (cognitive 17): CommandDispatcherBuilder::finish has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/command_dispatcher/builder.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"762d63f159d3d700ddc1e674dccbf349a93b74f203c20325046ade33ced3b67b"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::platform_rename::rebuild_with_renames (cognitive 17): pixi_core::lock_file::platform_rename::rebuild_with_renames has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (7 pts), loops 3 (6 pts), match/switch 1 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/platform_rename.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5ce56cccd8f938ef091fc1c9dcab60aab594bf7c07b65fcf66218867df120a"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_global::common::build_report (cognitive 17): pixi_global::common::build_report has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 2 (4 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/common.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"13366189928261ab9d9bf45a1e686cdd4ccb6e8dd891560e64da3deefa6d5463"}},{"ruleId":"D2","level":"warning","message":{"text":"ExcludeNewerTableMigration::new (cognitive 17): ExcludeNewerTableMigration::new has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/exclude_newer.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"73db1c3d4a7dea05c45ad18631da6ce4a65fea81e9c471f69dc18a9ea1b72e4a"}},{"ruleId":"D2","level":"warning","message":{"text":"ManifestDocument::add_pypi_dependency (cognitive 17): ManifestDocument::add_pypi_dependency has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/document.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5a19901bc37acd9bfcb03797f4c87164f9935131469720e6434f0b55f56eae"}},{"ruleId":"D2","level":"warning","message":{"text":"ParsedBlock::from_toml_str (cognitive 17): ParsedBlock::from_toml_str has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 5 (7 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/script/conda/metadata.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11aaeee0e8baa7fdca50e5910ab21a1c2f79cea30ec33db16b6aa9e235a7a03"}},{"ruleId":"D2","level":"warning","message":{"text":"TomlPackageBuild::into_build_system (cognitive 17): TomlPackageBuild::into_build_system has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/build_backend.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cedd0ca19cfe7d3c4d9abd961578da133e4805478900ae497e75168d10610f3"}},{"ruleId":"D2","level":"warning","message":{"text":"TomlPreview::into_preview (cognitive 17): TomlPreview::into_preview has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (4 pts), loops 1 (2 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/preview.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8fb0258b882c106ba7a627b186baf12f0f92f4aa8f3ac33b53729e7a077f4c"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_toml_edit::entry::remove_inline_table_entry (cognitive 17): pixi_toml_edit::entry::remove_inline_table_entry has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml_edit/src/entry.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88800233672740c3a0211107398352b0ea698524249871fbc40bcd45ed5f438"}},{"ruleId":"D2","level":"warning","message":{"text":"PurlDerivationClient::amend_purls (cognitive 17): PurlDerivationClient::amend_purls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pypi_mapping/src/lib.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"591cb4482b556cba148acae5784b3d42ed18bafe832a4f1997c7967d62ab533a"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_build_python::pypi_mapping::apply_user_map (cognitive 16): pixi_build_python::pypi_mapping::apply_user_map has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), match/switch 3 (7 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_python/src/pypi_mapping.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f987dee8f63acc995fbeb387e5d6b3c9a41b736505725959bb8266d11f2f51"}},{"ruleId":"D2","level":"warning","message":{"text":"RosGenerator::generate_recipe (cognitive 16): RosGenerator::generate_recipe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, loops 4 (6 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_ros/src/main.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c6daf9a9a0d13054ab881d101121f1f0f06e257c528774fca68895b7d9d5e1"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_build_ros::package_xml::tokenize_condition (cognitive 16): pixi_build_ros::package_xml::tokenize_condition has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 2 (7 pts), if/else 5 (6 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_ros/src/package_xml.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"86635c59d47466b6a17346461d1dc2e274280d99181b6a632e42dbe1d3f1d7bc"}},{"ruleId":"D2","level":"warning","message":{"text":"DetectorInfo::from_host (cognitive 16): DetectorInfo::from_host has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (8 pts), if/else 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/info.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"72843b6edda5403cabb005c8bb18f88acd2cce2fc806aa236544774040661ebf"}},{"ruleId":"D2","level":"warning","message":{"text":"HostDetection::for_cached_run (cognitive 16): HostDetection::for_cached_run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), match/switch 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/host.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc504b6a62f53de1484f360e03ee5f2991429f614771971de39648890c2a12b7"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::satisfiability::pypi::lock_pypi_packages (cognitive 16): pixi_core::lock_file::satisfiability::pypi::lock_pypi_packages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/pypi.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"336225a3ecac010218fa20a69be9b65237b40bcae5a201d66352264ed48e8195"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::lock_file::satisfiability::source_record::diff_dep_sequences (cognitive 16): pixi_core::lock_file::satisfiability::source_record::diff_dep_sequences has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 4 (5 pts), boolean chains 2 (nesting depth added 5). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/source_record.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95613daaba78a524f22b8b97ec3679beb61c58cdc8beb9bb6a4f7e982ac82c0"}},{"ruleId":"D2","level":"warning","message":{"text":"pixi_core::workspace::implicit_script_platforms (cognitive 16): pixi_core::workspace::implicit_script_platforms has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/mod.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8300c2891a15ae9f194b6653258f4eda1733a8541e1ec8c285806bf68ea58198"}},{"ruleId":"D2","level":"warning","message":{"text":"LockFileDiff::print (cognitive 16): LockFileDiff::print has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_diff/src/lib.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00a711c252bee9b7428a278af5492d6d960f4abaa73ac1faf484409819bee1c"}},{"ruleId":"D2","level":"warning","message":{"text":"PyPIEnvironmentUpdater::log_installation_details (cognitive 16): PyPIEnvironmentUpdater::log_installation_details has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/lib.rs"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"898549c19950478318c2d53e4c1f3d94dbf54181e8519710d06b4815825480c3"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlSource::fetch (cognitive 16): UrlSource::fetch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_url/src/source.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51cf601d1fbb263c154d9f82c9a44f1b86ac63d52f5a2abbafa21851664ea50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lock_file/update.rs: FileTooLong \u2014 2482 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1982 over it, 4.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2812a70149d4674391bb658c212938a09257701f15037d27e303426aaf9714"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_core::lock_file::satisfiability::platform::verify_package_platform_satisfiability: FunctionTooLong \u2014 pixi_core::lock_file::satisfiability::platform::verify_package_platform_satisfiability runs 442 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 342 over it, 4.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/platform.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21eb024e6d3a005dfa4476d1f36458a81ebd4d5e8b844833f8fa5f40a60b6fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_cli::publish::execute: FunctionTooLong \u2014 pixi_cli::publish::execute runs 440 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 340 over it, 4.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/publish/mod.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c786afe48f3e67bd9afa948e3d29849e8af980a1e5b3c9dace5645605c59da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UpdateContext.update: MethodTooLong \u2014 update runs 413 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 313 over it, 4.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":2595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6911049091817235563a8cc52b63fa2b616a01c04bd99f8a757ad4ef939c2ae7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_core::lock_file::resolve::pypi::resolve_pypi: FunctionTooLong \u2014 pixi_core::lock_file::resolve::pypi::resolve_pypi runs 412 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 312 over it, 4.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/pypi.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e97e0e9f0ab88ca95193e24a3c035a05156d7f48bb8771cef71b3ee7e4e00b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TomlManifest.into_workspace_manifest: MethodTooLong \u2014 into_workspace_manifest runs 383 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 283 over it, 3.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/manifest.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"83099a90aebee09b8d8cb3882621d9019737c1451a54cbe7dd3afd2943f903b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1884 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 33 free functions. The bar is 500 significant lines; this is 1384 over it, 3.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25388e9bcf30ef81613261ff986c7a915a6907a3b6aa284eeb0f8dbcefa4f057"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_command_dispatcher::keys::source_build::compute_inner: FunctionTooLong \u2014 pixi_command_dispatcher::keys::source_build::compute_inner runs 355 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 255 over it, 3.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/source_build.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1537c4bf2d2703014ad7f8c6b937a036cbc9a48dc509c0abd03eb96c34aec6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: project/mod.rs: FileTooLong \u2014 1578 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 68% of them inside a single declaration: Project (4 blocks, 530-2463). The bar is 500 significant lines; this is 1078 over it, 3.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e760f6d252518632f442b059135d6ffa222b938dc5304882772f9d30cd9616e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config.set: MethodTooLong \u2014 set runs 314 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 214 over it, 3.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bcc83a6c4235dd29c140074f0e3d55fb6350f50ecf02091d63e5025cdeef7e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IntermediateBackend.conda_outputs: MethodTooLong \u2014 conda_outputs runs 309 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 209 over it, 3.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5873ffc19b8afa36ceb41b339795f5060b55c35029a2f1ab2bb78443875790b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: manifests/workspace.rs: FileTooLong \u2014 1481 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 68% of them inside a single declaration: WorkspaceManifestMut (2 blocks, 407-2082). The bar is 500 significant lines; this is 981 over it, 2.96\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/workspace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"330835046483dccb043c875db38b9316c20efb5ce070ed1dc8a3fd6a9bfd3424"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Project: ClassTooLong \u2014 1075 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 51 methods, 4 blocks, lines 530-2463. The bar is 400 significant lines; this is 675 over it, 2.69\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/mod.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10bc4bd04bf10c2400edc47eeb748001b57d1ba14c72f4dae06dc3814cb143a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_command_dispatcher::keys::resolve_source_record::assemble_source_record_inner: FunctionTooLong \u2014 pixi_command_dispatcher::keys::resolve_source_record::assemble_source_record_inner runs 268 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/resolve_source_record.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"346cafb8afa86a72c8556319a8b0e4f3830fa35f14eab0d84d56b87aa6f73433"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkspaceManifestMut: ClassTooLong \u2014 1010 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 46 methods, 2 blocks, lines 407-2082. The bar is 400 significant lines; this is 610 over it, 2.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/workspace.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddef3e28382d8210c471b8eb90b40a6421e1e6f90642a3b86e3a621225b8845"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Workspace: TooManyMethods \u2014 72 methods, declared across 4 files: workspace/mod.rs (65), lock_file/update.rs (4), workspace/workspace_script.rs (2), src/activation.rs (1). The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/mod.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7471ec14ce5fa36866919b9d5f19fea92cebd9a400417626060347e09a4dfe16"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TomlPackage.into_manifest: MethodTooLong \u2014 into_manifest runs 239 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/package.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"7124aa9ab52acb420aba7a5dc2b4cbf65009758850133a10b91aa227a606d6f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RattlerBuildBackend.conda_outputs: MethodTooLong \u2014 conda_outputs runs 232 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_rattler_build/src/protocol.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e61026b73192c1031341088d5aaeee6ca92846f3e38f9d918af69f0e7b66979"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Config: ClassTooLong \u2014 918 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 45 methods, 8 blocks, lines 850-3113. The bar is 400 significant lines; this is 518 over it, 2.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcd603cf65b46e2c8be4929111e84b8f0964f2bf06392e39c339a84970f5763"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IntermediateBackend.conda_build_v1: MethodTooLong \u2014 conda_build_v1 runs 228 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2dd33aeb2f711437754e278580d449aa9ba03e9bc37ace62519e898f4efdfc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: publish/mod.rs: FileTooLong \u2014 1139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 639 over it, 2.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/publish/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21e1d5ea56fea5bff750ab3a4d471871f8f8ce9b4f57e650348dd060b90205b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkspaceMut.update_dependencies: MethodTooLong \u2014 update_dependencies runs 226 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/workspace_mut.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccd27eb301da4860014d9278f68785b5a153c8f222b559ca2d3ea8a5ad5cabe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/mod.rs: FileTooLong \u2014 1114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 65% of them inside a single declaration: Workspace (4 blocks, 183-1606). The bar is 500 significant lines; this is 614 over it, 2.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b792229d4d38a55b8701a98263ca5644c27a808d796702019c51e8a42195d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_install_pypi::plan::validation::need_reinstall: FunctionTooLong \u2014 pixi_install_pypi::plan::validation::need_reinstall runs 218 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/plan/validation.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c07e8773077598f7acd3b9899e44da209b6dc59e1d507bdc77ff3ba9ee7773e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/model.py: FileTooLong \u2014 1083 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 583 over it, 2.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"schema/model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"935cf1a54b9ef3fbf70ea5732623a9dfa0b280056c10aeca8f0cf9fde7959691"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_core::lock_file::resolve::pypi::lock_pypi_packages: FunctionTooLong \u2014 pixi_core::lock_file::resolve::pypi::lock_pypi_packages runs 210 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/pypi.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee60264ea1a5f548114d2a06f43dca20f6f2a6e93ef074eaf08dfed3d8eb02f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ManifestDocument: ClassTooLong \u2014 794 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 48 methods, 3 blocks, lines 26-1387. The bar is 400 significant lines; this is 394 over it, 1.99\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/document.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ca2b73aba195924483b25112c74bb9603e18f1bfa2ac06b5cbc793ba7e68e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_cli::run::execute: FunctionTooLong \u2014 pixi_cli::run::execute runs 194 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/run.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9f4364416a4e1dc73f5c8e6f819a408222570172dc3c4136a58fc4f97c7657"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_api::workspace::run::run: FunctionTooLong \u2014 pixi_api::workspace::run::run runs 193 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/run/mod.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4f220bcbecadf5651f55cae13b7e81b97666acd776c152fc7b8a4444275519"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PythonGenerator.generate_recipe: MethodTooLong \u2014 generate_recipe runs 192 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_python/src/main.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"243631043525c78fa94e11caf2a5f9f5ee45040a604205d13b179e8a91725c1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_core::lock_file::satisfiability::pypi::pypi_satisfies_requirement: FunctionTooLong \u2014 pixi_core::lock_file::satisfiability::pypi::pypi_satisfies_requirement runs 190 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/pypi.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed15b4736a9f1b6f39200b32b7e7ed9f5df094fff56011223e8b82ccf594fd59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: satisfiability/platform.rs: FileTooLong \u2014 942 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 442 over it, 1.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/platform.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f874fb57f05622ce2d2d2dcf43bdd1f237beca9244cbd327391f8bd0723ce034"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_core::lock_file::update::spawn_extract_environment_task: FunctionTooLong \u2014 pixi_core::lock_file::update::spawn_extract_environment_task runs 188 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2cb8fbc79e3710d73a6a38a028ec0af646c27e9c85979f1b224dd224dbb237"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkspaceDiscoverer.discover: MethodTooLong \u2014 discover runs 187 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/discovery.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffd394d12d9600a837e4e2dee00f087d2664e4307cd0d83c3afd1d05ad3aad6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resolve/pypi.rs: FileTooLong \u2014 930 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 430 over it, 1.86\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/pypi.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdffc646e3a7c8b2f5c8690a395ea3e24e729f007e28f468c444e40539c899b1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostDetector.detect_registrations: MethodTooLong \u2014 detect_registrations runs 186 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/host.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a7ce17a21e4c12883a870ce2a16645e4188a03798137eb53de53955063ee05"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Workspace: ClassTooLong \u2014 723 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 72 methods, 4 blocks, lines 183-1606. The bar is 400 significant lines; this is 323 over it, 1.81\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/mod.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2650984cdafee6b9161f5cd26216fba35703fde3894a05de9878d6dd09e29e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_cli::upgrade::execute: FunctionTooLong \u2014 pixi_cli::upgrade::execute runs 180 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/upgrade.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3fea0aabc9d26e63f26ab90c9f63ad3706bcad10f02a7d5ae26d556603f3c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 890 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 63% of them inside a single declaration: PyPIEnvironmentUpdater (2 blocks, 475-1344). The bar is 500 significant lines; this is 390 over it, 1.78\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd794c1c0863fdfdcbd5b6e21d1e1a312a609ed6ceec4ec832eb2bf5f193a63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RosGenerator.generate_recipe: MethodTooLong \u2014 generate_recipe runs 178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_ros/src/main.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2f6086cb308792e9865c1604b680549708eded8f120090b9665ffd26a6f642"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_cli::info::execute: FunctionTooLong \u2014 pixi_cli::info::execute runs 178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/info.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"b078a2ec10ad512a81a1a71322fbf743f08cded7a2e0f67b22623f15d72e3cb5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UpdateContextBuilder.finish: MethodTooLong \u2014 finish runs 177 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2635dcea162596c6d21253ab72f43614522143e5432761f80da286f67d256c69"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkspaceContext: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/context.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8466a9d51f6142bd114da1bbc84fe51196c1f46ad927657cee770e1c345666d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_core::lock_file::satisfiability::pypi::read_local_package_metadata: FunctionTooLong \u2014 pixi_core::lock_file::satisfiability::pypi::read_local_package_metadata runs 175 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/pypi.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"23af1a232b34f67551ed04091c85167cd72e10222ef938b526e6fe5f7a3b7afd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_cli::search::print_package_info: FunctionTooLong \u2014 pixi_cli::search::print_package_info runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/search.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b85c11b8daa297b4ac694bbfe9cffde8e3c9c3d2cedf0b7c65831b2fc75d67"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Package.new: MethodTooLong \u2014 new runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/list/package.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2697afb11e01ff06171233c314d1692900b8e10eb85e7e2956605b3b1b768b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: manifests/document.rs: FileTooLong \u2014 852 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 93% of them inside a single declaration: ManifestDocument (3 blocks, 26-1387). The bar is 500 significant lines; this is 352 over it, 1.70\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/document.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e569e7ed43e9a57ec8662df6ef4973e4237a8a77a882fc82f8de4d78b040b21a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Project: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/mod.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ca35937d1391025a068a566bfc98b4b0f2c63da361518f2901f9c6941a01ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LockFileDerivedData.update_prefix: MethodTooLong \u2014 update_prefix runs 170 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5cda417f3e50df567d1302e276abdf89723e4b76d18e0e13461e4c8edcfa13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 836 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 336 over it, 1.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend_passthrough/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"942c1578daad018db230ad1b45271b19f37d4d40ece16fd7593f5d0fb6a2aa7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_build_backend::rattler_build_integration::get_build_output: FunctionTooLong \u2014 pixi_build_backend::rattler_build_integration::get_build_output runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/rattler_build_integration.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc023fe25627e89429b98121863d9a032c2f2b3df52d34cd0dc911a4d3bab4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/host.rs: FileTooLong \u2014 824 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 324 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/host.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7b5ebc37fa24879108ca0201d4c03a00bc3e56519fdbb19d1ff082d98eadf7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_core::lock_file::outdated::find_unsatisfiable_targets: FunctionTooLong \u2014 pixi_core::lock_file::outdated::find_unsatisfiable_targets runs 164 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/outdated.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ac7eb3f5ac9a9fffe44bc5b0252e88f9e9b1096ff7fa12cb7171ad6e004e50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/intermediate_backend.rs: FileTooLong \u2014 812 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 77% of them inside a single declaration: IntermediateBackend (3 blocks, 95-983). The bar is 500 significant lines; this is 312 over it, 1.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22312dee5df965b6a0b33808d49e71e050004f48b7d982ad40680afb2770018"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_command_dispatcher::install_pixi::ext::install_inner: FunctionTooLong \u2014 pixi_command_dispatcher::install_pixi::ext::install_inner runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/install_pixi/ext.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1714262395c1d81e2e16c4addc9a465683d3fdba032649bbe731187c9dc98054"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/platform.rs: FileTooLong \u2014 807 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 307 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/platform.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15d0aee5622d25c7d4a9d3b35411f9502b63db48e19ba5f731699262f3a850d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ManifestDocument: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/document.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e23cde6d9e3e394199d4b2a970b1d9709a3677db1fabf48766ed716c940e2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: toml/manifest.rs: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 72% of them inside a single declaration: TomlManifest (3 blocks, 47-1148). The bar is 500 significant lines; this is 290 over it, 1.58\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/manifest.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7a7b1e28cf7b5dc2c0d940d25ce6ecd835db938840f24166d839f62e5575c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommandDispatcherBuilder.finish: MethodTooLong \u2014 finish runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/command_dispatcher/builder.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6839ce17445723276fce093fe0dfee77d490bd48deb3f10f0574d84de91fe1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IntermediateBackend: ClassTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 3 blocks, lines 95-983. The bar is 400 significant lines; this is 223 over it, 1.56\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"040c98e6efc79909d0a848e2c7c19c887a3ecda884af40841ff810d6c4f108bf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SolveCondaEnvironmentSpec.solve_on_blocking_pool: MethodTooLong \u2014 solve_on_blocking_pool runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/solve_conda/mod.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9841e8e2b4c6e66f803207d314ef2a5b3357206d4d3a1e70bde78490ba77d805"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RattlerBuildBackend.conda_build_v1: MethodTooLong \u2014 conda_build_v1 runs 154 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_rattler_build/src/protocol.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5815c5a0d11ee97f5a324188d536bdb1e92ec540aa427b284f67d345a1c7d7d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: build_backend_metadata/mod.rs: FileTooLong \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 70% of them inside a single declaration: BuildBackendMetadataInner (3 blocks, 189-1188). The bar is 500 significant lines; this is 267 over it, 1.53\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/build_backend_metadata/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df03526a36d084a5ca235e50b223dc33068c0ee4f5bfb54faa05d5ebf9762211"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: WorkspaceManifestMut: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/workspace.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c2f0854b719a94f1dd09361f076b07b28ada70d7cc754f3b0ab0eddc0f186c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_cli::add::execute: FunctionTooLong \u2014 pixi_cli::add::execute runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/add.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"facb003620466f8409aea2862eee0e62f4554386db6ed247f1852d8d9dd89ffc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: keys/source_build.rs: FileTooLong \u2014 757 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 257 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/source_build.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0773af7084e2d5c64c12575f1119d0754f5b0d32436f3571de7b6eefea458bf5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Config: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. Most of these members implement pixi_config.Config (45 of 45 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a642e9b6852447751228e25ef38f42897bc912f89aea7c6122d16790f57c88"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Project.install_environment_with_options: MethodTooLong \u2014 install_environment_with_options runs 148 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/mod.rs"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"598b89567ca38122d2861af3a687cc7b4dfadc6939e47ff3d0f6585f442fd37e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_core::lock_file::satisfiability::environment::verify_environment_satisfiability: FunctionTooLong \u2014 pixi_core::lock_file::satisfiability::environment::verify_environment_satisfiability runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/environment.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf607ddd4385e39aa17536ac8ec1efc1e62ba794503ea886d21eacd99269ead"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_cli::install::execute: FunctionTooLong \u2014 pixi_cli::install::execute runs 143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/install.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41352acd43ce6f39e4b06e721eb7232730bc2fdbcd6d906301e5a519a2f33b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_core::lock_file::satisfiability::source_record::verify_locked_run_deps_against_backend: FunctionTooLong \u2014 pixi_core::lock_file::satisfiability::source_record::verify_locked_run_deps_against_backend runs 143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/source_record.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5c43ae70f22bd72d0a8baf6f60fbd9cb0ce3d05aa622273fe88605d16dce10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/project_model.rs: FileTooLong \u2014 713 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 213 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_types/src/project_model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ead0b18fe7d25fb175e1772eb06042854018889f6f213c05d6b0d628ef59502"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TomlManifest: ClassTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 4 methods, 3 blocks, lines 47-1148. The bar is 400 significant lines; this is 168 over it, 1.42\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/manifest.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eba15a003ac004e32589c945c9e706546d9d71ec07e3aed48a60a553296bb50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_cli::conda_script::execute_run: FunctionTooLong \u2014 pixi_cli::conda_script::execute_run runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/conda_script.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a6192e6a68e4aae5af145b7e04caae3cff9c5eb3781ff671b8aea88f40c56f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: toml/platform.rs: FileTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 208 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/platform.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"328bafac05c59b5697f790cb6f0fb2be54a5a74287c679edcd6727caa57ffb58"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PyPIEnvironmentUpdater: ClassTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 16 methods, 2 blocks, lines 475-1344. The bar is 400 significant lines; this is 165 over it, 1.41\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/lib.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ae5498ba0eb2b7b3d2a888da6b182bac8a18d63b8515b761f4012ae980fb74"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BackendSourceBuildSpec.build_v1: MethodTooLong \u2014 build_v1 runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/backend_source_build/mod.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"abec7daa03db13d224b5f231002afae6dafb24636989b0a5fb34383c5c80fa36"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UpdateContext: ClassTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 7 methods, 3 blocks, lines 1928-3195. The bar is 400 significant lines; this is 152 over it, 1.38\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ece807bab6a2d894f1d458f52d7e466d2d8a064b0a4e60b94e87a5656ce71dc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkspaceMut: ClassTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 17 methods, 3 blocks, lines 119-946. The bar is 400 significant lines; this is 149 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/workspace_mut.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4a50682ab1ae4fc013e6ce390b8e05e57885f1b0d00b9d9605e459f2c59300"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BuildBackendMetadataInner: ClassTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 9 methods, 3 blocks, lines 189-1188. The bar is 400 significant lines; this is 136 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/build_backend_metadata/mod.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"831553d27dd156da238ef0ddecf18cbb195502bfd238df4faa8273f5e4565f60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/info.rs: FileTooLong \u2014 669 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 169 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/info.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e262bfd07edfa65dc79f65c8a0bd0f3c11883aa98d3e5b3c2f87a24548cf6e9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Item.from: MethodTooLong \u2014 from runs 133 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/task.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"329ab9c66d1e327dc67957b00b7a900cc5a60bf49447e8c4edf4ef5733cba3e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_core::lock_file::satisfiability::platform::verify_platform_satisfiability: FunctionTooLong \u2014 pixi_core::lock_file::satisfiability::platform::verify_platform_satisfiability runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/platform.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"738094e61b86c8f8f7cb9b05db70267b05022d08da4eec7261546a80f3c4628e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/git.rs: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 158 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_git/src/git.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c170e2cfa87cee77f74580c1deaa840ffeaa15872c8a1e6df7545108e4f7e63"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LockFileDerivedData: ClassTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 19 methods, 2 blocks, lines 910-1764. The bar is 400 significant lines; this is 126 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fa935b961e52d4101ae7fe9e4edaa4b42d74190662f48d82c71b2cef350e39"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_core::lock_file::update::spawn_solve_conda_environment_task: FunctionTooLong \u2014 pixi_core::lock_file::update::spawn_solve_conda_environment_task runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":3276}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b51f6abeb044390eb709f54a1ba351b99cd902e97e2102249660f09dfb4b83"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config.rs: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d681733b73baf0fad6a5a98baee3ab398fcf3932f152fcd70a2c34ab18d09ab0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_cli::config::alter_config: FunctionTooLong \u2014 pixi_cli::config::alter_config runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/config.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce569d0a57a6c69905b0bf7801fea12f2fa8679b3823c2b11bef3fedc57123"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_api::workspace::list::list: FunctionTooLong \u2014 pixi_api::workspace::list::list runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/list/mod.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e085999af6ab1914cb60580dfd540295d620d5d5f56305089af3fbe4dacb9b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CachedWheels.is_cached: MethodTooLong \u2014 is_cached runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/plan/cache.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f855b3172fd524028f7551ccd7862cff84c635402eed5969261cf7cebe6a78e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TomlTarget.into_workspace_target: MethodTooLong \u2014 into_workspace_target runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/target.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a230bb508a5c2a1b640eb3aae13e1d70c2f34aab02d6e97752c371f5686b40d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workspace/workspace_mut.rs: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: WorkspaceMut (3 blocks, 119-946). The bar is 500 significant lines; this is 123 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/workspace_mut.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5134cc9f07f68115e1baa0b7fd0857c0fd1a4efcc4fe4ff2ee0b84721b78beae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuildBackendMetadataInner.compute_inner: MethodTooLong \u2014 compute_inner runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/build_backend_metadata/mod.rs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f3b9d5d28c93e5636740420a73897b2c27823d6d03d1162b0df6502f67ee17"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TomlManifest.deserialize: MethodTooLong \u2014 deserialize runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/manifest.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"9879d509fe8279aedaab1592965794f17d72208b12df7e1c110457e2d24568d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/platform.rs: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 33 free functions. The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/platform.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2a5266c6a3e7c5746d5f7ac9db0ae1cc6441f2d2c3f495efa43d8ea5a0fb1b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuildBackendMetadataInner.probe_cache: MethodTooLong \u2014 probe_cache runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/build_backend_metadata/mod.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7200b0673b9cb5d2c697e83653d263af7c794cd9a1c035d0ef82939890f91a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/task.rs: FileTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 114 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/task.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0337dc914af52c6b29cc6735bf6cf28806005222cd12dce78ad1fe333cfc98a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: init/mod.rs: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 113 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/init/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd1a687a77afadd4104edb36c46d8fbb21e99ad2cac0d9746e7d6a03f93f5d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cache/artifact.rs: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 113 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/artifact.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e4c1b649a8d5a6597f096b35b0ba0d1fa9c9165bc0658239a615cd76032f8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: environment/mod.rs: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 107 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/environment/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fc56acc39628f9d33685ed87eea7487adde07ad6d3fd86efb28d11fb045484"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TaskGraph.from_cmd_args: MethodTooLong \u2014 from_cmd_args runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/task_graph.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8d764a3d34649d3afb73890c182bd0325c931fc88e250b6168c2da2af3fa07"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RGenerator.generate_recipe: MethodTooLong \u2014 generate_recipe runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_r/src/main.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b18ed7474df9913859efe80d99247517b632807faa5458cbc5e241cb5ff429"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/protocol.rs: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 68% of them inside a single declaration: RattlerBuildBackend (64-568). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_rattler_build/src/protocol.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3975192cfc258a3f49412e7233e4afb8862dfd02b5f7b77cb52f23dc129fff56"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LockFileDiff.format_changes: MethodTooLong \u2014 format_changes runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_diff/src/lib.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd75a171393c6b15b174b618442651d32b12ce0dbd3b9c30972d49a27ce6fa5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: satisfiability/errors.rs: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 66 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/errors.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7f501ee9e2f506186a70a8ad5ea6bc4b7a2febb91ae893c597ae8c001f3733"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkspaceContext: ClassTooLong \u2014 449 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 53 methods, 2 blocks, lines 107-707. The bar is 400 significant lines; this is 49 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/context.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50b7d2c5d284f5a61900cd189f7102baeda4b7e2487a1fe6a43406d01c45c05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InstallPlanner.plan: MethodTooLong \u2014 plan runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/plan/planner.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d87b9cafdbb27398bee696d2621ffcda28488fd4d1c75e7855b71d6e64e155a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: satisfiability/source_record.rs: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 56 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/source_record.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6699f8eedbbcf6ba20d9ecb604f89349d2a9be34c75a880d64f08fbd8acfcb4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_command_dispatcher::keys::solve_pixi_environment::compute_inner: FunctionTooLong \u2014 pixi_command_dispatcher::keys::solve_pixi_environment::compute_inner runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/solve_pixi_environment.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"3275f95f9fd00a7952d13060ed094bb495b2d83c6b6128765a463ec5eed19623"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/source_record.rs: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 52 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_record/src/source_record.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1fa8c074792ad13058cee87379d44a248d8a1981fe294a616123ecae398a31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: project/manifest.rs: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 76% of them inside a single declaration: Manifest (2 blocks, 119-732). The bar is 500 significant lines; this is 38 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/manifest.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df3b6f6980e6661fc9c03ba75a7d51bb5a03c0cc7cf1b52590aea4b677c2d4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: script/pep723.rs: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 38 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/script/pep723.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"231e68ec2614486c23abe5b3ae8a4f5453f6d915985b233da2cef3ca6f9f83ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: satisfiability/pypi.rs: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/pypi.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d0b840d1a4ec45e4de3b5218a5995a2836d3e6f206944f90a889de43d6be7b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EnvironmentInfo.fmt: MethodTooLong \u2014 fmt runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/info.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a050c94fc0b927743e2d5b64c054069d3c58543f6294bc257e0b7af1980296"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/common.rs: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 33 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/common.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de691f815ff3ed66c836d1b0df5f88f6fa64b7da2b78f1380279dcde47614ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/conversions.rs: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 33 free functions. The bar is 500 significant lines; this is 30 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_uv_conversions/src/conversions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0185e9171c485d87a113327524b967ca47b9b4cc4fb72e2c55c3d5f5934ec249"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_cli::workspace::exclude_newer::execute: FunctionTooLong \u2014 pixi_cli::workspace::exclude_newer::execute runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/exclude_newer.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d932d51c47b8d46d0e5bbabe1691a67f5e9a8b9336ecbc9baaf7d01834d137"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TomlWorkspace.deserialize: MethodTooLong \u2014 deserialize runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/workspace.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"d877dbd1da0b179a1da3d77aa2fd792025fda423085dd26fa3692744fb67bb96"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: toml/package.rs: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 66% of them inside a single declaration: TomlPackage (3 blocks, 135-682). The bar is 500 significant lines; this is 25 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/package.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9e012bfeba472badc0f0626d42036a7e69e7e673c5e18043916ab98d6873b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EphemeralEnvKey.compute: MethodTooLong \u2014 compute runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/ephemeral_env/mod.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bb94533dee2811903f7cb203515b0c1e935af6a30450c45298f331d1a0adf7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_glob::glob_set::walk::walk_globs: FunctionTooLong \u2014 pixi_glob::glob_set::walk::walk_globs runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_glob/src/glob_set/walk.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"40934616096883808d149787c43cefe2b8ea6aba625a44efd6f070ab42fa9630"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/context.rs: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: WorkspaceContext (2 blocks, 107-707). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fc5c3fcca72c2f07e3ae1989c76d73658f13fc2ba7a4a168fbb17f6bf5250a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/target.rs: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 20 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/target.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"947348e20f648e08324761ecdeb5a8aee19a7c539a89d74b3eb223d7888cefeb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_api::workspace::shell::shell: FunctionTooLong \u2014 pixi_api::workspace::shell::shell runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/shell/mod.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aa7422ba643e20e0a57a72da4d1704cb0dde141c1544e2b42dadb25aaa3c68"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pixi_cli::search::execute_impl: FunctionTooLong \u2014 pixi_cli::search::execute_impl runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/search.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee25190d03d0814973f442ae14557cb0ae9310c95038d68bee29075d4f65a24"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pinned_source.rs: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_record/src/pinned_source.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f28a9d6ee1052be198ce249cf3438c24523e765c6cefa865846c101f5f2e2ba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Manifest: ClassTooLong \u2014 409 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 20 methods, 2 blocks, lines 119-732. The bar is 400 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/manifest.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a2b056d180631e2f668f5986095b6609875d2a1cf1594edac25a0349c6ec9e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RustGenerator.generate_recipe: MethodTooLong \u2014 generate_recipe runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_rust/src/main.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2378779f26d5c5ce2a4ab66e233bf81e3bcb7f25ecac914e7b5a1c85102a542b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LazyBuildDispatch.get_or_try_init: MethodTooLong \u2014 get_or_try_init runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/build_dispatch.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"62aef6f2f6b848be1b1c04fa3858a00e0d4647f7f956e1bcb2bad8b0e99ba0ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LockFileDerivedData.prefix: MethodTooLong \u2014 prefix runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"21369428eb830b13157910364a84447bf69d3b67c33dd0a70f62ff466ca615ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (42 shared lines): crates/pixi_manifest/src/utils/inheritable_package_map.rs:447-510 | crates/pixi_manifest/src/utils/package_map.rs:235-336 \u2014 These two members are variants of one another: 42 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/utils/inheritable_package_map.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9b599c18a75c05d8c48e07d73f7c0e9a17514a8f6211a913005c2d8c61f39a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (33 shared lines): crates/pixi_config/src/lib.rs:1959-2000 | crates/pixi_config/src/lib.rs:2016-2070 \u2014 These two members are variants of one another: 33 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8debef03dde8d7bb3739f6a2940e9422f74484d48d74f79a8cdbb2f60f48568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/pixi_cli/src/config.rs:204-274 | crates/pixi_cli/src/global/edit.rs:17-50 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/config.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f919858250528e48d6582d12c4f3d39921aa2320b4cb0482d02e156775d9b988"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/pixi_build_backend/src/intermediate_backend.rs:255-667 | crates/pixi_build_backend/src/intermediate_backend.rs:672-982 | crates/pixi_build_backend/src/rattler_build_integration.rs:46-245 | crates/pixi_build_rattler_build/src/protocol.rs:68-364 | crates/pixi_build_rattler_build/src/protocol.rs:369-567 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cef324ed45ad97ac0544c2ca5c71996f5d8bbcc3c64d10989a27c63c394f33d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/pixi_api/src/workspace/shell/mod.rs:104-136 | crates/pixi_api/src/workspace/shell/mod.rs:144-174 | crates/pixi_api/src/workspace/shell/mod.rs:184-234 | crates/pixi_api/src/workspace/shell/mod.rs:249-304 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/shell/mod.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"88698ef785c2a37a6c557feaf8e67268e513bfabd0cb14e3f3d3c8fbe9f89730"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/pixi_build_backend/src/intermediate_backend.rs:255-667 | crates/pixi_build_backend/src/tools.rs:201-298 | crates/pixi_build_rattler_build/src/protocol.rs:68-364 | crates/pixi_build_rattler_build/src/protocol.rs:369-567 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e4e77d631649bfa86f5b33f66cd757c75ea9cc8a579b2ea2edaffb8f35d0a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/pixi_build_cmake/src/config.rs:39-62 | crates/pixi_build_mojo/src/config.rs:52-116 | crates/pixi_build_r/src/config.rs:44-71 | crates/pixi_build_rust/src/config.rs:87-119 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_cmake/src/config.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f5e4e07d4e85e9a7ec3776cd4b7343c839870fc3e311f8c7a82b67e0cee98a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/pixi_manifest/src/feature.rs:295-311 | crates/pixi_manifest/src/feature.rs:359-375 | crates/pixi_manifest/src/feature.rs:461-477 | crates/pixi_manifest/src/feature.rs:529-545 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/feature.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ed4f5a5ca93de569bfabaf48e8e2def8f14458e67b11f7f53ba07bc9bc34ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): crates/pixi_toml_edit/src/array.rs:100-185 | crates/pixi_toml_edit/src/entry.rs:160-229 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml_edit/src/array.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"37060282891c58a6162d5da59a35ad4d8c35045465cec1d806f1acbf3791ca7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): crates/pixi_manifest/src/toml/exclude_newer.rs:127-185 | crates/pixi_manifest/src/toml/exclude_newer.rs:317-374 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/exclude_newer.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"94feaa95af38b2b4fd1e2e1694ecad1597834f581f093b3b384e44fcefc8f05d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): crates/pixi_core/src/lock_file/install_subset.rs:328-388 | crates/pixi_core/src/lock_file/install_subset.rs:405-477 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/install_subset.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"af00c19c890f7a91ede911b652cc7d19d2cf90c47e4ab88c7c0ce661482f4d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): crates/pixi_manifest/src/manifests/workspace.rs:560-618 | crates/pixi_manifest/src/manifests/workspace.rs:664-724 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/workspace.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f89819fa04f760ff4dcd48065026427ddc7286d1e04def6c757400b6ca868c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): crates/pixi_uv_conversions/src/conversions.rs:125-181 | crates/pixi_uv_conversions/src/conversions.rs:191-245 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_uv_conversions/src/conversions.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"870af7bc6e25d6a923a2de0a4d98b1853318c1306b78e2a53715117e84f6c676"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/pixi_toml/src/hash_map.rs:37-78 | crates/pixi_toml/src/index_map.rs:45-84 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml/src/hash_map.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"21eb0bddddd3674091e73145ede0343ca2d167fa18535eaf4810c5d80f0a99e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/pixi_build_frontend/src/backend/json_rpc.rs:298-343 | crates/pixi_build_frontend/src/backend/json_rpc.rs:350-395 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_frontend/src/backend/json_rpc.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32090ee7e79e14e006a8d86400f2c104d63d62ed24be4e5e5b97fd1933b4bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): crates/pixi_command_dispatcher/src/cache/common.rs:52-110 | crates/pixi_command_dispatcher/src/cache/common.rs:247-296 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/common.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbec228d9cd3883abf9f693b6afc96f54449e93cc3644264a7b5fb841ca71c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/pixi_cli/src/global/expose.rs:72-105 | crates/pixi_cli/src/global/shortcut.rs:57-89 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/global/expose.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c55655801cb91beacc071885e987a881342c2060ff0a0e5df24aa053e2606d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/pixi_manifest/src/manifests/workspace.rs:1648-1683 | crates/pixi_manifest/src/manifests/workspace.rs:1737-1774 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/workspace.rs"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"627b1c999bc1620326707712571bd49300762242a8f4bf27ccd76da0253ba1f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/pixi_core/src/workspace/mod.rs:1107-1157 | crates/pixi_core/src/workspace/mod.rs:1179-1216 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/mod.rs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0f704b3064e243737cfb1539080cbe48bd83da857b56323f50bfa1372e9256"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/pixi_reporters/src/download_verify_reporter.rs:384-426 | crates/pixi_reporters/src/repodata_reporter.rs:700-731 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/download_verify_reporter.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"337c4a1588747d5b1d503ac28ef0adb1e6aaf9ebc7256f6c587b5c7b2b11d0ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/pixi_manifest/src/toml/channel.rs:75-101 | crates/pixi_manifest/src/toml/pypi_options.rs:30-54 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/channel.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5499cdc8f36652d1cf5228214b58ffefb169c78329056457ce036c36ce15c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/pixi_core/src/workspace/mod.rs:553-595 | crates/pixi_core/src/workspace/mod.rs:697-742 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/mod.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"df66aa6512cb4ba7356073acdb7030cddd769481c63401cc1f91cd1073bf7ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/pixi_command_dispatcher/src/backend_source_build/ext.rs:33-69 | crates/pixi_command_dispatcher/src/build_backend_metadata/mod.rs:665-690 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/backend_source_build/ext.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d3034a58ffbeeebbcf3ad942532f52552f0307b07b807200df3b88863d8f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): crates/pixi_command_dispatcher/src/build/conversion.rs:77-133 | crates/pixi_command_dispatcher/src/build/dependencies.rs:483-547 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/build/conversion.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"495466b049f0edc13b42164c6bc4c93ac9f82c1af409da524af01d60498b5898"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/pixi_core/src/workspace/mod.rs:605-641 | crates/pixi_core/src/workspace/mod.rs:651-686 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/mod.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"af55f7cc9460f9b98183dee18e96dbef2df553090ab45e89bd899bb9b71b10ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/pixi_compute_sources/src/git.rs:126-164 | crates/pixi_compute_sources/src/url.rs:122-154 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_compute_sources/src/git.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3cdfe429d559545d751aa64ed32adcc722b59cf18b921323e4521713e8550e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/pixi_manifest/src/toml/pypi_options.rs:76-110 | crates/pixi_manifest/src/toml/pypi_options.rs:114-148 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/pypi_options.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7f5cd3f9f7cb233c4f6e6b857016a9cb84af33a0eac02a7ac89604ba5ca653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): crates/pixi_url/src/extract.rs:123-148 | crates/pixi_url/src/extract.rs:158-186 | crates/pixi_url/src/extract.rs:193-213 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_url/src/extract.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1433c439d5e02f2017f62952750ab2f206e412b853886c1649ae0b808000f3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/pixi_global/src/project/parsed_manifest.rs:201-230 | crates/pixi_global/src/project/parsed_manifest.rs:235-261 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/parsed_manifest.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4825495f3aa4fbe6b1c335174bbe5e9c1326819a48cbf3754b46231266c30f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/pixi_utils/src/executable_utils.rs:4-30 | trampoline/src/executable_from_path.rs:6-34 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_utils/src/executable_utils.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff56f9e5a29e4fcc0341db7ceb20fa2f7518833c489507511538491b636451d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): crates/pixi_api/src/workspace/workspace/channel.rs:79-116 | crates/pixi_api/src/workspace/workspace/channel.rs:123-158 | crates/pixi_api/src/workspace/workspace/channel.rs:164-200 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/workspace/channel.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba056cec0b7773aefd6d7cd1d98ffbadc7018ab34e0e51a4180668cd1ef7fcde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/pixi_cli/src/workspace/channel.rs:100-127 | crates/pixi_cli/src/workspace/platform.rs:467-495 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/channel.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c75ffe1b9051bf246ed1288e903cfbcebfbdec17b632e34809d8074430c9eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/pixi_cli/src/add.rs:139-167 | crates/pixi_cli/src/remove/mod.rs:50-78 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/add.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dda47d30349f8a2ef88403a2ec82fe9c624c71ca7571ce8ec65b635329ce29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/pixi_uv_conversions/src/git_url.rs:9-26 | crates/pixi_uv_conversions/src/git_url.rs:32-54 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_uv_conversions/src/git_url.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd21d98ed1313a43c86bea82bc1b54dde71ffaaecb95f3812fc362b1fbf5a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/pixi_toml/src/btree_set.rs:26-49 | crates/pixi_toml/src/btree_set.rs:56-79 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml/src/btree_set.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf872a884984d7becde392b6627034248d19dd27c55b86aaa3c6142e5d5caa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/pixi_utils/src/atomic_write.rs:64-86 | crates/pixi_utils/src/atomic_write.rs:89-108 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_utils/src/atomic_write.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7f55a574c4a126f5386efcf08b22c345dcec52cf5572e8c6d837c9f2eb7a98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): crates/pixi_command_dispatcher/src/keys/solve_conda.rs:73-111 | crates/pixi_manifest/src/build_system.rs:82-123 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/solve_conda.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"591cdd11ee44084d74dace12e3b059d1552673dd210d88e22e856b421e7bb9f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/pixi_command_dispatcher/src/cache/workspace.rs:71-88 | crates/pixi_command_dispatcher/src/keys/source_build.rs:124-154 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/workspace.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1da1618a03a85ca7e9c74680623ebbbd9b85e88009b499b68556254abe50d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/pixi_manifest/src/toml/package.rs:83-101 | crates/pixi_manifest/src/toml/package.rs:108-126 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/package.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb517289c66931d60b1b2636e4cfa0b0e26efc774ebe5142a530020a1a9461f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/pixi_core/src/lock_file/records_by_name.rs:157-175 | crates/pixi_core/src/lock_file/records_by_name.rs:180-207 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/records_by_name.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbfea0ef7a93b42e7385a97a0db90a6d4d2d1580eeead36ff326c5cba977c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/pixi_cli/src/workspace/description.rs:43-64 | crates/pixi_cli/src/workspace/feature.rs:50-76 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/description.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e14670e4ea872be191815b787434bfb9a893d04139162c5b117cc7fbefdfe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/pixi_command_dispatcher/src/dev_source_metadata/mod.rs:90-107 | crates/pixi_manifest/src/error.rs:318-339 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/dev_source_metadata/mod.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"287f792f958e0db8bb35e2aaf05289a56692114f4b6e180ffb6999fd2794bf38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/pixi_toml_edit/src/entry.rs:280-294 | crates/pixi_toml_edit/src/entry.rs:336-351 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml_edit/src/entry.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd40a9980d5d7b88d159922355291043e7f15e129253947961e2ae28a24d241"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 19\u002B corresponding lines): crates/pixi_build_rust/src/metadata.rs:210-232 | crates/pixi_build_rust/src/metadata.rs:239-259 | crates/pixi_build_rust/src/metadata.rs:266-284 | crates/pixi_build_rust/src/metadata.rs:291-309 | crates/pixi_build_rust/src/metadata.rs:318-338 | crates/pixi_build_rust/src/metadata.rs:354-377 | crates/pixi_build_rust/src/metadata.rs:384-404 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_rust/src/metadata.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd56b71bce6283e0b4fc057c3123a8f3d7e1894c3cce462df5878ea224658775"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/pixi_manifest/src/manifests/document.rs:428-447 | crates/pixi_manifest/src/manifests/document.rs:540-561 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/document.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9686a3b98cf2d7b2a3985bde773959e6bf50b91cf9d5114f6edb22e473cfc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/pixi_reporters/src/download_verify_reporter.rs:110-139 | crates/pixi_reporters/src/main_progress_bar.rs:121-153 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/download_verify_reporter.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"626c52e0a9e3bf2f0bbfb4409d30373c6f2d286ebe6acf87734fad20513d381b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/pixi_core/src/lock_file/satisfiability/legacy/key.rs:212-222 | crates/pixi_core/src/lock_file/satisfiability/source_record.rs:627-639 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/legacy/key.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b598a4cb3b305c536079c824360ae6d81317da61e2ce4080e315b6f405c13a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/pixi_toml_edit/src/entry.rs:262-276 | crates/pixi_toml_edit/src/entry.rs:298-313 | crates/pixi_toml_edit/src/entry.rs:355-369 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml_edit/src/entry.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bce2e723090a0271ddf20a67c5627deac3e96ce95c7ac55b996950894b6d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/pixi_compute_sources/src/ext.rs:40-64 | crates/pixi_compute_sources/src/ext.rs:69-88 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_compute_sources/src/ext.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8e80c0ce771d566c9682bd99a8a28d3ab50096b09b1be21dfb5b1bcb496349"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/pixi_uv_conversions/src/workspace_anchor.rs:32-55 | crates/pixi_uv_conversions/src/workspace_anchor.rs:88-111 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_uv_conversions/src/workspace_anchor.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c38d5c818a487132ff593b0f667150043f65fff6375ab8292d042bc2ee5b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/pixi_build_backend/src/variants.rs:10-45 | crates/pixi_manifest/src/toml/environment.rs:59-87 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/variants.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56d35bfb926590caa05415c765a957995175be72f7277b7b0fd7b00ae5199cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/pixi_install_pypi/src/utils.rs:20-30 | crates/pixi_install_pypi/src/utils.rs:33-43 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/utils.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f3677f846948e6eaed48c4f408c63c7c4890e592f6bbd32610f8e51570733c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/pixi_manifest/src/pypi/pypi_options.rs:106-117 | crates/pixi_manifest/src/pypi/pypi_options.rs:139-150 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/pypi/pypi_options.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c42754edd267c525b16b236f0081c830fe0be36311e922752c2c160af1fdab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/pixi_manifest/src/toml/pyproject.rs:365-382 | crates/pixi_manifest/src/toml/pyproject.rs:528-546 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/pyproject.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87bfc3889cd0ba0032aca11a085f32cf1605f8d88c29a9a42b998b33bddac47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/pixi_build_python/src/main.rs:85-100 | crates/pixi_build_python/src/main.rs:102-118 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_python/src/main.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5ad12f8f2ed0f79854d03a9f6eded84e0b64aa390503bec0ca6372bb5849a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/pixi_manifest/src/pypi/merge.rs:31-45 | crates/pixi_manifest/src/pypi/merge.rs:55-66 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/pypi/merge.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"33668eb933662393f18e7e28dc4e481e828e9b1b8115f1eca61e99850bebfa2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/pixi_build_mojo/src/config.rs:273-301 | crates/pixi_build_mojo/src/config.rs:392-416 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_mojo/src/config.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad0a9933abc16f005b6610ed1f1a24b90b8325db6ebe26661f0e6df2fc181b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/pixi_cli/src/install.rs:89-111 | crates/pixi_cli/src/run.rs:125-147 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/install.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d08186f2c96d8e8018257f7955f49f59ce6882eb70f107c1161fffcddbee36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/pixi_manifest/src/script/conda/error.rs:195-205 | crates/pixi_manifest/src/script/pep723.rs:74-86 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/script/conda/error.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c190610f1b09f15753de8b1ddd9b4887d4f3e95146c2b510aad6cf51441d6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/pixi_toml_edit/src/style.rs:50-66 | crates/pixi_toml_edit/src/style.rs:68-84 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml_edit/src/style.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d3771e60b8cfab5bcb8722d6121d6d1c0823b7a7958f0b0a67f4e39525f281"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/pixi_reporters/src/download_verify_reporter.rs:168-184 | crates/pixi_reporters/src/download_verify_reporter.rs:290-316 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/download_verify_reporter.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb525d260e68737ffc9a516290d002417f229f225897cf0fc8e4186a81ef3e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/pixi_utils/src/executable_utils.rs:33-51 | trampoline/src/executable_from_path.rs:37-55 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_utils/src/executable_utils.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d64d680bf4b328aa842754a1081b491d898a32fd487fff639ee00d27b9d51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/pixi_utils/src/reqwest.rs:342-357 | crates/pixi_utils/src/reqwest.rs:362-380 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_utils/src/reqwest.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce01303a398c7a4a9866ed486f69c0e0f2a183badc29a906aa9b60b8b7fc333"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/pixi_api/src/workspace/workspace/feature.rs:62-73 | crates/pixi_api/src/workspace/workspace/feature.rs:79-90 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/workspace/feature.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a293861cd483b324e35301ca1ed22d797d702b826bce96081a54b38ef4c11b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/pixi_cli/src/global/exclude_newer.rs:229-243 | crates/pixi_cli/src/workspace/exclude_newer.rs:530-546 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/global/exclude_newer.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99eea0b8c933733cc16627b7443147ba71b67a440f1c474c35fde85f5dda8fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/pixi_reporters/src/uv_reporter.rs:144-164 | crates/pixi_reporters/src/uv_reporter.rs:166-186 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/uv_reporter.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e701412b562fb5984ea77517feb05fd9200ba2cd07553e798f232d282f5364f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/pixi_compute_engine/src/key_graph.rs:276-291 | crates/pixi_compute_engine/src/key_graph.rs:316-327 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_compute_engine/src/key_graph.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e72127faa01782217e067de36cba2f22d3ebbcaf736442bd9c0e14aa781083"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/pixi_git/src/git.rs:439-453 | crates/pixi_git/src/git.rs:497-509 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_git/src/git.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"8940288d6298cb15841b2dac51647876ce32e395303b9134bfe85b6251525d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/pixi_manifest/src/script/conda/manifest.rs:323-337 | crates/pixi_manifest/src/script/pep723.rs:286-298 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/script/conda/manifest.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"870e360bf95cb72250cf47456de4782b8aae3fe7401be6a6eda80d38c4451460"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/pixi_record/src/lib.rs:67-78 | crates/pixi_record/src/lib.rs:370-381 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_record/src/lib.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5012498d207fea963565c924da2f2abde624fcd85a264f538d1ce332f47dc669"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/pixi_config/src/lib.rs:3085-3106 | crates/pixi_core/src/host.rs:982-1005 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":3085}}}],"partialFingerprints":{"codehealthFindingId/v1":"7986686cf790cc664f5fb5fd37da50209252a5bd6fc9cc050a3cde5b588fad0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/pixi_global/src/project/environment.rs:55-68 | crates/pixi_manifest/src/environment.rs:125-140 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/environment.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4248fbb66ddc5c0efac53e064832c48a2cd0a95e4e4b05928b389a883229fb2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/pixi_manifest/src/target.rs:371-384 | crates/pixi_manifest/src/target.rs:471-484 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/target.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed3a39e800dfe1ea4570d41b96c84a71061f7941a90b663a04fdc94623b7216"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/pixi_manifest/src/warning/deprecation.rs:80-96 | crates/pixi_manifest/src/warning/deprecation.rs:101-117 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/warning/deprecation.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b44398c456a907ef32992b7150d772e5cdafa62900df39f45e0ef67a0ce432b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/pixi_reporters/src/download_verify_reporter.rs:245-264 | crates/pixi_reporters/src/download_verify_reporter.rs:266-288 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/download_verify_reporter.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0e5b01ee7c79a2486cd7ec49ce699a01630d5c048e9cd9b1d2f90fc59fd1ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/pixi_variant/src/lib.rs:154-161 | crates/pixi_variant/src/lib.rs:195-202 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_variant/src/lib.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"695aa0e9a84fec10a4fcfd9a86a60b8d5c3bff343564b614141e5aca0d12e54c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/pixi_command_dispatcher/src/ephemeral_env/mod.rs:81-109 | crates/pixi_command_dispatcher/src/keys/solve_pixi_environment.rs:134-158 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/ephemeral_env/mod.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df4177fa745aeaa4026efdcc03b738573bfd84c2369bb41aa884a4591dc249c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/pixi_api/src/workspace/workspace/activation.rs:127-144 | crates/pixi_api/src/workspace/workspace/activation.rs:154-171 | crates/pixi_api/src/workspace/workspace/activation.rs:180-197 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/workspace/activation.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"900863d60c25eb4c9b2963b83d14a710c30fb2f959fa3678e26078a71e043184"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/pixi_reporters/src/main_progress_bar.rs:69-81 | crates/pixi_reporters/src/repodata_reporter.rs:539-551 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/main_progress_bar.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba08368e275c3fdaa12baf4a9a2634100a9f6c82e6429445f37a324c8919ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): crates/pixi_build_cmake/src/main.rs:174-187 | crates/pixi_build_mojo/src/main.rs:229-242 | crates/pixi_build_python/src/main.rs:588-601 | crates/pixi_build_r/src/main.rs:312-325 | crates/pixi_build_ros/src/main.rs:395-408 | crates/pixi_build_rust/src/main.rs:224-237 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_cmake/src/main.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db8858b0821586dc992adb2b120fbf31b5336dfd5e785510befcf79c98de33c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/pixi_manifest/src/target.rs:352-362 | crates/pixi_manifest/src/target.rs:583-593 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/target.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b2c3994653ba47536f7b0f80cdd3f74b05183d08770ce1b7be028d3b498ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/pixi_build_python/src/metadata.rs:289-301 | crates/pixi_build_python/src/metadata.rs:307-320 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_python/src/metadata.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e45943c7594a7d9bf9f90bcec2046ec0a1a339aa577c21d1eda89bb2d50909"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/pixi_cli/src/workspace/requires_pixi/set.rs:12-36 | crates/pixi_cli/src/workspace/version/set.rs:13-30 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/requires_pixi/set.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2102118031ce8051c550da65068f84b80850bece1be2aace06f7846d6103f30a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/pixi_global/src/project/manifest.rs:385-408 | crates/pixi_global/src/project/manifest.rs:573-594 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/manifest.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da65defa7e67aad008df92bad742078221e09c165e3da5bf3d7b87acf269380"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/pixi_manifest/src/manifests/document.rs:503-514 | crates/pixi_manifest/src/manifests/document.rs:519-528 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/document.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"1196ba427381613309e652012bf9083dba74889f6ead2cbcb5f3fc7edeb85b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/pixi_api/src/workspace/workspace/platform.rs:118-132 | crates/pixi_api/src/workspace/workspace/platform.rs:143-159 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/workspace/platform.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa939ccbbbcd541a7820f0ab5efb61b8c0e90eb85fc5e3fa647d8da3f37fe8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): crates/pixi_build_types/src/project_model.rs:935-954 | crates/pixi_build_types/src/project_model.rs:960-975 | crates/pixi_build_types/src/project_model.rs:1073-1088 | crates/pixi_build_types/src/project_model.rs:1138-1156 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_types/src/project_model.rs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5d95b502c6b300cd7f2063179a8ff4dcff408841c20ed6a305d0a094a52135"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/pixi_core/src/lock_file/update.rs:138-164 | crates/pixi_core/src/lock_file/update.rs:207-232 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db9e6a5feafcd37bb15ef1760f6e0117e6262db484041c90536ea83a2d31665"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): crates/pixi_manifest/src/features_ext.rs:249-256 | crates/pixi_manifest/src/features_ext.rs:271-278 | crates/pixi_manifest/src/features_ext.rs:295-302 | crates/pixi_manifest/src/features_ext.rs:312-320 | crates/pixi_manifest/src/features_ext.rs:330-337 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/features_ext.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b276810093a25d03140a7ab8284352941724ba113fab6dd4e737195439d52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/pixi_manifest/src/target.rs:393-405 | crates/pixi_manifest/src/target.rs:605-617 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/target.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed74c818b58581d307c68f7f90528c5e4e961a55d6b20269b6ff463a46b599bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/pixi_manifest/src/toml/manifest.rs:871-881 | crates/pixi_manifest/src/toml/manifest.rs:889-901 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/manifest.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baff109ba26a48de6fa947a3ae4552bb132411f15a7ae4080886c3fd0e911cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/pixi_compute_engine/src/ctx.rs:835-842 | crates/pixi_compute_engine/src/ctx.rs:963-970 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_compute_engine/src/ctx.rs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"403f24f731f4916da7f238b4e841e46256a246e7e0588a2e1bc3a16077097639"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/pixi_reporters/src/download_verify_reporter.rs:141-156 | crates/pixi_reporters/src/download_verify_reporter.rs:186-201 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/download_verify_reporter.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"35298a9b6986eb1a287ebdfd9a74a2fa2e4c7538f241267e40e47c60bdf88fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/pixi_api/src/workspace/task/mod.rs:172-185 | crates/pixi_api/src/workspace/task/mod.rs:194-207 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/task/mod.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b0f19adf8e1b13106c24926ad1f8dc2075ac14ceee70e925219b72e44c982d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/pixi_global/src/project/parsed_manifest.rs:518-529 | crates/pixi_record/src/dev_source_record.rs:73-80 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/parsed_manifest.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e74b1f91bad7805863c4cf22257288638e9e2d20ff34eacbeb33abbf2465cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/pixi_reporters/src/repodata_reporter.rs:663-675 | crates/pixi_reporters/src/repodata_reporter.rs:677-689 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/repodata_reporter.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22389d1569d295c0a4961aa2edf3ef14cec39852e85867d64cea8a1f7bfa043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/pixi_api/src/global/install.rs:93-106 | crates/pixi_api/src/global/uninstall.rs:25-39 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/global/install.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"399d7cd2d36f4b18483de26327fca13b6e4c25d7ed7442a92f3be008e4959996"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/pixi_install_pypi/src/utils.rs:10-17 | crates/pixi_utils/src/atomic_write.rs:41-47 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/utils.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebef0e5da4725656dfe0b91b9b4baffedd335146dcaefe3f53162ab39156ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/pixi_api/src/workspace/task/mod.rs:64-72 | crates/pixi_cli/src/shared/install_platform.rs:16-26 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/task/mod.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cdaee271fbff1d5b36cd874530e4d509ca91cf09c7ba0bdaf6dcc12a5136a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/pixi_global/src/project/manifest.rs:491-498 | crates/pixi_global/src/project/manifest.rs:601-608 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/manifest.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1538a306479c142b39635c3c1c240ab5adafbfe5e5cb903accde59824a1f696"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): crates/pixi_command_dispatcher/src/cache/artifact.rs:524-531 | crates/pixi_command_dispatcher/src/cache/artifact.rs:534-540 | crates/pixi_command_dispatcher/src/cache/workspace.rs:157-164 | crates/pixi_command_dispatcher/src/cache/workspace.rs:167-173 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/artifact.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e23a56d717ff79523c1e2c2aac36d66f585dda975e46676edbc047d202d4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/pixi_manifest/src/toml/pypi_options.rs:62-72 | crates/pixi_spec/src/toml.rs:1255-1266 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/pypi_options.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d33f3f07ad507e98a44ad334e4cb3d383dc53475aab2ef4f33de5fdedc6720"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/pixi_cli/src/task.rs:455-469 | crates/pixi_cli/src/task.rs:474-487 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/task.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c2f181e1467c21e8aba8b281b74da7ae234aa9af18c5715acf94279cf6b289"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/pixi_spec/src/lib.rs:521-527 | crates/pixi_command_dispatcher/src/backend_source_build/mod.rs:381-387 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/lib.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11aba4b41a2a3e5a01fea7b83c249ce964ad585003c0fee806c40f9b78ee7e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): crates/pixi_build_types/src/project_model.rs:888-906 | crates/pixi_build_types/src/project_model.rs:913-929 | crates/pixi_build_types/src/project_model.rs:979-993 | crates/pixi_build_types/src/project_model.rs:997-1011 | crates/pixi_build_types/src/project_model.rs:1095-1109 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_types/src/project_model.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"992f2e7f2de1b935c560cdf4a662dd0806cf5ff48f39bd4c21c7084d9ecdfc4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/pixi_uv_conversions/src/conversions.rs:58-65 | crates/pixi_uv_conversions/src/conversions.rs:73-84 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_uv_conversions/src/conversions.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"28877f3865fbb91da1131d1b121f8d17b4761bbb43d0fc83bd485e2db9095b03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/pixi_manifest/src/manifests/document.rs:1203-1213 | crates/pixi_manifest/src/manifests/document.rs:1284-1292 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/document.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"412f1fcc6d8f95381d1454d56a96095dd34226978f0294d519ff458812d50007"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/pixi_reporters/src/download_verify_reporter.rs:66-77 | crates/pixi_reporters/src/download_verify_reporter.rs:79-87 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/download_verify_reporter.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1315cb580dbcd161e8083611248b54ba754a2c58b85a2cc4952c3033a917e499"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/pixi_api/src/workspace/workspace/platform.rs:48-54 | crates/pixi_core/src/workspace/mod.rs:1265-1270 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/workspace/platform.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ad97eae40caec1e3eeff9595be45ed2885aff21971fba3286a66878dca186b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/pixi_cli/src/remove/error.rs:272-282 | crates/pixi_manifest/src/lib.rs:189-195 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/remove/error.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a0be0f271630859013ea6687e152b16659df1d03aaf7615c8851e5825a66d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/pixi_reporters/src/download_verify_reporter.rs:514-521 | crates/pixi_reporters/src/main_progress_bar.rs:299-306 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/download_verify_reporter.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b90b72d806a44bec95d93abe8f8aeb76001eee8be1d58fd185f687caca93baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/pixi_build_types/src/extra_group_name.rs:133-136 | crates/pixi_path/src/lib.rs:416-419 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_types/src/extra_group_name.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18f43978df8aaaa9f46886670038123c8bfcfdeafbd02b02072dead76fba2d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (85 lines \u00D7 2): crates/pixi_build_backend/src/intermediate_backend.rs:536-620 | crates/pixi_build_rattler_build/src/protocol.rs:233-317 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/intermediate_backend.rs\u0060 and \u0060crates/pixi_build_rattler_build/src/protocol.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 240 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/intermediate_backend.rs:536\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4912144cd8bdacd3789e00efb60a33fec75f54c40578ab5017aa96301082ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): crates/pixi_build_types/src/variant.rs:26-65 | crates/pixi_variant/src/lib.rs:32-71 \u2014 before extracting anything, compare \u0060crates/pixi_build_types/src/variant.rs\u0060 and \u0060crates/pixi_variant/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_types/src/variant.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45b86086e92b3f2f628b7fe4798cc7adbb2444559cc87a2bbf32d61d43e3189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): crates/pixi_cli/src/workspace/export/conda_environment.rs:193-227 | crates/pixi_cli/src/workspace/export/conda_environment.rs:364-398 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_cli/src/workspace/export/conda_environment.rs:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/export/conda_environment.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"42790bdac2354a18ae8ae6d7b2ed774019d60e5d9a29a1dcf005d4a883c8afaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): crates/pixi_manifest/src/toml/feature.rs:191-220 | crates/pixi_manifest/src/toml/manifest.rs:1006-1036 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/feature.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a596fc3bd4109cedb9c73ce1c10fdb71dc1ba80cc4044bc177ea20f040c1e2f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/pixi_toml/src/hash_map.rs:50-78 | crates/pixi_toml/src/index_map.rs:53-81 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_toml/src/hash_map.rs:50\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml/src/hash_map.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd34e202c5cd97b4ee58bd84298d60c0d61102fbd5b5b8b3d80bc68f7ea9996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/pixi_manifest/src/utils/inheritable_package_map.rs:455-483 | crates/pixi_manifest/src/utils/package_map.rs:244-272 \u2014 before extracting anything, compare \u0060crates/pixi_manifest/src/utils/inheritable_package_map.rs\u0060 and \u0060crates/pixi_manifest/src/utils/package_map.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/utils/inheritable_package_map.rs:455\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/utils/inheritable_package_map.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbadb168da36edab74da02b7a6e0fe7e8dcc47d872a2d4da3e4498190edd39d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): crates/pixi_api/src/workspace/remove/mod.rs:88-113 | crates/pixi_api/src/workspace/remove/mod.rs:126-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_api/src/workspace/remove/mod.rs:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/remove/mod.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb9ddbda884c63f0b130904df1add7e8c40a87a611ffed1552d5e69cd3bcb8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/pixi_build_frontend/src/backend/json_rpc.rs:312-337 | crates/pixi_build_frontend/src/backend/json_rpc.rs:364-389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_frontend/src/backend/json_rpc.rs:312\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_frontend/src/backend/json_rpc.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedaa182df1785a298d24410ad189425aab7f770fbd8cd6d3d5683b63dc408f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/pixi_manifest/src/task.rs:996-1021 | crates/pixi_manifest/src/task.rs:1031-1056 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/task.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"748a199dc415628deda034d70e04849458210457bc7de02ec038f86fc6ad4042"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): crates/pixi_build_backend/src/intermediate_backend.rs:343-366 | crates/pixi_build_backend/src/intermediate_backend.rs:765-789 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/intermediate_backend.rs:343\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b438c5a9ea9597f583a56d17a7b601a45a7e704cf99da93bbd81f2b76d213988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): crates/pixi_api/src/workspace/workspace/channel.rs:85-108 | crates/pixi_api/src/workspace/workspace/channel.rs:128-150 | crates/pixi_api/src/workspace/workspace/channel.rs:169-192 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_api/src/workspace/workspace/channel.rs:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/workspace/channel.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5db273f9192267cc5c6199ba6196bfe97aeae61695d25c8e4a304f5a260f5ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): crates/pixi_core/src/lock_file/install_subset.rs:359-380 | crates/pixi_core/src/lock_file/install_subset.rs:446-469 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/install_subset.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e61f3af5a44e4284c9bf2661d80570fb761f8e1a07af4a08abe7f2a7b7503ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/pixi_cli/src/add.rs:140-162 | crates/pixi_cli/src/remove/mod.rs:51-73 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_cli/src/add.rs:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/add.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe568de18be396131036eec9482014f704e1a6b117da3bb60a7e7d502684eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/pixi_manifest/src/target.rs:417-439 | crates/pixi_manifest/src/target.rs:630-652 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/target.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41e5dcc5e1b73e515326b1ceceea3ceb1ec7ecb3c58f4f5f65a6f4ec7903e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/pixi_api/src/workspace/run/mod.rs:196-216 | crates/pixi_cli/src/conda_script.rs:86-107 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/run/mod.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"16edb9d601072614fbcd5fb4d3037da509e299545cf2798e24afb742372582dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/pixi_cli/src/config.rs:209-230 | crates/pixi_cli/src/global/edit.rs:27-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/config.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bb04bbd1fae0390bfcf6a8b350942b17e12a6f9d87dc327904a4be89cb0972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/pixi_cli/src/update.rs:272-293 | crates/pixi_cli/src/upgrade.rs:610-631 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_cli/src/update.rs:272\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/update.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3d3df283431c791d077e274109631fa18a7ca67d283d6fbfd6a3f39cd3d701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/pixi_manifest/src/manifests/workspace.rs:562-583 | crates/pixi_manifest/src/manifests/workspace.rs:666-687 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/workspace.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fc4cfc65d71cf52c86a369948cc1047cd7eb2d545e68ebc8b617e448497936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/pixi_build_r/src/main.rs:162-182 | crates/pixi_build_r/src/main.rs:193-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_r/src/main.rs:162\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_r/src/main.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecc9c6077ca39fef9e11bfee16bacfc68209df409c2784fd9642a96c750eb77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/pixi_build_backend/src/intermediate_backend.rs:447-466 | crates/pixi_build_backend/src/intermediate_backend.rs:838-857 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe13efd4e6724068dcdd399be9464dafb5fa19543672bc1f509869d9a1351d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/pixi_build_cmake/src/config.rs:40-59 | crates/pixi_build_r/src/config.rs:45-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_cmake/src/config.rs:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_cmake/src/config.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"167b3fd7697fc443c507a1dac56c0c655e9516d3ae616b4c6aa4d6723873e470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/pixi_core/src/lock_file/update.rs:2455-2474 | crates/pixi_core/src/lock_file/update.rs:2499-2516 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_core/src/lock_file/update.rs:2455\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":2455}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfb831b2788a86453f8a258b2baf830867ed692031f7b65cf22c1b7e5665bfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/pixi_build_rattler_build/src/protocol.rs:83-101 | crates/pixi_build_rattler_build/src/protocol.rs:398-416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_rattler_build/src/protocol.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38f23e5f7b0e6f5f4826f41e6c67fceb89d361bdc2d66de9bb82fc172d19233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/pixi_build_backend/src/intermediate_backend.rs:908-925 | crates/pixi_build_rattler_build/src/protocol.rs:505-522 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/intermediate_backend.rs\u0060 and \u0060crates/pixi_build_rattler_build/src/protocol.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 240 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/pixi_build_rattler_build/src/protocol.rs:523\u0060 calls \u0060unwrap_or\u0060 and \u0060crates/pixi_build_backend/src/intermediate_backend.rs:926\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a20a21b56725196901ba9bb8f2f04daef45558877d75f58464f4aa71a01770"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/pixi_cli/src/global/expose.rs:151-167 | crates/pixi_cli/src/global/shortcut.rs:165-182 \u2014 before extracting anything, compare \u0060crates/pixi_cli/src/global/expose.rs\u0060 and \u0060crates/pixi_cli/src/global/shortcut.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_cli/src/global/expose.rs:151\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060project\u0060 to \u0060\u0026mut pixi_global::Project\u0060 in one and \u0060\u0026mut Project\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/global/expose.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67f71f316d95fa86133ec9079d6f5b4c7be056985e8447e0bf86d604f5397e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/pixi_manifest/src/task.rs:886-905 | crates/pixi_manifest/src/task.rs:972-991 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/task.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5184a74e2f237b1d63110256ae04e66d50577a86b7207886cae172e6cf2236f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/pixi_reporters/src/uv_reporter.rs:147-164 | crates/pixi_reporters/src/uv_reporter.rs:169-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/uv_reporter.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"633cdc00ec75eeb151710d9c2a525cdb722b352c86b750d8dd0d04edf05e0bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/pixi_toml/src/btree_set.rs:32-49 | crates/pixi_toml/src/index_set.rs:37-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_toml/src/btree_set.rs:32\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml/src/btree_set.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2c10a36d231108e2c43225b7bbb012afbdee200f27538014f7c9f44ef9c693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/pixi_toml/src/btree_set.rs:62-79 | crates/pixi_toml/src/index_set.rs:67-84 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_toml/src/btree_set.rs:62\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml/src/btree_set.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"21de5fcf5175e2782726cde4fef51ebb1f281396ae82a3c09ce4072ee6808dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/pixi_utils/src/executable_utils.rs:13-30 | trampoline/src/executable_from_path.rs:17-34 \u2014 before extracting anything, compare \u0060crates/pixi_utils/src/executable_utils.rs\u0060 and \u0060trampoline/src/executable_from_path.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_utils/src/executable_utils.rs:13\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_utils/src/executable_utils.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4391a522679f3a8f8a53e1f5657ed057871cc58d5d4ffc3ad0903cf3717c3699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/pixi_build_backend/src/intermediate_backend.rs:784-800 | crates/pixi_build_backend/src/rattler_build_integration.rs:88-104 | crates/pixi_build_rattler_build/src/protocol.rs:440-456 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/intermediate_backend.rs\u0060 and \u0060crates/pixi_build_backend/src/rattler_build_integration.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/intermediate_backend.rs:784\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"84237d8ff13fd10a22b4a3c926ce1ba182d31ddee4220a984fe94ed54d245772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/pixi_build_backend/src/intermediate_backend.rs:362-378 | crates/pixi_build_rattler_build/src/protocol.rs:125-141 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/intermediate_backend.rs\u0060 and \u0060crates/pixi_build_rattler_build/src/protocol.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 240 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/intermediate_backend.rs:362\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0b72995928e8beb53dacf6fa3b2805d6befd3b3e0fddf924dcbb22c214173e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/pixi_build_backend/src/intermediate_backend.rs:927-943 | crates/pixi_build_rattler_build/src/protocol.rs:524-540 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/intermediate_backend.rs\u0060 and \u0060crates/pixi_build_rattler_build/src/protocol.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 240 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/intermediate_backend.rs:927\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_build_rattler_build/src/protocol.rs:523\u0060 calls \u0060unwrap_or\u0060 and \u0060crates/pixi_build_backend/src/intermediate_backend.rs:926\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f228bd872db6ac7f6d53ce8a8015b1aac5939b444243597d41eb8584d294951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/pixi_utils/src/executable_utils.rs:35-51 | trampoline/src/executable_from_path.rs:39-55 \u2014 before extracting anything, compare \u0060crates/pixi_utils/src/executable_utils.rs\u0060 and \u0060trampoline/src/executable_from_path.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_utils/src/executable_utils.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0e1f90cdcbf7c31e80c599b9e0db6779d31a266d505c1540b16c291ad65c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/pixi_build_backend/src/tools.rs:203-218 | crates/pixi_build_rattler_build/src/protocol.rs:83-98 | crates/pixi_build_rattler_build/src/protocol.rs:398-413 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/tools.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4567b43f4fa56167e6a2a551136f7279a6b8b91ba3aea273a5dc5b50f261b7cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): crates/pixi_build_backend/src/dependencies.rs:179-191 | crates/pixi_build_backend/src/dependencies.rs:276-291 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/dependencies.rs:179\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/dependencies.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dae4520ac795ff3afff1d2a3aafe26052cff8b047507418630a4d736121fca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/pixi_build_backend/src/intermediate_backend.rs:327-342 | crates/pixi_build_rattler_build/src/protocol.rs:89-104 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/intermediate_backend.rs\u0060 and \u0060crates/pixi_build_rattler_build/src/protocol.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 240 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/intermediate_backend.rs:327\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afd33abfb467e8dc65062f2d1aadae6323f0a730379c386fb29024439a9b6b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/pixi_build_backend/src/intermediate_backend.rs:496-511 | crates/pixi_build_rattler_build/src/protocol.rs:194-209 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/intermediate_backend.rs\u0060 and \u0060crates/pixi_build_rattler_build/src/protocol.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 240 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/intermediate_backend.rs:496\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fced5e4d525b536d4fa523f185e4dee4573dc23d7d20e502b1d48deef652a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/pixi_build_cmake/src/main.rs:69-84 | crates/pixi_build_mojo/src/main.rs:48-63 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_cmake/src/main.rs:69\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_cmake/src/main.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c568f7c78e05b72579d12efac01eaab30022a0b1a90dc04177f2b238e150dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/pixi_cli/src/add.rs:410-425 | crates/pixi_cli/src/install.rs:117-132 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_cli/src/add.rs:408\u0060 calls \u0060warn_deprecated_subdir\u0060 and \u0060crates/pixi_cli/src/install.rs:115\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/add.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedbf097988d6e6cbcc6ac761e31b88a3341226fda08f6f1df29df45dc583f33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/pixi_cli/src/global/expose.rs:90-105 | crates/pixi_cli/src/global/shortcut.rs:74-89 \u2014 before extracting anything, compare \u0060crates/pixi_cli/src/global/expose.rs\u0060 and \u0060crates/pixi_cli/src/global/shortcut.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_cli/src/global/expose.rs:90\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_cli/src/global/expose.rs:89\u0060 calls \u0060save\u0060 and \u0060crates/pixi_cli/src/global/shortcut.rs:73\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/global/expose.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"509a620d2cde8f2081c346231fad6f1d49ec9537d24bbbad55ab50c929542338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/pixi_cli/src/update.rs:382-397 | crates/pixi_cli/src/update.rs:413-428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_cli/src/update.rs:382\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/update.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"1414b4d55f4a519360f988f55b23cbbce2714b4e1fed9d1432e76265632ee264"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/pixi_command_dispatcher/src/cache/common.rs:200-215 | crates/pixi_command_dispatcher/src/cache/common.rs:268-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/common.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b293b73aed921247e68508f8a081f6f0990394e57e16c9fa0960085fd4e4c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/pixi_manifest/src/toml/environment.rs:183-198 | crates/pixi_manifest/src/toml/feature.rs:226-241 \u2014 before extracting anything, compare \u0060crates/pixi_manifest/src/toml/environment.rs\u0060 and \u0060crates/pixi_manifest/src/toml/feature.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_manifest/src/toml/environment.rs:182\u0060 calls \u0060optional\u0060 and \u0060crates/pixi_manifest/src/toml/feature.rs:225\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/environment.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33ba3001527dc642570ff68440ad613b1cde3356de6760d57f696563610c1cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/pixi_manifest/src/toml/pypi_options.rs:95-110 | crates/pixi_manifest/src/toml/pypi_options.rs:133-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/toml/pypi_options.rs:95\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/pypi_options.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bb6632c7797b99bfd714b39e150fe838bf132878da676752e9c8c6917f08d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): crates/pixi_build_cmake/src/main.rs:68-82 | crates/pixi_build_mojo/src/main.rs:47-61 | crates/pixi_build_rust/src/main.rs:55-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_cmake/src/main.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f19d085d77808e55fa5428a60a7e228b07a91b486e18d7aa64727aebacf4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/pixi_install_pypi/src/plan/cache.rs:141-155 | crates/pixi_install_pypi/src/plan/cache.rs:189-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/plan/cache.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"b926644bdd72dac2cecc156fe73088d065e98dd3e6321328d9d73cf7d7d0b107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/pixi_manifest/src/toml/exclude_newer.rs:138-152 | crates/pixi_manifest/src/toml/exclude_newer.rs:328-342 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/toml/exclude_newer.rs:138\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/exclude_newer.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"63daeaf82ce35136bf3b77e8b6023e1254ff2b65e063e8b545dd262be708b13d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): crates/pixi_build_backend/src/intermediate_backend.rs:368-381 | crates/pixi_build_backend/src/intermediate_backend.rs:790-803 | crates/pixi_build_backend/src/rattler_build_integration.rs:94-107 | crates/pixi_build_rattler_build/src/protocol.rs:131-144 | crates/pixi_build_rattler_build/src/protocol.rs:446-459 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/intermediate_backend.rs\u0060 and \u0060crates/pixi_build_backend/src/rattler_build_integration.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/intermediate_backend.rs:368\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b702440727101b46b7b323f5fb4e1f3ebdca76cc90a271e837f00a51f7f672ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/pixi_api/src/workspace/add/mod.rs:76-89 | crates/pixi_api/src/workspace/add/mod.rs:200-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/add/mod.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb62fb1a05d7632b1412364868a13a481c23d45e5b606e974556c5cd45fbfc2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/pixi_build_backend/src/intermediate_backend.rs:296-309 | crates/pixi_build_backend/src/intermediate_backend.rs:717-730 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/intermediate_backend.rs:296\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060params\u0060 to \u0060CondaOutputsParams\u0060 in one and \u0060CondaBuildV1Params\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"6317ae0df917674f6a936e56dd5c7bff5687dadb3cb4f327fdc9f017ce4e5f46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/pixi_build_rattler_build/src/protocol.rs:105-118 | crates/pixi_build_rattler_build/src/protocol.rs:420-433 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_rattler_build/src/protocol.rs:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_rattler_build/src/protocol.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"256ccc90a049dbd2b183cdcfd78f82c696496955310445a1fb4de96ae139cd07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/pixi_cli/src/upgrade.rs:190-203 | crates/pixi_cli/src/upgrade.rs:226-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_cli/src/upgrade.rs:190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/upgrade.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f11d4435b634d9e943f2cbdd7a40179a8bcb1549a72ac9f42df538d153bac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): crates/pixi_command_dispatcher/src/build/dependencies.rs:392-405 | crates/pixi_core/src/lock_file/satisfiability/source_record.rs:529-538 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_command_dispatcher/src/build/dependencies.rs:392\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/build/dependencies.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d18c33e7d719f7341c0f788809ed6ac758125fb0c9ad92f22d5655f1fe1c903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/pixi_core/src/lock_file/install_subset.rs:176-189 | crates/pixi_core/src/lock_file/install_subset.rs:214-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_core/src/lock_file/install_subset.rs:176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/install_subset.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b034ce17dc34c009e551e7342b32cbed8ca51be99f7bd9e2e63bed53966fe71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): crates/pixi_core/src/lock_file/resolve/pypi.rs:1033-1046 | crates/pixi_core/src/lock_file/resolve/pypi.rs:1063-1073 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_core/src/lock_file/resolve/pypi.rs:1033\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_core/src/lock_file/resolve/pypi.rs:1059\u0060 calls \u0060from_str\u0060, \u0060map_err\u0060, \u0060ExpectedPath\u0060 and \u0060crates/pixi_core/src/lock_file/resolve/pypi.rs:1027\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/pypi.rs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"a594c294f8dc8eda8bd8a1611415d31da02f903501e99a00a1e621d2e6494ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/pixi_manifest/src/toml/feature.rs:219-232 | crates/pixi_manifest/src/toml/target.rs:312-325 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/toml/feature.rs:219\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/feature.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2be3886c5fc3c3b7618b30bc65cf7f6e37aa3693b93bbaf384e35c462728efc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 2): crates/pixi_manifest/src/toml/platform.rs:335-348 | crates/pixi_manifest/src/toml/platform.rs:1103-1111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/toml/platform.rs:335\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/platform.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6a20fa60787db6ab9fe8060a41c4047c2b09d8d684b3fe9ed52fa7efdef3ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/pixi_toml/src/diagnostic.rs:90-103 | crates/pixi_toml/src/diagnostic.rs:106-119 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_toml/src/diagnostic.rs:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml/src/diagnostic.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cf9b917c402e818888f1b0637f221a2dbd513f072d0396d303c688c074fca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/pixi_toml_edit/src/array.rs:29-42 | crates/pixi_toml_edit/src/entry.rs:137-150 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml_edit/src/array.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44435710532e0972921e4e5f0623c32799adb2dc0b6336fd32714c6ef9f5523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/pixi_api/src/workspace/shell/mod.rs:113-125 | crates/pixi_api/src/workspace/shell/mod.rs:153-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/pixi_api/src/workspace/shell/mod.rs:127\u0060 calls \u0060arg\u0060 and \u0060crates/pixi_api/src/workspace/shell/mod.rs:167\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/shell/mod.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb29b5421817001c71dd3f22c8d960e3dc1512421f1058ebeffcc41c08af828"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/pixi_build_backend/src/intermediate_backend.rs:894-906 | crates/pixi_build_rattler_build/src/protocol.rs:491-503 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/intermediate_backend.rs\u0060 and \u0060crates/pixi_build_rattler_build/src/protocol.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 240 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/intermediate_backend.rs:894\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b8a6068959d266a32deb8fc60f6013eab2d227545dc92c04fd87f73af0f582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): crates/pixi_build_backend_passthrough/src/lib.rs:812-821 | crates/pixi_build_backend_passthrough/src/lib.rs:995-1007 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend_passthrough/src/lib.rs:812\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend_passthrough/src/lib.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"37887a71700d51b2830e384b59d9b8b41a5f4d802987b2340c1914c0bbdd304a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/pixi_build_mojo/src/config.rs:284-296 | crates/pixi_build_mojo/src/config.rs:399-411 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_mojo/src/config.rs:284\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/pixi_build_mojo/src/config.rs:297\u0060 calls \u0060clone\u0060 and \u0060crates/pixi_build_mojo/src/config.rs:412\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_mojo/src/config.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0208abe53ebe353feabe0f08cd6739e8c0a7a2f5b84fabc1d6cb3ac1b93de41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/pixi_cli/src/upgrade.rs:471-483 | crates/pixi_cli/src/upgrade.rs:546-558 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/upgrade.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c2ece9bf78ce29386efa3667784565b8a4652d6fc894fa282fe2c7edbfb508"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/pixi_core/src/lock_file/install_subset.rs:330-342 | crates/pixi_core/src/lock_file/install_subset.rs:407-418 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/install_subset.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bd82aefa7008aef0005fc8983c0ae337bd56c737cd70c9fb7436e671999493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/pixi_manifest/src/manifests/document.rs:602-614 | crates/pixi_manifest/src/manifests/document.rs:676-688 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/manifests/document.rs:602\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_manifest/src/manifests/document.rs:601\u0060 calls \u0060with_target\u0060, \u0060cloned\u0060 and \u0060crates/pixi_manifest/src/manifests/document.rs:675\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/document.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"405ea86f2a058ce468f4750ab837c75f2486eb56366533890fd9c3b32322bd71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/pixi_reporters/src/download_verify_reporter.rs:481-493 | crates/pixi_reporters/src/repodata_reporter.rs:766-778 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/download_verify_reporter.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed471b75af9e87414f538e3a7a8755a24a2da39207f54d666f6e5ec73792691e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/pixi_toml_edit/src/array.rs:149-161 | crates/pixi_toml_edit/src/entry.rs:194-206 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_toml_edit/src/array.rs:149\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml_edit/src/array.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5665f9f9573c60ed23c3da5ce49f3dd09bd552d8286754e30c02bfc4442e7b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/pixi_build_cmake/src/main.rs:124-135 | crates/pixi_build_r/src/main.rs:228-239 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_cmake/src/main.rs:124\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_cmake/src/main.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ed913f52b978b2f84139a603215601df8568b920cb91060f8e14c2aa549c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/pixi_command_dispatcher/src/keys/solve_conda.rs:374-385 | crates/pixi_command_dispatcher/src/keys/solve_pixi_environment.rs:608-619 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_command_dispatcher/src/keys/solve_conda.rs:374\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/solve_conda.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c47eb9c3d92bf2c19dc0317893f4f5a7ddbc21f36a4996bd051df7ec38f7ea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/pixi_core/src/lock_file/resolve/pypi.rs:1114-1125 | crates/pixi_core/src/lock_file/resolve/pypi.rs:1200-1211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_core/src/lock_file/resolve/pypi.rs:1114\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/pypi.rs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedfed7be7bb18226e107d1fcdad69b5c200dc46ca8df2bced9ec1708a2936e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): crates/pixi_manifest/src/manifests/workspace.rs:1652-1661 | crates/pixi_manifest/src/manifests/workspace.rs:1741-1752 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/manifests/workspace.rs:1652\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/workspace.rs"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f09c5ad99252d831f64032b1e7f1071767ef8cf87f5a7a8930cb86fd0e13e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/pixi_manifest/src/toml/environment.rs:165-175 | crates/pixi_manifest/src/toml/feature.rs:180-191 \u2014 before extracting anything, compare \u0060crates/pixi_manifest/src/toml/environment.rs\u0060 and \u0060crates/pixi_manifest/src/toml/feature.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/environment.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7477f65d6a47fdd91c6eb058c8b17ec9ce1e80dee8b30fc2504f7cc99a7255e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/pixi_build_cmake/src/config.rs:46-56 | crates/pixi_build_mojo/src/config.rs:98-108 | crates/pixi_build_r/src/config.rs:51-61 | crates/pixi_build_rust/src/config.rs:100-110 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_build_rust/src/config.rs:99\u0060 calls \u0060collect_system_env\u0060 and \u0060crates/pixi_build_cmake/src/config.rs:45\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_cmake/src/config.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f90d4fbdbdf5e98d9d2cbc04ffb704aa34a70513dbfe20440270fe149b61f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/pixi_manifest/src/toml/document.rs:81-91 | crates/pixi_manifest/src/toml/document.rs:110-120 | crates/pixi_manifest/src/toml/document.rs:160-170 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/document.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"50175fe167999987c77a8a1ea17c4630c643d8ef4e165eee5a2aa2e1b5b365d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/pixi_build_backend/src/dependencies.rs:117-127 | crates/pixi_build_backend/src/dependencies.rs:369-379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/dependencies.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c3fb27ca40c5ca08ec99a2aa43fed1da26a648bec9d5604eef3f6ed9969add"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/pixi_build_backend/src/intermediate_backend.rs:807-816 | crates/pixi_build_rattler_build/src/protocol.rs:462-472 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/intermediate_backend.rs\u0060 and \u0060crates/pixi_build_rattler_build/src/protocol.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 240 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/intermediate_backend.rs:807\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9f6f9fd2ea5710752211aa4cf9993beadd77323c673f338390e5f990fd9b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/pixi_build_backend_passthrough/src/lib.rs:822-831 | crates/pixi_build_backend_passthrough/src/lib.rs:981-991 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend_passthrough/src/lib.rs:822\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend_passthrough/src/lib.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"4428be6baf5f2818554572d4d50eb960f3076c4a1defd695b6bb225dc18632cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/pixi_build_frontend/src/backend/json_rpc.rs:300-310 | crates/pixi_build_frontend/src/backend/json_rpc.rs:352-362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_frontend/src/backend/json_rpc.rs:300\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_frontend/src/backend/json_rpc.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"64835a98562559610cbfab1c06e17936bc822f8f01cc2f29418253ca69e0b775"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/pixi_core/src/lock_file/outdated.rs:162-172 | crates/pixi_core/src/lock_file/outdated.rs:174-184 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/outdated.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c256cb86d776ca7e992de4872f40c5f1654f70a6bea0d1f89037db728fb80558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/pixi_core/src/lock_file/records_by_name.rs:158-168 | crates/pixi_core/src/lock_file/records_by_name.rs:181-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_core/src/lock_file/records_by_name.rs:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/records_by_name.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9aefd8c8e86d1233c3973f0a409b8daa43cdaed49ac9d594ee2805f97d57f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/pixi_core/src/workspace/mod.rs:555-565 | crates/pixi_core/src/workspace/mod.rs:698-708 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060script\u0060 to \u0060ScriptManifest\u0060 in one and \u0060CondaScriptManifest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_core/src/workspace/mod.rs:554\u0060 calls \u0060path\u0060, \u0060to_owned\u0060 and \u0060crates/pixi_core/src/workspace/mod.rs:697\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/mod.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9c6dfa06a162adaf10cd5964e10547448ae97953d99528a2659ddab0769395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/pixi_toml_edit/src/style.rs:56-66 | crates/pixi_toml_edit/src/style.rs:74-84 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_toml_edit/src/style.rs:56\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml_edit/src/style.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90174254180d4d4f5466f57495405bdfa61991f141646c9759aac137ad7bcb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/pixi_url/src/source.rs:159-168 | crates/pixi_url/src/source.rs:184-194 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_url/src/source.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4db917a2aae87358c86583b9638616ca3fff729ae95b74fa057b91e14ac695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/pixi_build_backend/src/server.rs:128-137 | crates/pixi_build_backend/src/server.rs:173-182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/server.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7760a99fe6b0f47397d69a9f1b1bf715807aa3d20f8972f25e0749fd8ad97d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/pixi_cli/src/publish/mod.rs:1703-1712 | crates/pixi_cli/src/publish/mod.rs:1787-1796 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/publish/mod.rs"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef08fc6897aa1d192678e91e79356e7e0d0f6cf5683f47060e7cc84b024d8f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/pixi_cli/src/update.rs:260-269 | crates/pixi_cli/src/upgrade.rs:598-607 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_cli/src/update.rs:260\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/update.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa4b6b8829eacd4f22bf07cef7f09f31b7a3dc4bbd0d97d7155e7080323b888"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/pixi_command_dispatcher/src/backend_source_build/ext.rs:59-68 | crates/pixi_command_dispatcher/src/build_backend_metadata/mod.rs:680-687 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/backend_source_build/ext.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6610e1f5b9199a7994e11e762efcf23acbc7464ea5e6a86905f3eb7e128a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/pixi_command_dispatcher/src/cache/artifact.rs:168-177 | crates/pixi_command_dispatcher/src/cache/workspace.rs:72-81 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/artifact.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ea9f08ce4a347e202e96c13dd52ce7524c6e626e9a9ef85076daa0774e1d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/pixi_config/src/lib.rs:1961-1970 | crates/pixi_config/src/lib.rs:2018-2027 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"6146c751e883f3fefabd6a8bea51b9c572e2a37ffec27415d9a8759a63847549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/pixi_core/src/lock_file/satisfiability/errors.rs:393-402 | crates/pixi_core/src/lock_file/satisfiability/platform.rs:1195-1205 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_core/src/lock_file/satisfiability/errors.rs:393\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/errors.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4e354d058704e83150565df3cd8b45fee41e87fca6ed395aaafbb6021ec3e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/pixi_core/src/lock_file/satisfiability/source_record.rs:387-396 | crates/pixi_core/src/lock_file/satisfiability/source_record.rs:398-406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_core/src/lock_file/satisfiability/source_record.rs:387\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/source_record.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb01b0f4d9992067565cbd66182b0bfd5fac40fb5c05f3a278b8462db78d0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/pixi_manifest/src/toml/package.rs:86-96 | crates/pixi_manifest/src/toml/package.rs:111-121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/package.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80d6fbd554da7aaa1e8e486ee5721d7e1850f93e44b0c39230b6975f1f0b541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/pixi_reporters/src/download_verify_reporter.rs:130-139 | crates/pixi_reporters/src/main_progress_bar.rs:144-153 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_reporters/src/download_verify_reporter.rs:130\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_reporters/src/main_progress_bar.rs:140\u0060 calls \u0060clear_progress\u0060 and \u0060crates/pixi_reporters/src/download_verify_reporter.rs:127\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/download_verify_reporter.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"83778352a3661d914c655f602bd652e17acb6e0c05c360ec79af456fa309d7c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/pixi_reporters/src/download_verify_reporter.rs:408-417 | crates/pixi_reporters/src/repodata_reporter.rs:714-723 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/download_verify_reporter.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc372ee84404708c6f282eec93d6d04ef6f91bf6e21ddb16a6adf395070f208e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/pixi_uv_conversions/src/git_url.rs:10-17 | crates/pixi_uv_conversions/src/git_url.rs:33-42 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_uv_conversions/src/git_url.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c273431ed24d9a168d362b54e335abb99455480e26a88976cb1add5dab1f81b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/pixi_manifest/src/feature.rs:303-311 | crates/pixi_manifest/src/feature.rs:367-375 | crates/pixi_manifest/src/feature.rs:469-477 | crates/pixi_manifest/src/feature.rs:537-545 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/feature.rs:303\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/feature.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacb93e3bd724d92ffc3e1574d2412834143aa2dbe3a96cb994d02a90fcdb916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/pixi_api/src/workspace/shell/mod.rs:186-194 | crates/pixi_api/src/workspace/shell/mod.rs:251-259 | crates/pixi_api/src/workspace/shell/mod.rs:316-324 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_api/src/workspace/shell/mod.rs:186\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/shell/mod.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2086465158e82db47b5e1636d66a9e3db95bf1dffc9eaa73bf29f58e835d8d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pixi_build_backend/src/rattler_build_integration.rs:128-136 | crates/pixi_build_rattler_build/src/protocol.rs:176-184 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/rattler_build_integration.rs\u0060 and \u0060crates/pixi_build_rattler_build/src/protocol.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_backend/src/rattler_build_integration.rs:128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/rattler_build_integration.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceef05ce78cd6f81954dfbebcb3aa88e28bc3a11d5887299b0bf2c217f798691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pixi_cli/src/global/install.rs:147-157 | crates/pixi_cli/src/global/uninstall.rs:32-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_cli/src/global/install.rs:147\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/global/install.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39e5af3d8573be8df7adf67c3f784879c1f786bc351ceeb673258f7ba2e2e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pixi_command_dispatcher/src/keys/resolve_source_record.rs:429-437 | crates/pixi_core/src/lock_file/satisfiability/source_record.rs:924-932 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/resolve_source_record.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d50f8ded3694c8638650c2ac69ae91f0fefb9c452d4be9f8fc0c449916678fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pixi_core/src/lock_file/outdated.rs:607-615 | crates/pixi_core/src/lock_file/outdated.rs:617-625 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/outdated.rs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"170f5f8e0c9c003a4f2c87b3c1f9462b2c7a528a9eb954aa7161c144ac357e34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pixi_core/src/workspace/discovery.rs:505-513 | crates/pixi_core/src/workspace/discovery.rs:546-554 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_core/src/workspace/discovery.rs:505\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/discovery.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ff03a1784d2331c0e112bafcb41d9e33aa9717a43344b636e097f41a2b52f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pixi_core/src/workspace/environment.rs:532-540 | crates/pixi_manifest/src/platform/host.rs:441-449 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/environment.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"647b2a5e5ad6f1c742d1b83f6a90d02d05ab61c42cd8d1f15c8a1329fcde6807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pixi_manifest/src/manifests/document.rs:792-800 | crates/pixi_manifest/src/manifests/document.rs:816-824 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/document.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f304ab0d900fd5241b25b8400d80254a987b2c2969ae36ac08991aadd62178"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pixi_manifest/src/toml/package.rs:551-559 | crates/pixi_manifest/src/toml/workspace.rs:156-164 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/package.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cfc53febda969c19bfcadd69b32f82cfc61b5f5465383d323f2a2c0e199b2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): crates/pixi_uv_conversions/src/conversions.rs:162-170 | crates/pixi_uv_conversions/src/conversions.rs:230-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_uv_conversions/src/conversions.rs:162\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_uv_conversions/src/conversions.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1106c787f1a79d47f3049ccb1920b513ab468677e7d02b8a0657a9a7f0bcc39e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): crates/pixi_api/src/workspace/shell/mod.rs:116-123 | crates/pixi_api/src/workspace/shell/mod.rs:156-163 | crates/pixi_api/src/workspace/shell/mod.rs:211-218 | crates/pixi_api/src/workspace/shell/mod.rs:271-277 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/shell/mod.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6242f079e1081a7160de7eedb94b8de050433f0856257c8101b0da577774d497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/pixi_build_backend/src/intermediate_backend.rs:485-492 | crates/pixi_build_backend/src/rattler_build_integration.rs:132-139 | crates/pixi_build_rattler_build/src/protocol.rs:180-187 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/intermediate_backend.rs\u0060 and \u0060crates/pixi_build_backend/src/rattler_build_integration.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a2cfdfe511a37b876919aff5f009dcddfc3238905c64d7b27cfd4eba0c476d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_api/src/workspace/shell/mod.rs:129-136 | crates/pixi_api/src/workspace/shell/mod.rs:167-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_api/src/workspace/shell/mod.rs:129\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_api/src/workspace/shell/mod.rs:126\u0060 calls \u0060arg\u0060 and \u0060crates/pixi_api/src/workspace/shell/mod.rs:165\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/shell/mod.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"660cb6404d87729dc0d60ae98fcb6a97c34f86feb6542f56a59f16cf602d713c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_build_backend/src/intermediate_backend.rs:673-680 | crates/pixi_build_rattler_build/src/protocol.rs:370-377 \u2014 before extracting anything, compare \u0060crates/pixi_build_backend/src/intermediate_backend.rs\u0060 and \u0060crates/pixi_build_rattler_build/src/protocol.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 240 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fa99b60087b62ab0f907a70ec5e8af084ef9de64a3269f85e449d570959228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_command_dispatcher/src/cache/artifact.rs:603-610 | crates/pixi_command_dispatcher/src/cache/artifact.rs:768-775 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_command_dispatcher/src/cache/artifact.rs:603\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/artifact.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f8a8f85cd1ea41ceb68a980f7200e514274c646a487888a7a6c0b911e211b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_core/src/lock_file/satisfiability/source_record.rs:298-305 | crates/pixi_core/src/lock_file/satisfiability/source_record.rs:313-320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_core/src/lock_file/satisfiability/source_record.rs:298\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/source_record.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"010186913d9d78f190965585f2c58eb823ecd4e6c6bc6483f155cab51bccb21d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_global/src/project/parsed_manifest.rs:208-215 | crates/pixi_global/src/project/parsed_manifest.rs:239-246 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_global/src/project/parsed_manifest.rs:208\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/parsed_manifest.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f02bf446ec11b101637823762a186ce746200d3bc40f45a7ff27eee15e7286e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_manifest/src/manifests/workspace.rs:838-845 | crates/pixi_manifest/src/manifests/workspace.rs:960-967 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/manifests/workspace.rs:838\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/workspace.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51885c83ef7d03031b3d5d4b99bc4731efd0233d535f4556f0d2dbbbaf16072"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_manifest/src/toml/exclude_newer.rs:128-135 | crates/pixi_manifest/src/toml/exclude_newer.rs:318-325 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/exclude_newer.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b50f5304408a7d4702fa46badf2961e9a7e7ab284168b8987247af46eaf08da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_record/src/lib.rs:71-78 | crates/pixi_record/src/lib.rs:374-381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_record/src/lib.rs:71\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_record/src/lib.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a2185c9685bb3d0e6811b119c90c8912db8a8fc9b3de0a1fc85447e24c612c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/pixi_stable_hash/src/json.rs:76-82 | crates/pixi_stable_hash/src/json.rs:84-91 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_stable_hash/src/json.rs:84\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_stable_hash/src/json.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37c973f5cc54a55532f0700896e3a0eb1314ff98b1f9f1dc66643465cba233c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_utils/src/reqwest.rs:344-351 | crates/pixi_utils/src/reqwest.rs:364-371 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_utils/src/reqwest.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ca3efb3b15e4044bbd0b717a446ef0c4da7d6b9ccb84da6e3b6555119ec50c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/pixi_core/src/workspace/mod.rs:617-624 | crates/pixi_core/src/workspace/mod.rs:658-664 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_core/src/workspace/mod.rs:617\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/mod.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdd5980f97c6da700dccc5d05cd13d53150533a014f3d19e8c00d48e736bda9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/pixi_manifest/src/manifests/document.rs:591-597 | crates/pixi_manifest/src/target.rs:534-540 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/document.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff7515cb72603924e487a9c7e6a3e614ce0ffa2d5e1ce94a0c0cdbc3149691c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/pixi_manifest/src/script/conda/manifest.rs:325-331 | crates/pixi_manifest/src/script/pep723.rs:418-424 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/script/conda/manifest.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f217039310e6292a0cda32c82b5f7852cf366d09867a839747cf576027fc2430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/pixi_manifest/src/script/pep723.rs:431-437 | crates/pixi_manifest/src/script/pep723.rs:460-466 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/script/pep723.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"5577b39096265f7205088c4eb590358ac3b4f7746fce4255448f756b51a13699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/pixi_manifest/src/toml/pypi_options.rs:86-92 | crates/pixi_manifest/src/toml/pypi_options.rs:124-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/toml/pypi_options.rs:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/pypi_options.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe2ea3f6cc9eca0ab8c41f39f7105b0eb90c476da3dd2873e876cffa35ccebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/pixi_manifest/src/utils/inheritable_package_map.rs:494-500 | crates/pixi_manifest/src/utils/package_map.rs:314-320 \u2014 before extracting anything, compare \u0060crates/pixi_manifest/src/utils/inheritable_package_map.rs\u0060 and \u0060crates/pixi_manifest/src/utils/package_map.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/utils/inheritable_package_map.rs:494\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/utils/inheritable_package_map.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4ccc67e684d556e12e623cf4405b03b7becda043776218155f4e5c2e0181d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/pixi_command_dispatcher/src/backend_source_build/ext.rs:59-64 | crates/pixi_command_dispatcher/src/build_backend_metadata/mod.rs:680-685 | crates/pixi_command_dispatcher/src/install_pixi/ext.rs:71-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_command_dispatcher/src/backend_source_build/ext.rs:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/backend_source_build/ext.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"29936908e01920a9e689e8ef9fd93db4ca38bd463b6433d789116d9223f8811b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/pixi_manifest/src/toml/environment.rs:176-181 | crates/pixi_manifest/src/toml/feature.rs:220-225 | crates/pixi_manifest/src/toml/target.rs:313-318 \u2014 before extracting anything, compare \u0060crates/pixi_manifest/src/toml/environment.rs\u0060 and \u0060crates/pixi_manifest/src/toml/feature.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/pixi_manifest/src/toml/environment.rs:183\u0060 calls \u0060optional\u0060 and \u0060crates/pixi_manifest/src/toml/feature.rs:227\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/environment.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7adf0f474b07e192dc42d52973ec5a3d27bcff1a666c0b6eadff40d94745d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): crates/pixi_cli/src/config.rs:638-642 | crates/pixi_cli/src/config.rs:771-776 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_cli/src/config.rs:638\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/config.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"b114cafe1a7a77d6b9f7da2ae3eb355de1204cd6081d18255927b29a81088dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/pixi_command_dispatcher/src/cache/artifact.rs:525-531 | crates/pixi_command_dispatcher/src/cache/workspace.rs:158-164 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/artifact.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"346a75209c05785bf645a398e3eed97d002a005656ac4b756c42a4133e189478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/pixi_command_dispatcher/src/cache/artifact.rs:535-540 | crates/pixi_command_dispatcher/src/cache/workspace.rs:168-173 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/artifact.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"794b505d35291b7237c440e7c9cdef7f3867a4a2a0d059d7bedf81c1ebfc647f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_manifest/src/toml/build_backend.rs:319-326 | crates/pixi_manifest/src/toml/build_target.rs:17-24 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/build_backend.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbb1c14879070cb3f6067f5ec45343c8993a0e816e95ec824c9402431eb9906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/pixi_manifest/src/utils/inheritable_package_map.rs:448-453 | crates/pixi_manifest/src/utils/package_map.rs:236-241 \u2014 before extracting anything, compare \u0060crates/pixi_manifest/src/utils/inheritable_package_map.rs\u0060 and \u0060crates/pixi_manifest/src/utils/package_map.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/utils/inheritable_package_map.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4381a90f21551defa5a82c1e373f15562d7f6ceea241be205ac0688807350d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/pixi_manifest/src/task.rs:927-934 | crates/pixi_manifest/src/task.rs:1004-1008 | crates/pixi_manifest/src/task.rs:1039-1043 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/task.rs:927\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/task.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a985a835b17eb9c0ff6f7309bf367f8c0074f735f71473d2552115adcdc61d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/pixi_build_types/src/variant.rs:76-87 | crates/pixi_variant/src/lib.rs:82-93 \u2014 before extracting anything, compare \u0060crates/pixi_build_types/src/variant.rs\u0060 and \u0060crates/pixi_variant/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_types/src/variant.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a81a8e479ec6409f8959316b683aab1179be428eb395b79afbe5e1de9518c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/pixi_compute_sources/src/git.rs:205-210 | crates/pixi_compute_sources/src/git.rs:236-241 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_compute_sources/src/git.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f68b86174a3e11236dc16f5d2a980b2598e1cb5e2fb547aa23a7d5c9a4155e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/pixi_install_pypi/src/utils.rs:22-26 | crates/pixi_install_pypi/src/utils.rs:35-39 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/utils.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e482f66f956bec6e7b8377ba636133b01d547fbe6ac505ece4bff0723b4f3a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/pixi_url/src/extract.rs:124-134 | crates/pixi_url/src/extract.rs:194-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_url/src/extract.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"035f46639e4e2066f4fcea3710006f656a098ca66153be5b85f447647f31cc4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/pixi_build_cmake/src/build_script.rs:21-31 | crates/pixi_build_python/src/build_script.rs:42-52 | crates/pixi_build_r/src/build_script.rs:23-33 | crates/pixi_build_rust/src/build_script.rs:20-30 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_cmake/src/build_script.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3511b4cc83b086a05098f92ffd875c08397a82797ecbaaa0b1a5548202bffd3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/pixi_build_types/src/variant.rs:91-97 | crates/pixi_variant/src/lib.rs:97-103 \u2014 before extracting anything, compare \u0060crates/pixi_build_types/src/variant.rs\u0060 and \u0060crates/pixi_variant/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_types/src/variant.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c40b795f6e69c1eed331a6b47a3e6e76e2c472f50b4253ea0d529baefac7c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/pixi_cli/src/global/expose.rs:64-70 | crates/pixi_cli/src/global/shortcut.rs:49-55 \u2014 before extracting anything, compare \u0060crates/pixi_cli/src/global/expose.rs\u0060 and \u0060crates/pixi_cli/src/global/shortcut.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/global/expose.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a7f47a957d2904aebe37c786d75ca75290187ecec156acbaa5143fea93113f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/pixi_command_dispatcher/src/errors.rs:513-522 | crates/pixi_core/src/lock_file/satisfiability/legacy/key.rs:102-111 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/errors.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60eb486b80bd367b5e6f8329f466a462c28315482badf24c8786f1b22d82838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_core/src/workspace/mod.rs:1441-1448 | crates/pixi_global/src/project/mod.rs:2194-2201 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/mod.rs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"342fe9b3de0fb4bd144da661aaf36769feb8fe36477035018152ac0288cbc836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/pixi_global/src/project/manifest.rs:813-817 | crates/pixi_manifest/src/manifests/document.rs:1392-1396 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/manifest.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"053919169fb266e9d14e05280c26ee1a9a5d282e893aacd897ae80cc5232df84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_utils/src/executable_utils.rs:57-64 | trampoline/src/executable_from_path.rs:61-68 \u2014 before extracting anything, compare \u0060crates/pixi_utils/src/executable_utils.rs\u0060 and \u0060trampoline/src/executable_from_path.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_utils/src/executable_utils.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1926ea36dee69057d60b15d7ec6b5babfee55ca4bdff3cca4f7aa09ccdd0446a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/pixi_manifest/src/target.rs:197-210 | crates/pixi_manifest/src/toml/package_target.rs:43-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/target.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f397911625f95e4dbbded7cea2936c3e6532fe58455b56ea67fdb6ed799d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/pixi_command_dispatcher/src/keys/resolve_source_record.rs:167-180 | crates/pixi_command_dispatcher/src/keys/resolve_source_record.rs:207-220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_command_dispatcher/src/keys/resolve_source_record.rs:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_command_dispatcher/src/keys/resolve_source_record.rs:166\u0060 calls \u0060global_data\u0060, \u0060gateway\u0060, \u0060clone\u0060 and \u0060crates/pixi_command_dispatcher/src/keys/resolve_source_record.rs:205\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/resolve_source_record.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1484af3b612feb419371b08ceda0530a78f46e96030a9920f367c6a6afc4374f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/pixi_cli/src/tree.rs:74-86 | crates/pixi_cli/src/workspace/export/conda_environment.rs:427-436 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_cli/src/tree.rs:74\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/tree.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"35308c0d5378ab9340041826cfd93d09ddd2c76d480b912ce20d16707dd28c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/pixi_config/src/lib.rs:1976-1988 | crates/pixi_config/src/lib.rs:2045-2057 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_config/src/lib.rs:1976\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/pixi_config/src/lib.rs:2059\u0060 calls \u0060from\u0060 and \u0060crates/pixi_config/src/lib.rs:1990\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95a50331046ef22cdace85eb4d1ed2c4b1ec4e3f9bdc4525289fc3ca1e82ed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/pixi_api/src/workspace/task/mod.rs:174-185 | crates/pixi_api/src/workspace/task/mod.rs:196-207 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_api/src/workspace/task/mod.rs:174\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/task/mod.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed17c682559ab113f24f3ec3f7d5834b02a45d23dd0014fffb48bdff107e3d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/pixi_core/src/lock_file/update.rs:2956-2966 | crates/pixi_core/src/lock_file/update.rs:2993-3003 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_core/src/lock_file/update.rs:2956\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":2956}}}],"partialFingerprints":{"codehealthFindingId/v1":"9871874b141cdc0df3d7b1bde67475959fea6940e395a437fa3d7589054d47ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/pixi_config/src/lib.rs:1991-2000 | crates/pixi_config/src/lib.rs:2061-2070 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_config/src/lib.rs:1991\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_config/src/lib.rs:2059\u0060 calls \u0060from\u0060 and \u0060crates/pixi_config/src/lib.rs:1988\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c24b5186a9a4f0aa31339c881abbc68c1c20287e50b4e32cfe7b14dfea88dc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pixi_manifest/src/warning/deprecation.rs:82-90 | crates/pixi_manifest/src/warning/deprecation.rs:103-111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_manifest/src/warning/deprecation.rs:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/warning/deprecation.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68218df04095f58f3f180c7a513d47e8407aac47a8c72b9c4580e85983f328a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pixi_config/src/lib.rs:2691-2699 | crates/pixi_config/src/lib.rs:2882-2890 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_config/src/lib.rs:2691\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":2691}}}],"partialFingerprints":{"codehealthFindingId/v1":"292979378e2fb61e90251ad7cc1e4e8b9b66c01774adf17b550cabeb62428cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pixi_command_dispatcher/src/solve_binary.rs:66-74 | crates/pixi_compute_sources/src/git.rs:139-147 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/solve_binary.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72da908c2b490c2fbbfd54c5c183674c6bd43e92410155f35a7169cb89223e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_build_python/src/metadata.rs:290-297 | crates/pixi_build_python/src/metadata.rs:308-315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_build_python/src/metadata.rs:290\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/pixi_build_python/src/metadata.rs:317\u0060 calls \u0060or_else\u0060, \u0060get\u0060 and \u0060crates/pixi_build_python/src/metadata.rs:299\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_python/src/metadata.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4367741e13fa719536d9c662d0ab7ca5fb2bbca06451a265c150fe7e00cea827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_config/src/lib.rs:2602-2609 | crates/pixi_config/src/lib.rs:2630-2637 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_config/src/lib.rs:2602\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":2602}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b5cc0e86e24f1f41504001622895fd45db533e3129faef8f5c1062ee27b486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/pixi_task/src/executable_task.rs:367-372 | crates/pixi_task/src/executable_task.rs:380-385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_task/src/executable_task.rs:367\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/executable_task.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"255bed4cd3783cd80517845fd715467e075db0f6024dbaacbde1be58674272f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/pixi_manifest/src/script/conda/manifest.rs:60-64 | crates/pixi_manifest/src/script/pep723.rs:144-148 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/pixi_manifest/src/script/pep723.rs:141\u0060 calls \u0060validate_script_extension\u0060, \u0060script_name\u0060 and \u0060crates/pixi_manifest/src/script/conda/manifest.rs:59\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/script/conda/manifest.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0749f663fb7cb44a14b32a60db1290cf952ad73a6b7b846b3ce82b0842f44f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/pixi_toml/src/index_set.rs:32-36 | crates/pixi_toml/src/index_set.rs:62-66 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_toml/src/index_set.rs:32\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml/src/index_set.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"71db945a36922fdab5b82259f113e256098d55cc0b447deda751d676a3448161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/pixi_toml_edit/src/entry.rs:299-303 | crates/pixi_toml_edit/src/entry.rs:356-360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_toml_edit/src/entry.rs:299\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_toml_edit/src/entry.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4d9728ac672413624a6013336a07be5ae20027a06f4f1c435b7c64b8a6bee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): docs/source_files/pixi_workspaces/pixi_build/workspace/src/python_rich/__init__.py:16-33 | docs/source_files/pixi_workspaces/pixi_build/workspace_variants/src/python_rich/__init__.py:16-33 \u2014 before extracting anything, compare \u0060docs/source_files/pixi_workspaces/pixi_build/workspace/src/python_rich/__init__.py\u0060 and \u0060docs/source_files/pixi_workspaces/pixi_build/workspace_variants/src/python_rich/__init__.py\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/source_files/pixi_workspaces/pixi_build/workspace/src/python_rich/__init__.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2283261716fc8e98c1fdb8a855bfb962eb5d8f84dec4af1ce2244e1ab4130df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): docs/source_files/pixi_workspaces/pixi_build/getting_started/src/python_rich/__init__.py:15-31 | docs/source_files/pixi_workspaces/pixi_build/python/src/python_rich/__init__.py:15-31 \u2014 before extracting anything, compare \u0060docs/source_files/pixi_workspaces/pixi_build/getting_started/src/python_rich/__init__.py\u0060 and \u0060docs/source_files/pixi_workspaces/pixi_build/python/src/python_rich/__init__.py\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/source_files/pixi_workspaces/pixi_build/getting_started/src/python_rich/__init__.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bcde6c8490611b70d746d486e6a4aed99e691142b18d4e99f6fbbea9513735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trampoline/build-trampoline.py:7-11 | trampoline/compress-trampoline.py:7-11 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trampoline/build-trampoline.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e376120d2ee5c8b7cfc7030365dd7cd93ce6b3b51e211f3c1fb2b1f3864fa3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): examples/turtlesim/turtle_marker_viz_ROS1.py:9-45 | examples/turtlesim/turtle_marker_viz_ROS2.py:21-57 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/turtlesim/turtle_marker_viz_ROS1.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e30ca4b3887de0354308a0fd62faa5d32739d4e5b36057bda3eca1eaae8dbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/pixi_spec/src/toml.rs:574-595 | crates/pixi_spec/src/toml.rs:1481-1504 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/toml.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"708a8d3f513d8e94817d1e282f36ec1ce0915839ef7ca9103c8f9e23f202f02a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/pixi_spec/src/lib.rs:334-350 | crates/pixi_spec/src/lib.rs:390-406 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/lib.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ebc4c58762d867453bd78505609698d99e9a4d7f853a1f5daff5d9dcc67db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/pixi_spec/src/url.rs:108-117 | crates/pixi_spec/src/url.rs:211-220 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/url.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e4896aea7e697d8ccb76163f8df56dc6950f5b1e2f4bc5205df609921f8fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/pixi_spec/src/lib.rs:258-267 | crates/pixi_spec/src/lib.rs:366-375 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/lib.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bf89458784b735e970e71e4bed7b71c6af16ca9252ba0becd1b99a7c50e01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): scripts/release.py:47-51 | scripts/release_backends.py:155-159 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f4ca0c46bc9386c49cae8602e0528842a147da69fda25b81f85ba96b560167"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/pixi_spec/src/pin.rs:414-421 | crates/pixi_spec/src/pin.rs:438-445 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/pin.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac3c03d214ef258b96641d7de2110c6894c44dc7acc1706d604da840c533c76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/pixi_pypi_spec/src/toml.rs:31-52 | crates/pixi_spec/src/toml.rs:290-311 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_pypi_spec/src/toml.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"da468f15d9690e8959bb1688c59046ad6b9746c100c7b7f2d7dcdb26d9094d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/pixi_spec/src/toml.rs:1276-1288 | crates/pixi_spec/src/toml.rs:1444-1456 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/toml.rs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b3b01f2da0773ea3930a8ef1e5e183f5bd0796e1ce45e0f28b06adfa25f8d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pixi_spec/src/pin.rs:174-182 | crates/pixi_spec/src/pin.rs:203-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_spec/src/pin.rs:174\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/pin.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a05bc05e9dff9244afce7c5c88d5758a2db67d7175813b017eb1344fd3af9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_spec/src/toml.rs:1305-1312 | crates/pixi_spec/src/toml.rs:1456-1463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/pixi_spec/src/toml.rs:1316\u0060 calls \u0060Some\u0060 and \u0060crates/pixi_spec/src/toml.rs:1467\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/toml.rs"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32338e05d8475b3f77893d227d8d5e6e2557e14a14d984897bb3456405675c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pixi_spec/src/url.rs:110-117 | crates/pixi_spec/src/url.rs:213-220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_spec/src/url.rs:110\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/url.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"364c5acc730deb1200037aed56621c195ae241862c69b75210ff521745d74f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/pixi_spec/src/url.rs:109-115 | crates/pixi_spec/src/url.rs:167-173 | crates/pixi_spec/src/url.rs:212-218 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/pixi_spec/src/url.rs:174\u0060 calls \u0060is_empty\u0060 and \u0060crates/pixi_spec/src/url.rs:116\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/url.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2da27974fe40656f1b3c3bde58e85cea9eb1343a49d2be949cd550656ed2e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/pixi_spec/src/toml.rs:1380-1389 | crates/pixi_spec/src/toml.rs:1395-1404 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/toml.rs"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8715961393404750202b1a62229fc9fd444fb3ee572c449a7b9fbf8a20d0847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/pixi_pypi_spec/src/toml.rs:147-152 | crates/pixi_spec/src/toml.rs:1203-1208 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/pixi_pypi_spec/src/toml.rs:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_pypi_spec/src/toml.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1202e0819c3fdb94b3ba26441fd3040b7c267628d87312addb4801197e3ede51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): examples/turtlesim/turtle_marker_viz_ROS1.py:14-39 | examples/turtlesim/turtle_marker_viz_ROS2.py:26-51 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/turtlesim/turtle_marker_viz_ROS1.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e1c1f3e3e5f8f08740b4030bc149467a0ee07267ee300e38fc3bcaca20abc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): examples/rerun_example/lidar/lidar/__main__.py:28-49 | examples/rerun_example/nuscenes_dataset/nuscenes_dataset/__main__.py:39-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/rerun_example/lidar/lidar/__main__.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c32e3fd7500013e4c7f3ab65f447af9a96d8305ebe95129f850d894e3ac279"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): examples/rerun_example/lidar/lidar/__main__.py:78-93 | examples/rerun_example/nuscenes_dataset/nuscenes_dataset/__main__.py:300-317 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/rerun_example/lidar/lidar/__main__.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"061b5c53e7da7e65647f3c46c61d5c3be9d8137ada885dfbfe505f819853d982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scripts/local_patch.py:302-318 | scripts/local_patch.py:353-367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/local_patch.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"263b67f067b155968c693f61df1393f7f7bd09789a3002203e177621ac67568b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/rerun_example/lidar/lidar/download_dataset.py:28-40 | examples/rerun_example/nuscenes_dataset/nuscenes_dataset/download_dataset.py:28-40 \u2014 before extracting anything, compare \u0060examples/rerun_example/lidar/lidar/download_dataset.py\u0060 and \u0060examples/rerun_example/nuscenes_dataset/nuscenes_dataset/download_dataset.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/rerun_example/lidar/lidar/download_dataset.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eaae8a49aae4207d30e4e35065529e4befdeca0e66cc93bf976ffa9aca8191"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples/rerun_example/lidar/lidar/download_dataset.py:44-54 | examples/rerun_example/nuscenes_dataset/nuscenes_dataset/download_dataset.py:44-54 \u2014 before extracting anything, compare \u0060examples/rerun_example/lidar/lidar/download_dataset.py\u0060 and \u0060examples/rerun_example/nuscenes_dataset/nuscenes_dataset/download_dataset.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/rerun_example/lidar/lidar/download_dataset.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb23aacde9e3ac2240599e294ab662e21d4eae26efdb2c16f588e32db2cc94f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scripts/local_patch.py:387-397 | scripts/local_patch.py:445-455 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/local_patch.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e02f89ff96685a0a186114835ce6dced719cea445dfc07dc1e4f6045a41a9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/rerun_example/nuscenes_dataset/nuscenes_dataset/__main__.py:188-197 | examples/rerun_example/nuscenes_dataset/nuscenes_dataset/__main__.py:205-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/rerun_example/nuscenes_dataset/nuscenes_dataset/__main__.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52d6beb85b8452ab5894f03897a2a7a8d0222bcea29e721979489a581bd0c04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/rerun_example/lidar/lidar/download_dataset.py:58-66 | examples/rerun_example/nuscenes_dataset/nuscenes_dataset/download_dataset.py:58-66 \u2014 before extracting anything, compare \u0060examples/rerun_example/lidar/lidar/download_dataset.py\u0060 and \u0060examples/rerun_example/nuscenes_dataset/nuscenes_dataset/download_dataset.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/rerun_example/lidar/lidar/download_dataset.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b07bcc0f219f2b03e797e17c53acfeabfb0947ff2692015d895d6f4da3a040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/create_release.py:48-52 | scripts/release.py:165-169 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/create_release.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8934a70a5555c8bf22d7b2fe348e6ffc63a2889aa7fbddb6214b5011cab8cf66"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project pixi_api: pixi_api has instability 0.94 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c3f4ee42adee9c16e3949691f25418d77200ef8eb60444a05cb0e0319631d77d"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project pixi_command_dispatcher: pixi_command_dispatcher has instability 0.83 with 4 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1187db6a882a475a1f67a94eaa448cc3b2ffdd292c36fdb3fa420c2500753720"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project pixi_compute_sources: pixi_compute_sources has instability 0.91 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ee7ac22faab59d8250db5d80ab5b6f277f0d3afb4ec289a4ea605134852a2ad2"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project pixi_core: pixi_core has instability 0.86 with 4 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"600a9b5ecc364c473ac1d63ba4a74b13dadc55e0dc393c206281f1526f118e1e"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project pixi_global: pixi_global has instability 0.88 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b50c463183d24e588e5901e23ce6d7bfff8fe16a4a0a27905b828f2b8c722315"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project pixi_install_pypi: pixi_install_pypi has instability 0.87 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f2c188ef13a28acbceec20206c5981345a5b772130a06ffb392315ac4ff2f92"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: barrier_cell: barrier_cell: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8f83522b326ff4548b38bcde88d449daa995e02862177b6c94dfca35a6b72927"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_consts: pixi_consts: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 15 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"244f4306efea0b55b0b35f3d719486bdb5823b2f3e9700c507da7e37729e7a02"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_progress: pixi_progress: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2b5ae346bab7b90dec3b2c47cd235064311e2b89318e831b45161495d83cbe52"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_pty: pixi_pty: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"574cd1320edd4751e637914e513a60c2d313475c2a382f2c233a8cbb5b56a2f6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_script_shell: pixi_script_shell: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fae49b23c8f40e30a575e8a69449f53e178f0fe9a18a44216e7203b71c93f35e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_toml_edit: pixi_toml_edit: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"87fe1e326b9c98b0cb5bf19e8a215b7b6d0704d2d649bcde3f1f69f0420d69df"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_build_types: pixi_build_types: abstractness 0.00, instability 0.05, distance 0.95 \u2014 zone of pain \u2014 concrete and depended on by 19 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"19f884cae2aa7a939b1ccacd5f6594d74a15c8e4d8b416a168d81fc4f64bcba0"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pypi_mapping: pypi_mapping: abstractness 0.05, instability 0.00, distance 0.95 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"50a071a6e45c53ee2e5fb488786c079ec4d945c0cd648eea0cf5859b50ed0175"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_config: pixi_config: abstractness 0.00, instability 0.10, distance 0.90 \u2014 zone of pain \u2014 concrete and depended on by 9 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e6786774d63457411c9deacddd3dedb007ae29eb068a2321ba2fc72c4274d1e3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_path: pixi_path: abstractness 0.14, instability 0.00, distance 0.86 \u2014 zone of pain \u2014 concrete and depended on by 10 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"21c6251b6cb2de6262b24c0f67c67cf6d12c39402dd6b0b5c6f19f8b4c896186"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_compute_engine: pixi_compute_engine: abstractness 0.15, instability 0.00, distance 0.85 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7cf86cc22d7be1b605c4dedaee21da36b0cd1ad0abbdddc220025a673458c25a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_git: pixi_git: abstractness 0.05, instability 0.10, distance 0.85 \u2014 zone of pain \u2014 concrete and depended on by 9 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c31284790a3d275aa73f489da5232599698990c9250337e12de7dea8fdaa0a39"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_toml: pixi_toml: abstractness 0.15, instability 0.00, distance 0.85 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2b46b1541c202f38eab984785439917e7c851067ac212b436283d73249cf03e4"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_glob: pixi_glob: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4d9393bc2c3e5c6f481d2e5d3fac7434adbe3d4722d205280700040c0d7574ca"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_variant: pixi_variant: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d51507283d1279be625169443768dd552ca5fb2ee60ea88aba6285f8fa26857c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_spec: pixi_spec: abstractness 0.00, instability 0.28, distance 0.72 \u2014 zone of pain \u2014 concrete and depended on by 13 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ca1f4b9760e6d4cf57398141198acdfbb3fdda8bc27f042f22829f7ed9c13c72"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_utils: pixi_utils: abstractness 0.00, instability 0.29, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 10 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8bdeeccc4b00f9eded579c68fd374c03b75d6d7ab6753231a15020356c334160"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pixi_compute_reporters: pixi_compute_reporters: abstractness 0.13, instability 0.17, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b8023291ab3fb3012311ad36dde1d5c1fe57bb3b3d6c25c8be3b2a2d478ded8f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PtyProcess (LCOM4 4): PtyProcess\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_pty/src/unix/pty_process.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca78ed5699502b1cfcc05bfc9a03587bbfc0dbab97ab83d1c6ac9b73b3d676a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_config/src/lib.rs: crates/pixi_config/src/lib.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 97 in Config::set at line 2516. 3 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_config/src/lib.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"27635725b1343a5ec5425284950f4ac62d7689c0fca2d24fc4c57b83343270e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_core/src/lock_file/update.rs: crates/pixi_core/src/lock_file/update.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in pixi_core::lock_file::update::spawn_extract_environment_task at line 3483. 5 of those changes were fix/bug commits, and the other 17 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_core/src/lock_file/update.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"3093284887c001ad6fd93e136f8becd2d2990ea27ae4e8d9772752299616025d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_cli/src/publish/mod.rs: crates/pixi_cli/src/publish/mod.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in pixi_cli::publish::execute at line 562. 4 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_cli/src/publish/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/publish/mod.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"b223ae680c741c374a4d33059b979f8aa8b8185fda40a6ad31a259dfa741a894"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_core/src/lock_file/satisfiability/platform.rs: crates/pixi_core/src/lock_file/satisfiability/platform.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in pixi_core::lock_file::satisfiability::platform::verify_package_platform_satisfiability at line 630. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_core/src/lock_file/satisfiability/platform.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/platform.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4eff2d9aa6d8869146d5d9f04ece24728195f808f189c2e1ee21d71b1b9597"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_global/src/project/mod.rs: crates/pixi_global/src/project/mod.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Project::environment_in_sync_internal at line 1621. 2 of those changes were fix/bug commits, and the other 23 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_global/src/project/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/mod.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"936c8f0e47804f704ae430ab8dcac3aaab5937181a96ca83fc5ec7aa7a153f64"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_core/src/lock_file/satisfiability/pypi.rs: crates/pixi_core/src/lock_file/satisfiability/pypi.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in pixi_core::lock_file::satisfiability::pypi::pypi_satisfies_requirement at line 136. 2 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_core/src/lock_file/satisfiability/pypi.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/pypi.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c2f93e4641d787ae504802ed24fb6b8f276c23c66b7dafba5849ef359ad4fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_cli/src/config.rs: crates/pixi_cli/src/config.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in pixi_cli::config::alter_config at line 439. 2 of those changes were fix/bug commits, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_cli/src/config.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/config.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"1619f48db193806373e61aa0eab1d0256d5b286158fef238791a9b22fb028564"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_cli/src/run.rs: crates/pixi_cli/src/run.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in pixi_cli::run::execute at line 153. 3 of those changes were fix/bug commits, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_cli/src/run.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/run.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"27434c83c44bad11e27cc1781be78234379d90bed2a8a1e7f89468f4dd2f7732"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_manifest/src/toml/manifest.rs: crates/pixi_manifest/src/toml/manifest.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in TomlManifest::into_workspace_manifest at line 155. 4 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_manifest/src/toml/manifest.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/toml/manifest.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07a04cd9ed589d0c8f61f7a29139d6ca3cee419ccec6b04acccb5a6f6a2c281"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_core/src/workspace/workspace_mut.rs: crates/pixi_core/src/workspace/workspace_mut.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in WorkspaceMut::update_dependencies at line 433. 3 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_core/src/workspace/workspace_mut.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/workspace_mut.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9f3fa9b65a10d7cf52272658be6810d3dc739cf7192119230e6745259366ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_core/src/workspace/discovery.rs: crates/pixi_core/src/workspace/discovery.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in WorkspaceLocator::locate at line 362. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_core/src/workspace/discovery.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/discovery.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad85686321ff2f2f641420a6c02ca1e8baade04ce4d96a95ff7fd6e06776898"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_core/src/lock_file/resolve/pypi.rs: crates/pixi_core/src/lock_file/resolve/pypi.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in pixi_core::lock_file::resolve::pypi::resolve_pypi at line 334. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_core/src/lock_file/resolve/pypi.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/pypi.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba450e3413aa3f7d03b60e5dbbad2ddea95b460e7efe2d4c46bbf71bbe152ef9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_cli/src/upgrade.rs: crates/pixi_cli/src/upgrade.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in pixi_cli::upgrade::execute at line 76. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_cli/src/upgrade.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/upgrade.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b539eb899de310c6e12459fb18900fc98a69368070b2c8e422e435024d0f64b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_cli/src/search.rs: crates/pixi_cli/src/search.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in pixi_cli::search::execute_impl at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_cli/src/search.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/search.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc34d1a104f69156131965e873ac584bc587ab9047f69bec5393d957a73ed660"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_cli/src/add.rs: crates/pixi_cli/src/add.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in pixi_cli::add::execute at line 406. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_cli/src/add.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/add.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"455de20bfdea90c8ff66568cf4f5af20c1aa297da397670df968653f9fe5764d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_cli/src/lock.rs: crates/pixi_cli/src/lock.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in pixi_cli::lock::execute at line 46. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_cli/src/lock.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/lock.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"542eb93fcee0938d6033ef04572a8e0959dfa9ca62df2d1215e87d13c500faa6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_core/src/lock_file/satisfiability/environment.rs: crates/pixi_core/src/lock_file/satisfiability/environment.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in pixi_core::lock_file::satisfiability::environment::verify_environment_satisfiability at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_core/src/lock_file/satisfiability/environment.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/environment.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f357ef6a7c530a3f2f30a41af77e0c1dbaf92b0a2d15b8702ad16f0109ca748"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_cli/src/install.rs: crates/pixi_cli/src/install.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in pixi_cli::install::execute at line 114. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_cli/src/install.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/install.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2848026324fbb0e4dd364b2358168eb24a9fc82a3d8a80535d01c0161abbcb9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_task/src/task_graph.rs: crates/pixi_task/src/task_graph.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in TaskGraph::from_cmd_args at line 226. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_task/src/task_graph.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/task_graph.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"526871a87684eadc6327debe08b536444f13fae722834234fa96ea694efcbe53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_install_pypi/src/plan/validation.rs: crates/pixi_install_pypi/src/plan/validation.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in pixi_install_pypi::plan::validation::need_reinstall at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_install_pypi/src/plan/validation.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/plan/validation.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"17673d246d6ff8b097ab0f9435cc800be6f4c548e1d3783526c9cdbd631984a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_build_python/src/main.rs: crates/pixi_build_python/src/main.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in PythonGenerator::generate_recipe at line 214. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_build_python/src/main.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_python/src/main.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e042585cfa7a53db67f67f18135687dafdc04aac2eb40eb3eaed03381c7bc5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_command_dispatcher/src/cache/artifact.rs: crates/pixi_command_dispatcher/src/cache/artifact.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ArtifactCache::lookup at line 583. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_command_dispatcher/src/cache/artifact.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/artifact.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d7e72b12f34398e429140e4c043c10e267821733c2d2df0b499afba07ffc27"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_manifest/src/platform/host.rs: crates/pixi_manifest/src/platform/host.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in pixi_manifest::platform::host::apply_conda_overrides at line 141. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_manifest/src/platform/host.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/platform/host.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e94cd0dd216454e16049811c873a701a1d9a096181cb8515766159a920bc52e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_global/src/common.rs: crates/pixi_global/src/common.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in pixi_global::common::build_report at line 529. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_global/src/common.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/common.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcc9234755410940433fce60228a65a0f0943c81c3f9c1f25ea6c4d1c6099a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_core/src/workspace/errors.rs: crates/pixi_core/src/workspace/errors.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in pixi_core::workspace::errors::conda_override_hint at line 293. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_core/src/workspace/errors.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/errors.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"4826d504597bf4d173ae006b83dc197df8a280510d86b73ea6d98747510ccdb1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_api/src/workspace/list/package.rs: crates/pixi_api/src/workspace/list/package.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in Package::new at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_api/src/workspace/list/package.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/list/package.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05e52684608cb7d601ff17cfb53a495eaee7375419478e9117664a7e8cd55c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_cli/src/workspace/exclude_newer.rs: crates/pixi_cli/src/workspace/exclude_newer.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in pixi_cli::workspace::exclude_newer::execute at line 386. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_cli/src/workspace/exclude_newer.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/workspace/exclude_newer.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e24ccc000d161186ea4c4494ea143b069c7f9bbe19e0dbef0522b2b2c8d015"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_install_pypi/src/plan/cache.rs: crates/pixi_install_pypi/src/plan/cache.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in CachedWheels::is_cached at line 100. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_install_pypi/src/plan/cache.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_install_pypi/src/plan/cache.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b380328c7b914409ff8a6c86c03745660a9991a3c575ffe72a2cf00d4e84824"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_command_dispatcher/src/install_pixi/ext.rs: crates/pixi_command_dispatcher/src/install_pixi/ext.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in pixi_command_dispatcher::install_pixi::ext::install_inner at line 98. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_command_dispatcher/src/install_pixi/ext.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/install_pixi/ext.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a896d83f2fa918bdf380ccc60421fdacf33fc6d8985c55378432f403d9e19c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_command_dispatcher/src/command_dispatcher/builder.rs: crates/pixi_command_dispatcher/src/command_dispatcher/builder.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CommandDispatcherBuilder::finish at line 358. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_command_dispatcher/src/command_dispatcher/builder.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/command_dispatcher/builder.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d091206612505de547ec385af71d3f823226809e4f3589df0801fa09cb194e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_task/src/task_environment.rs: crates/pixi_task/src/task_environment.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SearchEnvironments::find_task at line 206. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_task/src/task_environment.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/task_environment.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5a50fb9eea63cd3a96a2514d9f4fc6cbdb587710f05fcc7deddf0292dcf323"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pixi_core/src/lock_file/outdated.rs: crates/pixi_core/src/lock_file/outdated.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in pixi_core::lock_file::outdated::find_unsatisfiable_targets at line 240. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_core/src/lock_file/outdated.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/outdated.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"9094852596e5fbca57b3aaf2c7224678a413408a59b1f7a0ffe1d9ca900730b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/pixi_command_dispatcher/src/keys/source_build.rs: crates/pixi_command_dispatcher/src/keys/source_build.rs changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is pixi_command_dispatcher::keys::source_build::compute_inner at line 239), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(build): build outputs with the variants of the siblings they pin (#7466)\u201D; \u201Cfix(build): reuse immutable Git build artifacts without checkout (#6887)\u201D; \u201Cfix: invalidate source build caches on model and config changes (#7148)\u201D; \u201Cfix(dispatcher): add PrefixPlatformMismatchError for source build prefixes (#6984)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_command_dispatcher/src/keys/source_build.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/source_build.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ecea3452fc7e1d65c8c7f7dae732571f1b043fdaf31515997c994cd71dfa9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/pixi_task/src/executable_task.rs: crates/pixi_task/src/executable_task.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is ExecutableTask::save_cache at line 452), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: preserve quotes in task arguments (#7091)\u201D; \u201Cfix: scope target activation to the platform a run targets (#6822)\u201D; \u201Cfix: treat corrupt task-cache JSON as a cache miss (#6824)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_task/src/executable_task.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/executable_task.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfca73ede6a6451f44e4d12b3ca767070cbeb9933a1820e61ac6f77c8cbd0158"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/pixi_command_dispatcher/src/cache/backend_metadata.rs: crates/pixi_command_dispatcher/src/cache/backend_metadata.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is BuildBackendMetadataCacheKey::key at line 116), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cache): use xxh3 for all on-disk cache names (#7408)\u201D; \u201Cfix: reuse the build backend environment with a relative exclude-newer (#7384)\u201D; \u201Cfix: avoid rebuilds for mtime-only source changes (#6703)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 08:38:39 \u002B01:00\u0027 --until=\u00272026-11-14 08:38:39 \u002B01:00\u0027 --full-history --no-merges -- crates/pixi_command_dispatcher/src/cache/backend_metadata.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/cache/backend_metadata.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dd9ed2e966e3f095a805c5cb7e6cd0fe638bd29434843a79e7f08bf336d8c9"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 5 significant file(s) lose their only recent owner: crates/pixi_toml_edit/src/entry.rs, crates/pixi_script_shell/src/parse.rs, crates/pixi_toml_edit/src/array.rs, crates/pixi_script_shell/src/execute.rs, crates/pixi_toml_edit/src/style.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"93aaf3a2f3c7814743141982cded966efacb70f07635d05936c57f44d83c74b6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 5 significant file(s) lose their only recent owner: scripts/build_pgo.py, crates/pixi_utils/src/tls.rs, crates/pixi_compute_sources/src/url.rs, crates/pixi_cli/src/install_ping.rs, crates/pixi_command_dispatcher/src/solve_binary.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f2c10428b30ae12dd5ea41b7f90f9159a4869d9a3b267c272e15c56263e8af53"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 3 significant file(s) lose their only recent owner: crates/pixi_cli/src/publish/discovery.rs, crates/pixi_manifest/src/script/conda/envelope.rs, crates/pixi_manifest/src/warning/mod.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"139684e72ab960f646cdd0bb6a06f31833cd0de9be4351ce7520341c6a8afa67"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (14 single-owned of 450 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 450 of the 628 production source files in this repository met that bar). They are anonymized user #4 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: crates/pixi_manifest/src/toml/exclude_newer.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: # XXX: should this fail instead? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/integration_python/pixi_global/test_global.py"},"region":{"startLine":2816}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8b3d5d72c02261c39dd3249a18179232cecf16ac661527add0f8df96407aac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: url and git source \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"schema/model.py"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"83af1b10396f6eb3b376719fadeb4a697f7360b3039d7b8c9778416428d3b3ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(#6889): We don\u0027t want the radius for the trajectory line to be the same as the radius of the points."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/rerun_example/nuscenes_dataset/nuscenes_dataset/__main__.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d573dc6f8fbff8eaeca18719eaf443038167a8994cc4b78bcd3dece4fb8177c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Add support for more variants. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pypi_modifiers/src/pypi_tags.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cab37a38dd2f5c0ef7e4078b6810285a7e26b03bb969b238316dbbf8fed6b4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This might not be entirely correct.. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pypi_modifiers/src/pypi_tags.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"959ec817275477262b9c18cd667cc1401ec7d940030c843f66a229d09d961755"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add more libc families for support of other linux distributions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pypi_modifiers/src/pypi_tags.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6ddfb2e9cb66ef873590647a5d62fdadaa5d1acc85a32430c60349e4689f97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we could see if we ever need this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_uv_conversions/src/requirements.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d713584d429858b9a16df2132c5f7ae75afa3eeffdcb57fd3d5c4a9632a3b60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we be applying \u0060config.channel_config\u0060 for parsed channels too? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_utils/src/conda_environment_file.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0505bcabe642c0ccee64723ee753e9a241f368948ab95dc3b5ecd7e19197136e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: At some point we might want to make this configurable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_utils/src/reqwest.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb71f8cf85097b2937ce477e5d5dda6821e3262b244bb79e322638de0135015e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We should make this error much better \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/error.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"262cb0b91678f048ceede804da745cc0a0cee5953c96eca8f7b0e2a6d4ce328f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support named arguments from the CLI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/task_graph.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ab3f95b0198dd6e68486a9bbac8be5cd5e8fadd8e6a431181c26629986e9c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: After https://github.com/conda/ceps/pull/154 we might need to rethink this"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/exclude_newer.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"787dccfc984deb4cef80770d8fa4825adbcfd3450b2ffb26be73379d6f3a5f53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Contribute \u0060impl FromStr for Utf8TypedPathBuf\u0060 to typed-path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_spec/src/path.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"179f55712e0856c91eb2e5ac6dd92101f4e969fdddb83e5708657af717de458b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: figure out how to display this nicely \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/uv_reporter.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08ed06240a05936a804ce471075ee895469e339f399431b354a0b5bee5c5955"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: figure out how to display this nicely \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/uv_reporter.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2150cb03738cdb42e130a681584aae4850e821f8767ab6781cb917ed99aa226e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: figure out how to display this nicely \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/uv_reporter.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32e32aa40d659d6de4800fd6c74d6f1ffa225ed1dbd734feea513044f975fa5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is a good place to type the url. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_record/src/pinned_source.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a092d01dc8988a6ef59741ace74623dbcddd7fa0dad083e7e4e495f0fec76f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Now we only take the first error, but we could make this smarter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/error.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"75012023198dc1247085bddab1e77fdcd7b1330609b03a0b98d3e714ee79a280"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:  would be nice to add license, license-file, readme, homepage, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/pyproject.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e1a1b26ef8040c22c6681d1977f8c963729a9cdfdf76fe60e800232a721d9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement some comparison or spec merging logic here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/pyproject.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15843c24ccf9f5580304ebc4eae0c5a76a6c2fc8333a5174a4b95a151a2200e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: avoid going through string representation for conversion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/pyproject.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab386c780de5bff7fa677465a4329dfb8e5183731392a3e6a9fde33b51c2acef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: While the pixi-build preview flag is not stabilized yet, a workspace \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/target.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"70457d423ec5adfe0b044e3ff56d90cf7f2d9d6fff3b36b7ee9e21576ac52ece"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: would be nice to compare pep508 == PyPiRequirement directly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/target.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe32f1ca331093059740c15a23d4f897219dbf3c0bc75bc830f77ba3066a2ead"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: In theory, this should check if no placeholders are left in the string \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/task.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"8634a22b67e336f84cfbe5d023ae6b369fa71289a5c4530e1565b10992469d42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: would be nice to check if these are actually used at some point \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/pypi/pypi_options.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2820f6b27444a32c9c7d1f75c81fac9694988ee1e5bb3c05690f1539d3e5aeab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When \u0060[package]\u0060 will become a standalone table, this method \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/document.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabc65d5c951d8a273b4d6c97b740ed4702f3ea8c1320ed1653502fed9086eb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: once https://github.com/rust-lang/rust/issues/109737 is stabilized, switch to OnceLock"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/mod.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c0405649d83d885f2425f9269dc603f4b0d551eab747498ca0046c48bb756c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: once https://github.com/rust-lang/rust/issues/109737 is stabilized, switch to OnceLock"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_global/src/project/mod.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ea60c6d443dd8418a17a4de925dd59a349e8a4e1d0e481746b64335d9a97ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: once https://github.com/rust-lang/rust/issues/109737 is stabilized, switch to OnceLock"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/mod.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8502823fcec883d37bd3172d3acee259bb2d8e48ce90a8610b64e730d6552987"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: once https://github.com/rust-lang/rust/issues/109737 is stabilized, switch to OnceLock"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/mod.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3be4bee957fb41422ca6516a63bf2745969aec691594e04b544449dce68723"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Make this error better. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/errors.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ee1b1d1be4d418c49f013a77180677d7fdd533f09183027b714df0be47941a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#6175): handle \u0060__musl\u0060 (musl libc) and \u0060__cuda\u0060 -\u003E \u0060cuda_compiler_version\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/workspace/stdlib_variants.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bc623a845b59a0f62e4d742fcad226e27a26c83d384399db39e931a66434ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We can\u0027t really tell which python extras are enabled in a conda \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/package_identifier.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ce2394a7a236568ad5b623e8a67deac484594ac514ee29b33df845efb26354"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We can\u0027t really tell which python extras are enabled from a PURL. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/package_identifier.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6d1ca6afa0a8841950ef995bc932bfb77c0352a447cc4f237ee4c2c360cc0f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(tim): we need this semaphore, to limit the number of concurrent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"715b546069721cddea0cfce4624f64e3a0c8453ee54ffe01ee1d12d5e5bce807"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Bring back the pypi mapping reporter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/update.rs"},"region":{"startLine":3453}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb09b5a53e91a35b9aaa2b73570079b01762cad4c34bb683491159c9e53263c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: could be a potential refactoring opportunity \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/pypi.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2ebf3848903676768a8da2aff15f18d121636211af328f784cb19b6660c542"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: skip this test on windows \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/tests.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"52aaf4045db7ea8a2dd7fc94eebd8129428c3590dac16257b4bcb2bdf9147f4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(baszalmstra): Does this matter?? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/resolver_provider.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"851003cdc5d39165f2e0d6ea28e7173ca6c1f0547de5ee993d246017347ad6c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: very unsafe but we need to convert the BTreeMap to a FlatDistributions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/resolver_provider.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5237ca10adc3a35c1ef3eee6e92bd9b12f1d1b45f546b1054e4c9106d807bba3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove on a 1.0 release \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/environment/mod.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b790e0c4335900a83c4388977a665c7636eaf65d1e201fd8ebf63afc997b388"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move to rattler \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_consts/src/consts.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0eb0a5f44c303d79afdd746d8659594112364d885257e3e0cef90d6671788f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: CACHED_BUILD_ENVS_DIR was deprecated in favor of CACHED_BUILD_TOOL_ENVS_DIR. This constant will be removed in a future release. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_consts/src/consts.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91b0975389a7a39d62674c4e53f0847a42bbb28a5ea45aef12441465f8d5fb1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(tim): I think we should move this to another crate, dont know if global \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd1635377fb401cdfc8524bc06d0d523be7c72e8368fe720bbbc5bd294ad146"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rattler-config): promote \u2014 TLS root cert selection is a \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5854bffc2e6fa6fad962ead688b694bc82634d0afd7c2e9bde63b8e2f859ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rattler-config): promote \u2014 useful for any tool that \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"943686baeb58bc02577dd5cd978286a405d8b077dcb0547142bff51926b2ee4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rattler-config): promote \u2014 package-install link strategy is \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad625f90eea5e0ad85bf9e0f39f7105769eedf760167cc8e31466f6d9b37acde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rattler-config): promote \u2014 see \u0060LinkConfig\u0060 above. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5568a277d9d105835ffddd48678392dee5526942090fbf68e9341409516167bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rattler-config): promote \u2014 see \u0060LinkConfig\u0060 above. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"139d037539310638982c78ed9df8235831ad3ff862aecb631a331910b16ee929"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Use win-64 as the default tool platform if currently running on \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4f6d58021a8c5f13c42376e84880840542638f9ca9c0bd7b36323582a90326"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the base_path for Windows is currently hardcoded, it should be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":3117}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fd922d763cee1614058b2284b4b0d07fcccd1679bd4802200f7fcef4a0bd71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// name unchanged (shortening generic arguments is a TODO). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_compute_engine/src/short_type_name.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f445d845f0101431baab1f17dd1d6cb660af57fd71c0b1f7ca9b60061299653a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Once conda-forge supports \u0060WinArm64\u0060, we can remove this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/tests/integration/main.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"90eca97bdbef9cb345a0b374e1ed0d40ae7fbe3abe0fc80f0d1f38a1856b8c86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: It would be nicer if the rattler solver could handle this directly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/solve_conda/mod.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8dae5983bc1c62a5f014ad0736b75ffdd968508ed46bf72edf0588636c74e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This only holds up when the channel priority is strict. We should \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/solve_conda/mod.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7b7513006af3d8b1b030df801fecb773e34b8b2ddad47199f06dce0b0aafd3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: once \u0060SolveStrategy\u0060 \u002B \u0060ChannelPriority\u0060 implement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/solve_conda.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1de9eece105edd2fa7d6fd748c045c05d6ba1a72ebe9221b37a5fb177c007b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: collapse to \u0060derive(PartialEq, Eq)\u0060 once rattler PR \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/solve_conda.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f730899114b48abc7c1b68e89744aa6245cdd35e7b5d8760dcf70902f613b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: collapse to \u0060derive(Hash)\u0060 once \u0060SolveStrategy\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/solve_pixi_environment.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"de345d0cfed0f529421c9dc417e37f8468a4df6b5099c8a6d65a6ac3b79a2e6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: collapse to \u0060derive(PartialEq)\u0060 once rattler PR above lands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/solve_pixi_environment.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5399631a94d7be02620f12e5e96059fc0562755ea96fb7ac6f2c20c3ac8407"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(baszalmstra): Remove this once everything is migrated to the compute engine. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/environment/env_ref.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eb09e038a4cb2227825913852224d935efecb621c772b7f2de4fabb5ad94a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Should we use references instead of owned types here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/build/work_dir_key.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"812539ef6fa56fee5c6e4e8f0e425e9ba21ee1f6320afd637f99d44561b08119"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Maybe we should also include the version? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/build/work_dir_key.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ed14cd0e7e8d0c346640d368df242bdddcf71e756bad7ececfeeeaf11dea44"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Would be amazing to have a --unused flag to clean only the unused cache. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/clean.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d307781dd1d3a25ca74ec8bb8a8d67d944df846d031b44ba816e44ba478adc75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Let\u0027s clean deprecated cache directory. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/clean.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d7f28eda8835de29087d0298ea490684ef60d535a7b4aafa83b94a4f547a2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: In the future it would be cool if we look at all packages available \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/exec.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f5a49e18068a4b5f12c392ce95e74a850f304f4713da369badaf22839f4aa7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement conda-lock, conda-txt \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/import.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"48febf3dda2c718ce11d6e4d6702bedf80c692c75a750b4a312c8b3cd91c972a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add dry_run logic to import \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/import.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5e92db684c15bc189bbcab6034c923900a60e7b59bf5417974ad6a881e200f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle \u0060variables\u0060 section \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/import.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e919a49fa7ae3c675d32adb63cc52faa0c00200c39be0525ee7ad76f58c4246"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Improve this: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/import.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1b2745e7e174c47908a9a152618fd105b01e7b44982bbf608ee574c35498fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Improve this: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/init/mod.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"9939096377963c87016cf44486c6277aa5b05b3dcc3d182404ea1b137169f2eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: In the future if we want to add \u0060--recursive\u0060 this data structure could \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/update.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb32908b8e6e7bf1424e99818632520b62b69bd478010b296271a59efa6e5b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this parameter as soon as we have profiles \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_types/src/procedures/conda_build_v1.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea97ba8a3d7f9442c34aabc336f8164fec7fdfeddbca8bd244316d9c4e77abe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: No yet supported, see commented \u0060CondaCacheMetadata\u0060 below. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_types/src/procedures/conda_outputs.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba5f86c34fd28a692dcab96f2dd2890bc237e69518f82899924d84d5fca31b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Multi-output caching is not yet supported. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_types/src/procedures/conda_outputs.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7de8b2c60dc59af9d9c7cdcb0db12307a945580917939d53ed4bd7f5a33c0b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: No backend in this repository consumes this, though out-of-tree \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_types/src/procedures/initialize.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f371ba04dfde91214e9f7d6c35b20e477ff04d267e22633d33cc8392db9684"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement caching \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_rattler_build/src/protocol.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"1729b79df69132e5012cbe5e1d5470bacdbe46e45544d51324859842c1191d01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement caching \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d23bf53dc1b68637245dc76f6db1aedd406c073bf43e045b30f3938b51316a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: remove this env var override as soon as we have profiles \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_python/src/main.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89367525fa877e288e850b627f5fcdef83bf6983763c94a59703df5d856668e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Adapt these runtime providers and pins when the Mojo and MAX packages are split up. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_mojo/src/accelerator.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c59eea58b48784c58d1e2eb3b357c41e32afe08fda2f2b8f5e48f46473f2f01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Adapt the runtime dependency when the Mojo and MAX packages are split up. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_mojo/src/main.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a17d6f2261f16957725f34d5e4d67e24de6eea941f3cfd4f8e99128d7f34d34"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: whether to inject proxy config \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_frontend/src/tool.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2288175b7e9b0b5b5d6382042837c711015661a005d7d9fdd558469b1024c638"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support in-memory backends without going through JSON-RPC. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_discovery/src/backend_spec.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d21191ad789c73b43312b719d925383e409eb3369248165767dfa301710d57"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this test since it sometimes hangs in CI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/tests/integration/protocol.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"78236b8f07375e08d8b707cb04b60174ef0118c37266b9f5099af46e43728aa7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(baszalmstra): In the future it would be great if we could just \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e642a4ea7e10ead51fafd960c9492f3ca420f99b2d7b3f3ff094ca234c78f796"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(baszalmstra): In the future it would be great if we could just \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_build_backend/src/intermediate_backend.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"b193b177f63b8008f90c33ff63e2c9afddef64bdd3dcfcdb1c521bb2b7f67c09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update all environments touched by the features defined. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/workspace/channel.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3d4a4cb758907fa6fd160ceb3bc1b45eed62baf2d037cdb8327027cbf8c03d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add help for names of environments that are close. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/workspace/environment.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"733a5000069248f1e5e995e22b689672e2255dd821a420a7c35f1feba0319fdd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should we just execute the activation scripts directly for cmd.exe? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/shell/mod.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f48d6d92d785e3e8242bba8fbe28918138e2fa07400ac2d5c130dbc1aedcfec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: update all environments touched by this feature defined. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/remove/mod.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de075ebbfe43de2067f3c5a74200deadbb9b0df59f386144ee0a7f3fe003dd2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: update all environments touched by this feature defined. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/remove/mod.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29c8cfefae3650e47e8153b35e493c236710cb761e9c9515ba9f43d710a74bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should be derived from the input specs. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/list/package.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc13e90ae01c99210a00fdee86764b337119cf6c03b30a952db5d0a29dad2d4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add dry_run logic to add \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/add/mod.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a688619646b06e7f2ec32a007406caf7f33732d5f16e65629c6b1579b2299fbe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add dry_run logic to add \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/add/mod.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e12d35f89f24ca0b9d5d137a001a3dc9c196bd589e5b2023cc16b3ec6274f3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enable and fix this test when we fix the global config loading \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi/tests/integration_rust/init_tests.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"376a9d69a1f77d31035fe96ee149401f91e262981c0c8f3fa6e0ac5a96fc5736"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060trampoline/src/main.rs\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trampoline/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b17825aca36bf80ffb80a3a8857b2a20b66ee31f3b68ab8ebe474ab644b9d4"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2cfb1d82c282a071bfc10ba1c8e1eed1108fe015c9769b483f18ae8b33939d9"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4792066ce770c26b5af5b685a93daea72da1b5d1b8633ba517b28459cdf9025f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"272dabdbcaaabdef1545a28a04cb7c5534002900106d118ff6e7ee937608c878"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79e86b6df9d1cc80b3b575e93e9f5aaef2019408e29bcf2ff93c4567e19bc9a6"},"taxa":[{"id":"CWE-913","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51ba4e8a2a38dbef5f9fe71711d8a5f067467ffb51762b16f9517f6e20586743"},"taxa":[{"id":"CWE-913","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0faca7f2fd4d452df7cdd2521c4aa80642aa6ece744473b88a14cf842ced8452"},"properties":{"dependency":{"package":"astral-tokio-tar","version":"0.7.0","advisory":"RUSTSEC-2026-0440","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca383df8f93c1fcb449201c7c47b9fc487e55acf31a9bb60212d29fe36dde189"},"properties":{"dependency":{"package":"block-buffer","version":"0.12.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b995e75272b61cf5f3649600c4af60acb108488f8113b0f25a04ec6792e70778"},"properties":{"dependency":{"package":"cmov","version":"0.5.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4a0c58aca13bc848c37d4c3d5bcb90f8e046f8df5b386f5a3743d0625ad8dae"},"properties":{"dependency":{"package":"crossbeam-epoch","version":"0.9.18","advisory":"RUSTSEC-2026-0204","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f46f4410c51e58d24e700667ccbc31584265a11ccf74411a4bcb85503a0414ad"},"properties":{"dependency":{"package":"crypto-bigint","version":"0.4.9","advisory":"RUSTSEC-2026-0387","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9b3f407513314597779879deed2711346eae4427f7222b2a8d80df5c5acd955"},"properties":{"dependency":{"package":"crypto-bigint","version":"0.5.5","advisory":"RUSTSEC-2026-0387","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"109eb8c2be00952287a6643744da7dcc2c9a7a6618d7cac60ea6539c1687dfd6"},"properties":{"dependency":{"package":"ctutils","version":"0.4.2","advisory":"RUSTSEC-2026-0385","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1092cdc16bab90e26caa98781415518f2a1a0fec9b43d183894264e01dcc42b6"},"properties":{"dependency":{"package":"event-listener","version":"5.4.1","advisory":"RUSTSEC-2026-0221","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80b5c22beae306eb623d7a60ec13361ab89285e1cc30fcf5b8daa2e87ffb5c69"},"properties":{"dependency":{"package":"h2","version":"0.4.14","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f48cf8c9f415048128045caa118a1e03769d0b4fe18d7f036c2f3766e3e8d8fb"},"properties":{"dependency":{"package":"instant","version":"0.1.13","advisory":"RUSTSEC-2024-0384","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"422864efbc32ee020d94634a443edac9d818b90faf02ac96d91c4d66ffa4da37"},"properties":{"dependency":{"package":"lru","version":"0.16.4","advisory":"RUSTSEC-2026-0253","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf9b3890cba73cd3c5d5270d1976bd1bae94596a1c510482b94fe9367ef871f2"},"properties":{"dependency":{"package":"memmap2","version":"0.5.10","advisory":"RUSTSEC-2026-0186","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c3bb02e5a817b543169ce3f11ea6aeef8dca5c03582085d3c5d27ad236739da"},"properties":{"dependency":{"package":"net2","version":"0.2.39","advisory":"RUSTSEC-2020-0016","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46f49615124997a47ae03424c2b2e05e8f53b2ec644cd091de0dc203d46f11ac"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5585c48a8c4ed670247ebaa40a533d385248c4e49079fee700e7b93cbab137a9"},"properties":{"dependency":{"package":"quick-xml","version":"0.39.4","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffba3a9076a73cf66b6daacb5914c478fbdc74d1383d8d2e4003b6bf3aa7b43d"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.15","advisory":"RUSTSEC-2026-0338","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0341","RUSTSEC-2026-0342","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28f0bc6d34596072b24d37b19b745b7394ed4ce99a53e032439b262379e02dc1"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.14","advisory":"RUSTSEC-2026-0538","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"724dc287344d7132b72d1f16bb1fc253c8392cf978fd4bf6d454481b72775b59"},"properties":{"dependency":{"package":"rkyv","version":"0.8.16","advisory":"RUSTSEC-2026-0233","aliases":["RUSTSEC-2026-0234","RUSTSEC-2026-0235"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac07f6d7edfd49261e66a0ecf670dc83aeb27f637d0eaec58b89ac41744f7835"},"properties":{"dependency":{"package":"rsa","version":"0.9.10","advisory":"RUSTSEC-2023-0071","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b5cc6a78fe02a95b2f6755616011982ae866dcba8c2aeaae7b037f36ce19be5"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ceb9040e13548b3df718b94867858f8e5659519eb178fbf2fd0e4e23343e0da"},"properties":{"dependency":{"package":"yaml-rust","version":"0.4.5","advisory":"RUSTSEC-2024-0320","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f6329e2b29fe1ee1dd724766af980b151618490b720201bbdc1839704210c3e"},"properties":{"dependency":{"package":"zbus_names","version":"4.3.2","advisory":"RUSTSEC-2026-0371","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4999ef69e42f46a403f3866a4a634365963f93fdd6e82c0c4a8e528a960ab52"},"properties":{"dependency":{"package":"zstd","version":"0.13.3","advisory":"RUSTSEC-2026-0391","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06e8dc8c07565b965cad3fead890e0d682e96e4f994ab4a0654e3f10afe7962d"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0395","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"414bb4a49ee404ddc9dbe92931374dee643d4d3104e067391ed93041a77ff631"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0396","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d67834474e5564706ab5d6117a7537fa7ddd9f89e1070ff0f40846a68262b203"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0397","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64bc44f41a35cd29a5d01a7b192ce2cc5f1d458c15d9df1d5239ebb5b7c6fd43"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0399","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a79bcf37fda3b3cfb40243fa81b1818f80a0fe095c267b68e3c7eee6f042ddc9"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0400","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21df614167acad094349de8aa7cfc685e485f636d67b1ded35b43230df65a136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0401","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd61c6a1a6d23109e3da0a091cdbb2ecd3102dd1235e0548e2d8ffd7db2a7005"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0402","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a910032c7367726c7f26107809b36a5b0ab01a6e3af6f2b0cf67b659ecca9e49"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0404","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d11388e41908d6112e7f61d01d0c0d9062830b07945356073c8069de5b88d627"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0405","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbb5f2efe8d9cca6344840981b65d21b774960589fc9976e6690dc84fce97102"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0406","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7870b77ea4843334d11fffa265d6d0542e94eec7f4c8e852762d55c28578136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0398","aliases":["RUSTSEC-2026-0403"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77d4d5d4357ce0a5ade8f6f76c84914f1a2c80f9fe7358d9854254b760de650a"},"properties":{"dependency":{"package":"zvariant","version":"5.11.0","advisory":"RUSTSEC-2026-0370","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f67f0700e108bacf2f3dfd2008273e31f01b0ea1f2d5f9ef71c4f46ace73bbe9"},"properties":{"dependency":{"package":"zvariant_derive","version":"5.11.0","advisory":"RUSTSEC-2026-0372","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab772c7cf3a899724e28daaa0ac735ff07b7116a73fc3e70dfe0d35f6d7a84e1"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 450 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 450 of the 628 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: crates/pixi_reporters/src/release_notes.rs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_reporters/src/release_notes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38eb00456d0c0c87c7841ab2ce6bf7193faf3d194b640b3121631bd468884da1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: run.rs \u2194 lib.rs: \u0060crates/pixi_cli/src/run.rs\u0060 and \u0060crates/pixi_task/src/lib.rs\u0060 change together 71% of the time (15 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u0060a5a98dc8\u0060 feat: add executable flag to pixi run (#5253); \u006024dd763f\u0060 perf: Experimental environment activation cache (#2367) (at that commit the files were still \u0060src/cli/run.rs\u0060 and \u0060src/task/mod.rs\u0060); \u00601bfdf4a9\u0060 feat: add \u0060INIT_CWD\u0060 to activation env (#1798) (at that commit the files were still \u0060src/cli/run.rs\u0060 and \u0060src/task/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/run.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a17b883300032bdb99b90ceb5ba75d98730025c7fc96e0edcf85d3e7c36d05"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: package_identifier.rs \u2194 mod.rs: \u0060crates/pixi_core/src/lock_file/package_identifier.rs\u0060 and \u0060crates/pixi_core/src/lock_file/satisfiability/mod.rs\u0060 change together 53% of the time (10 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00602625cf18\u0060 fix: No longer panics, when a conda dependency is a PyPI get dependen\u2026 (at that commit the files were still \u0060src/lock_file/package_identifier.rs\u0060 and \u0060src/lock_file/satisfiability/mod.rs\u0060); \u0060b949adb8\u0060 feat: migrate to \u0060uv_distribution_types\u0060 for package requirements and\u2026 (at that commit the files were still \u0060src/lock_file/package_identifier.rs\u0060 and \u0060src/lock_file/satisfiability/mod.rs\u0060); \u0060b4e168ff\u0060 fix: pypi panic with path dependencies in lock file (#3690) (at that commit the files were still \u0060src/lock_file/package_identifier.rs\u0060 and \u0060src/lock_file/satisfiability/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/package_identifier.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c5a72a956a92d77cc519f126371fe8b738ed6a2396964d391f9fa70ab3f146"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: table_name.rs \u2194 pyproject.rs: \u0060crates/pixi_manifest/src/manifests/table_name.rs\u0060 and \u0060crates/pixi_manifest/src/pyproject.rs\u0060 change together 50% of the time (12 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060e72411b6\u0060 refactor: reduce difference between default and named feature (#3545); \u00602a994fde\u0060 chore: bump rattler (#2860); \u00608a67cd69\u0060 refactor: renamed some manifest types for clarity (#2704) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/table_name.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef255d39e08bb6d7f25d452e5d59dd4350dede0eb35d4a1da148f5913190b98a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: run.rs \u2194 task_environment.rs: \u0060crates/pixi_cli/src/run.rs\u0060 and \u0060crates/pixi_task/src/task_environment.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00607dd06c03\u0060 feat(pixi_api): Expose run and shell (#7354); \u006020ed8307\u0060 fix: scope target activation to the platform a run targets (#6822); \u00608525a02d\u0060 feat(task): \u0060--default_environment\u0060 flag for specifying the default e\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/run.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1802df0b0da2e6b0fceb5e3678d6746bd1d26b0c284a73889132e150054483b4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 conversions.rs: \u0060crates/pixi_core/src/lock_file/satisfiability/mod.rs\u0060 and \u0060crates/pixi_install_pypi/src/conversions.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006006d12818\u0060 chore: upgrade uv to 0.9.5 (#4840); \u00601e11b3d1\u0060 feat: upgrade to uv 0.7.19 (#4091) (at that commit the files were still \u0060src/lock_file/satisfiability/mod.rs\u0060 and \u0060src/install_pypi/conversions.rs\u0060); \u0060d3c21254\u0060 chore: update to Rust 1.86 (#3621) (at that commit the files were still \u0060src/lock_file/satisfiability.rs\u0060 and \u0060src/install_pypi/conversions.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/satisfiability/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f1919bf6d34e98a1b859d002573fb6b2a970f7477a431dd8bf779f5d9fa8fa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: shell.rs \u2194 pty_session.rs: \u0060crates/pixi_cli/src/shell.rs\u0060 and \u0060crates/pixi_pty/src/unix/pty_session.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006016d9a978\u0060 fix: some more things to get the shell to work in all cases (#3321) (at that commit the file was still \u0060src/cli/shell.rs\u0060); \u00606b0d7dc1\u0060 fix: flush shell activation file after writing and add some debug inf\u2026 (at that commit the file was still \u0060src/cli/shell.rs\u0060); \u0060fb85c0ba\u0060 feat: hide the sourcing of the activation script when starting shell \u2026 (at that commit the file was still \u0060src/cli/shell.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/shell.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3b19720fe08c5341cbca06323f8cc4ad1688b989dc7824c25ad7913ab01a59"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: pypi.rs \u2194 conversions.rs: \u0060crates/pixi_core/src/lock_file/resolve/pypi.rs\u0060 and \u0060crates/pixi_install_pypi/src/conversions.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060ca2876a2\u0060 fix: verify PyPI lock file hashes during install (#6353); \u006006d12818\u0060 chore: upgrade uv to 0.9.5 (#4840); \u0060908825fe\u0060 feat: upgrade to uv 0.8.20 and get rid of non-async build dispatch ca\u2026 (at that commit the files were still \u0060src/lock_file/resolve/pypi.rs\u0060 and \u0060src/install_pypi/conversions.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/resolve/pypi.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9632aa903cab1b66ad718cf59046665d042770d0b40cc9fda88cdae373467dfc"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"893fca901b7614f79a94ad3627df27a5699d3db4fcd56213d90ded085e421ca0"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: pixi_api \u2192 pixi_pypi_spec: \u0060pixi_api\u0060 (production) references the test project \u0060pixi_pypi_spec\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"691bb5fd8d3fda84e3d9f34f1d68584ef2eb1e80181b7eff12adf11fb5132a4b"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: pixi_build_discovery \u2192 pixi_spec_containers: \u0060pixi_build_discovery\u0060 (production) references the test project \u0060pixi_spec_containers\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"03fb8cf07b28f31280a2bb8f20925d5559ee1b36c4cb3d28ff50a1e522333b52"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: pixi_build_type_conversions \u2192 pixi_spec_containers: \u0060pixi_build_type_conversions\u0060 (production) references the test project \u0060pixi_spec_containers\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b0e758f3a1a00458271dbd6e86fd2515fa544e2f2a053afb0f00c99ce230bc42"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: pixi_cli \u2192 pixi_pypi_spec: \u0060pixi_cli\u0060 (production) references the test project \u0060pixi_pypi_spec\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3cc0bb015d99cca7afd2f8827d68f8f9924df607fef3c731a03ccd05c7864bb7"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: pixi_command_dispatcher \u2192 pixi_spec_containers: \u0060pixi_command_dispatcher\u0060 (production) references the test project \u0060pixi_spec_containers\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6219f9f1dbb67d2c422e33e8fb70db32d33d4d1f278a3ae582dab3b7f23aa42e"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: pixi_core \u2192 pixi_pypi_spec: \u0060pixi_core\u0060 (production) references the test project \u0060pixi_pypi_spec\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a648633cb062fdfc87fcba134957f39bcca4a7bdaadd8390b36adc8eac475ad3"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: pixi_core \u2192 pixi_spec_containers: \u0060pixi_core\u0060 (production) references the test project \u0060pixi_spec_containers\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"55c839665e2b7778b668d8dc1787bfec0d3303ca1f7a037c3f71926be64c6fa8"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: pixi_global \u2192 pixi_spec_containers: \u0060pixi_global\u0060 (production) references the test project \u0060pixi_spec_containers\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5de69bab5a9c95bac473c043a5ca64ce799b835e84da8dbd2cde7111d840342a"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: pixi_manifest \u2192 pixi_pypi_spec: \u0060pixi_manifest\u0060 (production) references the test project \u0060pixi_pypi_spec\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9b480ea1ae6dc9af6df92c4fa7e09a1cacfb859e4e8d9672d0785fb2d006431c"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: pixi_manifest \u2192 pixi_spec_containers: \u0060pixi_manifest\u0060 (production) references the test project \u0060pixi_spec_containers\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"63107fae7586ebe5f3707f86e5d97fbc3ab8eb2854e39fcaeb28c57bba86115d"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: pixi_record \u2192 pixi_spec_containers: \u0060pixi_record\u0060 (production) references the test project \u0060pixi_spec_containers\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"20d217211e3605378d22de475b2490346c821ec3bbe3b74d4d08bfb7c0ad96ca"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: pixi_uv_conversions \u2192 pixi_pypi_spec: \u0060pixi_uv_conversions\u0060 (production) references the test project \u0060pixi_pypi_spec\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1f1abaffcc4a4120a95e7ae376a8e325faadd96881d79db07d40c6d9306a01b0"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 28/40 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060crates/pixi\u0060, \u0060crates/pixi_build_mojo\u0060, \u0060crates/pixi_build_r\u0060, \u0060crates/pixi_build_rust\u0060 and 7 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"warning","message":{"text":"SAST runs, but gates no merge: \u0060scorecard.yml\u0060 run(s) a static-analysis scan, but no workflow that runs one is triggered by a pull request (or a merge queue, or an unfiltered push) \u2014 the scan fires on a schedule or a manual dispatch only. A vulnerable change therefore merges clean and is reported on the next scheduled run, by which time it is on the default branch and the only remedy is a follow-up fix. Add the pull-request trigger to the workflow that runs the scan so the finding arrives before the merge rather than after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"73211886541038635ced0208da9cedd27ed1caa9132fd6aa5e44d2976a4de6d6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060build_v1\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/backend_source_build/mod.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa69e84469dfd02c18c7f8d4fb93052f19fe35f68607ba1dde2c1c2ffeca5b9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060call_conda_outputs\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/build_backend_metadata/mod.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a809e9a203d0f1e97ee3fc6c13e181c04bd168069c62a5b3a7dc1392a42fffb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fetch_matching_output\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_command_dispatcher/src/keys/source_build.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63c83c400b900632ef797e32b7654beb0e6101e245b783ec72cd0180e134613"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(ROOT / \u0022.jj\u0022).is_dir() and shutil.which(\u0022jj\u0022) is not None\u0060 appears character-identically in 2 files \u2014 scripts/release.py, scripts/release_backends.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5d53fe2dddb01c921d5ab73670c7d5ef14d90791decab9e770fdf348fa58cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allow_installs \u0026\u0026 user_platform.is_none()\u0060 appears character-identically in 2 files \u2014 crates/pixi_api/src/workspace/run/mod.rs, crates/pixi_cli/src/conda_script.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_api/src/workspace/run/mod.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"52038c54b07e1a5708de01a8db5f86ba9ab8e7de58b5fb511398aa6ebc9ad058"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.workspace_config.script.is_some() \u0026\u0026 args.environment.is_some()\u0060 appears character-identically in 3 files \u2014 crates/pixi_cli/src/list.rs, crates/pixi_cli/src/tree.rs, crates/pixi_cli/src/workspace/export/conda_environment.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/list.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c27aec237bab725369eb05a0ddede8294e3c1662d9e759f3aedbeafd7734e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.kind() == std::io::ErrorKind::NotFound || e.kind() == std::io::ErrorKind::NotADirectory\u0060 appears character-identically in 2 files \u2014 crates/pixi_config/src/lib.rs, crates/pixi_core/src/workspace/registry.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_config/src/lib.rs"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0a9e636f114fc5e3c2fb326ee8b822b081e38e60f79389632fb58e8895d2af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060extension.eq_ignore_ascii_case(\u0022py\u0022) || extension.eq_ignore_ascii_case(\u0022pyw\u0022)\u0060 appears character-identically in 3 files \u2014 crates/pixi_cli/src/init.rs, crates/pixi_core/src/workspace/discovery.rs, crates/pixi_manifest/src/script/pep723.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/init.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0de30107c530968a8bb92cb47ecf42864cc063cf84e2e351d39edd394ef6ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_script \u0026\u0026 !lock_file_exists \u0026\u0026 requested == LockFileUsage::Update\u0060 appears character-identically in 3 files \u2014 crates/pixi_cli/src/add.rs, crates/pixi_cli/src/remove/mod.rs, crates/pixi_cli/src/workspace/channel.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/add.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e9c4757baeb3f30ca033153c52920193ad14cad10e45e9ce249b6143cd0769"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060workspace.is_conda_script() \u0026\u0026 !args.dependency_config.platforms.is_empty()\u0060 appears character-identically in 2 files \u2014 crates/pixi_cli/src/add.rs, crates/pixi_cli/src/remove/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/add.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"6917c510127622867231c0f429ea462c30dbcf2bd410301b73e24b02a29f30d9"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 0/1 C# file(s) are in a nullable-enabled context. This repository commits no project file, so nothing sets \u003CNullable\u003Eenable\u003C/Nullable\u003E for it: a file is enabled only by its own \u0060#nullable enable\u0060, by a Unity \u0060csc.rsp\u0060 with \u0060-nullable:enable\u0060 for its assembly, or as a file-based app (\u0060#:\u0060 directives) whose \u0060#:property Nullable\u0060 does not turn it off. NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060workspace_build_cache_dirs\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_cli/src/clean.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62737dee45b4b79893eb560192c467fedf5749f431c4298cdb45d1c4f5ac806"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060required_virtual_package_specs\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_core/src/lock_file/virtual_packages.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4877d56b2ff25ea9ceef065a4b9d98e4358ad8805350119be788eb8931cb735"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060pypi_dependency_location\u0060 turns every \u0060Err\u0060 into \u0060false\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_manifest/src/manifests/document.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"01726a427168162904e0a66b40ad3c99a8586f40bbdaa71c5253d65b3a7e5e16"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060find_task\u0060 turns every \u0060Err\u0060 into \u0060false\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pixi_task/src/task_environment.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dc82306e9134e435fe4a92102cb5efb443cc8ed5594e435f96a9da073bc503"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-913","guid":"062167e8-5db3-0857-a865-a1fc4aad34bc","name":"CWE-913","shortDescription":{"text":"CWE-913"},"helpUri":"https://cwe.mitre.org/data/definitions/913.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":47,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}