{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"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":"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":"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":"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":"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"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":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"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":"prek::run (cyclomatic 43): prek::run has cyclomatic complexity 43 (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/prek/src/main.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6014dd896becae8f4c7f2dc1bf64bbfb11d4e4fd10de0001edf3312d66335a17"}},{"ruleId":"D1","level":"warning","message":{"text":"prek::schema::strip_null_acceptance (cyclomatic 27): prek::schema::strip_null_acceptance 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/prek/src/schema.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbb2c3af7f7a1741d4d339e6a37da26c3ef5f917d035999054af4e052526f8a"}},{"ruleId":"D1","level":"warning","message":{"text":"HookOptions::update (cyclomatic 24): HookOptions::update has cyclomatic complexity 24 (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/prek/src/config/hook.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfa9265d3750b8794e740d450bec9beec7bc31d9997ea9afeb2966ffef5ce7d"}},{"ruleId":"D1","level":"warning","message":{"text":"prek::cli::run::run::run (cyclomatic 24): prek::cli::run::run::run has cyclomatic complexity 24 (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/prek/src/cli/run/run.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"00311277e8f1a8e0ee0fbd14cc8e988d6e68203051e6c620f1932c8a4a0a3b6b"}},{"ruleId":"D1","level":"warning","message":{"text":"Repo::deserialize (cyclomatic 21): Repo::deserialize has cyclomatic complexity 21 (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/prek/src/config/repo.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f738beb4dbe311d7634a1c99a16a3586759be679fc326a698096f6c76ee83131"}},{"ruleId":"D1","level":"warning","message":{"text":"prek::hooks::check_merge_conflict::check_file (cyclomatic 20): prek::hooks::check_merge_conflict::check_file 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/prek/src/hooks/check_merge_conflict.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa614b53d71e3a8fc12fba9d7a9d6edabe760594f9b59543b6eeb96e7e08c7b"}},{"ruleId":"D1","level":"warning","message":{"text":"prek::cli::cache_gc::cache_gc (cyclomatic 18): prek::cli::cache_gc::cache_gc 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/prek/src/cli/cache_gc.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a9f5f4c758c3b19c13b1ae33553dada0c14a382cd6add5dbf35b54e565f153"}},{"ruleId":"D1","level":"warning","message":{"text":"prek::cli::install::install_hook_script (cyclomatic 18): prek::cli::install::install_hook_script 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/prek/src/cli/install.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"6738535c226b5019acfaa731d62b17823baa765cc21eaee3c02d4bc5fc5a5a72"}},{"ruleId":"D1","level":"warning","message":{"text":"RunReport::render_hook_details (cyclomatic 17): RunReport::render_hook_details 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/prek/src/cli/run/output.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f58d506e73641f16dc7aeed7307fc342621fbcd35743422b6d0a3f71746970"}},{"ruleId":"D1","level":"warning","message":{"text":"prek::archive::unzip (cyclomatic 17): prek::archive::unzip has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/archive.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5379fa5f55b0267d479f901a7515a6244eeffdbae8bd31c25c1e1a2b1a549629"}},{"ruleId":"D1","level":"warning","message":{"text":"prek::cli::cache_gc::sweep_dir_by_name (cyclomatic 17): prek::cli::cache_gc::sweep_dir_by_name 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/prek/src/cli/cache_gc.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d029659f0dc58f34521a277a5130fd2a493cd8b4ce2466f8d18da466691cbe"}},{"ruleId":"D1","level":"warning","message":{"text":"prek::cli::cache_gc::sweep_stale_patch_files (cyclomatic 16): prek::cli::cache_gc::sweep_stale_patch_files 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/prek/src/cli/cache_gc.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ffad41fc2809008fe8e6a62a6c018fec2d752c15b1142b5d9fcd9055413ae9"}},{"ruleId":"D1","level":"warning","message":{"text":"prek::cli::run::run::set_env_vars (cyclomatic 16): prek::cli::run::run::set_env_vars 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/prek/src/cli/run/run.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c440dca63024b672290ab149ac6229d80e8da3e7376ef8bcc6f2c64e8e31a8"}},{"ruleId":"D1","level":"warning","message":{"text":"prek::hooks::normalize_indentation::fix_file (cyclomatic 16): prek::hooks::normalize_indentation::fix_file 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/prek/src/hooks/normalize_indentation.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b43af18ff41c1245928713fd253d5bc1b84d163daf9263591a2c3df81328d0"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::schema::strip_null_acceptance (cognitive 51): prek::schema::strip_null_acceptance has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (34 pts), loops 3 (8 pts), match/switch 3 (7 pts), boolean chains 2 (nesting depth added 28). 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/prek/src/schema.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92aed6fdd5656b866602ffaa1c685d0ae202f684db878d9f37d19b9a042c8f9"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::update::display::apply_repo_updates (cognitive 41): prek::cli::update::display::apply_repo_updates has cognitive complexity 41 (threshold 15). Drivers by points: loops 6 (21 pts), if/else 4 (11 pts), match/switch 2 (7 pts), boolean chains 2 (nesting depth added 27). 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/prek/src/cli/update/display.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7c78e414cca88b0b440ec4a6301d742d0587e6192002523df68a5da0b636d8"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::update::display::write_display_events (cognitive 36): prek::cli::update::display::write_display_events has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (30 pts), loops 2 (3 pts), match/switch 1 (2 pts), boolean chains 1 (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/prek/src/cli/update/display.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"807981b0d6d7a8385433fb0ab7c3c91f930a99bb381f837906710d990e2cc2d9"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::hooks::check_merge_conflict::check_file (cognitive 35): prek::hooks::check_merge_conflict::check_file has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 6, loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 14). 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/prek/src/hooks/check_merge_conflict.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5669c08f258e139d527a93ccf59b51a376c9f952e485de664d7bdd1cf20b70b4"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::cache_gc::sweep_dir_by_name (cognitive 34): prek::cli::cache_gc::sweep_dir_by_name has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (29 pts), match/switch 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 17). 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/prek/src/cli/cache_gc.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"5595f4f6d7e9c0e17752d3d4960026babde8ab370d05002e25c01dd1a64919e0"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::install::install_hook_script (cognitive 33): prek::cli::install::install_hook_script has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (29 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/prek/src/cli/install.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afd60708b286d5012025bcc84ef527b0a9b6d4035c13386ea8bb31bfaa3e4f1"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::cache_gc::cache_gc (cognitive 32): prek::cli::cache_gc::cache_gc has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 4 (5 pts), match/switch 2 (5 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/prek/src/cli/cache_gc.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b9eac9bfb3cb19d81056ebc5f7607c579dfa9dd22ba276d6fff23dfa181cd4"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::archive::unzip (cognitive 31): prek::archive::unzip has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 3, match/switch 1 (2 pts) (nesting depth added 15). Of this number, 27 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/archive.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d0ea10c086f1a8f6565988b85f1360d80e992eeb3d8a1c52e031a87f2858af"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::run::run::run (cognitive 31): prek::cli::run::run::run has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (23 pts), loops 2 (3 pts), match/switch 2 (3 pts), boolean chains 2 (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/prek/src/cli/run/run.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd02ec196ae6de4fce3ebc2eece7f370e0dfe11b0b1d0046c93b59176d474dd9"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::cache_gc::sweep_stale_patch_files (cognitive 28): prek::cli::cache_gc::sweep_stale_patch_files has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 3 (5 pts), boolean chains 1, loops 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/prek/src/cli/cache_gc.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"b907ccb4577561d309f161a665c9491aeef0d69baad4acb0be268d58a8fbd09e"}},{"ruleId":"D2","level":"warning","message":{"text":"HookOptions::update (cognitive 27): HookOptions::update has cognitive complexity 27 (threshold 15). Drivers by points: if/else 25 (27 pts) (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/prek/src/config/hook.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f007ba89a855df81510dcc0dd6f7db1de35a70784255928a77b6f982bfacb65"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::cache_gc::hook_env_requirements_from_config (cognitive 27): prek::cli::cache_gc::hook_env_requirements_from_config has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 4 (13 pts), if/else 2 (7 pts), loops 3 (7 pts) (nesting depth added 18). 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/prek/src/cli/cache_gc.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd82955f583859090522135b531bf8a8d693b91c42c931559659ba5a9af9958"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::hooks::check_commit_trailers::check_message (cognitive 27): prek::hooks::check_commit_trailers::check_message has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 4 (6 pts), boolean chains 2 (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/prek/src/hooks/check_commit_trailers.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"327b5b29d9bde51a97ad8a1dc49700150bb0cde0734a95ba291b0b88c5a5cf77"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::cache_gc::sweep_tool_bucket_versions (cognitive 26): prek::cli::cache_gc::sweep_tool_bucket_versions has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (22 pts), match/switch 2 (3 pts), loops 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/prek/src/cli/cache_gc.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1f86749533be29b633ea9129501da2654a119a81d0be5ebd61f66de2069b53"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::hooks::normalize_indentation::fix_file (cognitive 26): prek::hooks::normalize_indentation::fix_file has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (6 pts), boolean chains 3, loops 2 (3 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/prek/src/hooks/normalize_indentation.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac6ff6773cfa2a90d72a37c17acaf610273b9c8281deec7b03c742729b7b1a8"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::languages::golang::gomod::parse_go_mod_directives (cognitive 26): prek::languages::golang::gomod::parse_go_mod_directives has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 2, loops 1 (nesting depth added 14). 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/prek/src/languages/golang/gomod.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12838ded0e9c8f9efae5926e010900b7c1e208cd617af5ecc3df6dd3a233a52"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::hooks::meta::check_useless_excludes (cognitive 25): prek::hooks::meta::check_useless_excludes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (7 pts), boolean chains 2 (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/prek/src/hooks/meta.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1926d9872e28edb2bfc8355b0bdaada82237dfc62b842dee778b760896214c"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::languages::rust::rust::install_local_project (cognitive 25): prek::languages::rust::rust::install_local_project has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (7 pts), boolean chains 1, match/switch 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/prek/src/languages/rust/rust.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9b69270ae4f30d3098c286cac3b70f510fc7ad2af96ed4e3d850ab1a8f5bb9"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectFiles::visit_for_project (cognitive 24): ProjectFiles::visit_for_project has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 2, loops 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/prek/src/cli/run/filter.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"976cb51ac45fe6ea5e891cdee8988d73bfbf99847a4d6fb813655e48653aee7e"}},{"ruleId":"D2","level":"warning","message":{"text":"Project::find_configs (cognitive 24): Project::find_configs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (5 pts), match/switch 1 (5 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/prek/src/workspace.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca4f36159a43695b3e8f0b21f11f4dc0e13e0076ee7116eff81a02c2157ba1b"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::run (cognitive 24): prek::run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 5 (7 pts), boolean chains 2 (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/prek/src/main.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f728adc5f167eb7d2d8052e353809d4f957b6eaa8f61b240850554d20f444b2c"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::hook_impl::hook_impl (cognitive 24): prek::cli::hook_impl::hook_impl has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 2, match/switch 1 (2 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/prek/src/cli/hook_impl.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2301966549111ecf8cf346e45c206b71d447fb290d8279d31c60463070882a26"}},{"ruleId":"D2","level":"warning","message":{"text":"RunReport::render_priority_group (cognitive 23): RunReport::render_priority_group has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3, loops 2 (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/prek/src/cli/run/output.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2e3b10e8a8c3a2611130f64a119068b3f836fb1bfb1e312a3232868e4f0377"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::hooks::meta::check_hooks_apply (cognitive 23): prek::hooks::meta::check_hooks_apply has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (5 pts), boolean chains 2 (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/prek/src/hooks/meta.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1989be6f1599196154d16a2a5b92944bb60091ff1e7e386fc27e3770813b177f"}},{"ruleId":"D2","level":"warning","message":{"text":"Repo::deserialize (cognitive 21): Repo::deserialize has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 7 (14 pts), if/else 3 (6 pts), loops 1 (nesting depth added 10). 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/prek/src/config/repo.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c44f9646def0469cfa3fa3df9d8244613f815b71a617f3e61f6bc127a9bccd"}},{"ruleId":"D2","level":"warning","message":{"text":"Project::build_hooks (cognitive 21): Project::build_hooks has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (13 pts), if/else 1 (4 pts), match/switch 2 (4 pts) (nesting depth added 13). 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/prek/src/workspace.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc28fb8bee172ee0336e25736246efe64622e9fd9bec499e21b38eeab37583b"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::run::run::select_runnable_env_hooks (cognitive 21): prek::cli::run::run::select_runnable_env_hooks has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (5 pts), boolean chains 2, 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/prek/src/cli/run/run.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d76d0269bc5aaa6bd3183ddc3d103ae4ce00f014449ae94b2edea2da71feaf"}},{"ruleId":"D2","level":"warning","message":{"text":"RunReport::render_hook_details (cognitive 20): RunReport::render_hook_details has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 4, loops 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/prek/src/cli/run/output.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"522e339b0a2f207eb06a22597bf0e6ddccb1957d74894cda52690d7f20f13c1e"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::list::list (cognitive 20): prek::cli::list::list has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (6 pts), boolean chains 2, 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/prek/src/cli/list.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fab6c28f2da63c555e801e6698936e2058c45783425c967f85fb9a58450f7dd"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::install::uninstall (cognitive 19): prek::cli::install::uninstall has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 1 (2 pts), boolean chains 1, loops 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/prek/src/cli/install.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9d86ca2871bce8df45aaf24bcbd0727aa2220d9bb5af1cce42e73e354b6f2d"}},{"ruleId":"D2","level":"warning","message":{"text":"ParsedRequirements::parse (cognitive 18): ParsedRequirements::parse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 1, match/switch 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/prek/src/hooks/requirements_txt_fixer.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec6342ce0f1d08d08d1d857e6f5a0eb72660f1391084c92dfe0234d1253eec7"}},{"ruleId":"D2","level":"warning","message":{"text":"CargoCliDependency::from_str (cognitive 18): CargoCliDependency::from_str has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 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/prek/src/languages/rust/rust.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd785af8e1d5e49a1cc1557330acc3691e189913f1f9bf950265cacaf651f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreGuard::clone_repos (cognitive 18): StoreGuard::clone_repos has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3, match/switch 2 (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/prek/src/store.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2ae30c9b5855c663b55bb388304f59da5ca176b6c4a3be325e177775907697"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::hooks::fix_trailing_whitespace::fix_file (cognitive 18): prek::hooks::fix_trailing_whitespace::fix_file has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 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/prek/src/hooks/fix_trailing_whitespace.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e61a709d80434fdf73acdb83c89a2330adca0a1863ddbbd90ce4829521513a"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectorCompleter::project_candidates (cognitive 17): SelectorCompleter::project_candidates has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2, boolean chains 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/prek/src/cli/completion.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d829a404f05f837ae060fd34d7da87a5c5428ec28f88956591ed16906baf3c9b"}},{"ruleId":"D2","level":"warning","message":{"text":"Selectors::matches_path (cognitive 17): Selectors::matches_path has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2, match/switch 1 (2 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/prek/src/cli/run/selector.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f0fa107a29a24dab4471ce365847c86b52499e169a80283822615e739036f2"}},{"ruleId":"D2","level":"warning","message":{"text":"Workspace::discover (cognitive 16): Workspace::discover has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 2 (4 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/prek/src/workspace.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96a63b472c700f9715ca60fb49db599c9f7cc9a7b533529db5e75dd4e96c527"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::cli::run::run::set_env_vars (cognitive 16): prek::cli::run::run::set_env_vars has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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/prek/src/cli/run/run.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33a6bb8b3aa2ca21b2ef3612e860e7700a9b05fde85eebfb1d0758ef0d4bd90"}},{"ruleId":"D2","level":"warning","message":{"text":"prek::hooks::replace_pattern::parse_replacement (cognitive 16): prek::hooks::replace_pattern::parse_replacement has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, 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/prek/src/hooks/replace_pattern.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8212aa10545beaa84cb1eae5a16cc5ad0079ac889c2356e353ede0e581cb3a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuiltinHook.from_id: MethodTooLong \u2014 from_id runs 375 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 275 over it, 3.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/prek/src/hooks/builtin.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccffab3efda4d9af1d4f1f56f41a683c9c615d7b8837cf212b9e22fee1ab680"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prek::run: FunctionTooLong \u2014 prek::run runs 240 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 140 over it, 2.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/prek/src/main.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efb9e14540a34f3b55b9917037f16b358bd6c68a49d1f0586d412457b3bc32d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prek::cli::run::run::run: FunctionTooLong \u2014 prek::cli::run::run::run runs 179 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 79 over it, 1.79\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/prek/src/cli/run/run.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f72901b59f9944b89cc57fcb4873f09a797ffd3d61d7bf5bceef506b0ea6d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run/run.rs: FileTooLong \u2014 810 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 310 over it, 1.62\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/prek/src/cli/run/run.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8874e6d3316361f428bb990d7acecf061fe9e8db72f4b809ac4b981b51f98bca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/git.rs: FileTooLong \u2014 796 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 49 free functions. The bar is 500 significant lines; this is 296 over it, 1.59\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/prek/src/git.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"906a457ff9059563982f4e6e8e45cc2f4ea08c71776db3436a1d5137df23f58f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/hook.rs: FileTooLong \u2014 662 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 162 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/prek/src/hook.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ce2cb71876f12a4a693faff7d0c256865f11a415b0d7b8b1803bc01970f993"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Cmd: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.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/prek/src/process.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2ac0c5ab66ce63d3e82cc2429299b2f47f3e9e352a1bee9ae720154c4f8312"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/mod.rs: FileTooLong \u2014 650 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 150 over it, 1.30\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/prek/src/cli/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0c3c77508378fa53730f803db8437fff7cf181f6c5c75a527023e58b30c75e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prek::cli::cache_gc::cache_gc: FunctionTooLong \u2014 prek::cli::cache_gc::cache_gc 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/prek/src/cli/cache_gc.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"af744c6310c429c65bc0ba762986d14476b2abe9f1424d4337846f74c00d7441"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prek::cli::update::display::apply_repo_updates: FunctionTooLong \u2014 prek::cli::update::display::apply_repo_updates 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/prek/src/cli/update/display.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6f505e3735f2b7aa2f46b3da49d17c6ce814ab601a29ecf2d7dcb9d1e08006"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/hook.rs: FileTooLong \u2014 624 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 124 over it, 1.25\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/prek/src/config/hook.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96088d03a4efb6e9f932015e527fb45eadb2365ff44ec47ae747ffb1b5c0c81d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/workspace.rs: FileTooLong \u2014 595 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 95 over it, 1.19\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/prek/src/workspace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e561a17176b7d6f71dbacc060a0a2bf81e0862567a22e56572cc09abf827c003"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/builtin.rs: FileTooLong \u2014 594 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: BuiltinHook (253-719). The bar is 500 significant lines; this is 94 over it, 1.19\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/prek/src/hooks/builtin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c282acb74b27ccc644d19fb34076a0d03372f1f61bd25ea7d6723a03bc305c7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run/selector.rs: FileTooLong \u2014 545 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 45 over it, 1.09\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/prek/src/cli/run/selector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e20d277c6a364ce8e0f3135fe3c5aa13efa865bcce23d4c51d43417b850f53f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/cache_gc.rs: FileTooLong \u2014 532 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 32 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/prek/src/cli/cache_gc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b89cce54da0c2e79a3ef1619d18be06a395b0c37e4455500cd574a949e8a2f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Hook: TooManyFields \u2014 31 stored fields beside 14 methods. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hook.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b4b5dc5fcd1353691ccbb5670cda2507943429b9d50a6ad80d76e24ae30cf2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run/filter.rs: FileTooLong \u2014 510 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 10 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/prek/src/cli/run/filter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f505c9780088572ea82750f26edcbf8b82fe85b68c33ac0e2ce55ec449c910"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run/reporter.rs: FileTooLong \u2014 503 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 3 over it, 1.01\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/prek/src/cli/run/reporter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6381058dd99805fd3e3f779e09bad165e58e10ce1e78f042254814b54fe60ba8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: languages/mod.rs: FileTooLong \u2014 503 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 3 over it, 1.01\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/prek/src/languages/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d943d0adf3f6e2859c3d4d837f6c107f7cded24055743780f666f5ec25229a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/prek/src/languages/bun/installer.rs:125-155 | crates/prek/src/languages/deno/installer.rs:134-164 | crates/prek/src/languages/dotnet/installer.rs:120-150 | crates/prek/src/languages/golang/installer.rs:153-185 | crates/prek/src/languages/mise/installer.rs:151-191 | crates/prek/src/languages/node/installer.rs:199-229 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/bun/installer.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e532dfe97994e483fefd2b03d3ea8fee9056ef328a13420dfb946e2e370d30f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/prek/src/hooks/check_json.rs:18-28 | crates/prek/src/hooks/check_toml.rs:16-26 | crates/prek/src/hooks/check_xml.rs:16-26 | crates/prek/src/hooks/detect_private_key.rs:50-60 \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/prek/src/hooks/check_json.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99c4aeda5c80a6adba8cb60878cbee73013076c144710bbe2c742731d90c777"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/prek/src/languages/docker.rs:443-489 | crates/prek/src/languages/docker_image.rs:40-74 | crates/prek/src/languages/julia.rs:107-145 | crates/prek/src/languages/mod.rs:120-147 \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/prek/src/languages/docker.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af7e613fe17be4b9240d9a7988bb391a053198c3460598e7d222f268220f2e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): crates/prek/src/cli/cache_gc.rs:476-544 | crates/prek/src/cli/cache_gc.rs:552-630 \u2014 These two members are one piece of code written twice and then edited apart: 69 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/prek/src/cli/cache_gc.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae465d515dde274caaf3bb9bdd7d9f3274ebeb45dab43ce95b5a48f9eb6ce145"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/prek/src/languages/bun/installer.rs:201-236 | crates/prek/src/languages/node/installer.rs:268-296 \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/prek/src/languages/bun/installer.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fc671acffd333d5e54022be7eb9cc412a9f1a386de3a03ab27707fb87a1bae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/prek/src/config/hook.rs:851-882 | crates/prek/src/config/hook.rs:913-944 \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/prek/src/config/hook.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"011eb2b0912a4d6b2104836eec2c7aa9e05fe1cfe649d5214237d60ed377b7ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/prek/src/cli/validate.rs:14-46 | crates/prek/src/cli/validate.rs:48-80 \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/prek/src/cli/validate.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a8d9a4659ce58abb611e0bec872350da757506426875c142ac6a3283ddd10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/prek/src/languages/golang/gomod.rs:107-136 | crates/prek/src/languages/python/pyproject.rs:46-76 \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/prek/src/languages/golang/gomod.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8439d576508ff3ccbf5fc9e7a4c31bf078375045d392fb8184552c393d9ec187"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 23\u002B corresponding lines): crates/prek/src/languages/bun/installer.rs:98-122 | crates/prek/src/languages/deno/installer.rs:107-131 | crates/prek/src/languages/golang/installer.rs:124-151 | crates/prek/src/languages/mise/installer.rs:127-149 | crates/prek/src/languages/node/installer.rs:168-196 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 23 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/prek/src/languages/bun/installer.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad987bfcfa8702a4aa30461b36700837ab6a88c60a044b0ad8da210f77cf5031"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/prek/src/cli/run/selector.rs:351-382 | crates/prek/src/cli/run/selector.rs:384-433 \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/prek/src/cli/run/selector.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd13792510375f2c333b80b773bf5338d732f579881008b8a307e9e8c426afd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/prek/src/git.rs:762-792 | crates/prek/src/git.rs:794-822 \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/prek/src/git.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b31131f47d65eeb73533dc39e868d41e14ad89a757982b1a7ac5134216c317"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/prek/src/languages/bun/installer.rs:55-72 | crates/prek/src/languages/deno/installer.rs:54-81 \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/prek/src/languages/bun/installer.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37feff478dd685351e134c3f13eed16e73406b31a24d6b18b2902ae98727b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 34\u002B corresponding lines): crates/prek/src/languages/bun/installer.rs:239-273 | crates/prek/src/languages/deno/installer.rs:276-313 | crates/prek/src/languages/golang/installer.rs:277-310 | crates/prek/src/languages/node/installer.rs:299-343 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 34 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/prek/src/languages/bun/installer.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b02c16a8debeaf2beba3eeae80b0333a441e4a67f224131e546bdb8bfabba38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/prek/src/languages/dotnet/installer.rs:262-282 | crates/prek/src/languages/dotnet/installer.rs:290-315 \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/prek/src/languages/dotnet/installer.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdac13af5d25f9b644d88ca3d9e46eb41443ecd98398730cc5982f5db229cdab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/prek/src/languages/bun/installer.rs:171-198 | crates/prek/src/languages/golang/installer.rs:187-207 \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/prek/src/languages/bun/installer.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d80a3191cbb27fce6c25cf555157f8d5f54965e00566b8e97b7770689791c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): crates/prek/src/languages/bun/version.rs:54-76 | crates/prek/src/languages/deno/version.rs:55-77 | crates/prek/src/languages/golang/version.rs:73-92 | crates/prek/src/languages/python/version.rs:33-53 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 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/prek/src/languages/bun/version.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50dc387bdc1c1d246ead238cabd268bc65f076b2b3852d753590395d4603d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/prek/src/languages/ruby/ruby.rs:126-143 | crates/prek/src/languages/rust/rust.rs:569-587 \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/prek/src/languages/ruby/ruby.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"54869b237683292fcc581d0d48f775a60f16adc81eb0d86412d8946f347f4dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/prek/src/hooks/check_executables_have_shebangs.rs:72-100 | crates/prek/src/hooks/check_shebang_scripts_are_executable.rs:46-74 \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/prek/src/hooks/check_executables_have_shebangs.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"968ad52d6aa7afde5caefd1fabd90799947b9bf881e98fe4631de4db8e347bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 11\u002B corresponding lines): crates/prek/src/languages/bun/version.rs:87-97 | crates/prek/src/languages/deno/version.rs:88-98 | crates/prek/src/languages/golang/version.rs:103-113 | crates/prek/src/languages/node/version.rs:183-193 | crates/prek/src/languages/python/version.rs:65-76 | crates/prek/src/languages/ruby/version.rs:82-92 | crates/prek/src/languages/rust/version.rs:89-99 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 11 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/prek/src/languages/bun/version.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"83168eabd1e85ddb44beaf4fe7ace0461d5cf07b4695585ced50eea0a01759bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/prek/src/languages/dotnet/installer.rs:153-178 | crates/prek/src/languages/mise/installer.rs:193-211 \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/prek/src/languages/dotnet/installer.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12b03323623d92adb99499fc8abb7b87294d65eb830e233840150d7325a2d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/prek/src/languages/python/version.rs:78-91 | crates/prek/src/languages/rust/version.rs:105-120 \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/prek/src/languages/python/version.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e226089d1749c3cba04eecfcc6ead628fe71db304abf04cd127be5ede9e6d985"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/prek/src/config/hook.rs:672-686 | crates/prek/src/config/hook.rs:780-796 \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/prek/src/config/hook.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"326cd34c560437c71f4793a02e907f64fe6f6cc947c66af5d380daf6e0029375"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/prek/src/languages/bun/bun.rs:126-137 | crates/prek/src/languages/deno/deno.rs:172-185 \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/prek/src/languages/bun/bun.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f94d3eafe04fae6350e48823fa25ff2e877ba549a51bae3c4a674e2dd5c867"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): crates/prek/src/schema.rs:262-286 | crates/prek/src/schema.rs:294-313 | crates/prek/src/schema.rs:334-353 | crates/prek/src/schema.rs:374-393 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 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/prek/src/schema.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f9be779f4badf1509e79b63a82f78795bcd7f887bad58fe7944b35596c5b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/prek/src/git.rs:1113-1129 | crates/prek/src/git.rs:1132-1145 \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/prek/src/git.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d835599b309ed13b006e43c5141f91a88125518c74d83a3c89dc0ca5e527aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/prek/src/git.rs:992-1006 | crates/prek/src/git.rs:1148-1162 \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/prek/src/git.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"71af9854aeb17d99bd640de060984eb72fd8a7af8509befca05583ac3460a4d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/prek/src/cli/run/reporter.rs:664-676 | crates/prek/src/cli/run/reporter.rs:722-732 \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/prek/src/cli/run/reporter.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f80eff9e60ffc79adde6f3ed40c4556c11d48362dac352aa85bb06f06e1f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/prek/src/git.rs:224-238 | crates/prek/src/git.rs:346-359 \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/prek/src/git.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"547e78885fd88118bc847249956f712e0d81a10a127e4508ed80448ac6280933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/prek/src/languages/bun/bun.rs:106-120 | crates/prek/src/languages/deno/deno.rs:152-166 \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/prek/src/languages/bun/bun.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"947a211c0c5ddd28f237ca948568d4ed256f536f64a83db9d4e294b958e4955e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/prek/src/hooks/check_jsonc.rs:23-35 | crates/prek/src/hooks/check_vcs_permalinks.rs:87-99 | crates/prek/src/hooks/pattern.rs:168-181 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 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/prek/src/hooks/check_jsonc.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ebb4c73d87cef1470d82f4c7c016c31576a37eb7453f05d218af054924448a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/prek/src/hooks/file_contents_sorter.rs:29-47 | crates/prek/src/hooks/normalize_indentation.rs:39-52 \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/prek/src/hooks/file_contents_sorter.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0680066774ff31b274690e8b28f283da91c0358f2ceb510d921b0802e38953e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): crates/prek/src/languages/dart.rs:159-168 | crates/prek/src/languages/haskell.rs:116-123 | crates/prek/src/languages/perl.rs:79-86 | crates/prek/src/languages/python/python.rs:184-194 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/dart.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"55079ce87d0ef60bb1c29d9b856ab7ab3da9dbab2f03c5a563ea475ac7f4d051"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/prek/src/cli/update/repository.rs:41-52 | crates/prek/src/hooks/destroyed_symlinks.rs:198-209 \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/prek/src/cli/update/repository.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d28acdfd8bab00e117e1ea6d4261d5e4a0ff76fb48075df86393a7f046f4e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/prek/src/hook_entry.rs:255-266 | crates/prek/src/hook_entry.rs:282-294 \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/prek/src/hook_entry.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de08e6926ca6cc3327162f8a9d6b24c1cd106c8b0bd389754c55c3b71c8e4db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/prek/src/languages/python/python.rs:81-89 | crates/prek/src/languages/node/installer.rs:96-103 \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/prek/src/languages/python/python.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66103a5e4b2bfe08be82b91051210076e564d49951611b380a216949de57ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/prek/src/languages/bun/installer.rs:157-168 | crates/prek/src/languages/deno/installer.rs:166-177 \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/prek/src/languages/bun/installer.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccbce786537c15f73463b1198d2951df4e1956d6401e77824e73f78b84fe9e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/prek/src/cli/run/filter.rs:34-46 | crates/prek/src/hooks/meta.rs:223-235 \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/prek/src/cli/run/filter.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a865456390b2370b7bac593d90a26687d9e479e7da0c6860ff8eb63577b059bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/prek/src/hooks/pretty_format_json.rs:77-88 | crates/prek/src/hooks/check_json5.rs:11-20 \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/prek/src/hooks/pretty_format_json.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b07c265fbb2fa2e668e07571cb19a91bd90dfe9a01aa767fdb185201305241"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): crates/prek/src/languages/bun/version.rs:30-33 | crates/prek/src/languages/deno/version.rs:31-34 | crates/prek/src/languages/golang/version.rs:31-34 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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/prek/src/languages/bun/version.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8397e2b781ab549237b1ffd571733bc26a062445a3a0823fa65fa4b91396cb6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/prek/src/cli/cache_gc.rs:492-507 | crates/prek/src/cli/cache_gc.rs:565-579 \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/prek/src/cli/cache_gc.rs:492\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/prek/src/cli/cache_gc.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4985a7564c778447fb09df671c773df98e42579370f50891330c4de6fd5a4d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/prek/src/cli/validate.rs:24-39 | crates/prek/src/cli/validate.rs:58-73 \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/prek/src/cli/validate.rs:24\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/prek/src/cli/validate.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f635b14588e7b3139b70323777f4fd4210ef2bf5a561f2cee8af4368c749e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/prek/src/config/hook.rs:867-882 | crates/prek/src/config/hook.rs:929-944 \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/prek/src/config/hook.rs:867\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/prek/src/config/hook.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0986ac933431532b35cdfd75d55b9ee4f22b97fab1fa72915bc9565d93c098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/prek/src/cli/run/selector.rs:359-373 | crates/prek/src/cli/run/selector.rs:391-408 \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/prek/src/cli/run/selector.rs:359\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/prek/src/cli/run/selector.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7073cd7a02005e89765dd1b0ff41897932d50392aa5d21adb9be672ebb787b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): crates/prek/src/languages/bun/installer.rs:126-139 | crates/prek/src/languages/deno/installer.rs:135-148 | crates/prek/src/languages/dotnet/installer.rs:121-134 | crates/prek/src/languages/golang/installer.rs:154-167 | crates/prek/src/languages/node/installer.rs:200-213 \u2014 \u0060crates/prek/src/languages/bun/installer.rs\u0060 and \u0060crates/prek/src/languages/deno/installer.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/prek/src/languages/bun/installer.rs:126\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/prek/src/languages/bun/installer.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee694daf69232bdc04c08152d835ceb171f6dff237093ea93d2ca2ec1a889fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): crates/prek/src/hooks/meta.rs:121-130 | crates/prek/src/hooks/meta.rs:239-252 \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/prek/src/hooks/meta.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4616e207442c53185d3c1787dac984101bf60ce72b560d5378177776f9b85805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/prek/src/languages/docker.rs:477-489 | crates/prek/src/languages/docker_image.rs:62-74 | crates/prek/src/languages/julia.rs:133-145 | crates/prek/src/languages/mod.rs:135-147 \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 all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/prek/src/languages/docker.rs:477\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/prek/src/languages/julia.rs:130\u0060 calls \u0060check\u0060 and \u0060crates/prek/src/languages/mod.rs:132\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/prek/src/languages/docker.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b8deb203d564569aec5816ee3b54c6ba0066ceaac6dfb060fedda8bbe59088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/prek/src/languages/python/uv.rs:619-629 | crates/prek/src/languages/python/uv.rs:646-656 \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/prek/src/languages/python/uv.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82e5df5d91d6ed1a9cc1d01495833b5fa710908bedc4b5ef179442776c3e768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/prek/src/hooks/check_json.rs:19-28 | crates/prek/src/hooks/check_toml.rs:17-26 | crates/prek/src/hooks/check_xml.rs:17-26 | crates/prek/src/hooks/detect_private_key.rs:51-60 \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 all 4 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/prek/src/hooks/check_json.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f969b80a3ce8318ff754f752050b25cdf0ccf09de0254848cfcc2e21447e790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/prek/src/config/hook.rs:673-682 | crates/prek/src/config/hook.rs:781-790 \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/prek/src/config/hook.rs:673\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/prek/src/config/hook.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fe9de2f7878b3c68ffbcc7c220fd7e624674ab856b47cee174e98c7846d08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/prek/src/languages/bun/version.rs:105-114 | crates/prek/src/languages/deno/version.rs:109-118 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060version\u0060 to \u0060\u0026BunVersion\u0060 in one and \u0060\u0026DenoVersion\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/prek/src/languages/bun/version.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"82af7ebbfbe6eb9a86eae7954e97dd5ec1ea1d0fa0156a3c26bc27a9aa42464c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/prek/src/languages/docker.rs:444-451 | crates/prek/src/languages/docker_image.rs:41-48 \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/prek/src/languages/docker.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8371c66f6458e90f96c68478716c46cbb4d6ac81dbd788ed5139982f2e7864d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): crates/prek/src/languages/docker.rs:460-467 | crates/prek/src/languages/docker_image.rs:50-55 \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/prek/src/languages/docker.rs:460\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/prek/src/languages/docker.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0a5f4049d93734e89fff90f6e8db57b52f3843ad9cbe9b76f646f43d705f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/prek/src/languages/bun/installer.rs:141-147 | crates/prek/src/languages/deno/installer.rs:150-156 | crates/prek/src/languages/dotnet/installer.rs:136-142 | crates/prek/src/languages/golang/installer.rs:169-175 \u2014 \u0060crates/prek/src/languages/bun/installer.rs\u0060 and \u0060crates/prek/src/languages/deno/installer.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/prek/src/languages/bun/installer.rs:141\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/prek/src/languages/bun/installer.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ae9ebceda7766544e47a2e7db3f823822acab9b877f19c8187de40b6b09ca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): crates/prek/src/languages/bun/installer.rs:57-61 | crates/prek/src/languages/deno/installer.rs:56-61 \u2014 \u0060crates/prek/src/languages/bun/installer.rs\u0060 and \u0060crates/prek/src/languages/deno/installer.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/prek/src/languages/bun/installer.rs:57\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/prek/src/languages/bun/installer.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b53a60bb2765d48189e24ef8fd8128321607591a5158f70a976fa556c395b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/prek/src/hooks/check_executables_have_shebangs.rs:22-26 | crates/prek/src/hooks/check_shebang_scripts_are_executable.rs:21-25 \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/prek/src/hooks/check_executables_have_shebangs.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d2741cc292f5cfb3f85f32d56e581962835e3a123b6c1cf207a39779fe9bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/prek/src/hooks/fix_byte_order_marker.rs:12-21 | crates/prek/src/hooks/fix_end_of_file.rs:10-19 | crates/prek/src/hooks/requirements_txt_fixer.rs:191-201 \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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/fix_byte_order_marker.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceadcb16e278d0dae45fcb2f6665eb8a88efb0c01e9af8794dd3fe7effbe9dc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/prek/src/languages/bun/installer.rs:303-309 | crates/prek/src/languages/node/installer.rs:378-384 \u2014 \u0060crates/prek/src/languages/bun/installer.rs\u0060 and \u0060crates/prek/src/languages/node/installer.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 37 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/bun/installer.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"c720f566a8bb2fe5ea311b19d79e843186fb94be4058d4ada94300be176df031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/prek/src/languages/mod.rs:89-94 | crates/prek/src/languages/script.rs:37-45 \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/prek/src/languages/mod.rs:89\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/prek/src/languages/mod.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a26eb95b46653a4ffecdbad27c1d3e265430a6bf4791290e4269ebaed56a0a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/prek/src/git.rs:769-779 | crates/prek/src/git.rs:799-809 \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/prek/src/git.rs:769\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/prek/src/git.rs:768\u0060 calls \u0060arg\u0060 and \u0060crates/prek/src/git.rs:798\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/prek/src/git.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b101ffc721c3389e708eb916ca4d70f7e57553af2d0cd87fa10b66d9dc4d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/prek/src/cli/cache_gc.rs:534-544 | crates/prek/src/cli/cache_gc.rs:696-706 \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/prek/src/cli/cache_gc.rs:534\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/prek/src/cli/cache_gc.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af4303afb25f8bdbaf846f23527a080b04c6808f869b4e66183dd79cd3b700c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/prek/src/cli/self_update.rs:62-69 | crates/prek/src/cli/self_update.rs:77-87 \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/prek/src/cli/self_update.rs:77\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 \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. 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/prek/src/cli/self_update.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2dc0d5321610c323463fe87e6c6793035254e5acd9d24bc12b444b89713af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/prek/src/cli/cache_gc.rs:527-535 | crates/prek/src/cli/cache_gc.rs:610-619 \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/prek/src/cli/cache_gc.rs:527\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/prek/src/cli/cache_gc.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5a3f1ba6d8b65a59b5087a2b5bb9b4dfb39749c00c9a099265f277c0a4b298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/prek/src/hooks/builtin.rs:389-398 | crates/prek/src/hooks/builtin.rs:541-550 | crates/prek/src/hooks/builtin.rs:623-631 | crates/prek/src/hooks/builtin.rs:651-659 \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/prek/src/hooks/builtin.rs:389\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/prek/src/hooks/builtin.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"908730da191ad70ec26cf6b0faf652717b0ad1cb6d6cb627cc6ebde749e75880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): crates/prek/src/languages/bun/installer.rs:127-136 | crates/prek/src/languages/deno/installer.rs:136-145 | crates/prek/src/languages/dotnet/installer.rs:122-131 | crates/prek/src/languages/golang/installer.rs:155-164 | crates/prek/src/languages/mise/installer.rs:153-162 | crates/prek/src/languages/node/installer.rs:201-210 \u2014 \u0060crates/prek/src/languages/bun/installer.rs\u0060 and \u0060crates/prek/src/languages/deno/installer.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/prek/src/languages/bun/installer.rs:127\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/prek/src/languages/bun/installer.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"49795e19fa984a0a0a89f35cceaa578f4aa404c6b730837c1e8170a0b14dc45b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/prek/src/languages/bun/installer.rs:211-219 | crates/prek/src/languages/python/uv.rs:348-356 \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/prek/src/languages/bun/installer.rs:211\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/prek/src/languages/bun/installer.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"25328e5377137188e3ac188f87b537c6a73c1fba1f53a7d23ad8f17a98bf330a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/prek/src/hooks/check_json.rs:33-41 | crates/prek/src/hooks/check_toml.rs:36-42 \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/prek/src/hooks/check_json.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9971ac92f81d2d5ae427387113ab3a516d30a8cea3028b47303704321ba78ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/prek/src/languages/bun/installer.rs:210-217 | crates/prek/src/languages/mise/installer.rs:243-250 | crates/prek/src/languages/python/uv.rs:347-354 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/bun/installer.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ffc0a07fc99eea2456f81ed2299f8d1f8e151320721050401850addb8bbe6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/prek/src/languages/dotnet/installer.rs:275-282 | crates/prek/src/languages/dotnet/installer.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/prek/src/languages/dotnet/installer.rs:275\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/prek/src/languages/dotnet/installer.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcbb36d7716b0603541d9d64f8cf4c5d30b0b4ee79a718520588d53b613b738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/prek/src/languages/bun/installer.rs:206-213 | crates/prek/src/languages/deno/installer.rs:224-229 \u2014 \u0060crates/prek/src/languages/bun/installer.rs\u0060 and \u0060crates/prek/src/languages/deno/installer.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/prek/src/languages/bun/installer.rs:206\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060version\u0060 to \u0060\u0026BunVersion\u0060 in one and \u0060\u0026DenoVersion\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/prek/src/languages/bun/installer.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c234c0ee69336aba109b084387e99d36d4f9feeee34dcc3cf0008ca333774b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/prek/src/cli/sample_config.rs:95-99 | crates/prek/src/cli/yaml_to_toml.rs:84-91 \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/prek/src/cli/sample_config.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/prek/src/cli/sample_config.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"504aa830ef9f663175888a3ffa4fa3dd2f90e1e1212bd1aa5b3d21695ac2128c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/prek/src/languages/python/uv.rs:593-599 | crates/prek/src/languages/python/uv.rs:619-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/prek/src/languages/python/uv.rs:593\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/prek/src/languages/python/uv.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"685b3bd78b0ad3752793b9bcf4053a30466bc83777734ec90a8b76dd8c416393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/prek/src/languages/bun/bun.rs:46-51 | crates/prek/src/languages/golang/golang.rs:36-41 | crates/prek/src/languages/mise/mise.rs:86-91 | crates/prek/src/languages/ruby/ruby.rs:38-44 \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/prek/src/languages/bun/bun.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c94e3185ec4fb617ffb37eebf7a91559102ce34a1fc707867e51943c8f0e02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): crates/prek/src/languages/bun/installer.rs:99-104 | crates/prek/src/languages/deno/installer.rs:108-113 | crates/prek/src/languages/dotnet/installer.rs:98-102 | crates/prek/src/languages/golang/installer.rs:125-130 | crates/prek/src/languages/mise/installer.rs:128-132 | crates/prek/src/languages/node/installer.rs:169-174 | crates/prek/src/languages/ruby/installer.rs:205-209 \u2014 \u0060crates/prek/src/languages/bun/installer.rs\u0060 and \u0060crates/prek/src/languages/deno/installer.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/prek/src/languages/bun/installer.rs:99\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/prek/src/languages/bun/installer.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85a8c8ef9c26f623517080ee6619e8740d873b4832d7fdf9ea68ec8ee2fe8c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/prek/src/languages/coursier.rs:69-73 | crates/prek/src/languages/julia.rs:31-35 \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/prek/src/languages/coursier.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5e84355a6d0741a0d905ba330c6bf2024e6c86783c39250b2c5bf582b95b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): scripts/update-macports-portfile.py:183-200 | scripts/update-schemastore-schema.py:45-62 \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":"scripts/update-macports-portfile.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7398f9a160d98218b0975eb86a10c70a0f1dfcfc33e0334d6daf790a8f8be7a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/update-macports-portfile.py:113-121 | scripts/update-schemastore-schema.py:27-35 \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":"scripts/update-macports-portfile.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39c0d4f6ff8b3701e5e30ca9b6efaa5c907c94d42e863fbb0585a33e6b1d2c5"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: prek-identify: prek-identify: 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":"4fcd281ac39f8dc451c1fac806873b18865eaba3ae885b97174b36e8aad3318a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek-update/src/github.rs: 37.0% line coverage (40/108)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek-update/src/github.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"097aba5c1cb2f7dbb8452c07f5b8e58738f1b4fafd5f9bf04890897da6d80c91"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek-update/src/lib.rs: 0.0% line coverage (0/74)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek-update/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ff4a2717c28fa297cdce295698e43d1e7056ffdbd1434fce2ce17a9845b322"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/archive.rs: 43.3% line coverage (61/141)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/archive.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fd19c0ebd1395411a2f18c245e497d67c0ed09fc7d1b4d98609e8d7f8c27f0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cleanup.rs: 0.0% line coverage (0/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cleanup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf77d4cfddee2eb487f61e391ffc6fc718d119589bd5877f52f5ad70f259d1b6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/cache_clean.rs: 45.8% line coverage (38/83)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/cache_clean.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4d12d6fce28218b5ba6581b30ea303ead818e08b706585d1aa078de2e3e572"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/cache_gc.rs: 4.1% line coverage (22/534)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/cache_gc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff7198d666bb9ef6b31ca5c8da4ed476122394396869f5ebcd8f96e4d2dd89c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/completion.rs: 7.7% line coverage (15/196)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/completion.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c8ff3c49d9f7c9c7fddf0218dcb0530000781836b85787a079a72ab0927018"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/exec.rs: 0.0% line coverage (0/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/exec.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8f3935a14ac74553607a95f12724da470d0de4ef62057f8a877a58ee9efc1b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/hook_impl.rs: 0.0% line coverage (0/257)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/hook_impl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abf78bfe16e2547a212e633c01050d4cfabb1d0f3eab190c1889d22bac9df86"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/identify.rs: 0.0% line coverage (0/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/identify.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7ccb65acaf75337508dde1beb5a368397890ac353871568f84f165bfb88e4a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/init.rs: 0.0% line coverage (0/77)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/init.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"888f8bb2cce4e78aebd2cd7f95fcc4129c5e560df95e3b5e6704d1832555fa03"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/install.rs: 0.0% line coverage (0/358)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/install.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5216d8976dc89d51406a5d23941069cfa044e1bbc52fcc89c39546ee55f41a04"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/list.rs: 0.0% line coverage (0/92)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/list.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6eca6881f09f6c27cd1ffffe081c01bd318991ea8dd56785f2a63b3d8e865f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/list_builtins.rs: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/list_builtins.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"196e08ea751aa904fa582e9ae379a03f18e081de55c480127fd954199d4214d0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/mod.rs: 31.9% line coverage (23/72)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a333aeffeaa5e3f7c008dcd04ee5d8d993f4578620855792f15f582ac4d2c59"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/reporter.rs: 19.7% line coverage (25/127)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/reporter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e318ebd184f3dc7553783d2024faf1a364940e6b922fe4d1fed8828478a502"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/run/diff.rs: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/diff.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd3fe6bf0b15f80d8e0fb5245de9650266c59cf344455aecb705fb84ac991e7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/run/filter.rs: 15.0% line coverage (73/486)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/filter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7bad8a9cff2c15c991de8844bb847b3b6af1af6f229023f818ff1ffe42335e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/run/install.rs: 0.0% line coverage (0/202)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/install.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"040e8f3c5cc2a1d0bf6e510cbafbd05df811a5be1e7a9ff97015f0b83f49e122"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/run/output.rs: 6.9% line coverage (25/363)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/output.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"111f83a4022ed885583b154f6673861e8fdae5cb092a5a798cc06428ddb8d396"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/run/reporter.rs: 41.0% line coverage (210/512)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/reporter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd4a3a71cb71dd4fec819156b4c27dbe274d59f1f2e5e4b690f78f9b70cd6c7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/run/run.rs: 0.4% line coverage (3/766)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/run.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc61a869f7e80346b9f84b74005297bbe48b5b907fd5e60f7e09a6b7f4f1462"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/run/selector.rs: 21.2% line coverage (110/519)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/selector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa984f48b1ebd1a7f39a3127fbadc8f98bcf3677cf1d85fde0a73af15717f5f7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/run/stash.rs: 0.0% line coverage (0/184)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/stash.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2a4985f963cab6f1ceec0cad6f6e0d0ccb65a5dfa54fbe54a6d4ac4364aba8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/sample_config.rs: 0.0% line coverage (0/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/sample_config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1b84a683a37bdbe33b709ee6a44eda43369360a941cb219d3fe65f4b59fc22"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/try_repo.rs: 0.0% line coverage (0/220)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/try_repo.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e9b105bd8cc7d9b9b2840cde03bddd41e8d4d21f75ad559a09cc53ef0cf08c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/update/display.rs: 0.0% line coverage (0/336)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/display.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e345b5649098b3df170ebd37a2044b8061d62a12b39637692a79c95417a988"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/update/mod.rs: 13.3% line coverage (26/195)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cb9c287b91251b25252c70d496151231ff0021a58b15d3631e0a8e97fbf1bb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/update/source.rs: 0.0% line coverage (0/235)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/source.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"613dc7faffe5842445bbd7465eb32067c0ff43be32f0c41e448ae1bdc1249d14"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/validate.rs: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/validate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"640785f4957d550b7cee8d4e8165434f07831aa5c575f0f262c30fa39edc493b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/cli/yaml_to_toml.rs: 0.0% line coverage (0/162)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/yaml_to_toml.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"366fb4afd76889e4799a1bad43adfb3ceec1c04ec443740796b440a19a3ac431"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/concurrency.rs: 35.4% line coverage (63/178)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/concurrency.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f39b24c3baec6f1e719e8c780323ffcc7f299dad7071a9b675bfb5e741bc4a6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/config/priority.rs: 39.7% line coverage (29/73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/config/priority.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b667dccb4b1f4d0ce43c0d9b6ae6b0b99707750d116a6cd698eba375584e42f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/git.rs: 44.0% line coverage (326/741)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/git.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d252ef9aa678949f14860387666f35a33b969e8fa5e19bfab648f358375eb5bf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hook_entry.rs: 18.7% line coverage (32/171)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hook_entry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3f16be6edf52d63de93271853740fddff8b63b556d59fdd51d8b0784708f5e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/builtin.rs: 0.5% line coverage (3/557)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/builtin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3f6c70aea474c04a0fa9480e842a9a909b0a3eaecf698e674b7ced6ad4dc13"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/check_added_large_files.rs: 0.0% line coverage (0/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/check_added_large_files.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8490d3813a1760a04e50e410fe2c8a7c3e3bac3c3a410c8716311546375daf05"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/check_case_conflict.rs: 20.6% line coverage (13/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/check_case_conflict.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9466eea606ecff01e3715b92afb0f36626cf69001105a769ec0372904964ca36"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/check_commit_trailers.rs: 0.0% line coverage (0/187)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/check_commit_trailers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"468ec274c289118f24805494753d3eaa6bff20a21e8a8f3df99dccb237cf7436"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/check_executables_have_shebangs.rs: 45.2% line coverage (33/73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/check_executables_have_shebangs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8df4d37a2148c3b1f7cbf92b0bbb1d7c576c0e28d03a5c0f5a657481694312"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/check_illegal_windows_names.rs: 47.1% line coverage (8/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/check_illegal_windows_names.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbfa9c6abab1b257a8cfb82cc78bf7e83413aa516ccaa2564930860ee890f76"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/check_shebang_scripts_are_executable.rs: 41.3% line coverage (19/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/check_shebang_scripts_are_executable.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58181f2bf2aa4671607b4129a8ba47b1bff9afdff1258c1a3333872709d21169"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/check_signed_commit.rs: 0.0% line coverage (0/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/check_signed_commit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f8ce59cbdee0342ef1a29bf4990c0dc6ed5421b287c0b317b1b907a84401ae"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/check_xml.rs: 46.2% line coverage (12/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/check_xml.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"859e1cc3c613d1608b2c2ae3bfbcfcdcacb57d7fa0a95d441a4777340ea4b19a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/destroyed_symlinks.rs: 26.2% line coverage (37/141)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/destroyed_symlinks.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a40bcd8179463805ddb22d3c44a6afa741e60fe398218d03496eea29177355c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/meta.rs: 15.4% line coverage (36/234)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/meta.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"075834b96a86a686850b63b6f02777c6aff2d1a1cf4f5946f8ce7533e71368a9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/no_commit_to_branch.rs: 34.3% line coverage (12/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/no_commit_to_branch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11305ed811e98b4b83951b8dc2a10c04c839c28f2bfb721f14d8c31248ec660"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/pattern.rs: 7.1% line coverage (13/182)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/pattern.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7f85a4442a9a28718f241f11fed31c01a8069ed05e504cdbe1c34b7725af16"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/remote.rs: 8.9% line coverage (5/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/remote.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a7cda98a2198e1177509d7f23635f24b8a27c7f918581a993b5f2cbde40e40"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/hooks/shebangs.rs: 44.2% line coverage (23/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/shebangs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4858b91afd5237c989e53c57b3fa72f53c995b81ece99e0bf1fa3f2b563bcd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/bun/bun.rs: 0.0% line coverage (0/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/bun/bun.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a416faf68a22a7fccb2ffd960429dafec5d5651c8b57729ee6f87538be23d2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/bun/installer.rs: 7.9% line coverage (15/191)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/bun/installer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1dca4af99a8b511427de16cceaedfe0c72ae16dc379b821de3cf90e6c39334"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/conda.rs: 23.1% line coverage (39/169)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/conda.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af78c1ea43470193c32904f232bbe6b127fa9e274d8fcd69d9ffe8f1cac28da3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/coursier.rs: 12.0% line coverage (6/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/coursier.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5460af41c1713dc3ec7579f0d7d67efa901884b832ef62b464320378afb61c40"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/dart.rs: 25.4% line coverage (54/213)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/dart.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1e5f723b312599f2d96c07dfb43271e36796dbbf3bc1bb0283f752bd16ecae"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/deno/deno.rs: 34.3% line coverage (12/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/deno/deno.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fa5f958ae900d557b85edffb113e9e5a92808fb6ff40c2d15d190c0c2273e7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/deno/installer.rs: 17.0% line coverage (39/229)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/deno/installer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fb86e88c46a6d26bfec9944895d223b974c0c296cb866bdaa17231b5777d74"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/docker.rs: 29.5% line coverage (74/251)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/docker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d0da653c1f9a1479a1dffce4b6f0ea7e21bddda311560b8108cf55ba1637b6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/docker_image.rs: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/docker_image.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ace38b44848bf6fcf900f807f55181d1f48132c636e19a5a5334d050f987cd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/dotnet/dotnet.rs: 9.9% line coverage (7/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/dotnet/dotnet.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"683848b9a7b55393931316c8a68ca78ddbae90f582222cbbafa9b4c084015af7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/dotnet/installer.rs: 0.0% line coverage (0/178)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/dotnet/installer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7237e050df12f9df7e20ff41d1ef0f89c1c1d4e698408dbff0480accdae3e56"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/fail.rs: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/fail.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88eff6489618e3121d2f6e70857a0c3512c075dddb5c4c7434e676e127a15eeb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/golang/golang.rs: 0.0% line coverage (0/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/golang/golang.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae098ad440040d3eb77ab40e5823321aa30f2d669551eed42ad187948a4de72"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/golang/installer.rs: 16.1% line coverage (35/217)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/golang/installer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68eed5ed558fb16b801fa53d76f182d9f76b23120898ea4de2410cc7b7dca55a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/haskell.rs: 0.0% line coverage (0/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/haskell.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5365922ff1413e28b8520e70afbc87813f915ed9a00e0d3a2ac6c49bbfa0646"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/julia.rs: 0.0% line coverage (0/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/julia.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a1091c9eef8e531dcd14e4867ff8aeb69adf589dfb2d1ba014015e4ddbe8b4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/lua.rs: 0.0% line coverage (0/107)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/lua.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebec71c7aae167c34ced3b3b9ba33de3837b53af0ecfc6b2f4f47bed9d3c349"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/mise/installer.rs: 0.0% line coverage (0/221)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/mise/installer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d8a6e84360636b5bc16e3e1479729e682126b879fe575bb350175fe5bf6d78"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/mise/mise.rs: 20.2% line coverage (22/109)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/mise/mise.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d06532174fc37cb8e3f3c719045a3cebebc0e7ac80703b7783d5dc17ff5946f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/mise/mod.rs: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/mise/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d3e8d4cb1b3b535feb43398fc5d5f862283f9974ab0db6efe06b096b0debe2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/mod.rs: 21.6% line coverage (59/273)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba0fe8771c6f69682ba381cd032139ca0192d73497fd36c10a2b15100f01309"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/node/installer.rs: 17.9% line coverage (43/240)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/node/installer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d0c4c0b258a3a9ba5a2d0122d09aabb32f7c8dcb99fb21a8b0395068435d66"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/node/node.rs: 0.0% line coverage (0/117)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/node/node.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e03c702c794c0ebdeb0e3625cd31484225e7dc1e4c62ffd272e7e3ec1a3619"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/perl.rs: 0.0% line coverage (0/44)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/perl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af33d96238a7de05862c7719b5b007a495f87df12382ae39fb113733bc0ce701"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/php.rs: 31.3% line coverage (30/96)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/php.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d562ec6c54e658326e1c1fbb5bb1fc2a8d1fc1f27d17d839ca96eb91b6c55299"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/pygrep/pygrep.rs: 0.0% line coverage (0/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/pygrep/pygrep.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11bcd83043b18ea182072746a116432daa70aa60ff6eadc00f9da36237f30b4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/python/python.rs: 42.9% line coverage (78/182)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/python.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec2bed1049d18f51686f319f0917c78c5c8bd61c6d663bc83f8743185405aff"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/python/uv.rs: 38.2% line coverage (160/419)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/uv.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db12be30536b8195e107a98fb54ec25ec465b10d9d514ce0c377548178e27da2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/r.rs: 10.3% line coverage (14/136)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/r.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"714666815b0f5b6fee8609ad43e0318876995c1ef36730f2bf68dccf5ef4fd6e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/ruby/gem.rs: 0.0% line coverage (0/87)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/ruby/gem.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d910a88ba4e3d924718d5fc62daf628893964b0baae51fa2fae6c29dd1f55827"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/ruby/installer.rs: 40.4% line coverage (136/337)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/ruby/installer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d68433a7cfbe6de85d83bcfecf7e6060906ef537923b0ee09a6d8db57a00d6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/ruby/ruby.rs: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/ruby/ruby.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8d154eab630d01a9e7c3a4dd2e47ef45da15c58d0890e8e8b2801f8e4f060b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/rust/installer.rs: 9.6% line coverage (15/157)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/rust/installer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7972e94005c784446190aa29c43c74300668d07c39094f7b39bae3910e19b2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/rust/rust.rs: 35.0% line coverage (111/317)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/rust/rust.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e327181fd3ecc1ea36dea8a9178b7a8d3f77c01019a64d5d468ef2665d0af32"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/rust/rustup.rs: 10.8% line coverage (14/130)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/rust/rustup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a7c6816ff4d86dece1ec31282cac3b89a042490674241015965ade245a559b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/rust/toolchain.rs: 0.0% line coverage (0/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/rust/toolchain.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b0872cff4bb37c0cecffe87a5b5e2c92c6bbebd63bffd9bab3d949140aa234"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/script.rs: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/script.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aa2d9664d4be3da49d280bb12caa1c0a01f082de3e9ef9115a64d74756e3c7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/swift.rs: 35.7% line coverage (20/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/swift.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3a53584deafcece4ce8878c23a7f43e1973a15a34ecbc763ddb5a1dd32517d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/languages/system.rs: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/system.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5410aa7d7a293def8edb541bdb650d1606fa7f79636cc2bfd6e8f7fd11fcc9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/main.rs: 0.0% line coverage (0/327)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fea2e33ff5d8e442f2d63aeb0b8b341df3172b43c116d1b12e7bef7a91d4a5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/printer.rs: 29.5% line coverage (13/44)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/printer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c3bb7d6a35cc027ddd72b0dd02af9f2521014930f21c0fb254d20107c98b73"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/resource_limit.rs: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/resource_limit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d94ead663514fa2e847af9368329eef49599fb42689d32a11bdb1d4e5be2b82"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/store.rs: 15.0% line coverage (36/240)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"556bc5c1ad022e8ac38158d3cf299001ccc667de8c812fd95abc90b1ae22f916"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/warnings.rs: 8.8% line coverage (3/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/warnings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"361aa291ca70a94819c1a206909bc0b6b6d266afcc1d865a34fd4f898c09568b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: crates/prek/src/workspace.rs: 5.5% line coverage (32/579)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/workspace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ca5395a63958795d199ec5c9a449e797f0f9962656a6c9e1c79a58fb2636da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/prek/src/cli/run/run.rs: crates/prek/src/cli/run/run.rs changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in prek::cli::run::run::run at line 75. 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 18:46:21 \u002B08:00\u0027 --until=\u00272026-11-14 18:46:21 \u002B08:00\u0027 --full-history --no-merges -- crates/prek/src/cli/run/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/prek/src/cli/run/run.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bde2fef20da2346916585b1f9d6ceec12edd7a898caaff16fff6417413de4cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/prek/src/main.rs: crates/prek/src/main.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in prek::run at line 158. 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 18:46:21 \u002B08:00\u0027 --until=\u00272026-11-14 18:46:21 \u002B08:00\u0027 --full-history --no-merges -- crates/prek/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/prek/src/main.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b383ac57deb46c6330f2a9059e703ae1da0b7e65b4fc31d4a7906d6a5dbe46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/prek/src/config/hook.rs: crates/prek/src/config/hook.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in HookOptions::update at line 532. 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 18:46:21 \u002B08:00\u0027 --until=\u00272026-11-14 18:46:21 \u002B08:00\u0027 --full-history --no-merges -- crates/prek/src/config/hook.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/prek/src/config/hook.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ea1a1877e2ed8ab8a53b3fefa105597a498afd3bd7b17e81a106fe7792fad6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/prek/src/cli/install.rs: crates/prek/src/cli/install.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in prek::cli::install::install_hook_script at line 236. 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 18:46:21 \u002B08:00\u0027 --until=\u00272026-11-14 18:46:21 \u002B08:00\u0027 --full-history --no-merges -- crates/prek/src/cli/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/prek/src/cli/install.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc83d132ba0181bdb3cdfef3f6b4188253cef85af5ca540e09e8417916d0128"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/prek/src/hooks/check_merge_conflict.rs: crates/prek/src/hooks/check_merge_conflict.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in prek::hooks::check_merge_conflict::check_file at line 67. 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 18:46:21 \u002B08:00\u0027 --until=\u00272026-11-14 18:46:21 \u002B08:00\u0027 --full-history --no-merges -- crates/prek/src/hooks/check_merge_conflict.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/prek/src/hooks/check_merge_conflict.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7e74196edbec5543bd9fd79a44dc269881bc6547f38f92152685c40e3a0ea0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Decide whether fast-path hooks should honor or ignore a configured \u0060shell\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/prek/src/hook.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cc5921485a7ac5845095684af4e28b24013137049981cc234c448815dde3be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add more information \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/prek/src/hook.rs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8f0891d7041e5ac828f9a04c9fbca2f65493b17b828d9590c4d8955d7deef0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove these pre-commit compatibility variables in the next breaking 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/prek/src/languages/conda.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0705c6604eea2db6a6156bb86c12e13c629c63b1a2b8d8f8f81f7a84b0719f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Install a managed Pixi when no Conda installer is available, like mise and uv. \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/prek/src/languages/conda.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ff7b8df6de0d4f86d1dc6bd55930486e5060816c2a662d49c1f28b8ef5e130"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: all other languages default to semver for now. \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/prek/src/languages/version.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"19888b6f72d5c7fc48a89b0e1a9d74f8deedd4e1ddfe45597f9284e744e73e7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support reading pypi source user config, or allow user to set mirror \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/prek/src/languages/python/uv.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19c3987cd68cc05ec9a689760b4922cd6b560cf8535450588a3cd09c45368fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow opt-out uv \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/prek/src/languages/python/uv.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0f9790e6af1d08ab96d25a7652a62b922a42e8b4f5af111ac7eb219733721a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support version like \u00603.8b1\u0060, \u00603.8rc2\u0060, \u0060python3.8t\u0060, \u0060python3.8-64\u0060, \u0060pypy3.8\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/prek/src/languages/python/version.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c6eb310c1ea87c767503a1eb29accc1eead30a2bfa64a14f348ff581779870"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support \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/prek/src/languages/python/version.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa6e9491cf0c1c34357164b1e2a12661e811df9d015bfef9948d1d65ab2257d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: avoid this clone if possible. \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/prek/src/languages/pygrep/pygrep.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede0e48ecf1ca03ed95110ecba77905ff0e772f18fa64f114531fb8526f26f51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support mirror? \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/prek/src/languages/node/installer.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"190534eb60cb87abe0b913c43ebe59d07ea6915293a533e4d8dc429e7438fe6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#2022): Support provisioning remote hooks from the repository\u0027s \u0060mise.toml\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/mise/mise.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"31465c087c4dde6fec3ed00957a13bff37c0166cd7eb78aaa8d086cb6064e50d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#2022): Preserve non-UTF-8 PATH entries omitted by \u0060mise env --json\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/mise/mise.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"98819faf7018910abb2427b89cbb6ca2b214ab14eae35ffc64f0d7bf1d331678"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support pre-release versions properly. \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/prek/src/languages/golang/gomod.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd06fa1f7707ff0857067567e55f64e2a98fbf030882a9c00a40b9964000982"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: go1.20.0b1, go1.20.0rc1? \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/prek/src/languages/golang/version.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf0d8c873787e40e0a3ead16aaae5fd72d772b8ce4945b643317f1d2a61d927"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support prerelease versions like \u0060go1.20.0b1\u0060, \u0060go1.20rc1\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/prek/src/languages/golang/version.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cd8d996324d2272e167f11c7afdaf1b36c0903614bf9fce92d7f43c7dc1aa2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060granit-parser\u0060 resolves aliases while producing parser events, so this is stricter \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/prek/src/hooks/check_yaml.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6fcfe3c1ccbf3fc28d878a4c6397bd038f764741421148b9f8f5f4bbb95900"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: warn sensible regex \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/prek/src/config/mod.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90e1d521928bc86b40a1699baa8b26e7b56142a5168614b4c3780150efb153b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: show repo path and environment path (if installed) \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/prek/src/cli/list.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4772e01c7aee48bb0bfb96987c782eabc21b3d04def4c90bda53bc23035880b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: default to prek.toml in the future? \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/prek/src/cli/sample_config.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8423e1bce36f2ed6a87e95b9f02ece168e429b449b9f7fcc88a54b22e09c3576"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support selectors? \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/prek/src/cli/update/mod.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"656435f260b1ef31f6c0b1e05caddd3c3a4d85af3589f7950753d74517184236"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support include_deleted during merge conflict resolution, \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/prek/src/cli/run/filter.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccccbcb793d09be81873ff6a5e3ae15cda0f21b2d1ec88c0a8595a11c23a97cd"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. The recognised ADR directories in this tree were read \u2014 \u0060docs/proposals\u0060 \u2014 and none of their files is a decision record (a README, index or template page does not count). 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 \u0060crates/prek/src/main.rs\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf594d3e2b2821b3f798948a1cca7a0bde16b2a49383ef02307f1e91852459d"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 6 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060crates/prek\u0060 (48606 LoC, 150 module-visible types across 17 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"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":"8a7c60d84ec124dea0266da2cf23510056e10aadd6ac2dae11dd81d8528da72e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"ce03149def57ce0b5f3ec7a04394a472d579d57e8c2c464b2bc0a6079269883d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"fd34071f0a37397b22950926e6e7d533f19a1ab2e35c80a3ec230eef7195ce4c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"a5a94de598d5f66dcc4ccfd4adeb9bbd82d59e61120ddfa86a1354ef816f7094"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"94112b1d706b2f9d9118c577518290919c2d702aa0b944fa06a5bcbb51101185"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"5cd6ba725d4cfdefa0b9a1fc9a630396a4a700aff93699a8233f4a088607d6d7"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"a77a628c056f00bc475a03de6d7c923f8e07a855e9b4fc652986cc61cd3be665"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"eaa991e27c368b8daecadf5547bf3191d11594140eebc1c6646e7d6472385133"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"0e9844509aac6c1cc8f68a0aa4f363efdfb95d6581f82a0b9461659111d83b27"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"6c668fda278b1e3f96d06b320aaee84004f1ac56935ced39d9e1754d9c5a729c"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"6ed059458dc0d864f79fffc2c8cd3f09ac2213f256b255ba1e07734350228541"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"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":"bf9b3890cba73cd3c5d5270d1976bd1bae94596a1c510482b94fe9367ef871f2"},"properties":{"dependency":{"package":"memmap2","version":"0.9.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":"5585c48a8c4ed670247ebaa40a533d385248c4e49079fee700e7b93cbab137a9"},"properties":{"dependency":{"package":"quick-xml","version":"0.26.0","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.16","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":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.5","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D31","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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","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":"be9c57e2fb625c43c271d051f76b97f27b6976f4ec358ef8fea1d9cb5205f460"},"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"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 150 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; 150 of the 177 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: python/prek/_find_prek.py. 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":"python/prek/_find_prek.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f096f5fa144f1d40b1c9c791b9f50cb8d099774f4dc95966829ccc034e6749d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: node.rs \u2194 ruby.rs: \u0060crates/prek/src/languages/node/node.rs\u0060 and \u0060crates/prek/src/languages/ruby/ruby.rs\u0060 change together 55% of the time (6 of the 11 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 \u0060c0ed56d9\u0060 Preserve system download policy when applying metadata (#2395); \u00603795e996\u0060 Use resolved gem executable (#2308); \u0060cc3d76eb\u0060 Remove some \u0060.expect()\u0060 (#1495) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/node/node.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c327221cbba9b598948a09dc47bb7e4b94ed0e6d246d52dbd896e71e86d26318"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: run.rs \u2194 system.rs: \u0060crates/prek/src/cli/run/run.rs\u0060 and \u0060crates/prek/src/languages/system.rs\u0060 change together 52% of the time (11 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 11 shared commits counted here, the most recent 3 are \u00600844d73b\u0060 Run hooks with pty if color enabled (#471) (at that commit the files were still \u0060src/cli/run/run.rs\u0060 and \u0060src/languages/system.rs\u0060); \u00602677612a\u0060 Improve subprocess trace and error output (#92) (at that commit the files were still \u0060src/cli/run.rs\u0060 and \u0060src/languages/system.rs\u0060); \u00602409697b\u0060 Refactor xargs (#8) (at that commit the files were still \u0060src/cli/run.rs\u0060 and \u0060src/languages/system.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/run.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b676a647a947f0288977c060274cd2cb2eea206dc27ce1f280fe78664daa4fcf"}},{"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":"61d9c64c1de88e7edb9c757178d6ec3103868cef4ae7e825aeeac5d15e61fb7d"}},{"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":"4e30445e6e11b3fe2d5e1c47f2eb42d8e1234b2233f359bb2678050eb4aed032"},"taxa":[{"id":"CICD-SEC-6","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":"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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 3/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060allow_not_found and \u0022HTTP 404\u0022 in result.stderr\u0060 appears character-identically in 2 files \u2014 scripts/update-macports-portfile.py, scripts/update-schemastore-schema.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/update-macports-portfile.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c10231babcfc92e434afff931a008ddc433c5c0aad0f02b65b14e4c218b2ccd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060version.major == *major \u0026\u0026 version.minor == *minor\u0060 appears character-identically in 5 files \u2014 crates/prek/src/languages/bun/version.rs, crates/prek/src/languages/deno/version.rs, crates/prek/src/languages/dotnet/version.rs, crates/prek/src/languages/python/version.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/prek/src/languages/bun/version.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d4a202ce2fc38423d084dc4b48735ec0b36633ae1fefcbd923876fcbc1c7ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060version.major == *major \u0026\u0026 version.minor == *minor \u0026\u0026 version.patch == *patch\u0060 appears character-identically in 5 files \u2014 crates/prek/src/languages/bun/version.rs, crates/prek/src/languages/deno/version.rs, crates/prek/src/languages/dotnet/version.rs, crates/prek/src/languages/python/version.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/prek/src/languages/bun/version.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce03cea9ba6d52b02c209ce8785746eb0239cb7fb652f4d74f60811903153a20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 50 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek-ignore/src/dir.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2394d1b02ca2cd895ce44d9e6a91d68b035fe9ea3aff4a6f445ee2a1f699bfca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek-ignore/src/dir.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"31001b2383f3c88215782ffd7b0f19f75d6b456b2d920fcc4f2eec53b80d1a5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 128 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek-ignore/src/dir.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2155d25f00ce290aaf8e5bc9e36a8e9f8e183d36db4fd5b012410b57a701bb61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 172 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek-ignore/src/gitignore.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0196852172488424803ded9490da24b1b1e34c731d62894e35f4f037d4ea13"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 38 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek-consts/src/env_vars.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac77bde087c39369fa5f07dfde142b82213cb3f3365567d5b1e754432fb99ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 65 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek-consts/src/env_vars.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cca85170f0a5838230d46a7feac70f3bd5f8c0443f2d9e03ace67afee1c390c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 185 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/archive.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"924391eae56625fbcc3774eb67f3e0d6e2d4b9da32760ffdf8185e24d1417dce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 306 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/concurrency.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbde3773a6d6431fcbdaaede2486a8341d39bf60bce9b148e2b9d6e423c4d9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 304 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/fs.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f65b38f850f7773e18d34c1b4a96487b2c555e048ad9a23ee6165130c53f2e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 407 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/fs.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72e5409071ae7c4ec5d28cb82cb4a86ed039d9211201838554bd500edae122f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 415 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/fs.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5102c115e46e69c7546e8d3d2b786ceec2933d6b3de07788bb8fddb73b136b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 430 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/fs.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f68746ff528769e9cb9c28707fa97795beaa7463cb0126b5fe97e626d188f1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 438 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/fs.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6dbd6d9c6f78dc944c8d7ed307593c35d0a26e92eb0721c01d9206920cbcc1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 449 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/fs.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3e4f34327ee80082c132a99c6751479d09b88a7936e0555f1b3231888bbebd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 79 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/git.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ea39adaddc4f285f2e2a2300fe7d6b4c1285b8679670a7a6e724feeb372a31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 630 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hook.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3111ce5e004e3f2f87a43b2adf204779bf009ac181c95a259f2945d3174a09d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 62 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/install_source.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e594564bf76b3fcb80dbaf96bdd8456b7b041aa30eacf4d526d9ea8793e26c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 203 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/main.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18c2334fc910e2efd707adae9b445c8f447abada2b29a34d2f9272d8c1d3b05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 209 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/main.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"256002e8f4ef76fa7924cd1888f258631d2199aac0bb8c4e772aa0ffeaa0aad5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 222 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/main.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c739806e796e1cd20d23ed139e3396a55df3ab45ea277f96c54536fedb9f78f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/main.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c406cc6340d9950b1cb734011388a7ac55d8a85b6be3a5c0cd20f65298b31b10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 642 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/process.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8b41645d4292fdb2cb9dc5ff0e8b2bdd20c78a2537606f957aa239b0349602"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 12 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/profiler.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"937af3f22fb5a7bc1e676b3a817e5cc9f5e4de42daa86f5ca0b8065f8e16499a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 33 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/profiler.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4cbcf0628d3d253aab89ebc9624f9ba79a0383dfb56a74ba1ed9e806959dbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 37 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/profiler.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c27e1848b791ba7cc0ef5c2d9d728771919ee9fe333168a0af9c80626122f34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 380 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/store.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"276c81a536931ab4343986c26c05bf719dc79778b13643ba5bcf8d6a24dbcd94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 343 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/workspace.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12d8198708248f47a67bf7d2fb4a830a14c8cd4fef396c852a6a0c62b81e6e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 542 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/workspace.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44099b9d1a8c8d8f173717c8ee99462c53f7a967af41ae7ac9bc607a4f66192"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 618 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/workspace.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"4072225e44abc54be1864e9ff2feda3a32c2e3fe932d8f675be86fb4d972d994"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 625 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/workspace.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91705d205d4b65c0488398373cd26bd19dadf330cbcbebbaab463567cc9d528"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 680 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/workspace.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b5bd740498de73f7055a1f2492b22c43eee280f08732e529927ff661daec7d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 724 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/workspace.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"199fe31a3ec626be870201a3c50cbe640f377c785d1a4a1a5840b3bc2afdd901"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 752 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/workspace.rs"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5d7e20eca4332a209d891e2b4c0023768d72b8fd0c969b1c6c96f9a9ea0b9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 791 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/workspace.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d412e5feaf8b048dc3377eba62849eccb8db8d4537c949b9d25fb4b5f5f4aa5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 850 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/workspace.rs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"861d190dde35473b94778337346c0e737fb4e1a71034f728dbfce6970e83c1eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 276 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/dart.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef724a8534b597e7a2442c290cdbfbb224919db84af725d88f39eb3f7a483e08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 282 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/dart.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d35ab8b67f350a118f5be4661cea255c62570b9197ced796c0e5010b756819a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 155 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/docker.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a96cf8d6e04da931828efac55cfc7c170edc81826b554c1cbd4bfb7c35afb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 235 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/docker.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b00e8f62df7f0a7207f9257314036695ac14d3d4dc8f7e539e602aa24dfcc5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 239 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/docker.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccee3d9f83a68407e8d03b192b3571cd2fff11301761e106866b193c38184b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 665 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/mod.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0eb8ae0e947f01c1fb3ff3c83e96d2a5363528bc11827304337d175b53f9ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 91 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/rust/installer.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cb83e49c4d71786169478a908c1ee098466947e84f441416de152ad6c1f742"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 139 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/rust/installer.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e67c222c7068472ddd57544701c4aae4ddbfd7aa2b655d7bb5709f29257538e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 322 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/rust/rust.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41268011637047a6e3cb91be25b736dc6457c5d26edfc3069b912d43242660d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 330 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/rust/rust.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08fc22778e457054e6026eb8b11a2b2eac230183cd9644803ddab5ffe182260"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 78 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/rust/rustup.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7391ce8228919de492011c1b3d82be03c80d259941a7144137fbd2557983e7d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 51 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/ruby/gem.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fae2d0d6639ebacbbd485010218357fdf43c244f8eee8958135e66238cca83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 135 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/ruby/gem.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9086d3fc294a574f52bcf6e8671605651eb5ce3007ee286ca3d39dd9fe45703e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 338 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/ruby/installer.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcae418c6b3dbad68e34c61a44aa7919a35b383784ff393d244dee4ce3b4d5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 414 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/ruby/installer.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"484338c895d5a57066d90519b03f36d5eacfce7754de2d98ff3d39979537f481"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 477 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/ruby/installer.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f3db666edf5010bcf051dd3bac7496548ff4713a8b937fada58794c61b5cf4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 60 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/ruby/ruby.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19963e37ea9c6b0bf88a11b41ced138940ac83ed61658a6245f6433eaf64d55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 260 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/pep723.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e3073fb0e479ecb5decc6439443f42e0badc5c56121f3bddfdcd02df56402e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 267 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/pep723.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"3039b3a8460fed3fe59a74a1d2390e8daea6a910fcbafdc499065235292f9a26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 121 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/python.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4a5140b5bd3ba6a9a97817abd0395a1136b036e1465668f8f074468d81741d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 133 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/python.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4957ba9c0deef894e3513ca064cb932644a72a8edd6dd24fbc6d294115edfead"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 259 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/python.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"372fe1f47da868e74f40e4f9fbd2b1111153dd3e4564c7c6ff9e6ed8f6e66ea9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 275 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/python.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a2c3dd2c709f7f15f9bed55da96d382a8ca9ff21c45c7d120fb241cead8764"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 297 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/python.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2ea45acc5e0cbb302f329fd66c707e3b9d5d97246106d55b3da7fcef0680dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 204 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/uv.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b682b616562d913dfb7ca30bb4d4138f2d140f8f55fbfcf5d1e2def26bfda45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 383 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/uv.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd74b5b94ba4934e633a09bcccc552e0b7bb964e4f34a5932839a4cf7c384f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 428 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/uv.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28f935e753d0552147ba8ebd70ef0c03a86573b0028947dc552a0b158a57a15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 608 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/python/uv.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bfd91e17db761e6b4b7210dac18f2f32c8cc54d5b9b33b717450d7156dc9ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 303 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/node/installer.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ed49318bcab6c4c9f2753100de0df5f9b7336d667f93cc4de21513e58ed705"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 281 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/golang/installer.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e92b198d235d7f93eb014537aeada21818fe3100f2f665686ece46f44d470bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 157 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/dotnet/installer.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffab4199a51159c7e4a195d05b1390e764ed3a374e1606a2aeeb34c8aaaf994"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 280 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/deno/installer.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"254b8942c45b520c914e8d9af59f1bb21ae86ea0c65170f94a27e8ee12c04eba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 243 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/languages/bun/installer.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"648316d88b29da24960b1f8c533f52bfbb18295e5091b4e511c440191345c4cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 195 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/hooks/builtin.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab37440dd8b16ef20b14f8baa42d59d667557477f61c45f1e432493bf587ebf6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 28 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/cache_clean.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5788c5cd5461cdf27ca8159b69a11ddbf26bae5f3c77ae3447b8f56cee76db3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 149 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/repository.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7fb06530ab6fc987623630b76ee6928eb13097835a69212d8694cca4210f5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 255 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/repository.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99aef32b694d961fad2e2f1b554a9bd39a235f86dfbe2b01cdcee872b26ffca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 259 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/repository.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0568b89c134c711b3e845e0fe9918dd2baeeb4f37ca890852698f84e6452fa8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 270 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/repository.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7e407bda0ce9bb7131ddbcf2b25ed9b2429e5daacd5dd5b3577b6b1ffb8411"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 285 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/repository.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c5d6369a13a1d939218edc8b7b8fd7afa2085f0634ecc25975b43c8f2577cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 224 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/source.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb1cb505e3a4ed789bb3d1d8905676cfccced41ecc5a7c68e2abc91112b98f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 286 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/source.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce15b8103f8f4c66d2e59ed2365e4e36d9ef4fcca19c5d65ee64fcf7c32e5f45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 307 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/source.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f22f0340320976b0122e0eb85c6d05e247d743014041cc527f8ea52876899bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 318 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/source.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0fff004345d3306dba89205e0f3e521bafe15870805dffcef76d44e0771d36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 328 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/update/source.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"36915d70f385c4a23cca11518fbb8eb672c8a75c939689239bf29caf7561c9b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 743 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/filter.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ff77213362c0be2bc15f42b2faf4c644961c214100c09935a7aebf2ea75c9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 759 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/filter.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ad9b7f0d640915f37230e1ddf5dd6f40a3fd3e041efab1a46b71a41ba5d36a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 781 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/filter.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da63ea58eba86f870e91e904cc3fa9699295d7c2c3ebc13c51a561759274256"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 789 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/filter.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17ea619981d9358b70bb67e036473f2eebf04e2f6e6e9a04ef5452605d1f9c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 794 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/filter.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ae66fb17aebcd327ebac09c260a879ae1facd78724eb3e9e56f370c2184e08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 80 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/install.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"70538c9e46052202e157b9db965610fab573da2177d51aa7c32ec429c700d902"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 117 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/install.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa2f4241672cd18f9efa53183a64f75e5d6954e84a9a9b28d96bc0dcfd47f21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 120 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/install.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efe414dc440930b7d3da3279078b0ced7c41b55ab1812da422b937ccf4c10a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 222 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/run.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a529d399fab7b7ef6dad2d49060cf0a2c1d456218f7b439978ffc7a5d0aec47e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 233 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/run.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31a76da14bc3eef2ec17f12637148c1a97b23132b2248fd0d2f717c5351b77c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 766 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/run.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd1ee87cf307be8df7e29f9c1d605568d019da3f907b735f2de128e802a00a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 846 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/run.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c38a223ee2f59763d33251f79658592b1ddc8b90244af9cbf5f7cd5a061769a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1134 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/run.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3401c37206419c5de7f8615ac9ab80ea472df97a29a97203b6182222c43c4be4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 211 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/selector.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3042d6000265419e8cb94c34626c2abbc539d814080611382e8318211c0ad4be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 239 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/selector.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a70086fb6e2b3068434ff85f43035c208b60687bdd967f7405139d989944af2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 250 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/selector.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75e636784c038c8707721a64cae9e475d97ec442d48ef246ff03b49c2156c56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 151 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/prek/src/cli/run/stash.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef02b98c6d126ebd30360a227702c10921e2c28fe9671100f98e2e46f101fdca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060from_env\u0060 turns every \u0060Err\u0060 into \u0060Self::default()\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/prek/src/http.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff2e907c43930fb03ab43a5304dc32925835365a50c55a471b96d5474fc806e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_skips\u0060 turns every \u0060Err\u0060 into \u0060Ok(vec![])\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/prek/src/cli/run/selector.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"440e155d8d1207e2a14478697eef3753ae290d8f14edcd3ee52e9436cfb82702"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060rustup_profile\u0060 turns every \u0060Err\u0060 into \u0060RustupProfile::default()\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/prek/src/languages/rust/rustup.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1980ba9cb15d6974bc8a1b5bf7b16f56071b1a008c956eb72d906ba458aac6c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060version\u0060 turns every \u0060Err\u0060 into \u00600\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/prek/src/version.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2402a696dc916e685f32905e43827effc6c3bd1f2ebe5bdb91afb588fcf8cb"}}],"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-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-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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-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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"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":23,"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."]}]}