{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"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":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P11","name":"BDD / executable specs","shortDescription":{"text":"BDD / executable specs"},"helpUri":"https://codehealth.canine.dev/dimensions/P11"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"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":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"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":"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":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"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":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"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":"db::execution::interpreter::pull::poll::step (cyclomatic 104): db::execution::interpreter::pull::poll::step has cyclomatic complexity 104 (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/db/src/execution/interpreter/pull/poll.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"995bab47512ac8826b65fed45ea599153efc78d0fb2600e8960badcb905d1e4a"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorIndex::search_layer0_with_simhash (cyclomatic 100): VectorIndex::search_layer0_with_simhash has cyclomatic complexity 100 (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/db/src/search/vector/hnsw/search.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b8c7625c1fde1eaf435d7212c02a2005213a5d9c39da812cc555ff2933897f"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::relational::planning::plan_accesses (cyclomatic 84): helix_planner::relational::planning::plan_accesses has cyclomatic complexity 84 (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/planner/src/relational/planning.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"4564c45f5578e38db8477327b90cc43207e375f32a36a9752f4298438d2aa9de"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_cypher::bind::bind_clauses (cyclomatic 74): helix_cypher::bind::bind_clauses has cyclomatic complexity 74 (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/cypher/src/bind.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eafba2eb9ecaab8dff1fd6402bd16ff625eca5462d0fcc9f6f1e6bba940bf0d"}},{"ruleId":"D1","level":"warning","message":{"text":"Binder::expression (cyclomatic 68): Binder::expression has cyclomatic complexity 68 (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/cypher/src/bind.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdb0785715b3902e068c3a4bebf06ebd53d097c729d774d7115d63f43757554"}},{"ruleId":"D1","level":"warning","message":{"text":"Evaluation::function (cyclomatic 65): Evaluation::function has cyclomatic complexity 65 (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/planner/src/relational/evaluation.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7192f1fb667cd95a8399595428b4d0996925f497d011d79dc38987edc98f4e"}},{"ruleId":"D1","level":"warning","message":{"text":"Step.ToAST (cyclomatic 64): Step.ToAST has cyclomatic complexity 64 (threshold 15). Of this number, 63 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. 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":"sdks/go/dsl.go"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa510b2415bff3d5ff9e7b5bb989fef46c64c68edbd64726626231a75acabb04"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_cypher::lexer::lex (cyclomatic 58): helix_cypher::lexer::lex has cyclomatic complexity 58 (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/cypher/src/lexer.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8414041b14d8bb1e7893d05838bd4cca052d30822b6a263ee836b2b35abaf5"}},{"ruleId":"D1","level":"warning","message":{"text":"db::migrations::preflight_legacy_vector_reservations (cyclomatic 57): db::migrations::preflight_legacy_vector_reservations has cyclomatic complexity 57 (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/db/src/migrations/mod.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fc0c62f9b8675d6006d03330a2922b3416c81a349f308e4652e2e10156712e"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser::expr_inner (cyclomatic 56): Parser::expr_inner has cyclomatic complexity 56 (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/cypher/src/parser.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf326661d0d26fed1d871cda61dcf6fa7342acc8c115d2f94d62c84a6237613b"}},{"ruleId":"D1","level":"warning","message":{"text":"Step.to_ast (cyclomatic 54): Step.to_ast has cyclomatic complexity 54 (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":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":2340}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5050b24d98dcfa8b33f3d6cd48ffa4c9e7fe07e444a42556ec9c43c5fb0052c"}},{"ruleId":"D1","level":"warning","message":{"text":"Query::new (cyclomatic 52): Query::new has cyclomatic complexity 52 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/query.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"124123102cf3161c160db7261ccd79256f6466c86c50959f1cdafd3100c89511"}},{"ruleId":"D1","level":"warning","message":{"text":"Evaluation::eval (cyclomatic 51): Evaluation::eval has cyclomatic complexity 51 (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/planner/src/relational/evaluation.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4232d7fe16ed76e13762c33476d8ab943e5a729cd03a9d3e3565d125346f7345"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorRows::validate_simhash_directory (cyclomatic 49): VectorRows::validate_simhash_directory has cyclomatic complexity 49 (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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fbf4e574afe35fb8eaabacaef3bd7b334023434bb8dab17b369c7f24c4e506"}},{"ruleId":"D1","level":"warning","message":{"text":"Translator::expr_at_depth (cyclomatic 46): Translator::expr_at_depth has cyclomatic complexity 46 (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/cypher/src/sql/expr.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e74e7b1653afe335dcd42120f546bbd735f29d215084474d60bca3a5fd9a1e"}},{"ruleId":"D1","level":"warning","message":{"text":"RuleApplicability::matches (cyclomatic 46): RuleApplicability::matches has cyclomatic complexity 46 (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/planner/src/rules/contracts/applicability/matching.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d8101897096f0493d8cf34d3e964d165f3a632fcb9c2c452ab8fe3e1af1ec2"}},{"ruleId":"D1","level":"warning","message":{"text":"Translator::select (cyclomatic 45): Translator::select has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/sql/select.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d914347c6c312d8dc87d0ce3411a11af06a83866112ceca2ea16105465487b43"}},{"ruleId":"D1","level":"warning","message":{"text":"helix.PropertyValueOf (cyclomatic 44): helix.PropertyValueOf has cyclomatic complexity 44 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function taking that case\u0027s concrete type, so the dispatch reads one line per case. These arms are selected by TYPE rather than by value, so there is no key a lookup table could be built on; where you own the matched types, giving them one shared interface method and calling that is the form a table would have taken, and where you do not, keep the cases \u2014 they stay explicit and reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/dsl.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"878beb022ed6b389194c0d7694ec118d2ea3ddb5d2c997b8bf2163d803c78c38"}},{"ruleId":"D1","level":"warning","message":{"text":"Expr::fmt (cyclomatic 42): Expr::fmt has cyclomatic complexity 42 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/print.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb220b36e46bcffd80f0f9b2eaabf537b74718090a12f55de14ddaf4c74ef60"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::eval_resolved (cyclomatic 42): ExecutionContext::eval_resolved has cyclomatic complexity 42 (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/db/src/execution/interpreter/stream/eval/resolved.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac52e36c591347e8e0aa6fb04016ae5b5ee1e08eddd0805a29cd5e0feb60bc3"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::relational::evaluation::binary (cyclomatic 42): helix_planner::relational::evaluation::binary has cyclomatic complexity 42 (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/planner/src/relational/evaluation.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c902e54141662dcd69806c7e69467b7d347f6795f6760a817050ee385f3f59c"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorIndex::restricted_filter_aware_search (cyclomatic 41): VectorIndex::restricted_filter_aware_search has cyclomatic complexity 41 (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/db/src/search/vector/hnsw/restricted.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7385c263ad35ae06cfcf5711fbdf395ce346e353cae21499589a676f28af854a"}},{"ruleId":"D1","level":"warning","message":{"text":"image_archive.inspect_archive (cyclomatic 40): image_archive.inspect_archive has cyclomatic complexity 40 (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":"docker-image/image_archive.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f793f70d9ca40904a6afdc558bbb602fe6ca007e16a847330c8e2ca16bb645b"}},{"ruleId":"D1","level":"warning","message":{"text":"Translator::function (cyclomatic 39): Translator::function has cyclomatic complexity 39 (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/cypher/src/sql/expr.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"4236cde6180249f6367465ec3d435da41fee21f27ec08892ee8caebea231b69a"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_cli::main (cyclomatic 37): helix_cli::main has cyclomatic complexity 37 (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/cli/src/main.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb137e5a6751246a61849a0609596377f484efd7b3d5a5e439056b2513552c97"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::count_cursor_leaf (cyclomatic 37): ExecutionContext::count_cursor_leaf has cyclomatic complexity 37 (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/db/src/execution/interpreter/count.rs"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"09466ac8e9b3e4303076b12c76ea57164a4d5d1315d3b1e15d4139c07befacf9"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::match_rows (cyclomatic 36): ExecutionContext::match_rows has cyclomatic complexity 36 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/matches.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a15caf78d043810c3ab87529d5f4a19b1d0a4d0fcc11b0a21b5dd806bc85ee7"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::repository::scoped_cursor_is_valid (cyclomatic 36): db::index_lifecycle::repository::scoped_cursor_is_valid has cyclomatic complexity 36 (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/db/src/index_lifecycle/repository.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78c01eddfda3c9a39a05362d13c4c374a6fe6cb47097d066bbcbcc9e6aea41c"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::finish_pattern_candidates (cyclomatic 35): ExecutionContext::finish_pattern_candidates has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/matches.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadd9537eabe8651a72f62c908b8f38176a8507780dce45ef7898c0bcd5220ef"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::row_program (cyclomatic 35): ExecutionContext::row_program has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/mod.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"35022630d217b6b44f7702b0e78e1f112b2442c12332a23187ddea8b83fcfa47"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::text::driver::scan_partition_documents (cyclomatic 35): db::index_lifecycle::text::driver::scan_partition_documents has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21ef5f0add74d53744bbb9011b30905b2f7185bbda468e1827a81785bcb44b4"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::projection_chain (cyclomatic 34): ExecutionContext::projection_chain has cyclomatic complexity 34 (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/db/src/execution/interpreter/rows/projection_chain.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3321415d6488a07a8ff61700c758effc77e971c7711d7ebd7cdabcd1042c8589"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorRows::validate_legacy_physical (cyclomatic 34): VectorRows::validate_legacy_physical has cyclomatic complexity 34 (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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b1b4882418252fcc28003173c78ddec6905749c749d52a4c7b60fbcd1885b0"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::repository::operation_record_cursors_are_valid (cyclomatic 34): db::index_lifecycle::repository::operation_record_cursors_are_valid has cyclomatic complexity 34 (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/db/src/index_lifecycle/repository.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba402e581ca6963289f45aabf66951b24738025aa6ea72c04d1dccb08dc8ee5"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_opencypher_tck::runner::steps (cyclomatic 34): helix_opencypher_tck::runner::steps has cyclomatic complexity 34 (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":"tools/opencypher-tck/src/runner.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1e8aeb6f0f94137358e54d22094f0aaaf184f13b56aa72d0305d8e214a8df3"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::execute_count (cyclomatic 33): ExecutionContext::execute_count has cyclomatic complexity 33 (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/db/src/execution/interpreter/count.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b103d79a19841944141316ea2c2c65c8c9500f0b30fcf816cb74c173786b4d"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::expansion_batches (cyclomatic 33): ExecutionContext::expansion_batches has cyclomatic complexity 33 (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/db/src/execution/interpreter/rows/expansion.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dc58e3a8fcedee7b7ff3c926266bc6ec7ae1891d49e960dc85e5acc10506d1"}},{"ruleId":"D1","level":"warning","message":{"text":"PreparedTextOperationStep::stage (cyclomatic 32): PreparedTextOperationStep::stage has cyclomatic complexity 32 (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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0723e3d484566f3bae5b856daa762c8c319743eec035bdc7b0e085da46d649b"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorKey::parse_from_slice (cyclomatic 31): VectorKey::parse_from_slice has cyclomatic complexity 31 (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/db/src/encoding/v2/keys/indexes/vector/mod.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c609321b7d3772fdadb7b4678344711d9590475eebbd0c2cb01f8c82b10681a9"}},{"ruleId":"D1","level":"warning","message":{"text":"RuleSchedule::compile_applicability (cyclomatic 31): RuleSchedule::compile_applicability has cyclomatic complexity 31 (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/planner/src/optimizer/driver/schedule/compile.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"152dddabaf046e7cf396fe8804ea036dd831e0e277f7a1f1c8f95dfb3976ead8"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageCostProfileOverrides::apply_to (cyclomatic 30): StorageCostProfileOverrides::apply_to has cyclomatic complexity 30 (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/planner/src/cost/profile/overrides.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa419e6644ea025a632d4181ff8d863daaf47aa8dc6b750de8aaa946482d20d2"}},{"ruleId":"D1","level":"warning","message":{"text":"RuleSchedule::rules_for_expr (cyclomatic 30): RuleSchedule::rules_for_expr has cyclomatic complexity 30 (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/planner/src/optimizer/driver/schedule/routing.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2156db5a437a1afbfeb75e115241508fa7c7060425c3757f00220c592a7a1aeb"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::graph_batch_required (cyclomatic 29): ExecutionContext::graph_batch_required has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/graph.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4611a102761eb1a32cc26368b28e02cd97a91f403a6fee6d11801cd2ea2702c"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser::value (cyclomatic 29): Parser::value has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/opencypher-tck/src/values.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"474399f66b3d4ab3202e49010575fc435956ec3128509dbc611f00e4079f13e7"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser::pattern (cyclomatic 28): Parser::pattern has cyclomatic complexity 28 (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/cypher/src/parser.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6002a5a634b5b3bd09920f9caba30d8cdc847d978abc5bbdfe8f63407f95cb"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::secondary::scan_source (cyclomatic 28): db::index_lifecycle::secondary::scan_source has cyclomatic complexity 28 (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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0077ac13e1fa6dc6e566607f1b4a1229a95473b46f1b42da7dd3a4e31ff20fc"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::text::driver::scan_source (cyclomatic 28): db::index_lifecycle::text::driver::scan_source has cyclomatic complexity 28 (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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9d198977457cd2fd135719d12c156ed17903b9cb0a4fadcc47e9ca76ed136a"}},{"ruleId":"D1","level":"warning","message":{"text":"graph._decode_tagged_identity (cyclomatic 28): graph._decode_tagged_identity has cyclomatic complexity 28 (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":"sdks/python/src/helixdb/graph.py"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cc17879c4359eca29e1d68108a13ccf83dc94dc4dc22bf78684c945e3f068b"}},{"ruleId":"D1","level":"warning","message":{"text":"db::encoding::v2::values::lifecycle::operation_record::take_operation_progress (cyclomatic 27): db::encoding::v2::values::lifecycle::operation_record::take_operation_progress has cyclomatic complexity 27 (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/db/src/encoding/v2/values/lifecycle/operation_record.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce9b034472588aa5d1f1c13d52974015212ed5b4b39a7f1fa14f38a20564779"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::step_cleanup (cyclomatic 27): db::index_lifecycle::vector::driver::step_cleanup 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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae8cf8ef2902e0868a4d726c04bd4c06e9734f4baa9812299d932ff86c6262e"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::analysis::scalar::truth::static_predicate_value (cyclomatic 27): helix_planner::analysis::scalar::truth::static_predicate_value has cyclomatic complexity 27 (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/planner/src/analysis/scalar/truth.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6da625a8a6315530ddaa934778e64d4a0160d99a0527be115df3b5f3dcc8158"}},{"ruleId":"D1","level":"warning","message":{"text":"helix.normalizeTypedQueryValue (cyclomatic 27): helix.normalizeTypedQueryValue 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":"sdks/go/dsl.go"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"621c1aa49479dba60c806485f8b7753bec1fb97c51a4e188f77b851012b6b47c"}},{"ruleId":"D1","level":"warning","message":{"text":"Binder::pattern (cyclomatic 26): Binder::pattern has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/bind.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0b4b7ce97670235d1d3a382860293cac77532af7caef2b44cb09cb49d2791f"}},{"ruleId":"D1","level":"warning","message":{"text":"PendingSelection::analyze_text (cyclomatic 26): PendingSelection::analyze_text has cyclomatic complexity 26 (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/db/src/execution/interpreter/access/search/pending.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a443fa2ffb79c33b69e8ce26a935df749ec8257efa8b4b9ed4b5c03e3a3bba"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::update_rows (cyclomatic 26): ExecutionContext::update_rows has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/db/src/execution/interpreter/rows/mutations.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaedf5592bdbe280c84536f676dff7f96d973c533a388825fa18dd4f546a832"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorIndex::load_uncached_items_for_layer (cyclomatic 26): VectorIndex::load_uncached_items_for_layer has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/index.rs"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5464dc116129d91fd69f8a1829a8a3790fd4e0f7ba3c140dae24746a2844c4"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::text::manifest::select_page (cyclomatic 26): db::index_lifecycle::text::manifest::select_page has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/manifest.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6ce5fafa0454b3c75301d3bd7105d0025d41b3b53ae3fd2a0e71849502e958"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::relational::planning::index_predicate (cyclomatic 26): helix_planner::relational::planning::index_predicate has cyclomatic complexity 26 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/planning.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"25286f5e41f4728b6b620bce2b97a77bb7521826701d3a36cd7baa3e945cd27b"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser::statement (cyclomatic 25): Parser::statement has cyclomatic complexity 25 (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/cypher/src/parser.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"934f65dfed5b7c981fe690bc724e31efa0099116d381eaedaa28a55e6cba5e35"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::text::validation::select_page (cyclomatic 25): db::index_lifecycle::text::validation::select_page has cyclomatic complexity 25 (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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd3138b0597d3a77a5f0782e5ee8a20270491d162a3ba144b703a4cbb8e5e2b"}},{"ruleId":"D1","level":"warning","message":{"text":"db::search::text::search_manifest_with_state_source (cyclomatic 25): db::search::text::search_manifest_with_state_source has cyclomatic complexity 25 (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/db/src/search/text/mod.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf1957d72b65ae122855b0f0d9bbde821ed63fe272213da37c4366b83425853"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphSelection.request (cyclomatic 25): GraphSelection.request has cyclomatic complexity 25 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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":"sdks/go/graph.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca9d386ed49c3322322f537bf4eb94f9355ea22eec1ee9e0373925e7913b34d"}},{"ruleId":"D1","level":"warning","message":{"text":"Source::next (cyclomatic 24): Source::next has cyclomatic complexity 24 (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. This is NOT this file\u0027s highest cyclomatic complexity: Source::open (cyclomatic 33) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/pull/source.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"e654aba9990dbf756461c98bf56a8439d42342f2d330232bdffce86e7e4b729f"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::project_rows (cyclomatic 24): ExecutionContext::project_rows has cyclomatic complexity 24 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/projection.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7ceabe8912fb7e5e1d06f88923d3a121deb4a42137af897ce2dd5a3fea5e5f"}},{"ruleId":"D1","level":"warning","message":{"text":"db::encoding::v2::values::property::equality_index_value::prepare::prepare_equality_value (cyclomatic 24): db::encoding::v2::values::property::equality_index_value::prepare::prepare_equality_value has cyclomatic complexity 24 (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/db/src/encoding/v2/values/property/equality_index_value/prepare.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabe25ec739737e9b1e5ad05f08da777e051376280c98721229a0a176651d652"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_opencypher_tck::values::wire (cyclomatic 24): helix_opencypher_tck::values::wire has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/opencypher-tck/src/values.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0414f12758a23b532c69d71b967f5695c2ebb06c4af7728bb1c42e701d7f659a"}},{"ruleId":"D1","level":"warning","message":{"text":"db::encoding::v2::values::lifecycle::operation_record::put_operation_progress (cyclomatic 23): db::encoding::v2::values::lifecycle::operation_record::put_operation_progress has cyclomatic complexity 23 (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/db/src/encoding/v2/values/lifecycle/operation_record.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c379e1e832d53e80357b4f5a51e58e5e442d814c553363da331b5b9964f7ef"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::text::active_compaction::compact_once (cyclomatic 23): db::index_lifecycle::text::active_compaction::compact_once has cyclomatic complexity 23 (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/db/src/index_lifecycle/text/active_compaction.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fce9db5cbfd2644cc49654f6f2ca32fe7e195ec2f6956c40c2137bbd5c92546"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::text::validation::select_entity_state (cyclomatic 23): db::index_lifecycle::text::validation::select_entity_state has cyclomatic complexity 23 (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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abedbeeb3899693bcc7b151a3cd1fb61dd93c0b1a28b71e7f331afe017b3bff"}},{"ruleId":"D1","level":"warning","message":{"text":"Analyzer::analyze_access_leaf (cyclomatic 23): Analyzer::analyze_access_leaf has cyclomatic complexity 23 (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/planner/src/diagnostics/analyze.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d48c60e826a6b58671772de472cc1c37c8dee7bf7ca87df5180f62f2ade57e"}},{"ruleId":"D1","level":"warning","message":{"text":"Accumulator::push_with_admission (cyclomatic 23): Accumulator::push_with_admission has cyclomatic complexity 23 (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/planner/src/relational/aggregation.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"870f2df3dc87b68f29424567ce51616efea705583df3d8cb2d16c22855cdd876"}},{"ruleId":"D1","level":"warning","message":{"text":"InputWindow::for_initial_source (cyclomatic 23): InputWindow::for_initial_source has cyclomatic complexity 23 (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/planner/src/relational/input_window.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3f8fce74b515c0cdd4d0314f477160abf3bcf5c588f5a39bc9b70fb9035ae2"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.postStatement (cyclomatic 23): Client.postStatement has cyclomatic complexity 23 (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":"sdks/go/cypher.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b4e2d9b3e7ac307474bbc9433ee0731f5790580cd957946ae75454a3550a14"}},{"ruleId":"D1","level":"warning","message":{"text":"HelixError.remote (cyclomatic 23): HelixError.remote has cyclomatic complexity 23 (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":"sdks/typescript/src/index.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63c1f3d359363e5471430c47e0f403eee8cbc1e9c8dc464b331eb8e484a4850"}},{"ruleId":"D1","level":"warning","message":{"text":"QueuePublisher::publish_vector (cyclomatic 22): QueuePublisher::publish_vector has cyclomatic complexity 22 (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/db/src/index_lifecycle/queue/publication.rs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d63cc6adc107ba65ec9f150923e52c7a9466de2bdcc34f9c6a0fbcdd67c1559"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorRows::backfill_missing_simhash_directory (cyclomatic 22): VectorRows::backfill_missing_simhash_directory has cyclomatic complexity 22 (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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b6af70a961603464ec3459e0925ad60a2ec08be6ba9543ed33470da65eac6f"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::secondary::secondary_range_scan_bounds (cyclomatic 22): db::index_lifecycle::secondary::secondary_range_scan_bounds has cyclomatic complexity 22 (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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":4751}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1a9c007a674cad7ce8ff19a6bc29831be237ea76d08f0d9f5da2596b3fc239"}},{"ruleId":"D1","level":"warning","message":{"text":"db::migrations::process_loaded_job (cyclomatic 22): db::migrations::process_loaded_job has cyclomatic complexity 22 (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/db/src/migrations/mod.rs"},"region":{"startLine":3159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed14be7d9fdb517c838dc716d74c2a67d4db38b4b591afb01f8b380ba5c56b42"}},{"ruleId":"D1","level":"warning","message":{"text":"db::search::vector::cache::hydration::hydrate_active_generations (cyclomatic 22): db::search::vector::cache::hydration::hydrate_active_generations has cyclomatic complexity 22 (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/db/src/search/vector/cache/hydration.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"757e1dfb4fe74f2a9b6698cafe0c38b9f66c72c0f3a5eaea2d68ad8c3afbbc73"}},{"ruleId":"D1","level":"warning","message":{"text":"OracleState::read_indexed (cyclomatic 22): OracleState::read_indexed has cyclomatic complexity 22 (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/db-testkit/src/model.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdef01f02d5a8a8b217cace1677e5b389a03962b452cc179391a2fe0214e9209"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphPatternOrder::schedule (cyclomatic 22): GraphPatternOrder::schedule has cyclomatic complexity 22 (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/planner/src/relational/graph_order.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f27cbd6007b9ea3591abe1b460f274353e47bc0f0858e6e52cda9327001523b"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl.convertParamValue (cyclomatic 22): dsl.convertParamValue has cyclomatic complexity 22 (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. This is NOT this file\u0027s highest cyclomatic complexity: Step.toAst (cyclomatic 86) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2917}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3c69b3b22d27dd8570240309fb24e6aa88abca3896a91d398b6a291cb55b58"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl.normalizeTypedQueryValue (cyclomatic 22): dsl.normalizeTypedQueryValue has cyclomatic complexity 22 (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. This is NOT this file\u0027s highest cyclomatic complexity: Step.toAst (cyclomatic 86) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2981}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78fcd8584017b32bc97eab4b543643086fbc2ff1cd0cbc118c1826ed3d79f00"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_ast::nesting::within (cyclomatic 21): helix_ast::nesting::within 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/ast/src/nesting.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ed99aa92f0ddcf4c3e6f54f683a9f43a8216afd8a24039db5cdef43753239a"}},{"ruleId":"D1","level":"warning","message":{"text":"Branch::next (cyclomatic 21): Branch::next has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/pull/branch.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6a29e06a6582f5a02364cf9d220e05b6e70f3d3dd25dfc0f1ac1a481b330b1"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexOperationProgress::cursors_are_valid (cyclomatic 21): IndexOperationProgress::cursors_are_valid 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/db/src/index_lifecycle/operation.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1bd7293b83db6a3ceb15a57cb65c9adf1a0e1294ec988ce628a8ad2d7ba0a8"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::secondary::delete_generation_rows (cyclomatic 21): db::index_lifecycle::secondary::delete_generation_rows has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":3055}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22e2a5ddd6df0b007776bd9b96c01a95cb5dc02c85833bcef133b22d4f4fe28"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::secondary::reconciliation_plan_from_observations (cyclomatic 21): db::index_lifecycle::secondary::reconciliation_plan_from_observations has cyclomatic complexity 21 (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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":3835}}}],"partialFingerprints":{"codehealthFindingId/v1":"434be7c7ca8f6913cba236c3bad3c4e1ab83313f5d2083075a8978a965355268"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::plan_and_apply (cyclomatic 21): db::index_lifecycle::vector::driver::plan_and_apply has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":3165}}}],"partialFingerprints":{"codehealthFindingId/v1":"123d65f26dbeb981c8701bec4a0ff6f315edec5601b6b36fe45df831a46b2f12"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::relational::consumers::prepare (cyclomatic 21): helix_planner::relational::consumers::prepare has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/consumers.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3371c57b1f69966cf0f8c7a5380c85d4cacbeebf78314b4ca7f6bfdd61c54dc2"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::rules::cardinality::fold_cursor (cyclomatic 21): helix_planner::rules::cardinality::fold_cursor has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: helix_planner::rules::cardinality::count_plan_cursor (cyclomatic 31) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/cardinality.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"045731845d0f929fdc10a7f6ad6945620cdb0e619c2298e5a2c94bd40d9daf3c"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertyValue.from_value (cyclomatic 21): PropertyValue.from_value has cyclomatic complexity 21 (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":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c1d3b862730fe4b660aac2c1fa524e062a182cc3a6d247634d0597b10e4633"}},{"ruleId":"D1","level":"warning","message":{"text":"helix.UnmarshalIndexOperationStatus (cyclomatic 21): helix.UnmarshalIndexOperationStatus 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":"sdks/go/dsl.go"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd1b6788a4140a34c175889739cc32d090419cdfa3db5fa3a13135074c516a1"}},{"ruleId":"D1","level":"warning","message":{"text":"Literal::fmt (cyclomatic 20): Literal::fmt has cyclomatic complexity 20 (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/cypher/src/print.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c0229a773bf4e9f0c575774712390c39ca44fd61287c2e8820b32e477b8696"}},{"ruleId":"D1","level":"warning","message":{"text":"Translator::role (cyclomatic 20): Translator::role has cyclomatic complexity 20 (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/cypher/src/sql/dml.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a33e36adaa42007353e3ddb3437d9edec62a36d72e3c74b59921c00436aa7cd"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexOperationProgress::try_map_cursors (cyclomatic 20): IndexOperationProgress::try_map_cursors has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. 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/db/src/index_lifecycle/operation.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"607cf725584cc09b533534e1a69c2970ce43d50f6f48a340c38da0f9c1744447"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::secondary::exact::ordered::scan_active_range_generation_ordered (cyclomatic 20): db::index_lifecycle::secondary::exact::ordered::scan_active_range_generation_ordered 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/db/src/index_lifecycle/secondary/exact/ordered.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e98cff7bbd6c913cea05d78a1e5ead4ee2166d39d314bd5b963e8842c5e08f2"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalId::from_tagged_value (cyclomatic 20): ExternalId::from_tagged_value has cyclomatic complexity 20 (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/graph-algorithms/src/identity.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68b033cbb26b2d8e1b1da9423e986f1a70f468801996983a873715940c59699"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::rules::physical_contracts::support::pipeline::stream_pipeline_op_contract (cyclomatic 20): helix_planner::rules::physical_contracts::support::pipeline::stream_pipeline_op_contract has cyclomatic complexity 20 (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/planner/src/rules/physical_contracts/support/pipeline.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6d40ea8525853ee8c43afff79781844af0b3897216cc7d429f0eb16c0fca72"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_opencypher_tck::run (cyclomatic 20): helix_opencypher_tck::run has cyclomatic complexity 20 (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":"tools/opencypher-tck/src/main.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"62482aa1addb4254b725653b0715459c946c1e2b9012befbdecf7e78fe9ca44c"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_opencypher_tck::gate::verify (cyclomatic 20): helix_opencypher_tck::gate::verify has cyclomatic complexity 20 (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":"tools/opencypher-tck/src/gate.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"615ea2a16198b090e9b0fc5485a4eb52656c5659531c486cc9cc675728810653"}},{"ruleId":"D1","level":"warning","message":{"text":"helix.UnmarshalIndexDdlReceipt (cyclomatic 20): helix.UnmarshalIndexDdlReceipt has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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":"sdks/go/dsl.go"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"12411d82a47d8e64dbf0b97a190d927f8203a7e9c83329fbb50bb99d5e3ab765"}},{"ruleId":"D1","level":"warning","message":{"text":"Client.Exec (cyclomatic 20): Client.Exec 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":"sdks/go/client.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f87d4bcc9670eec6a0f8d5d72eeb3667767c9da9e983f2b3de749c77256dafb"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertyValue.from (cyclomatic 20): PropertyValue.from has cyclomatic complexity 20 (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. This is NOT this file\u0027s highest cyclomatic complexity: Step.toAst (cyclomatic 86) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8256e29606ba6b73461a19096871d1da6cfd7d2bc1246930c0cb894b9bc28a"}},{"ruleId":"D1","level":"warning","message":{"text":"db::execution::interpreter::rows::graph::to_property (cyclomatic 19): db::execution::interpreter::rows::graph::to_property has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/graph.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d246e7d50b1d2c64ff52dfdbf7f792fc440d7319620e9c8a90cabaf7c5040c4"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::outbox::execute_claimed_step_with_evidence (cyclomatic 19): db::index_lifecycle::outbox::execute_claimed_step_with_evidence has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/outbox.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4db6abac12d82ecabc906503adb3a0cab8921c6158d939a51e83faa3ee0acb1"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::outbox::validate_link (cyclomatic 19): db::index_lifecycle::outbox::validate_link has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/outbox.rs"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6221f88b87863c41550a3e34527b845f6b889a9988fe428f13b7509197fedbb"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::secondary::catch_up_exact (cyclomatic 19): db::index_lifecycle::secondary::catch_up_exact has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2365}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59b1f0fa52fae0738a296a51444edb42013120a44c3eab5d392337ba8cbc16a"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::text::active_batch::prepare_destination (cyclomatic 19): db::index_lifecycle::text::active_batch::prepare_destination has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/active_batch.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db011e0e95c693913d9eeae1026553640d0ef6dcdc2231d28e0408b7525770c"}},{"ruleId":"D1","level":"warning","message":{"text":"OperatorContract::derive (cyclomatic 19): OperatorContract::derive has cyclomatic complexity 19 (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/planner/src/relational/contracts.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf637d7aabb024ef88d9d7fba9abef5bbf43be241410c39ae97fc2f6f92dd12"}},{"ruleId":"D1","level":"warning","message":{"text":"run_embedded_parity.main (cyclomatic 19): run_embedded_parity.main has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e2d616bea7ffcfa896697d5425da49221288c7141d1c24ccda5cd5ac81c398"}},{"ruleId":"D1","level":"warning","message":{"text":"Predicate.to_json (cyclomatic 19): Predicate.to_json has cyclomatic complexity 19 (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":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc477eac76ec0b209279d443cbd57df557ef2d0c2a7f458ef9b40a9858da515b"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_cli::commands::cloud::database::run (cyclomatic 18): helix_cli::commands::cloud::database::run has cyclomatic complexity 18 (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/cli/src/commands/cloud/database.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a7941d90618338a511b47c04ed67e406b6ae6a1d8e0e93b5151ed040eae5e9"}},{"ruleId":"D1","level":"warning","message":{"text":"Repeat::next (cyclomatic 18): Repeat::next 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/db/src/execution/interpreter/pull/repeat.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c376ca1043323d7526f6d943aa9daf530138929c73602cb87a60b545553684"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::secondary::release_validated_rows (cyclomatic 18): db::index_lifecycle::secondary::release_validated_rows 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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2805}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38a94f60660b1da0bc119f2e9853ff85757a8e634b46384f2bc701410a82e19"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::text::validation::select_root (cyclomatic 18): db::index_lifecycle::text::validation::select_root 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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ef3cb914fd979187d9897eda89d65d4dbdf1a5c0b8b830c0299f661e6b496f"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::step_build (cyclomatic 18): db::index_lifecycle::vector::driver::step_build 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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a26334386108a24a5a9d51c1384f42688df6b9c858d6261e9c806281966358"}},{"ruleId":"D1","level":"warning","message":{"text":"db::migrations::migrate_legacy_definitions (cyclomatic 18): db::migrations::migrate_legacy_definitions 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/db/src/migrations/mod.rs"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"52268653f1ac3a2c6477131eac7bf6573bd5795ae68621192bb67db67e3e5a5a"}},{"ruleId":"D1","level":"warning","message":{"text":"db::migrations::vector_retirement::release_reservations_batch (cyclomatic 18): db::migrations::vector_retirement::release_reservations_batch 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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"e954f29608219b624a40a7d958163c00ee13f256e6b7af1adc5875ecd9ad326e"}},{"ruleId":"D1","level":"warning","message":{"text":"db::search::hash_property_value_component (cyclomatic 18): db::search::hash_property_value_component has cyclomatic complexity 18 (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/db/src/search/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d0efbfdc0e67eaad1ab671ed9d7ef750f330be4abf810aa92270a76fbaae91"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph::with_attributes (cyclomatic 18): Graph::with_attributes 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/graph-algorithms/src/model.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcfcd283007b00fae2768a88c6f1a05cbdc5027e908860ca218ff3669958083"}},{"ruleId":"D1","level":"warning","message":{"text":"Totality::predicate (cyclomatic 18): Totality::predicate has cyclomatic complexity 18 (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/planner/src/relational/planning.rs"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6167017d790d88f50ff94e8c44141c279a1f5d39f84249408f747823231d707"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::relational::evaluation::integer::from_decimal (cyclomatic 18): helix_planner::relational::evaluation::integer::from_decimal has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/evaluation/integer.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"74634cdcaf695d7daf0171c3719486cad4454048573df27558d823cbbe15df11"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl._convert_param_value (cyclomatic 18): dsl._convert_param_value 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":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":3752}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b68da844e94140cc5a740421c3da5910f461842fb900a2b0882af3a5254b56"}},{"ruleId":"D1","level":"warning","message":{"text":"image_archive.scan_archive_for_secrets (cyclomatic 18): image_archive.scan_archive_for_secrets 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":"docker-image/image_archive.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ca22f705d54c1278fff1fb410f5740d085601a6a5aaceba8667a90a11938ec"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_ast_arena_derive::mirror::mirror_type (cyclomatic 17): helix_ast_arena_derive::mirror::mirror_type has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast-arena-derive/src/mirror.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad35f035188cd23cb7e4569122b9d9152af0df8fa6e10993f4df51208724e102"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_cypher::bind::aggregation::split_projection_with (cyclomatic 17): helix_cypher::bind::aggregation::split_projection_with 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/cypher/src/bind/aggregation.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02f64dad5f36396ddea4c51d0c7d9de4819f8d688cb08ab3ee05304b261facf"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexPrefix::from_slice (cyclomatic 17): IndexPrefix::from_slice has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/prefix.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17bbb0ef9590a9a38fbee8b2913323ce6f9087bbb311aaaa752033d287ee3c1"}},{"ruleId":"D1","level":"warning","message":{"text":"Probe::members (cyclomatic 17): Probe::members has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/lookup.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"310fa0e5e7ffefa0db6297d336e516ccc4c931fde35ef7df9e9d3d1d6f9a2ecd"}},{"ruleId":"D1","level":"warning","message":{"text":"Edit::apply (cyclomatic 17): Edit::apply 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/db/src/index_lifecycle/graph_mutation/map.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ff20e3043e1e2e9af11968ebf38d6b175fab9cc6b6f9b06b65ff662e5ead7d"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorMemoryStore::load_from_read_inner (cyclomatic 17): VectorMemoryStore::load_from_read_inner 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/db/src/search/vector/cache/store.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"159f42e03816263e154e3403d712889d21b2398a3c93ae3b62232d67918d043f"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorIndex::relink_neighbor (cyclomatic 17): VectorIndex::relink_neighbor 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/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6936e7ad4f34dda27b38a4af353bbe488a0d25eaa6ac13a99040ecfcd2fae9f7"}},{"ruleId":"D1","level":"warning","message":{"text":"db::encoding::v2::values::property::range_index_value::project_range_value (cyclomatic 17): db::encoding::v2::values::property::range_index_value::project_range_value has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/property/range_index_value.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f69bd6b041ee1e3680bf55c6b842b387ed19c35216c460eb085a2683e509713"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::outbox::reconcile_legacy_reader_coordination_operations (cyclomatic 17): db::index_lifecycle::outbox::reconcile_legacy_reader_coordination_operations 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/db/src/index_lifecycle/outbox.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aae1a2178267b78bf6f086c4293ec5813bf4924af09a67ca6a6003ceb269e1"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::repository::require_reader_bootstrap_or_legacy (cyclomatic 17): db::index_lifecycle::repository::require_reader_bootstrap_or_legacy 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/db/src/index_lifecycle/repository.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbdb00df02211be204495c6988eb5efa86d2b34f7fdca15a61512e5fb20f923"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::text::statistics::load_overlaid_query_statistics (cyclomatic 17): db::index_lifecycle::text::statistics::load_overlaid_query_statistics 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/db/src/index_lifecycle/text/statistics.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6850363b939409cd410fe06bebd2cfc7c390f2a1e61bc82cefde65c1c288e215"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::delete_physical_namespace (cyclomatic 17): db::index_lifecycle::vector::driver::delete_physical_namespace 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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd70497923896d4857e6a9b121b2707b025edf51c73983118b99b14b72e7a96"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::adopt_legacy (cyclomatic 17): db::index_lifecycle::vector::driver::adopt_legacy has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7b0405372b308a4aa3df75fb25978fe0ebe755393b82d697e8760da31ad8c1"}},{"ruleId":"D1","level":"warning","message":{"text":"db::migrations::startup::bootstrap::preflight_writer_bootstrap (cyclomatic 17): db::migrations::startup::bootstrap::preflight_writer_bootstrap 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/db/src/migrations/startup/bootstrap.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d013db75cff8c2e41e54afb1642d36b7c64ea546a65975f0e4da3e7a4a705d3"}},{"ruleId":"D1","level":"warning","message":{"text":"db::migrations::vector_properties::materialize_batch (cyclomatic 17): db::migrations::vector_properties::materialize_batch 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/db/src/migrations/vector_properties.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3521998f970b85be36666f6b0199cd534812929aedc357130d33caef6a5f63e"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutableDagBuilder::push_selected_stream_pipeline_op (cyclomatic 17): ExecutableDagBuilder::push_selected_stream_pipeline_op has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/selected/lowering/access/pipeline.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8df51b98f1e67047610a45a2bf6735f8d78c7bb8630ce44ddd8f749c161dea"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecPullCapability::of (cyclomatic 17): ExecPullCapability::of has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/pull/mod.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8dc6fb6691e2d924d2ab2d11d9b9c854a30dcc6667ed0663585bf0eb823ee7"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecProgram::derive (cyclomatic 17): ExecProgram::derive 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/planner/src/exec/pull/mod.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a0e6c8fea949cbcacc7d51dd6a3a58bc048e8371d51eb8badc949d0fe1baae"}},{"ruleId":"D1","level":"warning","message":{"text":"ScalarExpression::try_visit_pruned (cyclomatic 17): ScalarExpression::try_visit_pruned has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/expression.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a3d6502c41ff0578bc810eac336d453ab6f7e59c22a7194f1fff1a7d77368e"}},{"ruleId":"D1","level":"warning","message":{"text":"RowPlan::explain (cyclomatic 17): RowPlan::explain 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/planner/src/relational/explain.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"786e78b04c502efa8acfa82b3791b442256d017127d827e8fac6fe5bb0f50c53"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::relational::planning::bound_value (cyclomatic 17): helix_planner::relational::planning::bound_value has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/planning.rs"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"86368ae14ca27e140e424f405c37b643510decfad134ba3b145f9e8330c255d5"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl._normalize_typed_query_value (cyclomatic 17): dsl._normalize_typed_query_value 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":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":3899}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e657f6904dfa60d163c44ef0f6351ea2e1df238049fdc502894143b31f842d"}},{"ruleId":"D1","level":"warning","message":{"text":"HelixConfig::validate (cyclomatic 16): HelixConfig::validate 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/cli/src/config.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ca5e078fc471b576f56d66cc97578c072bdb30fd0712ad684247b312f431c1"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_cli::commands::doctor::render (cyclomatic 16): helix_cli::commands::doctor::render has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/doctor.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ea7c66d0fe0364d60c4aced912c02bd3d728063a63bd646b650bc4cfbcd48b"}},{"ruleId":"D1","level":"warning","message":{"text":"LookupCursor::next_batch (cyclomatic 16): LookupCursor::next_batch has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/lookup_cursor.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"197e6419de946d34e2017e9c2eb8475b761725b0f5759c85b6d58011ff4e8518"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::node_secondary_ids (cyclomatic 16): ExecutionContext::node_secondary_ids has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/access/secondary_set.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5487b8b5fef2c687468331cdf70f4baa6526d4a8c021a8568ff414b1096a29e"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::execute_branch_with_context (cyclomatic 16): ExecutionContext::execute_branch_with_context 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/db/src/execution/interpreter/control/branch.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f303972c9af2de51c1da3148bdd3780ac9987f501f818b063c655e11d2b9e0"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::create_rows (cyclomatic 16): ExecutionContext::create_rows 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/db/src/execution/interpreter/rows/mutations.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a10c8f043d2aecb9a43ced9cadab8cb272fb937a9024c13f9518dc63c543fe9"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::relationship_scan_batches (cyclomatic 16): ExecutionContext::relationship_scan_batches 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/db/src/execution/interpreter/rows/relationship_scan.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4dd3df4f4555c320a898aefd84556d20864f9ccb6f9200b33e724ba8b0fb5e"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionContext::execute_shortest_path (cyclomatic 16): ExecutionContext::execute_shortest_path 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/db/src/execution/interpreter/shortest_path.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf630f3bcdee152841917810613768cb9f2c918bb8123acf67db69cb0589b98"}},{"ruleId":"D1","level":"warning","message":{"text":"OrderedRangeCursor::next (cyclomatic 16): OrderedRangeCursor::next 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/db/src/index_lifecycle/secondary/exact/ordered.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aeb2ad720614ca8d0c1f62ab3d8fe310138b8b3aee679ed330837f2c8faceb"}},{"ruleId":"D1","level":"warning","message":{"text":"HelixDB::run_configured_vector_memory_warm (cyclomatic 16): HelixDB::run_configured_vector_memory_warm 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/db/src/lib.rs"},"region":{"startLine":3418}}}],"partialFingerprints":{"codehealthFindingId/v1":"9663053ad6cb058f3204b5bfeb419b1c8547033f909e73d10480003ccc86ae76"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::secondary::exact::unique::lookup_active_unique_equality_batch_admitted (cyclomatic 16): db::index_lifecycle::secondary::exact::unique::lookup_active_unique_equality_batch_admitted 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/db/src/index_lifecycle/secondary/exact/unique.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"70117b4af394d6c8d7c82904269b5c8feaa22998db006198a2c6033727d507a4"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::text::compaction::select_artifacts (cyclomatic 16): db::index_lifecycle::text::compaction::select_artifacts 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/db/src/index_lifecycle/text/compaction.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc109a92cd77be51495d40b8f05709af3815f86fda01864e5649aeeddf0b874"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::text::statistics::prepare_transition (cyclomatic 16): db::index_lifecycle::text::statistics::prepare_transition has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/statistics.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabbb15be07a4c26ba71589d2f80fab7a4f7529033d0a4cd5930c44cd5a6e8d4"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::scan_source (cyclomatic 16): db::index_lifecycle::vector::driver::scan_source 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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":2777}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e84e844c4c6535a6fa0d78f97989db6a2e351bb28ac74a26e31f05b707fae0"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle::worker::dispatch_worker_cycle (cyclomatic 16): db::index_lifecycle::worker::dispatch_worker_cycle 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/db/src/index_lifecycle/worker.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5da12c956ce0c47163187078b500c5d89c770a8752168b29c9243aedfa87cf5"}},{"ruleId":"D1","level":"warning","message":{"text":"db::index_lifecycle_testing::contracts::all_index_validation::run_case (cyclomatic 16): db::index_lifecycle_testing::contracts::all_index_validation::run_case has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: db::index_lifecycle_testing::contracts::all_index_validation::fixture_properties_with_tenant (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts/all_index_validation.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ab6f4de777abe46254491e2972443ae2fdeb87e7b66b642a7fa4f100a3ebea"}},{"ruleId":"D1","level":"warning","message":{"text":"db::migrations::vector_retirement::fence_sources_batch (cyclomatic 16): db::migrations::vector_retirement::fence_sources_batch 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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb7fcc1655ed3f17c19fd8fa69ab84556f6e09b0f35bc34c80e12c0edb54517"}},{"ruleId":"D1","level":"warning","message":{"text":"db::migrations::vector_retirement::delete_dedicated_lane_batch (cyclomatic 16): db::migrations::vector_retirement::delete_dedicated_lane_batch 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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41dd0dba1d0213e4e0cc4e2c84c67da9001eaec24d0509da58ddf6181b1c8b2"}},{"ruleId":"D1","level":"warning","message":{"text":"db::migrations::vector_retirement::delete_core_batch (cyclomatic 16): db::migrations::vector_retirement::delete_core_batch 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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e71c5c6345b17c117c3f10284c57097e78f330e87b320e6139204c4fe647bd2"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph::spring_layout (cyclomatic 16): Graph::spring_layout 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/graph-algorithms/src/algorithms/layout.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a05052dc1239b965247d0735631cc9802d047d7fda5fb3d82a53fa0cf9d1a56"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutableDagBuilder::push_selected_range_pipeline (cyclomatic 16): ExecutableDagBuilder::push_selected_range_pipeline 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/planner/src/exec/selected/lowering/access/stream/pipeline.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"516cc8e22ea1b1882a14d3fb27fc6f63db45aaa3d3e26347b894692701aa716e"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::analysis::prune::prune_junction (cyclomatic 16): helix_planner::analysis::prune::prune_junction has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/analysis/prune.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dc871271da8c2b38a7a3d6924c96c5be7681ee6240b930c2894d4fe7ce7b84"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::exec::selected::lowering::contracts::delivered::pipeline::selected_stream_pipeline_delivered_properties (cyclomatic 16): helix_planner::exec::selected::lowering::contracts::delivered::pipeline::selected_stream_pipeline_delivered_properties has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/selected/lowering/contracts/delivered/pipeline.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89ab6b239dc9ebe741f7d73026828ddef0bb9ed233c5d2bea268105781c73b5"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::rules::access::filter::atoms::merge_literal_equality_branches (cyclomatic 16): helix_planner::rules::access::filter::atoms::merge_literal_equality_branches has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. 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/planner/src/rules/access/filter/atoms/mod.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69c2ea1f2f85d1364b9c1d8c4ff9565eb375c7ca80ec057ebc052da529a0b4c"}},{"ruleId":"D1","level":"warning","message":{"text":"helix_planner::rules::physical_contracts::pipeline::delivered::delivered_after_pipeline_op (cyclomatic 16): helix_planner::rules::physical_contracts::pipeline::delivered::delivered_after_pipeline_op has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/physical_contracts/pipeline/delivered.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"32efc000c0ace6a2e03f372d99e4fd84f290a8efa4a240d1f3f5e92c651b106c"}},{"ruleId":"D1","level":"warning","message":{"text":"run_embedded_parity.async_main (cyclomatic 16): run_embedded_parity.async_main 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":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ec1c0e4c40208333fc11b82a9eaa42d865db997db4301ae63002d2db1a734e"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl.parse_index_operation_status (cyclomatic 16): dsl.parse_index_operation_status 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":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c315878d2d848042a564b74631e592710802ea8f34ea449e55e80f64981d25"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphSelection.__post_init__ (cyclomatic 16): GraphSelection.__post_init__ 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":"sdks/python/src/helixdb/graph.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f946ffe6d338780e88e4413d2a62d2272c03447eb9c171c42234c3262e0c033"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchCondition.UnmarshalJSON (cyclomatic 16): BatchCondition.UnmarshalJSON 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. This is NOT this file\u0027s highest cyclomatic complexity: Predicate.ast (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/dsl.go"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8017169f9ecc38e8c2c5f2276c0b6f7f6ddc1f0f58887e21c4f22338f2970aea"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl.stringifyEncoded (cyclomatic 16): dsl.stringifyEncoded 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. This is NOT this file\u0027s highest cyclomatic complexity: Step.toAst (cyclomatic 86) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea7bbedf9ea72c9180b005aa6330937d343c20bc048b3c1bde5595e9081733e"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl.parseIndexOperationStatus (cyclomatic 16): dsl.parseIndexOperationStatus 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. This is NOT this file\u0027s highest cyclomatic complexity: Step.toAst (cyclomatic 86) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d69c6fe6daa325d5290acaf129c0b53cd567f749689ba07b1a860c2442f332"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorIndex::search_layer0_with_simhash (cognitive 241): VectorIndex::search_layer0_with_simhash has cognitive complexity 241 (threshold 15). Drivers by points: if/else 85 (206 pts), loops 8 (19 pts), boolean chains 12, match/switch 2 (4 pts) (nesting depth added 134). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/search.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d29bfe947f531aaaa7d9d52039e4d8e52182d514923b9d7298662973207d98"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::relational::planning::plan_accesses (cognitive 229): helix_planner::relational::planning::plan_accesses has cognitive complexity 229 (threshold 15). Drivers by points: if/else 41 (147 pts), match/switch 12 (40 pts), loops 12 (28 pts), boolean chains 14 (nesting depth added 150). 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/planner/src/relational/planning.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ce8bd31664bb09c14deddca276965b07ea9e1dce6bb9e97d16b822a33bb4a8"}},{"ruleId":"D2","level":"warning","message":{"text":"db::execution::interpreter::pull::poll::step (cognitive 195): db::execution::interpreter::pull::poll::step has cognitive complexity 195 (threshold 15). Drivers by points: if/else 47 (130 pts), loops 16 (37 pts), match/switch 10 (26 pts), boolean chains 2 (nesting depth added 120). 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/db/src/execution/interpreter/pull/poll.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a215f13db6ec4396af411bb64c095f97cb754688204e188b73117e26b0a6f0"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_cypher::bind::bind_clauses (cognitive 185): helix_cypher::bind::bind_clauses has cognitive complexity 185 (threshold 15). Drivers by points: if/else 37 (120 pts), match/switch 8 (30 pts), loops 6 (19 pts), boolean chains 16 (nesting depth added 118). 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/cypher/src/bind.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8862030647a89cacd892b47d233f5de42fd5bce88a3caa45a69cb708c3c72a63"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_cypher::lexer::lex (cognitive 134): helix_cypher::lexer::lex has cognitive complexity 134 (threshold 15). Drivers by points: if/else 37 (94 pts), match/switch 4 (14 pts), boolean chains 13, loops 5 (13 pts) (nesting depth added 75). 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/cypher/src/lexer.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a41827c9fd3a18fe52ce678d4c7ba7f115150498edd270f9c62b9a0cad8c2cc"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::match_rows (cognitive 112): ExecutionContext::match_rows has cognitive complexity 112 (threshold 15). Drivers by points: loops 13 (54 pts), if/else 10 (35 pts), match/switch 5 (21 pts), boolean chains 2 (nesting depth added 82). 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/db/src/execution/interpreter/rows/matches.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"33181a2cac377b048f7cd761330bea1320b2038127d4afba81754ecf9115ae90"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::expr_inner (cognitive 111): Parser::expr_inner has cognitive complexity 111 (threshold 15). Drivers by points: if/else 49 (92 pts), loops 4 (9 pts), boolean chains 8, match/switch 1 (2 pts) (nesting depth added 49). 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/cypher/src/parser.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c10f35d95001268d709913830ce122b8417c1cf9003568124b1317e42f4bb1"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorRows::validate_simhash_directory (cognitive 110): VectorRows::validate_simhash_directory has cognitive complexity 110 (threshold 15). Drivers by points: if/else 37 (91 pts), match/switch 8 (17 pts), boolean chains 1, loops 1 (nesting depth added 63). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"684f237be762f77be32b93cdd1058f69891287e0d252d168edc3f1a354f6be8a"}},{"ruleId":"D2","level":"warning","message":{"text":"Query::new (cognitive 104): Query::new has cognitive complexity 104 (threshold 15). Drivers by points: if/else 15 (47 pts), loops 11 (34 pts), boolean chains 15, match/switch 3 (8 pts) (nesting depth added 60). 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/planner/src/relational/query.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"12487d4b652f6b103b249f8e147b89f966b12088d484536cd1b5848fba4b58d6"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorIndex::restricted_filter_aware_search (cognitive 97): VectorIndex::restricted_filter_aware_search has cognitive complexity 97 (threshold 15). Drivers by points: if/else 24 (62 pts), loops 10 (27 pts), boolean chains 8 (nesting depth added 55). 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/db/src/search/vector/hnsw/restricted.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9506f53b6b837b76d788f6580f9378d006321c3de99d0213701da417796733"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::finish_pattern_candidates (cognitive 93): ExecutionContext::finish_pattern_candidates has cognitive complexity 93 (threshold 15). Drivers by points: if/else 17 (57 pts), loops 13 (30 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 59). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/matches.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a565330158cb86101357e213857a114fef522aa1e5176ac4a7ce9ec8c494ab"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::preflight_legacy_vector_reservations (cognitive 87): db::migrations::preflight_legacy_vector_reservations has cognitive complexity 87 (threshold 15). Drivers by points: if/else 24 (54 pts), match/switch 6 (13 pts), boolean chains 10, loops 9 (10 pts) (nesting depth added 38). 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/db/src/migrations/mod.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffe34a1c59afb5f4ce97a272b7d23e4cb7fd7a46182fd5df63a8a03d8e7aa78"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::row_program (cognitive 76): ExecutionContext::row_program has cognitive complexity 76 (threshold 15). Drivers by points: if/else 16 (42 pts), loops 8 (23 pts), match/switch 3 (7 pts), boolean chains 4 (nesting depth added 45). 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/db/src/execution/interpreter/rows/mod.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0888ba5cce08085278e440985d31ac99c74f751c85f0ef234576c03154733b2c"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::expansion_batches (cognitive 75): ExecutionContext::expansion_batches has cognitive complexity 75 (threshold 15). Drivers by points: if/else 13 (37 pts), match/switch 9 (27 pts), loops 4 (7 pts), boolean chains 4 (nesting depth added 45). 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/db/src/execution/interpreter/rows/expansion.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"146bf8fdff2bf997fd04ae5fe9dde894d1f06ab61fb82d7ec949e852c52fb721"}},{"ruleId":"D2","level":"warning","message":{"text":"Evaluation::function (cognitive 72): Evaluation::function has cognitive complexity 72 (threshold 15). Drivers by points: if/else 19 (35 pts), match/switch 18 (35 pts), loops 1 (2 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/evaluation.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be089487185e4bc2b0993bec4dca81412a81d35da50b1c9f5069da0cb6487cc"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::graph_batch_required (cognitive 69): ExecutionContext::graph_batch_required has cognitive complexity 69 (threshold 15). Drivers by points: if/else 20 (46 pts), match/switch 7 (16 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 37). 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/db/src/execution/interpreter/rows/graph.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e518ca36cc444b4be2e58c454be09abb43c42d0ae541fd85b05894f488b64f"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorRows::validate_legacy_physical (cognitive 67): VectorRows::validate_legacy_physical has cognitive complexity 67 (threshold 15). Drivers by points: if/else 19 (45 pts), match/switch 9 (18 pts), boolean chains 3, loops 1 (nesting depth added 35). 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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f32c8c22a20cdf5e293de99173e612e4f312a675a1608da79137d716782a88"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::update_rows (cognitive 65): ExecutionContext::update_rows has cognitive complexity 65 (threshold 15). Drivers by points: if/else 7 (27 pts), match/switch 7 (26 pts), loops 4 (10 pts), boolean chains 2 (nesting depth added 45). Of this number, 64 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/mutations.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fddc3afd2512a7dbc5464caedc31c2794c6f3d0c2281d9961ed7bff196a9f3"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::driver::scan_partition_documents (cognitive 63): db::index_lifecycle::text::driver::scan_partition_documents has cognitive complexity 63 (threshold 15). Drivers by points: if/else 26 (51 pts), match/switch 5 (10 pts), boolean chains 1, loops 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62e93a93cb7e40258937bef3f582f9ebcbad97d8063e8257ac15e0d5f82fc98"}},{"ruleId":"D2","level":"warning","message":{"text":"RuleSchedule::rules_for_expr (cognitive 58): RuleSchedule::rules_for_expr has cognitive complexity 58 (threshold 15). Drivers by points: if/else 38 (57 pts), match/switch 1 (nesting depth added 19). 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/planner/src/optimizer/driver/schedule/routing.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8774f25dde504edefed89f8de940d17b1ab029474b3e399e46c3a86a30aa35c6"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_opencypher_tck::runner::steps (cognitive 58): helix_opencypher_tck::runner::steps has cognitive complexity 58 (threshold 15). Drivers by points: if/else 13 (40 pts), loops 3 (8 pts), boolean chains 5, match/switch 2 (5 pts) (nesting depth added 35). 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":"tools/opencypher-tck/src/runner.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5370e0afac8a6e2ef44a535d11e429f01b72b650dbf8f93f24420884672f89e0"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::projection_chain (cognitive 56): ExecutionContext::projection_chain has cognitive complexity 56 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 6 (13 pts), match/switch 4 (12 pts), boolean chains 3 (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/db/src/execution/interpreter/rows/projection_chain.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"63890152b752102a0a38e12c9bee0798275f3bfcf521218b757929abdffcfd26"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::scan_source (cognitive 56): db::index_lifecycle::secondary::scan_source has cognitive complexity 56 (threshold 15). Drivers by points: if/else 15 (30 pts), match/switch 9 (20 pts), loops 4 (6 pts) (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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"797715041577b2ed19d18a4b65c24b206987b7a735f9f4171aa9e3deed2fe483"}},{"ruleId":"D2","level":"warning","message":{"text":"Step.to_ast (cognitive 56): Step.to_ast has cognitive complexity 56 (threshold 15). Drivers by points: if/else 50, ternaries 3 (6 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":2340}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc30ab70477fb1decf1d78b4f9b42e9dda8e4827c73f45a9e583505340a3c26"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorIndex::load_uncached_items_for_layer (cognitive 55): VectorIndex::load_uncached_items_for_layer has cognitive complexity 55 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 8 (18 pts), boolean chains 4, match/switch 2 (4 pts) (nesting depth added 29). 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/db/src/search/vector/hnsw/index.rs"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7157320b914b9034fef91cdb449ef277e71974f04e6676c2c7ae081c79975af"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::pattern (cognitive 54): Parser::pattern has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (42 pts), boolean chains 7, loops 2 (5 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/parser.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97f4cae518105359cda57ab370d91b28b97b428ff2e2fbc653f3861a932bfc9"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedTextOperationStep::stage (cognitive 54): PreparedTextOperationStep::stage has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (37 pts), loops 6 (12 pts), match/switch 3 (4 pts), boolean chains 1 (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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47122011ee39d379048434b5f68a81f0be88a728ed52bbdb7e75cd8f4b27302"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::step_cleanup (cognitive 54): db::index_lifecycle::vector::driver::step_cleanup has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (36 pts), match/switch 6 (16 pts), boolean chains 2 (nesting depth added 33). 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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"98477bf33db9fd8c233ca4032da5871c4b090aa2a1e090452b588ea9efbb1f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::value (cognitive 54): Parser::value has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (37 pts), loops 4 (10 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 26). 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":"tools/opencypher-tck/src/values.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2fdef25e2e566233785fb5b6167dc4c703821aece0bb5c5e34908dda58368b"}},{"ruleId":"D2","level":"warning","message":{"text":"Translator::select (cognitive 52): Translator::select has cognitive complexity 52 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 17, match/switch 4 (5 pts), loops 4 (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/cypher/src/sql/select.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed312337f809e739a217862e95ed5a419f365c8fe86d303db44c64efa0a7f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::secondary_range_scan_bounds (cognitive 52): db::index_lifecycle::secondary::secondary_range_scan_bounds has cognitive complexity 52 (threshold 15). Drivers by points: if/else 21 (42 pts), match/switch 4 (7 pts), boolean chains 3 (nesting depth added 24). 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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":4751}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be6467ad94ce4605d27d309b81d9237b49e28e729abfb0fc8c0eb4ee755d702"}},{"ruleId":"D2","level":"warning","message":{"text":"image_archive.inspect_archive (cognitive 52): image_archive.inspect_archive has cognitive complexity 52 (threshold 15). Drivers by points: if/else 26 (37 pts), boolean chains 7, loops 5 (6 pts), error handling 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker-image/image_archive.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32da4319dfcdfc65a7b58a9ed6000ad0093bb37cfa04d58ff130dc99c9eeffa"}},{"ruleId":"D2","level":"warning","message":{"text":"Binder::expression (cognitive 49): Binder::expression has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (33 pts), match/switch 5 (10 pts), boolean chains 6 (nesting depth added 23). 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/cypher/src/bind.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef515338c512610eee53b2633589b2fc5c871fd0f8785f0a10108a44b9ffcdf"}},{"ruleId":"D2","level":"warning","message":{"text":"Source::next (cognitive 49): Source::next has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (32 pts), match/switch 5 (15 pts), boolean chains 1, loops 1 (nesting depth added 31). 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/db/src/execution/interpreter/pull/source.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4611d3b3dd0de4e3f62f2b62f4bd392aa7103cca6549f22c8e943152685cb4"}},{"ruleId":"D2","level":"warning","message":{"text":"db::search::text::search_manifest_with_state_source (cognitive 49): db::search::text::search_manifest_with_state_source has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (25 pts), match/switch 4 (12 pts), loops 4 (8 pts), boolean chains 4 (nesting depth added 26). 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/db/src/search/text/mod.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"106ce72bbbb287f2f1edc57f7a7e878dc228a2e6ee9c6f877c33de1f0be31d8b"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::statement (cognitive 48): Parser::statement has cognitive complexity 48 (threshold 15). Drivers by points: if/else 19 (36 pts), loops 3 (7 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/parser.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbbed0ca9473dafa6d228a22a066052d50020f7f1e238828ac59a8a5a1afb5a"}},{"ruleId":"D2","level":"warning","message":{"text":"Evaluation::eval (cognitive 48): Evaluation::eval has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (23 pts), match/switch 8 (17 pts), loops 4 (8 pts) (nesting depth added 25). 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/planner/src/relational/evaluation.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"13869114b84bad94bfa6d88f0c1d79dd3524f1dcebced1b283edf30bdc9cf600"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::release_validated_rows (cognitive 47): db::index_lifecycle::secondary::release_validated_rows has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (41 pts), loops 3 (4 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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2805}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48672fbb684df9e30ea140809b3dc5815b699672b2ab4076310f2e5ba041a00"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::driver::scan_source (cognitive 46): db::index_lifecycle::text::driver::scan_source has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (37 pts), match/switch 3 (5 pts), boolean chains 2, loops 2 (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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"e367e23303a513188545456f5b061e494a403ece8d25a330f23778075f94ce5b"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::outbox::reconcile_legacy_reader_coordination_operations (cognitive 45): db::index_lifecycle::outbox::reconcile_legacy_reader_coordination_operations has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (33 pts), loops 4 (8 pts), match/switch 1 (4 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/outbox.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91b33625eb8870e4823ba6ee7e8a44e03e93be4cbe30295da5e48ba6573d858"}},{"ruleId":"D2","level":"warning","message":{"text":"Binder::pattern (cognitive 44): Binder::pattern has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (29 pts), boolean chains 10, loops 3 (5 pts) (nesting depth added 19). 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/cypher/src/bind.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"639d0e657a26ca1623418e70c4bf4b066ffdc0593844ca7c074a68ea9669b9c4"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::validation::select_page (cognitive 44): db::index_lifecycle::text::validation::select_page has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (31 pts), loops 3 (5 pts), boolean chains 4, match/switch 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3d392c323285174a36df7e4e9d50aeb6cc8603d53b9a572bf56a84a7b0c8bf"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundMatch::next_batch (cognitive 43): BoundMatch::next_batch has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (31 pts), loops 3 (7 pts), match/switch 2 (5 pts) (nesting depth added 29). 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/db/src/execution/interpreter/rows/bound_match.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d978a64c50da3198a91c9fe3e614d818e5909212229564ae4ba501d125e7f65a"}},{"ruleId":"D2","level":"warning","message":{"text":"Expr::fmt (cognitive 42): Expr::fmt has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 12, match/switch 3 (5 pts) (nesting depth added 12). 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/cypher/src/print.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27e130e2a96b41afe01c5623f24ae0f0b124374b0790ebd38f5782792819ea4"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::project_rows (cognitive 42): ExecutionContext::project_rows has cognitive complexity 42 (threshold 15). Drivers by points: loops 10 (23 pts), if/else 11 (15 pts), boolean chains 4 (nesting depth added 17). 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/db/src/execution/interpreter/rows/projection.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1448bb2655c144b6fa16aba13b18a95ab79334cdcf973d6d350e1855e6beae"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::eval_resolved (cognitive 42): ExecutionContext::eval_resolved has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (28 pts), match/switch 5 (9 pts), loops 2 (5 pts) (nesting depth added 26). 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/db/src/execution/interpreter/stream/eval/resolved.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"18887f57d62141630969fcabbdbf42746ea580aa920eb184aa8438b212861dbc"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::statistics::load_overlaid_query_statistics (cognitive 41): db::index_lifecycle::text::statistics::load_overlaid_query_statistics has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 4 (11 pts), boolean chains 2, match/switch 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/statistics.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3357f2f3d1a211a5c071cb3cdf79948d09d17fe5b89d08add343a6b46c225449"}},{"ruleId":"D2","level":"warning","message":{"text":"db::search::vector::cache::hydration::hydrate_active_generations (cognitive 41): db::search::vector::cache::hydration::hydrate_active_generations has cognitive complexity 41 (threshold 15). Drivers by points: match/switch 10 (22 pts), if/else 9 (18 pts), loops 1 (nesting depth added 21). 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/db/src/search/vector/cache/hydration.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc277554c512cc89584d530746dc5ef19a37c4870119c1e8c40f25f2adc040d"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_cypher::bind::aggregation::split_projection_with (cognitive 40): helix_cypher::bind::aggregation::split_projection_with has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (27 pts), match/switch 3 (9 pts), boolean chains 2, loops 2 (nesting depth added 23). 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/cypher/src/bind/aggregation.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d34bcc11b11726f91af0995710a5c601ea389059559639aca5c68761e554cc7"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::create_rows (cognitive 40): ExecutionContext::create_rows has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 6 (13 pts), match/switch 2 (8 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/mutations.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba4706957baa2991d597e67fc4732245433baf046bee7179678c35278973b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphPatternOrder::schedule (cognitive 40): GraphPatternOrder::schedule has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 8, match/switch 1 (3 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/graph_order.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"108b80d1bd5386abe1a8fdc07e8db4b0ba49c606ad6ec11f9748863850f2e306"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::relational::evaluation::binary (cognitive 40): helix_planner::relational::evaluation::binary has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (20 pts), match/switch 7 (14 pts), boolean chains 4, loops 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/planner/src/relational/evaluation.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7f0995bfb40ad81e1293933032a70eb8685ba1e53e50c713dd6bf0099d518c"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::delete_generation_rows (cognitive 39): db::index_lifecycle::secondary::delete_generation_rows has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (24 pts), match/switch 3 (8 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 19). 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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":3055}}}],"partialFingerprints":{"codehealthFindingId/v1":"753185d12752789f590824afc35ac1d998e0da47d3c77809ed49b01e430db415"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::relational::planning::index_predicate (cognitive 39): helix_planner::relational::planning::index_predicate has cognitive complexity 39 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 5 (11 pts), loops 3 (8 pts), boolean chains 4 (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/planner/src/relational/planning.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"19215084e57e22cb093dce6bd396434a5f4b1399ffe2e54ef1df532b8e2f6b4a"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.postStatement (cognitive 39): Client.postStatement has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (36 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 19). 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":"sdks/go/cypher.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1d9662d027fa94188878c9c57435577c3fe6186b43b92e7b59333633174928"}},{"ruleId":"D2","level":"warning","message":{"text":"Branch::next (cognitive 38): Branch::next has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 2 (5 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/pull/branch.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"79aaa6b17f298525f28de73b5d732d996e368dc0fc7650708d6e58cb8f29aa79"}},{"ruleId":"D2","level":"warning","message":{"text":"Repeat::next (cognitive 38): Repeat::next has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 2 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 23). 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/db/src/execution/interpreter/pull/repeat.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbc31b5e20bdf64771e78fedb3c0a9cc11a695f64fd0e29aff0fb9559095421"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle_testing::contracts::family_shapes (cognitive 38): db::index_lifecycle_testing::contracts::family_shapes has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 7 (16 pts) (nesting depth added 23). 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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":4442}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18b83ff15df7b593c6a1ef0a5550d4ddd8804958d592d14ebf234917f946cc9"}},{"ruleId":"D2","level":"warning","message":{"text":"image_archive.scan_archive_for_secrets (cognitive 38): image_archive.scan_archive_for_secrets has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 6 (11 pts), error handling 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker-image/image_archive.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf896c6e900e15ce2cd53a0952591c35b8d8d1dc3afd8d35e27cdc56cf393be2"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_cli::commands::chef::launch_claude_streaming (cognitive 37): helix_cli::commands::chef::launch_claude_streaming has cognitive complexity 37 (threshold 15). Drivers by points: if/else 6 (22 pts), match/switch 4 (11 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/chef.rs"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba803c431908fc54a4981be2760f1b72fde219c3ecad48fa4033eccc557995a"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeCursor::next_batch (cognitive 37): NodeCursor::next_batch has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (25 pts), loops 4 (9 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/scan.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0abecd3d3526756873222e9911ba9a746095d67fb4bfe9aa214351e516c4426"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorRows::backfill_missing_simhash_directory (cognitive 37): VectorRows::backfill_missing_simhash_directory has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (28 pts), match/switch 4 (6 pts), boolean chains 2, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f53e66484bafb50b02774b19a2ccfe8adccc924a68705f014968c41b5cf03cc"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::vector_retirement::release_reservations_batch (cognitive 37): db::migrations::vector_retirement::release_reservations_batch has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 3 (7 pts), match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_retirement.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"848ba4eec62b677bded8e5e99010c2b5b0d0413edf4bea8806173902910a5074"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::manifest::select_page (cognitive 36): db::index_lifecycle::text::manifest::select_page has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (28 pts), match/switch 5 (6 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/db/src/index_lifecycle/text/manifest.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c11d63dc1e116a251df76a2d8091a502b420667fdf663ce64b6f31ca5840691"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::delete_rows (cognitive 35): ExecutionContext::delete_rows has cognitive complexity 35 (threshold 15). Drivers by points: loops 8 (20 pts), if/else 4 (11 pts), match/switch 1 (4 pts) (nesting depth added 22). 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/db/src/execution/interpreter/rows/mutations.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d87f3949496501cdcc828e3789963e1f4af50afb7545d0c06c4f9da48a4301d"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::catch_up_exact (cognitive 35): db::index_lifecycle::secondary::catch_up_exact has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 5 (13 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee519dab59b4d44965555009dd6a85f21104780710a1fbb2570e3694273d0a69"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-llms.build (cognitive 35): generate-llms.build has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 6 (10 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/generate-llms.mjs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f32f25b47210c946728ce6e8641b8fd23823b2d3da3ffd3385f426da42d89cf"}},{"ruleId":"D2","level":"warning","message":{"text":"PendingSelection::analyze_text (cognitive 34): PendingSelection::analyze_text has cognitive complexity 34 (threshold 15). Drivers by points: match/switch 8 (16 pts), if/else 9 (15 pts), loops 2, boolean chains 1 (nesting depth added 14). 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/db/src/execution/interpreter/access/search/pending.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"6451ac1e246d194072e8bd67333f9ee4837e69de3b888aedaf0226e88f95be01"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeMatch::next_batch (cognitive 34): NodeMatch::next_batch has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 4 (11 pts), match/switch 2 (5 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/correlated.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04db9ddb96b194a01dbd5a9771c3ee90bdb3de3d82c0c3384e74d3be9b3d241"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::vector_retirement::delete_core_batch (cognitive 34): db::migrations::vector_retirement::delete_core_batch has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (30 pts), loops 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_retirement.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05633999c85fc957c2231efc512829faf97fb3ce7ce316cc9651359a12bb144"}},{"ruleId":"D2","level":"warning","message":{"text":"run_embedded_parity.main (cognitive 34): run_embedded_parity.main has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 5 (8 pts), error handling 2 (5 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd683b8e883ad2cd14d3e0897007335419e417d865b3b07458c6e9d40c00e303"}},{"ruleId":"D2","level":"warning","message":{"text":"helix.PropertyValueOf (cognitive 34): helix.PropertyValueOf has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 6 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 19). 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":"sdks/go/dsl.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a54dc02b489d16aee8784db684356028889351d568b082602fc5e94da079479"}},{"ruleId":"D2","level":"warning","message":{"text":"OrderedRangeCursor::next (cognitive 33): OrderedRangeCursor::next has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 2 (3 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary/exact/ordered.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee53dda0dcc4d74706f5a761a82dfa444612667828d964d0253b2592b64a728a"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::exact::ordered::scan_active_range_generation_ordered (cognitive 33): db::index_lifecycle::secondary::exact::ordered::scan_active_range_generation_ordered has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (25 pts), match/switch 4 (5 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/db/src/index_lifecycle/secondary/exact/ordered.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9f7ab31c86ef5a65bc274b2699068dd61f6761c3580d27367f124cffe5f7c1"}},{"ruleId":"D2","level":"warning","message":{"text":"InputWindow::for_initial_source (cognitive 33): InputWindow::for_initial_source has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 6, match/switch 3 (5 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/planner/src/relational/input_window.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd20247064f3d6662d5ecc64bbf2a6b3931df3276b6471c394727c7134417866"}},{"ruleId":"D2","level":"warning","message":{"text":"RuleApplicability::matches (cognitive 33): RuleApplicability::matches has cognitive complexity 33 (threshold 15). Drivers by points: match/switch 22 (33 pts) (nesting depth added 11). 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/planner/src/rules/contracts/applicability/matching.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecb1a72cac4d13f7a711f68c8bb17057a7d32a83f73dacae63225418a7a4619"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::project_bindings (cognitive 32): ExecutionContext::project_bindings has cognitive complexity 32 (threshold 15). Drivers by points: if/else 4 (16 pts), loops 5 (11 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/stream/projection/rows.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d70f0ef16479d9430047a7b7d9e080e9a7ead71713ee85ddcdc40295a1ea750"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorMemoryStore::load_from_read_inner (cognitive 32): VectorMemoryStore::load_from_read_inner has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 5 (14 pts), 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/db/src/search/vector/cache/store.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08130edf977ea50fd406bc7cb5c57372992774cd7452103142689deb3c12002"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::repository::operation_record_cursors_are_valid (cognitive 32): db::index_lifecycle::repository::operation_record_cursors_are_valid has cognitive complexity 32 (threshold 15). Drivers by points: match/switch 9 (19 pts), if/else 2 (8 pts), boolean chains 5 (nesting depth added 16). 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/db/src/index_lifecycle/repository.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"27188a7777059e618d499e0fbab03a74e7bc0b600fe54798d4b0edacc31a8afe"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::validation::select_entity_state (cognitive 32): db::index_lifecycle::text::validation::select_entity_state has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 5, match/switch 2 (4 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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d24bcd3ed8ec24e7d046e7c112649a9ee6ab39a53c883e2e2bdebf4b29420a"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::vector_properties::materialize_batch (cognitive 32): db::migrations::vector_properties::materialize_batch has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 4 (6 pts), 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/db/src/migrations/vector_properties.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"135e6c7ae094363377a58888dd682a821384ba274ed8d0d1c7ab3aa785e096ca"}},{"ruleId":"D2","level":"warning","message":{"text":"OracleState::read_indexed (cognitive 32): OracleState::read_indexed has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 3 (4 pts), loops 1 (2 pts), boolean chains 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/db-testkit/src/model.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9b5f81681a814c010de226e4f10290878727e978856eb5550fe64bdccdf6b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::execute_shortest_path (cognitive 31): ExecutionContext::execute_shortest_path has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 4 (7 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/shortest_path.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76e28236e0078e5227ec4eddcf8113b5a84ded435b9190ba567f5c3c3e15761"}},{"ruleId":"D2","level":"warning","message":{"text":"graph._decode_tagged_identity (cognitive 31): graph._decode_tagged_identity has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 10, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/src/helixdb/graph.py"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"8879d28047025a7da1d1b8600032fe5b6f0786e83311e6a02b9fb1f986135d6e"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::relationship_scan_batches (cognitive 30): ExecutionContext::relationship_scan_batches has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (6 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/relationship_scan.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"515abc794204f401700b5161d9cec466269f4a2e150e03788f2da175859c6ce8"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorIndex::search_layer_beam (cognitive 30): VectorIndex::search_layer_beam has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6b6dfd21c8ff7c63e2ba21463db2ca3097548ff160054cdcb5686bb8a75ace"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::active_compaction::compact_once (cognitive 30): db::index_lifecycle::text::active_compaction::compact_once has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 3, loops 2 (3 pts), match/switch 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/db/src/index_lifecycle/text/active_compaction.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"015440502658c083bfff9d303c50f640114221cdaa3256c1a55e375a451370bf"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::plan_and_apply (cognitive 30): db::index_lifecycle::vector::driver::plan_and_apply has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 5 (9 pts), match/switch 4 (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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":3165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2294bd34080193791c2e18ba98af04a8b70371a2549e6c1b03f0b523bc490f98"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::vector_retirement::fence_sources_batch (cognitive 30): db::migrations::vector_retirement::fence_sources_batch has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (27 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_retirement.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e21ffab2233ba3db0bcd59de394b5d04dc6ba4a851ac84cbbcc2e68cf8370b"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_opencypher_tck::gate::draft (cognitive 30): helix_opencypher_tck::gate::draft has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (20 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/opencypher-tck/src/gate.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5ebedc02d9831bcb907eccd8180c5c340bd84f787ccce09e6d448695900757"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::execute_branch_with_context (cognitive 29): ExecutionContext::execute_branch_with_context has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 5 (12 pts), boolean chains 1, match/switch 1 (nesting depth added 15). 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/db/src/execution/interpreter/control/branch.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a243477692e475d3a5d2a5c5dce90b0c0fcdcea0625aeeb924fea8e63643fecd"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorIndex::relink_neighbor (cognitive 29): VectorIndex::relink_neighbor has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 5 (8 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/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0794ed22def79506e2d6358799dc3d2fcb7e0469311bb15f2b2b412c7e42eb69"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::validation::select_root (cognitive 29): db::index_lifecycle::text::validation::select_root has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4, match/switch 2 (4 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3c6b68332a57b440c4741f4dd491377959a0b6411c4e85e237142a0e557e4d"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::worker::dispatch_worker_cycle (cognitive 29): db::index_lifecycle::worker::dispatch_worker_cycle has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/worker.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9aba791acbe610b10b0250f11039f816d4a276e308fe3ca29e02a0e7466afa7"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::spring_layout (cognitive 29): Graph::spring_layout has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 7 (12 pts), boolean chains 1, match/switch 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/graph-algorithms/src/algorithms/layout.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c0c1a8974aede4634a2982c52f9fc6667167cd1744779336b180cfdeabf2b1"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageCostProfileOverrides::apply_to (cognitive 29): StorageCostProfileOverrides::apply_to has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. 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/planner/src/cost/profile/overrides.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4fa1c20cb3867a8bd5ad765daddf66a7aecacda9c151f084aafaea7826750a"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecProgram::derive (cognitive 29): ExecProgram::derive has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 7 (12 pts), boolean chains 3 (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/planner/src/exec/pull/mod.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"095c91b8e9dc1831d95e2583eefc87dbdd8f7632fe71772a2415687c9ac96b65"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::rules::cardinality::fold_cursor (cognitive 29): helix_planner::rules::cardinality::fold_cursor has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 1 (2 pts), 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/planner/src/rules/cardinality.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f96fc2542972c41dcd4fe78bf4ff319095d4812227a7c4b01e02e866d0aa64"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_opencypher_tck::corpus::expand (cognitive 29): helix_opencypher_tck::corpus::expand has cognitive complexity 29 (threshold 15). Drivers by points: loops 5 (17 pts), if/else 5 (12 pts) (nesting depth added 19). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/opencypher-tck/src/corpus.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0cfb3814b42d9ed215760c2abe0fc4730815e8eff482b14e7a0f4fb2bbb96e"}},{"ruleId":"D2","level":"warning","message":{"text":"helix.normalizeTypedQueryValue (cognitive 29): helix.normalizeTypedQueryValue has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (nesting depth added 13). 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":"sdks/go/dsl.go"},"region":{"startLine":3059}}}],"partialFingerprints":{"codehealthFindingId/v1":"22610b5e275aec5743921035cb8f40a1f3652c836c1da19a0aa0388cc6afba75"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchCondition.UnmarshalJSON (cognitive 29): BatchCondition.UnmarshalJSON has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (26 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/dsl.go"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5197ae21395f16b58207be305c914543cb4d3a80f26fde8e91d9c2e27c234773"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::drain_build_deltas (cognitive 28): db::index_lifecycle::secondary::drain_build_deltas has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 4 (8 pts), boolean chains 1, 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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd2995517738741e01f492b6adcb61672b87671b5cd17158c502afc50ce19fd"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::step_build (cognitive 28): db::index_lifecycle::vector::driver::step_build has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 15). 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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab04c7fa479f61b92770ef3648805c6c0beb2998c68c32bbffed6a60e196bfd1"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::scan_source (cognitive 28): db::index_lifecycle::vector::driver::scan_source has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 1, match/switch 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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":2777}}}],"partialFingerprints":{"codehealthFindingId/v1":"8095f12a002a3a4884a2599456ec61e72b496468723baca56a161eaaa16c9df1"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::migrate_legacy_definitions (cognitive 28): db::migrations::migrate_legacy_definitions has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 4, match/switch 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/mod.rs"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbc5d2a2cd67825efa133f6d509a7dce629bbccc60ea37b53d3bc0bff4bdf96"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl.quoteUnsafeIntegerTokens (cognitive 28): dsl.quoteUnsafeIntegerTokens has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 4, 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":"sdks/typescript/src/dsl.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f452b5acfd8d9da30e0ce2ac1760e5b4d1ab8cf705141b62345d047b26e5c6"}},{"ruleId":"D2","level":"warning","message":{"text":"HelixError.remote (cognitive 28): HelixError.remote has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 9, ternaries 4 (8 pts), error handling 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":"sdks/typescript/src/index.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"408a70cd9d73c9664ec58c58308a856052be7f91ded946304da08465ba7f4bf9"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser::project (cognitive 27): Parser::project has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/parser.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"13db92741091efe6dd54cf026582615a0000259faec60c9cb70db3872f816ec8"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::validate_descriptor (cognitive 27): db::index_lifecycle::vector::driver::validate_descriptor has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 2, loops 1 (2 pts), match/switch 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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":3641}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bec4c3071583916e5d1736975fdb94f68c846fa2811bfe5980dee507b41c79"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutableDagBuilder::push_selected_range_pipeline (cognitive 27): ExecutableDagBuilder::push_selected_range_pipeline has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 2 (5 pts), boolean chains 2, loops 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/planner/src/exec/selected/lowering/access/stream/pipeline.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad676db305730540c9b36c8dd4241796670e2489a40399e7f671dfe6d303b68"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphSelection.request (cognitive 27): GraphSelection.request has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7, loops 3, match/switch 1 (nesting depth added 4). Of this number, 23 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/graph.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"145504e3c98ca185dda7c83e8e42c330cb85cccebccdc749c7fac943e93f4524"}},{"ruleId":"D2","level":"warning","message":{"text":"Translator::expr_at_depth (cognitive 26): Translator::expr_at_depth has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 8 (16 pts), if/else 4 (7 pts), boolean chains 3 (nesting depth added 11). 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/cypher/src/sql/expr.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbaa00e56b9e18a04743f0a1e93c8e2e3933ae03a95680f6032beabb778c41a"}},{"ruleId":"D2","level":"warning","message":{"text":"LookupCursor::next_batch (cognitive 26): LookupCursor::next_batch has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 6 (15 pts), loops 3 (9 pts), if/else 1 (2 pts) (nesting depth added 16). 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/db/src/execution/interpreter/rows/lookup_cursor.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69901fd4a8becc17b909eba4bd92abc55c41edf269b8b6874b32b9fd007c5c6"}},{"ruleId":"D2","level":"warning","message":{"text":"SecondaryMutationRuntime::flush (cognitive 26): SecondaryMutationRuntime::flush has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd64411debdde27aae6e1ea470c2a0f13de8be7cd8a38d545c54776379b1dc9"}},{"ruleId":"D2","level":"warning","message":{"text":"HelixDB::run_configured_vector_memory_warm (cognitive 26): HelixDB::run_configured_vector_memory_warm has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 5 (8 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/lib.rs"},"region":{"startLine":3418}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b1ee47c3ca518081406d36e45b6d834c1f69ed3b604a9c943835f91054b5de"}},{"ruleId":"D2","level":"warning","message":{"text":"LegacyVectorRetirementCatalog::load (cognitive 26): LegacyVectorRetirementCatalog::load has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_retirement.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eefa1fcc6c6017a72caaf8dd6f37cde785a7582cd45efef947db0406aadd87e"}},{"ruleId":"D2","level":"warning","message":{"text":"db::search::vector::cache::hydration::active_vector_targets (cognitive 26): db::search::vector::cache::hydration::active_vector_targets has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/cache/hydration.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee462141d40444aad39306a2b842cc6e44f2767fb895a6406affe8fc2df9b82"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::with_attributes (cognitive 26): Graph::with_attributes has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 5 (6 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/graph-algorithms/src/model.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70736200bbf0bf816b917b53cb225ea2f041a1ff400ed2277847d933488e031"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::relational::consumers::prepare (cognitive 26): helix_planner::relational::consumers::prepare has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, match/switch 2 (3 pts), 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/planner/src/relational/consumers.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"103dcb41fd93d3965a0142ad6e73328bfd9fd1852bb4a0307627a8f1f8dc4ef4"}},{"ruleId":"D2","level":"warning","message":{"text":"helix.UnmarshalIndexDdlReceipt (cognitive 26): helix.UnmarshalIndexDdlReceipt has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (25 pts), match/switch 1 (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/dsl.go"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5620501909655513943f6ed14ac4ed874066ab822acb9d8099d4ad2f7ccca468"}},{"ruleId":"D2","level":"warning","message":{"text":"Step.ToAST (cognitive 26): Step.ToAST has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 1 (nesting depth added 12). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/dsl.go"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddfbfbe7b51bc4b650be0b342fe9095f177f1790168b92e34f8d7a4699e8c5e"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeScan::resolve_group (cognitive 25): RangeScan::resolve_group has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary/exact/ordered.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5f1748f5fcce39bb60ed91d2cd00a278988ee65c74e9eb9a542fb7d36a6a52"}},{"ruleId":"D2","level":"warning","message":{"text":"db::encoding::v2::values::property::equality_index_value::prepare::prepare_equality_value (cognitive 25): db::encoding::v2::values::property::equality_index_value::prepare::prepare_equality_value has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 1 (2 pts), 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/db/src/encoding/v2/values/property/equality_index_value/prepare.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6923505115acbec05de0ca09e657818c802e8abb43d1097e7f1e51cb46b9cff1"}},{"ruleId":"D2","level":"warning","message":{"text":"db::encoding::v2::values::property::range_index_value::validate_encoded (cognitive 25): db::encoding::v2::values::property::range_index_value::validate_encoded has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (6 pts), match/switch 2 (3 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/db/src/encoding/v2/values/property/range_index_value.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bffe677103f7d5cc289e9c721a9bb636b2b383d3733fa631c40d8d16f3ef3c"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::active_batch::prepare_destination (cognitive 25): db::index_lifecycle::text::active_batch::prepare_destination has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3, match/switch 3, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/active_batch.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5683cd15da9b6f997c62bf1bd2e7235e4c9b0e9a79593fb1c2eb05ac1cc820"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::enumerate_cycles_from (cognitive 25): Graph::enumerate_cycles_from has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 1 (4 pts), boolean chains 2, 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/graph-algorithms/src/algorithms/cycles.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fd7be6820846eb8e7da7f26d1f4771032f32430245b8aa4a29b662c85414df"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_graph_algorithms::algorithms::leiden::refine_connected (cognitive 25): helix_graph_algorithms::algorithms::leiden::refine_connected has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/graph-algorithms/src/algorithms/leiden.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27f49e0a0312aeb3e2084ee836bd36facb97ffb71dc2f8a57a9c4e7dec7cc82"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_opencypher_tck::values::wire (cognitive 25): helix_opencypher_tck::values::wire has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 4 (8 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 13). 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":"tools/opencypher-tck/src/values.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a3d8e3005346f07e909cac23842d7909f8e984578611bfc473834519b1aa62"}},{"ruleId":"D2","level":"warning","message":{"text":"run_embedded_parity.async_main (cognitive 25): run_embedded_parity.async_main has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 4 (6 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3c38b20b3a5eb9bedddc0e9a931522dab0c37d788cd3b798d3f006326f8732"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::expansion_ids (cognitive 24): ExecutionContext::expansion_ids has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 7 (19 pts), if/else 2 (5 pts) (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/access/expand.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfcefc6c9bd2140738727337ff30c3ec183a73664e4e53e803dc9798a422f53"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::exact::unique::lookup_active_unique_equality_batch_admitted (cognitive 24): db::index_lifecycle::secondary::exact::unique::lookup_active_unique_equality_batch_admitted has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary/exact/unique.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c8c4530fab59ec3c0e168bee3e92b762f7ac5a4f486a05f5d85eb04d9c260b"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::cleanup::delete_metadata (cognitive 24): db::index_lifecycle::text::cleanup::delete_metadata has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (3 pts), match/switch 2 (3 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/db/src/index_lifecycle/text/cleanup.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2831c04d9556a56ed69a64a74ae635852e22716f0636c6125c906b54133ba598"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::delete_delta_and_applied_rows (cognitive 24): db::index_lifecycle::vector::driver::delete_delta_and_applied_rows has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (3 pts), boolean chains 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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d51f0847944d5b6e2186e228383a10b94eb99e627f9749c6a9dfed8abfa6309"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::indexes::equality_bitmap::verify_graph_to_bitmaps (cognitive 24): db::migrations::indexes::equality_bitmap::verify_graph_to_bitmaps has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 3 (5 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/db/src/migrations/indexes/equality_bitmap.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4ddbaee1f42bdbd41b9729bfd5c8d56a2ca82378919209deccdca0e006e278"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::indexes::equality_bitmap::verify_bitmaps_to_graph (cognitive 24): db::migrations::indexes::equality_bitmap::verify_bitmaps_to_graph has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 3 (6 pts), boolean chains 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/db/src/migrations/indexes/equality_bitmap.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde733557c76f9edc9be03d6df8dad0dc7a594c97be7a668bf28b8b5c6804f27"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::startup::bootstrap::preflight_writer_bootstrap (cognitive 24): db::migrations::startup::bootstrap::preflight_writer_bootstrap has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/startup/bootstrap.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d3081b3aebb05a875d70e9aebc04500b43aa6e220d43015689c6b01d6558c4"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::vector_retirement::delete_dedicated_lane_batch (cognitive 24): db::migrations::vector_retirement::delete_dedicated_lane_batch has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (20 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_retirement.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd6c0f054f207eadc1868f32f1c3a4557f55abd7d64513547a2b1c609ebef1a"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::vector_retirement::delete_definitions_batch (cognitive 24): db::migrations::vector_retirement::delete_definitions_batch has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_retirement.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"192aead76ddc9149586c47699cebce55134b86e346a4978b63869c52da7076b0"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::optimizer::driver::exploration::explore (cognitive 24): helix_planner::optimizer::driver::exploration::explore has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 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/planner/src/optimizer/driver/exploration.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a61803cebde0ab99382370b575a7b21dfa8cd14cc8672d0a3706a1bbf322fc"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.Exec (cognitive 24): Client.Exec has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/client.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c555e1042fee5b1a1f1eba36f789a4510d5ab12442b0a220123cc44634596bd"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-llms-full.build (cognitive 24): generate-llms-full.build has cognitive complexity 24 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 4 (9 pts), ternaries 1 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/generate-llms-full.mjs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7746b886d6c4d4e3b9d02c8e749668272eba032debc4e0aab5e10f92fec2caee"}},{"ruleId":"D2","level":"warning","message":{"text":"run-helix.runCypherHttpSuite (cognitive 24): run-helix.runCypherHttpSuite has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (7 pts), ternaries 1 (3 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":"sdks/typescript/scripts/parity/run-helix.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"877111a86a5648b12786ce8ebe71ec984b96b5a6edece6748e0e615d80bc42e3"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_ast::query::check_json_depth (cognitive 23): helix_ast::query::check_json_depth has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (4 pts), match/switch 1 (2 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/ast/src/query.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7cf8275aef42a0cdc64618bc8cde773a5aa5c90440f2035ac9ad06bc2e55bb"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorKey::parse_from_slice (cognitive 23): VectorKey::parse_from_slice has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 5 (10 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/mod.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb129044eba193a52db39861bfef6f620c25b9fbdc210387dd36ac188675bf69"}},{"ruleId":"D2","level":"warning","message":{"text":"db::execution::interpreter::rows::graph::to_property (cognitive 23): db::execution::interpreter::rows::graph::to_property has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 1 (3 pts), match/switch 2 (3 pts) (nesting depth added 14). 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/db/src/execution/interpreter/rows/graph.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ecfe402a970b5320c65afb9307523bc3123964f73ff3f93153454cfc3b41fb"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::delete_delta_and_applied_rows (cognitive 23): db::index_lifecycle::secondary::delete_delta_and_applied_rows has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 1 (5 pts), loops 2 (3 pts), boolean chains 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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":3204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88a93e6f443074c54a1b99b08b9bef3c661ca3fcc88a505ec547fd1708f9334"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::equality_lane_rows (cognitive 23): db::index_lifecycle::secondary::equality_lane_rows has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":4450}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6a0049621df3a45f94c258f81bd274c544e0fa2cdcb9a778df2179491030b1"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::statistics::prepare_transition (cognitive 23): db::index_lifecycle::text::statistics::prepare_transition has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 4 (6 pts), match/switch 4 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/statistics.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcc6eac61c478453acecfbf59a407d461f481d87614e407a42e2970252d5b46"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle_testing::contracts::run_building_drop_stage_matrix (cognitive 23): db::index_lifecycle_testing::contracts::run_building_drop_stage_matrix has cognitive complexity 23 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 2 (6 pts), match/switch 2 (6 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3757}}}],"partialFingerprints":{"codehealthFindingId/v1":"536f8e0ed41f82082c7d3a365a0955d710e1fbb50a0e07a924ad004512568ef1"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::rewrite_legacy_edge_pair_batch (cognitive 23): db::migrations::rewrite_legacy_edge_pair_batch has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 5 (7 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/mod.rs"},"region":{"startLine":3462}}}],"partialFingerprints":{"codehealthFindingId/v1":"478292d1ea482f33a500db38beaf815cc3ef378b67b77a3fab82124f5b6fd14d"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::exec::validation::contracts::validate_step_contracts (cognitive 23): helix_planner::exec::validation::contracts::validate_step_contracts has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (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/planner/src/exec/validation/contracts.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dace0dc4df4d7c823d0f489fe11c04191da604a04819c70e260fe832db6994"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyValue.from_value (cognitive 23): PropertyValue.from_value has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"2819546d95718fc159cc9c3fc3b8aa85056b841d3c11ae43c32e165c685248ed"}},{"ruleId":"D2","level":"warning","message":{"text":"paritycypher.RunEmbedded (cognitive 23): paritycypher.RunEmbedded has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/internal/paritycypher/run.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a764db507e775583362c029c06f7803cd7206675e8860ca50ac74576d7cfef"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyValue.from (cognitive 23): PropertyValue.from has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (20 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68ce350b24665f564497bbc1f9bda48decd62d3fcc4ca24b6cb4202c93b47d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::aggregate_batches (cognitive 22): ExecutionContext::aggregate_batches has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (11 pts), match/switch 3 (8 pts), if/else 2, boolean chains 1 (nesting depth added 10). 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/db/src/execution/interpreter/rows/aggregation.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cf0ff3bf566f66af35950483321f0f107a9ef6e3bacb9d6beac16be8b7a51a"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::match_source_ids (cognitive 22): ExecutionContext::match_source_ids has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/matches.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8258b7b72530de133353e8ed7413189113a3d199e1d40cc5de5c6f5a4c6375"}},{"ruleId":"D2","level":"warning","message":{"text":"Edit::apply (cognitive 22): Edit::apply has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 3 (4 pts), 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/db/src/index_lifecycle/graph_mutation/map.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70f3b3a4461523c755c23471412bb6b551a0fb3491877e0150bcbca4ac3a29f"}},{"ruleId":"D2","level":"warning","message":{"text":"QueuePublisher::publish_vector (cognitive 22): QueuePublisher::publish_vector has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 4, boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/queue/publication.rs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdebd8a3c264b1fe592c96bc5af06c3b3e18604d9d968cf621e2bb094c7e36c"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::delete_physical_namespace (cognitive 22): db::index_lifecycle::vector::driver::delete_physical_namespace has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41fd7ca9dfa9ac9842d0512df026859198a2e9a74efd53cd0ef857761826d2f"}},{"ruleId":"D2","level":"warning","message":{"text":"db::search::vector::select_diverse (cognitive 22): db::search::vector::select_diverse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/mod.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0090fc5ba252f01ffc84848a3aaad9b51d5addd849e373fd6fbb714ef5d698e"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphModel::apply_inner (cognitive 22): GraphModel::apply_inner has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 3 (6 pts), boolean chains 2, loops 1 (2 pts) (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/db-testkit/src/model.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1007cae8a357b8810835e1d09a310cabc376ebb49ccc6b2f443124718fae78a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplayTrace::validate (cognitive 22): ReplayTrace::validate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db-testkit/src/trace.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"602b070a043212a1e00c8f849916fbe91e4cc29a6c697288608b1aa4a3f95788"}},{"ruleId":"D2","level":"warning","message":{"text":"LevelGraph::local_move_observed (cognitive 22): LevelGraph::local_move_observed has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 5 (10 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/graph-algorithms/src/algorithms/louvain.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"646a9ff38a60c915460b9d407d4efd0d31919fc2615c1c185faf6d7184640667"}},{"ruleId":"D2","level":"warning","message":{"text":"OperatorContract::derive (cognitive 22): OperatorContract::derive has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 2 (4 pts), boolean chains 3, loops 1 (2 pts) (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/planner/src/relational/contracts.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd63b1f870011f44a85416d0a87cd68597928c8f6a3707a73dfdfd38bcfff5d"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::relational::evaluation::integer::from_decimal (cognitive 22): helix_planner::relational::evaluation::integer::from_decimal has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, match/switch 3 (4 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/evaluation/integer.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ad4ba5bb9fe94a3d4a087a118c323a0bfe4f11e1ba77f729350b7bad9829ed"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::relational::planning::collect_ranges (cognitive 22): helix_planner::relational::planning::collect_ranges has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 4 (7 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/planning.rs"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1c419ecd8eb11fa10c412c1d5ac2a90e2184a399a55dcc8bf8829a0eda11fa"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl._convert_param_value (cognitive 22): dsl._convert_param_value has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":3752}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ab33b2244fc3398ef8a86892367f442601386964d513edd0e15636711b730a"}},{"ruleId":"D2","level":"warning","message":{"text":"Translator::function (cognitive 21): Translator::function has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 4 (7 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/sql/expr.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ae9371150c533817156922aae733ed04a955aa4e28d52efcb09fdfe8aec7a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Cursor::new (cognitive 21): Cursor::new has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/access/edge_candidates.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"544c81d7cef1ef9f5ac3c9ec4f25948b80d25cbad02fe179e79687180e75268b"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::delete_elements (cognitive 21): ExecutionContext::delete_elements has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (5 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/mutation/node.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"6678c7ddcb960bcb25a8f3799552ba1ac0456899b544f21cea2fe375c8b98310"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::project_value_map (cognitive 21): ExecutionContext::project_value_map has cognitive complexity 21 (threshold 15). Drivers by points: if/else 2 (9 pts), loops 3 (7 pts), match/switch 2 (5 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/db/src/execution/interpreter/stream/projection/rows.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e170bd75958272340b36b35105cba9bd7b33abb5f875c63053a01807b73e3dcf"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexOperationBacklog::reserve (cognitive 21): IndexOperationBacklog::reserve has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4, boolean chains 3, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/queue/backlog.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5721a7dcb6ddc2334a46db1b3a508175f0f1193dcafea94c7f62b2c4bdfd96"}},{"ruleId":"D2","level":"warning","message":{"text":"SecondaryIndexDriver::prepare_step (cognitive 21): SecondaryIndexDriver::prepare_step has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 4 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e785c17e348b4e8930f64c55ba6873563c6637088e96505d60faf43ae57f0601"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::repository::scoped_cursor_is_valid (cognitive 21): db::index_lifecycle::repository::scoped_cursor_is_valid has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 16, match/switch 2 (3 pts), if/else 2 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/repository.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c4fe82fd51ed250251ea61c867d1e7e154cd3f711e591c7b6ed9cd09002aaf"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::reconciliation_plan_from_observations (cognitive 21): db::index_lifecycle::secondary::reconciliation_plan_from_observations has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (15 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":3835}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1838ab357283f8ac992ca453aff3de152c8085943d7c8e0d200d543ddbdca5"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::compaction::select_artifacts (cognitive 21): db::index_lifecycle::text::compaction::select_artifacts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 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/db/src/index_lifecycle/text/compaction.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3732521de0ebe686758d97895ce40175220f2b86e40c237bd9d9f3ce25c633"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle_testing::contracts::run_secondary_vector_public_boundaries (cognitive 21): db::index_lifecycle_testing::contracts::run_secondary_vector_public_boundaries has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 pts), match/switch 2 (6 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"213ee590cf468448f3a8b309192c69fa4f8107564c1da094ef026141398aa3ab"}},{"ruleId":"D2","level":"warning","message":{"text":"NormalizedPlannerCase::complete (cognitive 21): NormalizedPlannerCase::complete has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (21 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db-testkit/src/planner_domain.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f5d194068c7dae51b6c9fe68c90bcc046480d6693796365d10a35623cc6a59"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_metrics::cli::spool::cleanup_obsolete (cognitive 21): helix_metrics::cli::spool::cleanup_obsolete has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (5 pts), boolean chains 3 (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/metrics/src/cli/spool.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb0a48eb2e55fda9d463379d93198d2dc14d1209cad0c090840b8ea40822d05"}},{"ruleId":"D2","level":"warning","message":{"text":"RuleSchedule::compile_applicability (cognitive 21): RuleSchedule::compile_applicability has cognitive complexity 21 (threshold 15). Drivers by points: loops 7 (19 pts), match/switch 1 (2 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/planner/src/optimizer/driver/schedule/compile.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4ce9c8fed2d48c06b7b1559026c3e15f97b9a60f846baa0817e0abc83b361e"}},{"ruleId":"D2","level":"warning","message":{"text":"Accumulator::push_with_admission (cognitive 21): Accumulator::push_with_admission has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 7, boolean chains 2 (nesting depth added 3). 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/planner/src/relational/aggregation.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a07959dd8e1ed7493ddc7f5b93f24e11efee1cfcee081c59f3dc12799c05b7"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_opencypher_tck::gate::verify (cognitive 21): helix_opencypher_tck::gate::verify has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, loops 2, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/opencypher-tck/src/gate.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af7e011d04cba9043063e21a85cdc25a0bea484c033e9f5383d08793f3a5419"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_opencypher_tck::workers::run_with (cognitive 21): helix_opencypher_tck::workers::run_with has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 5 (7 pts), boolean chains 1, loops 1 (nesting depth added 9). 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":"tools/opencypher-tck/src/workers.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f303d50176fe533677da18368cfb213010dbe93df403932048ad21c5097a6e39"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl._normalize_typed_query_value (cognitive 21): dsl._normalize_typed_query_value has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":3899}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d861dc638bdd2fafeba6d8c6217bde00fa83b125abdda35eb03a827b8b8ea11"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl.convertParamValue (cognitive 21): dsl.convertParamValue has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (5 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 10). 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":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2917}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf95cf09d0e29b15981f84def2ac9944af401334ef80ccabb71b7deb1bc366f"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_cli::commands::cloud::service_credential::run (cognitive 20): helix_cli::commands::cloud::service_credential::run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). 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/cli/src/commands/cloud/service_credential.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07c2f64f8af2cd514b540dad10da8d6f0688467e20506980fb220264938f5d4"}},{"ruleId":"D2","level":"warning","message":{"text":"Translator::join (cognitive 20): Translator::join has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 3 (5 pts), loops 1 (2 pts) (nesting depth added 10). 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/cypher/src/sql/tables.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"f126f7150863954c6734c7d0c82f533e88c5da62558f7021770c3670881e1ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"HelixDB::run_configured_startup_cache_warm (cognitive 20): HelixDB::run_configured_startup_cache_warm has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 2 (nesting depth added 9). 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/db/src/lib.rs"},"region":{"startLine":3637}}}],"partialFingerprints":{"codehealthFindingId/v1":"911b5ac59f7d7a9cb9cf4021eaa163405efc749bb7f2adde113555adafe557a9"}},{"ruleId":"D2","level":"warning","message":{"text":"db::encoding::v2::values::indexes::equality::admission::treemap (cognitive 20): db::encoding::v2::values::indexes::equality::admission::treemap has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/indexes/equality/admission.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0504f4dcd18326e73acdfdd32d2b3c96498797b3405ad9ca52c3821b260fc2"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::lifecycle::create_index_operation_in_transaction_with_physical (cognitive 20): db::index_lifecycle::lifecycle::create_index_operation_in_transaction_with_physical has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 4 (9 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/lifecycle.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aed3330d2f8751d429dcd050359946076bf0651433ed13fb8ff056d15f06ed"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::claim_while_building (cognitive 20): db::index_lifecycle::secondary::claim_while_building has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 4 (6 pts), 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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7e50f6493cdf837313ed80d2deb4fce5410e93afbe2b2280eebf1fc634471f"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::apply_active_change_from_overlay (cognitive 20): db::index_lifecycle::secondary::apply_active_change_from_overlay has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (20 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":3405}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b95cb6cbfecdd4d880dc75b91b87c7cd8a51123abe6cc6233c10a366933d6e"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::wait_for_index_operation (cognitive 20): db::migrations::wait_for_index_operation has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/mod.rs"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffa261274dc476754da273d97bd03d05df6a0339ef4732a671096bb9e4f065d"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_opencypher_tck::snapshot::take (cognitive 20): helix_opencypher_tck::snapshot::take has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (6 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":"tools/opencypher-tck/src/snapshot.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1fa2d4c323e93ca025e1d7b1678e453db96a73ea1e3c682c829952c0f2519e"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_cli::commands::status::run (cognitive 19): helix_cli::commands::status::run has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 2 (5 pts), loops 3 (nesting depth added 9). 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/cli/src/commands/status.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ef0908b9479cdf5bd4f00b5f3c3b617aa1a75a3757c977ee6da3708a97bc3b"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyIndexKey::encoded_len (cognitive 19): PropertyIndexKey::encoded_len has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 4 (7 pts) (nesting depth added 9). 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/db/src/encoding/v2/keys/indexes/property.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aacd736b423b9a698c1cc9331cfbfcd22274c0c50ec2b8b7b497a5ab423c035"}},{"ruleId":"D2","level":"warning","message":{"text":"ProbeCursor::next_batch (cognitive 19): ProbeCursor::next_batch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/hash_probe.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02546932b305e2c2bead0fa18947298cb5ea1c96d677d61677244b863a965e9"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::row_apply_edits (cognitive 19): ExecutionContext::row_apply_edits has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 2 (4 pts), loops 2 (3 pts) (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/db/src/execution/interpreter/mutation/rows.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"308dac12009dd39dfcd6deea453867db00e9cb8875d509999590cd48ec01a165"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorIndex::insert_with_mutation_cache (cognitive 19): VectorIndex::insert_with_mutation_cache has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 2 (3 pts), match/switch 2 (3 pts), boolean chains 2 (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/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"5849b66fcc6b92a4bdb31ac54c7db8c7b63c0e7728d8571f807da5706e5cd13c"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::outbox::execute_claimed_step_with_evidence (cognitive 19): db::index_lifecycle::outbox::execute_claimed_step_with_evidence has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 5 (6 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/outbox.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c95ab5b73455889f7d9102f86ac0d552a6c431630b69c0ec7283c2a7ed2c02"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::repository::require_reader_bootstrap_or_legacy (cognitive 19): db::index_lifecycle::repository::require_reader_bootstrap_or_legacy has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, match/switch 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/repository.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5937f41a3ee21a82610a3649acfff26fcfaad79c1dd7b24252466e312bef07"}},{"ruleId":"D2","level":"warning","message":{"text":"db::search::edge_range_scan_bounds_with_direction (cognitive 19): db::search::edge_range_scan_bounds_with_direction has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 7 (9 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":2537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb7220ab7545c5e2f00a842bd936a76f6c50316c03dbb4f2bc5e0d6c1918a7e"}},{"ruleId":"D2","level":"warning","message":{"text":"db::search::text::compaction::build_synthetic_meta_json (cognitive 19): db::search::text::compaction::build_synthetic_meta_json has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/text/compaction.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"3429a2952db92a27e84d8a105b0ac25cfc2d7ac31abb4e1b3b7dd5e3f9a4dcd1"}},{"ruleId":"D2","level":"warning","message":{"text":"db::search::text::hot_directory::write_hotcache (cognitive 19): db::search::text::hot_directory::write_hotcache has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 5 (8 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/text/hot_directory.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"892c5afb0587dd8dabd0f791108c4bb7ffc44f152ff04f715182d28d3f6780b9"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_opencypher_tck::corpus::table_escapes (cognitive 19): helix_opencypher_tck::corpus::table_escapes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 1 (5 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/opencypher-tck/src/corpus.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ddd233e7bbf81383ccc270609af495c8314cb583fdba26f063321ce406e671"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphSelection.__post_init__ (cognitive 19): GraphSelection.__post_init__ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 2, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/src/helixdb/graph.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a649a367fd4fbe4e039740f4d5401a4a6d1669491f558b9bafe4ab158adb4d"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl.stringifyEncoded (cognitive 19): dsl.stringifyEncoded has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 4 (5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1107d2f1830d524f692de0c9118bcdcd73abfed3cccd2bdfab3ccba58439062"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl.normalizeTypedQueryValue (cognitive 19): dsl.normalizeTypedQueryValue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2981}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e1ce9f8a82ffbd81179743e253dcf6e30de4a97bfebf38d7b445cf2e835cfa"}},{"ruleId":"D2","level":"warning","message":{"text":"Clause::fmt (cognitive 18): Clause::fmt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 1 (nesting depth added 9). 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/cypher/src/print.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a431c7d7908bdc64041a80856edee03d6e0082e0ebe71c5682ccfa88443e73b"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_cypher::parser::number_value (cognitive 18): helix_cypher::parser::number_value has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5 (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/cypher/src/parser.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeb51b4516cfdb1bfbb5d6a8777a7b1cbcbe254ee651e355975cf203602cb67"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanCache::extend (cognitive 18): ScanCache::extend has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (6 pts), match/switch 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/cross_product.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b43131638800bbd78cdc8ed4a4ce670fa77866216723dc0e034d185260d4c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpansionStack::next_batch (cognitive 18): ExpansionStack::next_batch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 3 (7 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/expansion_stack.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"436b5f0afd8f69ff662b00657abad91765722351e822c918c6f1c8dd53922a37"}},{"ruleId":"D2","level":"warning","message":{"text":"HashJoinTable::build_batches (cognitive 18): HashJoinTable::build_batches has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/joins.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"65616d4604404c9c2055bcdc6b7852f0b73318fabce05ed62cb6398e2fd57c46"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::count_cursor_leaf (cognitive 18): ExecutionContext::count_cursor_leaf has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (8 pts), if/else 2 (6 pts), loops 2 (4 pts) (nesting depth added 10). 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/db/src/execution/interpreter/count.rs"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79391489035764f9a8435f3c109a0b19a0fb63b6245af1172a29f328d0484db"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::commit_write_tx (cognitive 18): ExecutionContext::commit_write_tx has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 3, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/mutation/tx.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9466762b15b7216405d75ac99128feea246f2a4122b2119892b5351aa2977744"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexOperationProgress::cursors_are_valid (cognitive 18): IndexOperationProgress::cursors_are_valid has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 8 (16 pts), boolean chains 2 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/operation.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d139f3d7d28dd0f9e9ecc967e9bf6ee2b59b5fb4c3e5c75b9b761aa6b0931af"}},{"ruleId":"D2","level":"warning","message":{"text":"Bitmap::combine (cognitive 18): Bitmap::combine has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/query_resources/bitmap.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ee395c80977e2c88aa5f8b9f0ef5452ba7817d5fd1e14ef0b43c1df89960f9"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorIndex::search_layer_greedy (cognitive 18): VectorIndex::search_layer_greedy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/search.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e62c5dfb91162d55c0bab97d88b3fff0fc125fd9f3d2dff581a29f9f952934"}},{"ruleId":"D2","level":"warning","message":{"text":"SimHasherRegistry::get (cognitive 18): SimHasherRegistry::get has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 3 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/simhash/registry.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"76766623ec008920b340e93d8e1fdbf09efa5c313e75471bb95b115c41cc9c12"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::queue::publication::select_batch (cognitive 18): db::index_lifecycle::queue::publication::select_batch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/queue/publication.rs"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74869fc2212159727053158d059b7ddec3fc07fad8328324e69a8cc14e136a0"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::adopt_legacy (cognitive 18): db::index_lifecycle::vector::driver::adopt_legacy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), match/switch 5 (7 pts), loops 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"942d82c76783cc26f5092ffe99ea7483c2da11de7ff445118ab87a8e044eada5"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::validate_mappings_or_finish (cognitive 18): db::index_lifecycle::vector::driver::validate_mappings_or_finish has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":3780}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc222af0e7ed8673c3f6460caf48b1a58e8a3581b257d4851cc2d8eb623670cf"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::worker::process_secondary_once (cognitive 18): db::index_lifecycle::worker::process_secondary_once has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/worker.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"55878e1a46f979f94fc3df711bac0a7c1f206a43196075497adffc19c6e5f3cf"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::worker::wait_for_work (cognitive 18): db::index_lifecycle::worker::wait_for_work has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/worker.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4205ee7891abdd35d1fb5b6768c9fea8cecf4baa32941ceeaec086d50343e5c"}},{"ruleId":"D2","level":"warning","message":{"text":"db::migrations::indexes::equality_bitmap::rebuild_active_generation (cognitive 18): db::migrations::indexes::equality_bitmap::rebuild_active_generation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/indexes/equality_bitmap.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"6277e3d0ae3ee8623cc1993f367b668f74b0ed87220d4febb60adfe3b325d8fd"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecPullCapability::of (cognitive 18): ExecPullCapability::of has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 6 (12 pts), if/else 4 (6 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/pull/mod.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64556e14543f68ec529f2ff79f2e27e41aca3149fe0df34309776b0a1d1df44"}},{"ruleId":"D2","level":"warning","message":{"text":"RowPipeline::cost (cognitive 18): RowPipeline::cost has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/pipeline.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b93fa2153600a67e78e1d04e5d670639ba2f6cc796c44294da1fc75f57b149"}},{"ruleId":"D2","level":"warning","message":{"text":"Predicate.to_json (cognitive 18): Predicate.to_json has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. 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":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"214b498712157ac14bbc85227f40fb602dcc4c5962d4539995e08589aa7c74b7"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_ast::query::validate_json_value (cognitive 17): helix_ast::query::validate_json_value has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), match/switch 3 (6 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/query.rs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a62597aa4f6e58013d5e3e43a3cd95d979d514cde4f15d7dca4f247b952a68"}},{"ruleId":"D2","level":"warning","message":{"text":"HelixConfig::validate (cognitive 17): HelixConfig::validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/config.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee6abce20bdde877421f7c0da16461ffb2bd72da0bf036f0d087c77c29c9da4"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_cli::commands::cloud::database::run (cognitive 17): helix_cli::commands::cloud::database::run has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 5 (9 pts), if/else 3 (6 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/cloud/database.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc86653d86e1c3e9e7d3ed818b619d0dee3b922897902804b0fa6c2673681e39"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_cli::commands::doctor::render (cognitive 17): helix_cli::commands::doctor::render has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), match/switch 3 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/doctor.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"b894aab10ac1c88e890880fe1e2790f90fc9cddf731bc74dbafe4846ad0d7f9c"}},{"ruleId":"D2","level":"warning","message":{"text":"Requirements::insert (cognitive 17): Requirements::insert has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 3 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/requirements.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e1730aa019b19ff688db160800a2bd66909b1eaf3da64996f9057fc00136bc"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexOperationProgress::try_map_cursors (cognitive 17): IndexOperationProgress::try_map_cursors has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 8 (16 pts), if/else 1 (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/operation.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fd31064f8a97a02e910caea8ef6dbd77b302a593c68d45cd3551604c50cb8c"}},{"ruleId":"D2","level":"warning","message":{"text":"FtsCache::cleanup_disk (cognitive 17): FtsCache::cleanup_disk has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, match/switch 1 (2 pts), 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/db/src/search/text/cache.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b6cfdd0c758f0a0ab3e547a59282b3ee97776c54b88625419ef6b416d5080b"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorIndex::add_bidirectional_link (cognitive 17): VectorIndex::add_bidirectional_link has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed302b04fd88f6fddc462a89e8d68c2f56226f85ac8f974f1650f573efb14497"}},{"ruleId":"D2","level":"warning","message":{"text":"db::encoding::v2::values::indexes::operation_queue::algebra::validate_body (cognitive 17): db::encoding::v2::values::indexes::operation_queue::algebra::validate_body has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 5 (8 pts) (nesting depth added 9). 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/db/src/encoding/v2/values/indexes/operation_queue/algebra.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e9fc09ab6b4355d4b82d8a7fb0a790ab5036460d1cada8a6eabc2ac664af20"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::vector::driver::validate_adopted_directory (cognitive 17): db::index_lifecycle::vector::driver::validate_adopted_directory has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":2585}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b19afd1a9c259fc2303204e1b25e41358bf48132b2f1ed449378f2cf7ab69eb"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::worker::schedule_operation_task (cognitive 17): db::index_lifecycle::worker::schedule_operation_task has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 1 (2 pts), 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/db/src/index_lifecycle/worker.rs"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68c9c3d87ddb01952218088ba0cdb47cf166d6bc2fb6f187987b15a21b4e16b"}},{"ruleId":"D2","level":"warning","message":{"text":"db::search::range_scan_bounds_with_direction (cognitive 17): db::search::range_scan_bounds_with_direction has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7 (9 pts), if/else 4 (8 pts) (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (db::search::global_edge_range_scan_bounds_with_direction) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb7dce3e2f424c6401137088f36fc09adc8fcafcaecc5f610472e10bef5de5b"}},{"ruleId":"D2","level":"warning","message":{"text":"db::search::global_edge_range_scan_bounds_with_direction (cognitive 17): db::search::global_edge_range_scan_bounds_with_direction has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7 (9 pts), if/else 4 (8 pts) (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (db::search::range_scan_bounds_with_direction) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":2407}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ca424fef481605263785cc1342c2ece9656b471dce40678a2f07a4b6ce051a"}},{"ruleId":"D2","level":"warning","message":{"text":"db::search::vector::cache::reader_refresh::run_reader_refreshes (cognitive 17): db::search::vector::cache::reader_refresh::run_reader_refreshes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/cache/reader_refresh.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2a92aa7cc957c0bdc7b2c77499cc9ec732c800c3640b2e2dbfef53de1f32cf"}},{"ruleId":"D2","level":"warning","message":{"text":"Memo::from_groups (cognitive 17): Memo::from_groups has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 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/planner/src/memo/store/serialization.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe3de0b3cff243a79c121f14391eb4261bc72b952abce59f34d6c62dbaaf450"}},{"ruleId":"D2","level":"warning","message":{"text":"RowPlan::explain (cognitive 17): RowPlan::explain has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/explain.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"367059233d934840dfdd6570d221d1b6b8632e570ed3aa637854c610f1636f21"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::rules::access::filter::atoms::collect::access_filter_index_atom (cognitive 17): helix_planner::rules::access::filter::atoms::collect::access_filter_index_atom has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 3 (5 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/planner/src/rules/access/filter/atoms/collect.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"43aa461ad909fd5eada34e4dd24b57ed570896ede314b637a674b58660edfdaf"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::rules::physical_contracts::support::pipeline::stream_pipeline_op_contract (cognitive 17): helix_planner::rules::physical_contracts::support::pipeline::stream_pipeline_op_contract has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 10 (17 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/physical_contracts/support/pipeline.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cb5fa3a87afdd1e3520038ebe9a0d3a3c7a272b5ab4003e0e5c95d216e38b3"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl.parse_index_operation_status (cognitive 17): dsl.parse_index_operation_status has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fed85aac49edaf9fa0e9cc7db3ff31396d2fb51a39370fdd9897835ddeecc4"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryExecutionRequest.execute (cognitive 17): QueryExecutionRequest.execute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (6 pts), error handling 4 (5 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/index.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"a133b40767165c2f2fe4255a3374ad6cce044751b67c007b9f70b09fa5216af4"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalRuntime::ensure_image (cognitive 16): LocalRuntime::ensure_image has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 6 (10 pts), if/else 4 (5 pts), loops 1 (nesting depth added 5). 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/cli/src/local_runtime.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b8cd20cc84fb0fa5d43f13459b0d399e086dd556ac4a85c45a1c493ab6fe50"}},{"ruleId":"D2","level":"warning","message":{"text":"EdgeRangeIndexKey::parse_from_slice (cognitive 16): EdgeRangeIndexKey::parse_from_slice has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 1 (2 pts), match/switch 2 (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. This shape REPEATS in the file: one other method here (GlobalEdgeRangeIndexKey::parse_from_slice) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/range/edge.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a834f29acbdde459a93769515c7a71d4dba27bc1f714b59b6e19ac94ea5bfc4"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobalEdgeRangeIndexKey::parse_from_slice (cognitive 16): GlobalEdgeRangeIndexKey::parse_from_slice has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 1 (2 pts), match/switch 2 (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. This shape REPEATS in the file: one other method here (EdgeRangeIndexKey::parse_from_slice) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/range/edge.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7116646e5df781ae23ea331d2d11b2e0d22f6355afd9995a5056ff1fc09ec380"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::search_vector_index_with_candidates (cognitive 16): ExecutionContext::search_vector_index_with_candidates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, match/switch 4 (5 pts) (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/db/src/execution/interpreter/access/search/storage.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f5dad88d86ca0bbd13972e9127300c9b867d7728d3e6adea82ee450c829218"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::distinct_batches (cognitive 16): ExecutionContext::distinct_batches has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/distinct.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f564f2c45a90ebcfad4af51aa19be1433b5a3e65c38341d33736cfafb50f0f"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::top_k_batches (cognitive 16): ExecutionContext::top_k_batches has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 2 (7 pts), boolean chains 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/top_k.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce67e34fe1f44e53ff5d9a5810760b6ecf8f1f98e72409fddb3936175337254c"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::aggregate (cognitive 16): ExecutionContext::aggregate has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 1 (4 pts), match/switch 2 (nesting depth added 9). 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/db/src/execution/interpreter/stream/aggregate.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"00736a335546f3c81c37a2ba860ddffbada790f64d96fc7373204097f8925b07"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionContext::project_edge_properties (cognitive 16): ExecutionContext::project_edge_properties has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/stream/projection/rows.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7271f07d6913dfab3f6bf0c7e49c5a04170dcd3887656c0673456898506029b2"}},{"ruleId":"D2","level":"warning","message":{"text":"MutationIndexCatalog::load (cognitive 16): MutationIndexCatalog::load has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 3 (6 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/mutation_catalog.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d40cf4da18c6d5adfa6ba42dd20d1e1948aa317f917a4aa732997756521adb0"}},{"ruleId":"D2","level":"warning","message":{"text":"QueuedMutationCollector::collect (cognitive 16): QueuedMutationCollector::collect has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 3 (7 pts), loops 1 (nesting depth added 9). 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/db/src/index_lifecycle/queue/producer.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9e56f6390d192493dff15fc8af294b70f837b015f6ae86a673127e5c377865"}},{"ruleId":"D2","level":"warning","message":{"text":"StagedQueueWrites::reserve (cognitive 16): StagedQueueWrites::reserve has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 3 (6 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/db/src/index_lifecycle/queue/producer.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"40260d39a262035f972d51815020c2bc2d4416ed2a1b9076c3b636d9d0cd20b9"}},{"ruleId":"D2","level":"warning","message":{"text":"db::encoding::v2::values::lifecycle::operation_record::put_operation_progress (cognitive 16): db::encoding::v2::values::lifecycle::operation_record::put_operation_progress has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 7 (16 pts) (nesting depth added 9). 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/db/src/encoding/v2/values/lifecycle/operation_record.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab7f6e0a34a21f7e190bf047993c7af9c934e6936ee1e50136bd36ab081bdb0"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::step_cleanup (cognitive 16): db::index_lifecycle::secondary::step_cleanup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 3 (5 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2969}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ed478501111e2bf197d946a8d591a6810493819973b0fd18400dbdbbcedb05"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::secondary::verified_unindexed_rows (cognitive 16): db::index_lifecycle::secondary::verified_unindexed_rows has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":4550}}}],"partialFingerprints":{"codehealthFindingId/v1":"61376771f308dae998d7c8a121d7708890062b6c8b39671b5dc15273b4f69ca6"}},{"ruleId":"D2","level":"warning","message":{"text":"db::index_lifecycle::text::serving::load_active_manifest_roots (cognitive 16): db::index_lifecycle::text::serving::load_active_manifest_roots has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/serving.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88363a91107b06018840fc1cae4478f9166b460be54c768ec05757839e52713"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::compose (cognitive 16): Graph::compose has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 2 (4 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/graph-algorithms/src/transform.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d420d60e9ca6c892b995e94e83ec3a1bfc5ab4875c0817a9519430fb1a8daa5"}},{"ruleId":"D2","level":"warning","message":{"text":"RowPipeline::new (cognitive 16): RowPipeline::new has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), match/switch 2 (6 pts), boolean chains 2, 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/planner/src/relational/pipeline.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7928dcd47117b89e3b152a884098901ad8716b5c3766e49dcf1f7bd03d56395"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::analysis::prune::prune_junction (cognitive 16): helix_planner::analysis::prune::prune_junction has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 6 (10 pts), if/else 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 5). 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/planner/src/analysis/prune.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0adc3801feafdbb804b4905f7d75290de287da087d2c79ff10a9d779152b04"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::rules::cardinality::node_equality_count (cognitive 16): helix_planner::rules::cardinality::node_equality_count has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 7 (14 pts), if/else 1 (2 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/cardinality.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7760ecffcb2bca3d4ee2c654f61ac70d5b469e6b0dc57a38b3e0386638a6964"}},{"ruleId":"D2","level":"warning","message":{"text":"helix_planner::rules::stream::window::compose::compose_static_stream_windows (cognitive 16): helix_planner::rules::stream::window::compose::compose_static_stream_windows has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 4 (6 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/stream/window/compose.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"47edf24c3cc3e1c834a9d0b2f01b70cee14b136e50ded0cc76e37502c8518540"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExecutionContext: TooManyMethods \u2014 328 methods, declared across 78 files: interpreter/count.rs (21), access/rows.rs (15), access/secondary_set.rs (15), access/indexes.rs (13), \u002B74 more file(s). The bar is 30 methods; this is 298 over it, 10.93\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/runtime_context.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"50621a391d95436714ba3f224ce3330c8048fc308779cb405825578d21fe5d48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: index_lifecycle_testing/contracts.rs: FileTooLong \u2014 4036 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 91 free functions. The bar is 500 significant lines; this is 3536 over it, 8.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9c4ee89735878165bc00b717cad029d647b6a24f6daacac78c23773820afb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: index_lifecycle/secondary.rs: FileTooLong \u2014 3595 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 60 free functions. The bar is 500 significant lines; this is 3095 over it, 7.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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f821d3df7ba476934e6dd3e1ee085ec6711c2b955460f0e9c629bcd70c6813f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: helixdb/dsl.py: FileTooLong \u2014 3319 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2819 over it, 6.64\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":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abd19992bfb4b27c19b13b4f2cd556e779e79b1d95299a14d25d0993eaeacd1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorIndex.search_layer0_with_simhash: MethodTooLong \u2014 search_layer0_with_simhash runs 616 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 516 over it, 6.16\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/db/src/search/vector/hnsw/search.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92e654accd5ca2a0ae3ff0b6e1af431dd7d82d32b8c54e5df23aaf27b9eaab8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vector/driver.rs: FileTooLong \u2014 3053 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 45 free functions. The bar is 500 significant lines; this is 2553 over it, 6.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d326fea7d1a7ea2616c2c3a5e02dd461347351c15625ab8f61b3f6d9de451230"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mutation/mod.rs: FileTooLong \u2014 2821 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 2321 over it, 5.64\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/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a3ea626ab2a11a1a5fbc3894a20cfb39b7857b385c8288a4cbf1d774041cc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_planner::relational::planning::plan_accesses: FunctionTooLong \u2014 helix_planner::relational::planning::plan_accesses runs 550 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 450 over it, 5.50\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/planner/src/relational/planning.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"57407fb3718a938c7226dc5159fa2c4b37409b27bccb051a6643859ece213474"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migrations/mod.rs: FileTooLong \u2014 2664 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 60 free functions. The bar is 500 significant lines; this is 2164 over it, 5.33\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/db/src/migrations/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e352f59e333540b085465eabddd5e82200bd3cc2386d6b8b5637afcd53e78a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 2633 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 2133 over it, 5.27\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/db/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b042648732022095f5aa900ff8d43ad087e2f727a63aa8b7753e31a55c04600"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/dsl.ts: FileTooLong \u2014 2442 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1942 over it, 4.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5461b2cb8c57a55371f0ada1bea35c22af6e7bffae22d361c06f6ffb4aee66b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: go/dsl.go: FileTooLong \u2014 2293 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1793 over it, 4.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":"sdks/go/dsl.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f30bfebd02eeba49cf5f6d05f66eaf7cbb4ba236502f4a58c4912f1f9d2f43"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: text/driver.rs: FileTooLong \u2014 2116 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 31 free functions. The bar is 500 significant lines; this is 1616 over it, 4.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b246032274a68d0eb38e12c475bc933bfd96e5085f3b375d711bdf10eb94779"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: search/mod.rs: FileTooLong \u2014 2099 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 149 free functions. The bar is 500 significant lines; this is 1599 over it, 4.20\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/db/src/search/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"386fa05e96b972b1a3c0524f0f24a6f826db55f16ac34c5f7f8ddf0945ec4c65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle_testing::contracts::run_secondary_mutation_interleaving: FunctionTooLong \u2014 db::index_lifecycle_testing::contracts::run_secondary_mutation_interleaving runs 403 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 303 over it, 4.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c27e26094489f5897473bb20cd7fcbeeb73a81c88d89d0d77deef38eb2b917"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::execution::interpreter::pull::poll::step: FunctionTooLong \u2014 db::execution::interpreter::pull::poll::step runs 401 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 301 over it, 4.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/pull/poll.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcfb781d1d0900b2b4330f7a988ba1d3a290cb8ea4429fe384dd71ec02c4729"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_cypher::bind::bind_clauses: FunctionTooLong \u2014 helix_cypher::bind::bind_clauses runs 391 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 291 over it, 3.91\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/cypher/src/bind.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"90734874b02fb05a257267ec9a25ec5d22b04c9eee378b84be22fc9b4eb3f6ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HelixDB: TooManyMethods \u2014 115 methods, declared across 4 files: src/lib.rs (100), src/index_lifecycle_testing.rs (9), src/cypher.rs (4), cypher/explain.rs (2). The bar is 30 methods; this is 85 over it, 3.83\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/lib.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea120d8ef3e967f13ec4b915702062957a234d313c0ec86e04d1db5ab0d1b61"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::text::driver::scan_partition_documents: FunctionTooLong \u2014 db::index_lifecycle::text::driver::scan_partition_documents runs 383 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 283 over it, 3.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6907c3be59f4d74b3eea04323a2e5858f7ab5bd26d806b8c2e2eb02a4f54c2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interpreter/count.rs: FileTooLong \u2014 1877 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: ExecutionContext (146-2183). The bar is 500 significant lines; this is 1377 over it, 3.75\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f815b2d732d8fc1147e821e55fc75e4d30f449a52b3d667afb6d78ed702468"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::migrations::vector_scale::run_inner: FunctionTooLong \u2014 db::migrations::vector_scale::run_inner runs 371 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 271 over it, 3.71\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/db/src/migrations/vector_scale.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7e322cccf5be5f04df794e57283900d3fc12fbfc6022dbbf932016a310823f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: text/mod.rs: FileTooLong \u2014 1787 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 77 free functions. The bar is 500 significant lines; this is 1287 over it, 3.57\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/db/src/search/text/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19256b55cda173c3ba038a85ac578ce6ae41cb3eb91ad6bb637f47b681ce6417"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VectorIndex: TooManyMethods \u2014 107 methods, declared across 5 files: hnsw/index.rs (55), mutation/mod.rs (36), hnsw/restricted.rs (9), hnsw/search.rs (6), \u002B1 more file(s). The bar is 30 methods; this is 77 over it, 3.57\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/index.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4aebf109c343055e36b64b0bd6b823cc61ce473820a5da534291e3b09277bf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Traversal: TooManyMethods \u2014 106 methods. The bar is 30 methods; this is 76 over it, 3.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/dsl.go"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"625fb060634b8090058d8058c466dda22416c3c92007abfb9d94dde5b9215f8f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Traversal: TooManyMethods \u2014 102 methods. The bar is 30 methods; this is 72 over it, 3.40\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/ast/src/traversal.rs"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94d4094bbdfa15bc6095c9082a8af292cc14945f983b0c066bfec7b97cb9515"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: storage/mod.rs: FileTooLong \u2014 1667 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 60% of them inside a single declaration: VectorRows (3 blocks, 291-2310). The bar is 500 significant lines; this is 1167 over it, 3.33\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1302f54ca94fbd7f4707ba69f267ee2837a97011d583d1cc5e9bce922c691967"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Traversal: TooManyMethods \u2014 100 methods. The bar is 30 methods; this is 70 over it, 3.33\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":"sdks/typescript/src/dsl.ts"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bae4247059f2ca7d0b3dcbdd329e1146b4c3d1bdcd5980d3af4dc51744466d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rules/cardinality.rs: FileTooLong \u2014 1650 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 50 free functions. The bar is 500 significant lines; this is 1150 over it, 3.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/planner/src/rules/cardinality.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c857ee82e34dc5327f989ddded232ba9bb811680bbac0c52c063ae73c3797820"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Translator.select: MethodTooLong \u2014 select runs 327 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 227 over it, 3.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/sql/select.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1376ebeaa3455d995dfa7794947d7fbd1b1341d999126f576d223c158534c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/traversal.rs: FileTooLong \u2014 1595 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 1095 over it, 3.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/ast/src/traversal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8f4dbe1647009884cef6d197214c7d4e78c8d3c7387ebb1f9ee40ee0e0edf2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::text::driver::scan_source: FunctionTooLong \u2014 db::index_lifecycle::text::driver::scan_source runs 306 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 206 over it, 3.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd9937c4f518abb94506e994cfaedb5407188b5c4d9659ecbaa2e453bc3da3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/chef.rs: FileTooLong \u2014 1512 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 33 free functions. The bar is 500 significant lines; this is 1012 over it, 3.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/cli/src/commands/chef.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83af04a9fd78d2f5cb5d8e0991ad24cf541cd81c38cd0b2a1a1d6c76d742ee6e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Step: TooManyMethods \u2014 90 methods. The bar is 30 methods; this is 60 over it, 3.00\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":"sdks/typescript/src/dsl.ts"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd8fd939d0fb5bf75d4a770009bca38b0d983a9bc32ad1a392267c00dd9f701"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.row_program: MethodTooLong \u2014 row_program runs 297 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 197 over it, 2.97\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/db/src/execution/interpreter/rows/mod.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a0c4d0deaf9450ee2b4d0f6d0cbf7687b5a03c6ac9e6bbc1ebccb8fc119d9a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.execute_count: MethodTooLong \u2014 execute_count runs 294 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 194 over it, 2.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/count.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd626c024f30e760a16c2184d08119798b2f1ba942df0a1fb9c954528565b4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_ast::testing::variants::ast_nodes: FunctionTooLong \u2014 helix_ast::testing::variants::ast_nodes runs 284 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 184 over it, 2.84\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/ast/src/testing/variants.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e7ae0e0bd520e27a41781914d597e951cb842ff2e7a87abd07f7ccb44304f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::text::manifest::select_page: FunctionTooLong \u2014 db::index_lifecycle::text::manifest::select_page runs 277 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 177 over it, 2.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/manifest.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0a98f400615271c0fa56b1493dd79e14997c91c7b561094dbd682ee3f5ee65"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.count_cursor_leaf: MethodTooLong \u2014 count_cursor_leaf runs 276 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 176 over it, 2.76\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3cf71217ac4b976a35248abd0c1c3a37b13bbea41cf20eb59cbfd061e1e777"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: index_lifecycle/outbox.rs: FileTooLong \u2014 1364 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 32 free functions. The bar is 500 significant lines; this is 864 over it, 2.73\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/db/src/index_lifecycle/outbox.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfae1ac26f9ee82b6adb3990e56d6ec466114b7c43edf62a28abab9a5df46018"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::migrations::preflight_legacy_vector_reservations: FunctionTooLong \u2014 db::migrations::preflight_legacy_vector_reservations runs 267 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 167 over it, 2.67\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/db/src/migrations/mod.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9340ec3ffdd0aa4f4b9706c46b88a7a846f215cea95f5c1bfeeb86bfa54ee45"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::text::active_batch::prepare_destination: FunctionTooLong \u2014 db::index_lifecycle::text::active_batch::prepare_destination runs 265 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 165 over it, 2.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/active_batch.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85935098547f04818d4f9a92ff5d35b8ccff53789a6da9170bede75a51f98df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/index_lifecycle_testing.rs: FileTooLong \u2014 1319 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 819 over it, 2.64\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/db/src/index_lifecycle_testing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02cd40cbd27e606d3653c30a2f55fb98374091fe401e1ef6eb5a4e9c69dcb26"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/local_runtime.rs: FileTooLong \u2014 1293 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 39 free functions. The bar is 500 significant lines; this is 793 over it, 2.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/cli/src/local_runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20559c3fe726039bb9530f8697e54d5fefefc63873472f997f635bca57a47c96"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.count_cursor_cardinality: MethodTooLong \u2014 count_cursor_cardinality runs 258 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 158 over it, 2.58\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f550893cbe5b0ffa515d360d274829cc272c4189c174fceb84c75560e5b122c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: relational/planning.rs: FileTooLong \u2014 1256 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 756 over it, 2.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/planning.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23390852afe3f77ba1ad3aa52fb38457086076f59190bc2cba1974c0e7b151f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorIndex.restricted_filter_aware_search: MethodTooLong \u2014 restricted_filter_aware_search runs 249 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 149 over it, 2.49\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/db/src/search/vector/hnsw/restricted.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfe59c777b2908070674645277511fcd01c697f3b8ef9992842c397d7b4c3f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VectorRows: ClassTooLong \u2014 994 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), 26 methods, 3 blocks, lines 291-2310. The bar is 400 significant lines; this is 594 over it, 2.49\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"14177bba1dcbde4bc517d4db7d0346861b978bbf5be21dc81c78f96ea17b4318"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::secondary::scan_source: FunctionTooLong \u2014 db::index_lifecycle::secondary::scan_source runs 241 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 141 over it, 2.41\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"530b7f80addfdb3932761dfb8e754be74f18a0538183ac58a1e0cfc0a6505a19"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorRows.validate_simhash_directory: MethodTooLong \u2014 validate_simhash_directory runs 241 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 141 over it, 2.41\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1280beaccae6e85fd9a977292a5497ba99f0fd9d88ca0a71df3e59f50d309c31"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Source.open: MethodTooLong \u2014 open runs 236 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 136 over it, 2.36\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/db/src/execution/interpreter/pull/source.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5450c77b14453ed018cdbac24dedd9b86ae4398fe13fa07f22734267098c8ba7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Evaluation.function: MethodTooLong \u2014 function runs 231 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 131 over it, 2.31\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/planner/src/relational/evaluation.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddd4f7fbecce58da0fc7fc90c6a31d503e28707d4f8f37923a7a0014a4c8a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: queue/publication.rs: FileTooLong \u2014 1143 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 643 over it, 2.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/queue/publication.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c5fd92e6ecf8b6d7db293c2ded0b31ca582353e8f688dddf131d0e2871903d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.count_cursor_ids: MethodTooLong \u2014 count_cursor_ids runs 228 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/count.rs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b91440ee578e8c19c7c19c749623a7bae71c81c604e5465a53d122aca86d1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle_testing::contracts::all_index_validation::run_case: FunctionTooLong \u2014 db::index_lifecycle_testing::contracts::all_index_validation::run_case runs 227 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 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts/all_index_validation.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d2a2560fee66c5d5dea178ec766424a458aaa13feb3a9ca67a79212363a9af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagnostics/analyze.rs: FileTooLong \u2014 1112 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 612 over it, 2.22\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/planner/src/diagnostics/analyze.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"214d7a1e43ee7a5d997cded5b806aadbcfbc4bdd9d8fb57067994778be7d2694"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Parser.expr_inner: MethodTooLong \u2014 expr_inner runs 217 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 117 over it, 2.17\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/cypher/src/parser.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc89ee5de200a34882fb3c0225a993cee6bce0ef2aa3266bf25129d769a14e9e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VectorIndex: ClassTooLong \u2014 853 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), 107 methods, 2 blocks, lines 109-1634. The bar is 400 significant lines; this is 453 over it, 2.13\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/db/src/search/vector/hnsw/index.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"717eace6f6d6f4d8a2cbce05bb8accbfb9dc5d3d146bbb7c79a61083441ff1c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Translator.expr_at_depth: MethodTooLong \u2014 expr_at_depth runs 213 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 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/sql/expr.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b270c38584192eed2e704078ca40cdd5c49bc32585e0faa11ea1b6cae40d79a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::text::driver::prepare_compaction_step: FunctionTooLong \u2014 db::index_lifecycle::text::driver::prepare_compaction_step runs 212 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 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc76447e8d734e53be56291574880afdf3898810b2b3eda606dfefc0b526d126"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migrations/vector_simhash_directory.rs: FileTooLong \u2014 1024 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 524 over it, 2.05\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/db/src/migrations/vector_simhash_directory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2215b0a09b0e02e45c6b39d74e0b7b98d3c25daf9d85655deeb3eedcf4a68011"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::secondary::catch_up_exact: FunctionTooLong \u2014 db::index_lifecycle::secondary::catch_up_exact runs 202 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 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2365}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefb6066e776c9b640a8f6d91e8bdfee448a59792f387f5527d5a762506d3421"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Binder.expression: MethodTooLong \u2014 expression runs 201 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 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/bind.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c2c6a8e2cecbdfea0d005aa4e1004ddc34de381319be0934253d3a890cc8f9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Graph: TooManyMethods \u2014 60 methods, declared across 8 files: src/model.rs (20), algorithms/traversal.rs (19), src/transform.rs (7), algorithms/centrality.rs (6), \u002B4 more file(s). The bar is 30 methods; this is 30 over it, 2.00\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/graph-algorithms/src/model.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2c1eb0d8c02934a70b36809d052c7317a6e63c1daefbc8c7e586b2c114aeae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::text::active_compaction::compact_once: FunctionTooLong \u2014 db::index_lifecycle::text::active_compaction::compact_once runs 200 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 100 over it, 2.00\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/db/src/index_lifecycle/text/active_compaction.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc3d96a3b02531a52087698ddf16dbe48e6d5f8333f775190bccde8e496319e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::text::validation::select_page: FunctionTooLong \u2014 db::index_lifecycle::text::validation::select_page runs 200 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 100 over it, 2.00\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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c88126fc467d5748580dcc0033d39b29896965966c5d229c8766ef96dba89a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sql/expr.rs: FileTooLong \u2014 986 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 77% of them inside a single declaration: Translator (25-1003). The bar is 500 significant lines; this is 486 over it, 1.97\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/cypher/src/sql/expr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cb4fd77d551ce3e321f18a27de123e4afe72025943a7ebcf50dd03aff542b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: text/active_batch.rs: FileTooLong \u2014 980 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 480 over it, 1.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/active_batch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0580f08ea7b6a08cd83b0ddf0e622c4be7cdd051f77ce0cf9d22da8863b27515"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::outbox::execute_claimed_step_with_evidence: FunctionTooLong \u2014 db::index_lifecycle::outbox::execute_claimed_step_with_evidence runs 196 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 96 over it, 1.96\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/db/src/index_lifecycle/outbox.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdebccc78ada568a23ff516ab886ecbaa872f173645133dbd750b888f9c8101c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: index_lifecycle/model.rs: FileTooLong \u2014 979 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 479 over it, 1.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1428e03406e86bb0f9ba2e044f728b575a7b513edf3b3d62cd8229313fe210d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hnsw/restricted.rs: FileTooLong \u2014 973 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 473 over it, 1.95\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/db/src/search/vector/hnsw/restricted.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c9b712dacb2c0bfb9cbb60ea93d6ef7869929a37b443496a427c0d3247f755"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_ast::nesting::ast_children: FunctionTooLong \u2014 helix_ast::nesting::ast_children runs 193 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/nesting.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5054317e6c0969e2ec32436a475f6dee0fbd60e1c848c5be728697850fc322bf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Translator.function: MethodTooLong \u2014 function runs 193 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/sql/expr.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6b99f7cde25bf1edd158e7ec7a7ae2e4795161f5bfcdeaa5e7ddbf71fc5b06"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/model.rs: FileTooLong \u2014 955 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 455 over it, 1.91\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/db-testkit/src/model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2857d2b44af768fc5953149a6e05044130d42ac8ddd1079a437e1406f2a2c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::text::validation::select_entity_state: FunctionTooLong \u2014 db::index_lifecycle::text::validation::select_entity_state runs 191 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 91 over it, 1.91\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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"839b693869cb308e354f118d38df99d5460a517e24a39f61ca3e32d0c07263f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bind.rs: FileTooLong \u2014 948 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 448 over it, 1.90\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/cypher/src/bind.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5afe65c4910feae9dc4ac29aa8f18108024a1bd2de672125ace0a825a739715"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hnsw/search.rs: FileTooLong \u2014 946 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 75% of them inside a single declaration: VectorIndex (2 blocks, 119-1070). The bar is 500 significant lines; this is 446 over it, 1.89\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/db/src/search/vector/hnsw/search.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4481a1a1873cbfb7b6d757ed1ecb5503fb9eac1de3462f641349f24eb931c1f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contracts/all_index_validation.rs: FileTooLong \u2014 936 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 436 over it, 1.87\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/db/src/index_lifecycle_testing/contracts/all_index_validation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3044a9176c602a5e0a418750a4b0e73621a9b687779ad0ede4b8557f20c85ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.graph_batch_required: MethodTooLong \u2014 graph_batch_required runs 184 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 84 over it, 1.84\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/db/src/execution/interpreter/rows/graph.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9594b40f9a9a7a339b893f0f7758b7d58c818f66677f547a64a940dc35de9d31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: index_lifecycle/operation.rs: FileTooLong \u2014 914 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 414 over it, 1.83\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/db/src/index_lifecycle/operation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19433db20e3e0f34c7e2a8a96152ec16ffdf4cdcee343cabcd6093481ea78c1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: helixdb/graph.py: FileTooLong \u2014 910 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 410 over it, 1.82\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":"sdks/python/src/helixdb/graph.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3747281e9dc7a39daa42bbabb66218fc17186adeca68b28a666b86cac6ca915e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.match_rows: MethodTooLong \u2014 match_rows runs 181 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 81 over it, 1.81\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/db/src/execution/interpreter/rows/matches.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fcbd5f3fb81bcf2f6ce3e91dbef29973bcfeff52c60db4144beeae1332514c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutableDagBuilder.push_selected_stream_pipeline_op: MethodTooLong \u2014 push_selected_stream_pipeline_op 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/planner/src/exec/selected/lowering/access/pipeline.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"603d8c3d63104128481b4787d595a2374e384705f012ca4d2757e01d1fba7b7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hnsw/index.rs: FileTooLong \u2014 889 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 96% of them inside a single declaration: VectorIndex (2 blocks, 109-1634). The bar is 500 significant lines; this is 389 over it, 1.78\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/index.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98b90cabf67fcf495eb3fd1a0de15d1ba0d22a2c32b1f7b61783124936af7fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: text/cache.rs: FileTooLong \u2014 880 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 380 over it, 1.76\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/db/src/search/text/cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dded5b575d4f4a8cebe794a978ee3de9037e6ee80476df362f8cfc87dcbd29"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorRows.validate_legacy_physical: MethodTooLong \u2014 validate_legacy_physical runs 176 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 76 over it, 1.76\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"406aa3ace352d71e80c231210ebbed9fd4623d5882b3bd4bae25a03f3eebeaec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Query.new: MethodTooLong \u2014 new runs 176 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 76 over it, 1.76\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/planner/src/relational/query.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb1de3a369533d9cfcbbeb3734fde251d95bec07b626e2e29e31883b564a48b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_cypher::lexer::lex: FunctionTooLong \u2014 helix_cypher::lexer::lex runs 175 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/lexer.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63a8136f9883ec644f16696bd2cfda7f5224ac482dd1374731f1f9071cdb47d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SeedRuleSet: TooManyFields \u2014 52 stored fields beside 3 methods. The bar is 30 stored fields; this is 22 over it, 1.73\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/planner/src/rules/registry.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf7bdb979d3ffc9419af6c6cd2dd32367cbbc4c7365b3a748a5affc005241f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/graph.rs: FileTooLong \u2014 856 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 356 over it, 1.71\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":"bindings/uniffi/src/graph.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7253a370ab4f3a04e72de615b5e5598c4a7fa244f7b9235a43b82a6edec8b2da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Evaluation.eval: MethodTooLong \u2014 eval runs 171 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 71 over it, 1.71\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/planner/src/relational/evaluation.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0d62d46f3af3f7e6b132f23d1536499b27a2e47191aff1a861734988560a26"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalRuntime: ClassTooLong \u2014 681 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), 47 methods, 2 blocks, lines 91-1181. The bar is 400 significant lines; this is 281 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/local_runtime.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1255d57666b5bc6fcd07bb2ba2a3dfb9bd0caf9f8c07a0fefc0bdec846b0e828"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.project_rows: MethodTooLong \u2014 project_rows runs 169 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 69 over it, 1.69\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/db/src/execution/interpreter/rows/projection.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d2e67f4e871c898304a105aa69924c7d5a1092cf696f2bd5530ce0a5359a71"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Traversal: ClassTooLong \u2014 666 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), 102 methods, 6 blocks, lines 1458-2599. The bar is 400 significant lines; this is 266 over it, 1.67\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/ast/src/traversal.rs"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dacd70a888829f02c5efd55ec8f55ad51b6c7d01b92ea57f542089685a4a38c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_ast_arena_derive::expand::enum_deserialize: FunctionTooLong \u2014 helix_ast_arena_derive::expand::enum_deserialize runs 164 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast-arena-derive/src/expand.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"c825274c5030dc133df355b73f72f2022ea52a45997c68c2bd137b0342e3dc62"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.eval_resolved: MethodTooLong \u2014 eval_resolved runs 164 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/stream/eval/resolved.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"71293c205a259269a37e85eb189a6123b30af4225d6de5093218c1588f8a1e04"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Translator: TooManyMethods \u2014 49 methods, declared across 5 files: sql/expr.rs (14), src/sql.rs (10), sql/dml.rs (10), sql/select.rs (8), \u002B1 more file(s). The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/sql.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c025865a4a69266c008efab925c5c56452e7009ca022ed158ed199fd15757f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExecutableDagBuilder: TooManyMethods \u2014 49 methods, declared across 30 files: exec/lowering.rs (5), access/leaf.rs (4), lowering/batch.rs (4), mutation/emit.rs (3), \u002B26 more file(s). The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/lowering.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"544ed9263cc0e11db8a651f9bb3cef499d51f9bcd65894f3e84b877fefccc8ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_planner::relational::planning::index_predicate: FunctionTooLong \u2014 helix_planner::relational::planning::index_predicate runs 163 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 63 over it, 1.63\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/planner/src/relational/planning.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c43dbf414b57964ea9fb9ed66248c880060038a9fe88cf485ad66fcd996454"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: text/validation.rs: FileTooLong \u2014 805 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 305 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10405479b1d8f4019b0ea7268978e02a3ac5365c5d61aad2a23c60b5cbd838d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::search::text::search_manifest_with_state_source: FunctionTooLong \u2014 db::search::text::search_manifest_with_state_source runs 161 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 61 over it, 1.61\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/db/src/search/text/mod.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d759c073fdb48714fcb0bce6b7f857fa86d560896c2765ba72f59f353bce9ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: text/statistics.rs: FileTooLong \u2014 804 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 304 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/statistics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a8e0113a413b8de122d58ab304484891bfaacebd03a2492f463f859174772e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: index_lifecycle/repository.rs: FileTooLong \u2014 802 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 34 free functions. The bar is 500 significant lines; this is 302 over it, 1.60\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/db/src/index_lifecycle/repository.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead24b370a2c3b8784ceb79c53b08bf7f68bf2a9bca099eadbed0a790e2bf0ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: relational/evaluation.rs: FileTooLong \u2014 798 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 76% of them inside a single declaration: Evaluation (3 blocks, 18-836). The bar is 500 significant lines; this is 298 over it, 1.60\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/planner/src/relational/evaluation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d265e1ef83155cfc8c82ad0b2add67c67102832662bd37405f2c4010eaae9ee6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Parser: ClassTooLong \u2014 636 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), 23 methods, 2 blocks, lines 22-887. The bar is 400 significant lines; this is 236 over it, 1.59\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/cypher/src/parser.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7347482ee9c291aba5f8fcb0f79814d4935369fa73fed8a808d7f0b45c258e4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/query.rs: FileTooLong \u2014 794 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 294 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/ast/src/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c4f799b44126c89c32da0daf00b1840ee215fceeed5c00bb6e5d33ebf8b566"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: index_lifecycle/worker.rs: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 290 over it, 1.58\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/db/src/index_lifecycle/worker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eb45358b272364807cab484c1a6b763a46c8bbaf58c31456289b2d7d458e84"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle_testing::contracts::run_secondary_vector_public_boundaries: FunctionTooLong \u2014 db::index_lifecycle_testing::contracts::run_secondary_vector_public_boundaries runs 158 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 58 over it, 1.58\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba874d089e6af3f652a78af26e7a12886137f32e88b05c5f60a01c59d775b7e8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Operation.apply: MethodTooLong \u2014 apply runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/traversal.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3adb9b8fae5a4eeeb33d14664d92c5b61a2b76e2294455e1c4f1fe00d5a31c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_cli::commands::cloud::service_credential::run: FunctionTooLong \u2014 helix_cli::commands::cloud::service_credential::run runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/cloud/service_credential.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a3d3517764eabe0c0bba87e0f6908fd3bbf233e8e1fe439a23c5b1a1763698"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalRuntime: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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/cli/src/local_runtime.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86216b9db45876afd2c470c98bf5580d5d4105d867bfb2c4db46fc049bd81d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: values/codec.rs: FileTooLong \u2014 782 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 62 free functions. The bar is 500 significant lines; this is 282 over it, 1.56\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/db/src/encoding/v2/values/codec.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fbbca9c463d76689216421feca342216ee87ff168b88b735332a538f675157"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagnostics/mod.rs: FileTooLong \u2014 760 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 260 over it, 1.52\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/server/src/diagnostics/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ea0abe33fd30d2f542b431b7c8eb3f9533f341decad9448c6f52a45420fbdc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::search::edge_range_scan_bounds_with_direction: FunctionTooLong \u2014 db::search::edge_range_scan_bounds_with_direction runs 152 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 52 over it, 1.52\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/db/src/search/mod.rs"},"region":{"startLine":2537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d186e1316387bf872034ac3f2155cf04a241981a213f52f5730b320e1795f08e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_opencypher_tck::runner::steps: FunctionTooLong \u2014 helix_opencypher_tck::runner::steps runs 152 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 52 over it, 1.52\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":"tools/opencypher-tck/src/runner.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf9ce398774d41f9644c75ab5cbeef2c64438fe7b0929ab6737986f9ca92406"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Evaluation: ClassTooLong \u2014 605 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), 13 methods, 3 blocks, lines 18-836. The bar is 400 significant lines; this is 205 over it, 1.51\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/planner/src/relational/evaluation.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dffda036de40c6e03ba105a4247c0a75806a8f2504bd9f2ca92427f0d051c5e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Step.ToAST: MethodTooLong \u2014 ToAST runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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":"sdks/go/dsl.go"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5428bcf3e481f49791f48556ba19b901a110cb6f23918ee41bb8a469ab55ca6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_cli::commands::cloud::database::run: FunctionTooLong \u2014 helix_cli::commands::cloud::database::run runs 151 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 51 over it, 1.51\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/cli/src/commands/cloud/database.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0109d75e10c835a3051d309b405cd79bec62f13f0cdf9007ea4e950b5c3188"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle_testing::contracts::run_create_drop_state_matrix: FunctionTooLong \u2014 db::index_lifecycle_testing::contracts::run_create_drop_state_matrix runs 151 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 51 over it, 1.51\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3526}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fda468b8c539fa5c2979f35d733d75562de314bc0c5884168d11e29c91d72c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migrations/vector_scale.rs: FileTooLong \u2014 754 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 254 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_scale.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8485c4ae767546e2aff148f051749f2f805f09f3b0522a52be74ea669502d246"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Step.toAst: MethodTooLong \u2014 toAst runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"sdks/typescript/src/dsl.ts"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fe6fc279cb7a4f11750a96bd33abd2b540dc8cbd6d2f51195ddd792259184a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::migrations::process_loaded_job: FunctionTooLong \u2014 db::migrations::process_loaded_job runs 148 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/mod.rs"},"region":{"startLine":3159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7099d2451d59ecb50659d464e0b84f0af07d7a96af19223916f42f7b9e1b684"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cache/store.rs: FileTooLong \u2014 738 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 238 over it, 1.48\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/db/src/search/vector/cache/store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89314d965fc83d6c5b8810204e0a6a92685965c872e9e3e1066a783ba6ae4d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::text::validation::select_root: FunctionTooLong \u2014 db::index_lifecycle::text::validation::select_root runs 147 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 47 over it, 1.47\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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f45d64d7b3e7edf3001da7d130d6562ea2196f54f2a02b73244466ee46eb21"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LifecycleTestController.install_donor_split_for_search_race: MethodTooLong \u2014 install_donor_split_for_search_race runs 147 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 47 over it, 1.47\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/db/src/index_lifecycle_testing.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a410d1485b6877bbbd9bf822a39823ec732f25bfcd5945e387ade013dc2b5b5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MutationOpCache: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\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/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":2957}}}],"partialFingerprints":{"codehealthFindingId/v1":"80de5f1fdf8af2d368de8bad99ad81a6ae6f6c65cee21046a7aa0fbf84a4e93e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/merge_operator.rs: FileTooLong \u2014 730 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 230 over it, 1.46\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/db/src/merge_operator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc398c2a025b9fc7ddb43e2136192e2414c068bfd4b53212a2e918e5239a5c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: exec/count.rs: FileTooLong \u2014 730 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 230 over it, 1.46\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/planner/src/exec/count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05083c0c183e6cccda94ac67f019b1694f3463b8e62a2daadfd161f76f20a6a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: testing/variants.rs: FileTooLong \u2014 727 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 227 over it, 1.45\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/ast/src/testing/variants.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ab0590e9682089e33a4a50ce64c195c273b8e4b9e6e65d55de28f2d4ddea62"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_planner::rules::physical_contracts::support::pipeline::stream_pipeline_op_contract: FunctionTooLong \u2014 helix_planner::rules::physical_contracts::support::pipeline::stream_pipeline_op_contract runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/physical_contracts/support/pipeline.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb11db41334ece63ae7853c3fefe6f1b79c1ccb98c7abf6536f15e4fa6b13aa7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: access/indexes.rs: FileTooLong \u2014 723 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 68% of them inside a single declaration: ExecutionContext (18-751). The bar is 500 significant lines; this is 223 over it, 1.45\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/db/src/execution/interpreter/access/indexes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31583c6b008b0053ed467eed99b15e25005aaf19e677abf894b2e66e8260b40f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeGraph: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\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":"bindings/uniffi/src/graph.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39dded2bfed56ada0fd725d003100870d919f66adaeb3b02244ce03af32d305"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_db_testkit::planner_domain::cardinality_inputs: FunctionTooLong \u2014 helix_db_testkit::planner_domain::cardinality_inputs runs 143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db-testkit/src/planner_domain.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d27ce9580149ea92c099d0fde29765dfd53a5669e303a0865978a4742d7bbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::secondary::exact::unique::lookup_active_unique_equality_batch_admitted: FunctionTooLong \u2014 db::index_lifecycle::secondary::exact::unique::lookup_active_unique_equality_batch_admitted runs 143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary/exact/unique.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cca5dcbc501782f3aff18bbe16eaa72592deec46cf0539d3ffcd72ce346ea5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OracleState.read_indexed: MethodTooLong \u2014 read_indexed runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db-testkit/src/model.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e16dc2b39528f32ce540e77d2792e82604eb47dcdc7bcae7b555ffbce73f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.node_secondary_ids: MethodTooLong \u2014 node_secondary_ids runs 138 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 38 over it, 1.38\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/db/src/execution/interpreter/access/secondary_set.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58fca678923c3c1599b980494f39721f2907d3b55c9c17bcf02764a19fb4265"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::repository::operation_record_cursors_are_valid: FunctionTooLong \u2014 db::index_lifecycle::repository::operation_record_cursors_are_valid runs 138 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 38 over it, 1.38\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/db/src/index_lifecycle/repository.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f39558319622256ba854c673c09bfdda38ac614a12cd7ed57122e7d10f7e889"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutableDagBuilder.push_selected_edge_access_plan_with_read_limit: MethodTooLong \u2014 push_selected_edge_access_plan_with_read_limit runs 138 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 38 over it, 1.38\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/planner/src/exec/selected/lowering/access/native/edge.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02d7e6b48a9c85d00fe4cf432568251fced21db1fb3cbe3ed55ec79e9c6c7b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutableDagBuilder.push_selected_node_access_plan_with_read_limit: MethodTooLong \u2014 push_selected_node_access_plan_with_read_limit runs 138 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 38 over it, 1.38\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/planner/src/exec/selected/lowering/access/native/node.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e186ba4f05e9a8dca5195d3f8795a2da451d7f861c494a128c29a058fd0da50f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/parser.rs: FileTooLong \u2014 689 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 92% of them inside a single declaration: Parser (2 blocks, 22-887). The bar is 500 significant lines; this is 189 over it, 1.38\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/cypher/src/parser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ab066940818e5200a19fba83eace93b25551ead342ac3553f50dd41ab55881"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.finish_pattern_candidates: MethodTooLong \u2014 finish_pattern_candidates runs 137 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 37 over it, 1.37\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/db/src/execution/interpreter/rows/matches.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"595c3a83924d8f752e57cd67055feb7c26717fb1a6b4b1b6671ae9fb6860204b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.overlaid_text_hits: MethodTooLong \u2014 overlaid_text_hits runs 136 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 36 over it, 1.36\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/db/src/execution/interpreter/access/search/dispatch.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a7b9a02600382daf3b25d61e29941a62ebb4de37e7e2cdbe4770b3f21400ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::text::statistics::prepare_transition: FunctionTooLong \u2014 db::index_lifecycle::text::statistics::prepare_transition runs 136 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 36 over it, 1.36\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/db/src/index_lifecycle/text/statistics.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d05f21e5568eea1f9f20a3b39c66a5c3a5669583cfe0a3c5ccc59b699e74cb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cache/registry.rs: FileTooLong \u2014 678 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 178 over it, 1.36\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/db/src/search/vector/cache/registry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7b82601ed76b0b1eef59d0fb56c64d84594d698eb1468a779ef74ffb722aee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sql/select.rs: FileTooLong \u2014 675 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 87% of them inside a single declaration: Translator (74-833). The bar is 500 significant lines; this is 175 over it, 1.35\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/cypher/src/sql/select.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2538275280f7ebbc2ac67da080c72bab6cd7f077e7a9c3ab961532e3968436bc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.update_rows: MethodTooLong \u2014 update_rows runs 135 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 35 over it, 1.35\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/db/src/execution/interpreter/rows/mutations.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff4fb05edaad5e4c6fcccba0db0cfb0e21b3ffa34271c819d3cacfb4163f438"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_planner::planning::selected::native::pipeline::ops::search::pipeline_op_from_ast: FunctionTooLong \u2014 helix_planner::planning::selected::native::pipeline::ops::search::pipeline_op_from_ast runs 134 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 34 over it, 1.34\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/planner/src/planning/selected/native/pipeline/ops/search.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59ab24628acba0e5e02320caee237485f98df7c3cc9b888fc5d39c4e702ae44"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle_testing::contracts::run_family_tenant_reopen_recovery: FunctionTooLong \u2014 db::index_lifecycle_testing::contracts::run_family_tenant_reopen_recovery runs 133 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b642510a7958fca25490633cfc2557d3bf277dedb8940b25b77da0556429a01"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Analyzer: ClassTooLong \u2014 529 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), 14 methods, 2 blocks, lines 12-688. The bar is 400 significant lines; this is 129 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/diagnostics/analyze.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d7a34731cfcbb456d3ce495c8ff4a79ef5c6a630403050a25e4adcb6b796e9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PendingSelection.analyze_text: MethodTooLong \u2014 analyze_text runs 131 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 31 over it, 1.31\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/db/src/execution/interpreter/access/search/pending.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"018993780099c351acd7ab824932096eddd29fe935fcc47aed573c38bade370e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorRows.backfill_missing_simhash_directory: MethodTooLong \u2014 backfill_missing_simhash_directory runs 131 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 31 over it, 1.31\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3756d68a014ccb9882d9ef8f69db1aec77ac9d7f9d9305122c7e0fc2d5dfd38"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuleSchedule.rules_for_expr: MethodTooLong \u2014 rules_for_expr runs 131 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 31 over it, 1.31\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/planner/src/optimizer/driver/schedule/routing.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"161ccd384cbe9d1d39ddaea91931ed1401bf7e98dadee5bbe1e5127e2a201fa5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_planner::planning::selected::native::context_usage::validate_after_bind_with_context: FunctionTooLong \u2014 helix_planner::planning::selected::native::context_usage::validate_after_bind_with_context runs 131 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 31 over it, 1.31\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/planner/src/planning/selected/native/context_usage.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86f2c5d538c7c8d1b0e8a0a7fa51e3965e4bf44150f4d162e55ac6fcc8cccc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migrations/vector_retirement.rs: FileTooLong \u2014 653 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 153 over it, 1.31\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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"943db7cc8119690c531ebd82a45c0c8c445a7b88306f60ae03b8840c780d8b54"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DbConfig: 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/db/src/config/db.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8fc31e39863f988b48812074818894179cf3f14c84a61657abc659e4588345"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Expr.fmt: MethodTooLong \u2014 fmt runs 130 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 30 over it, 1.30\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/cypher/src/print.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2887e8fcf9a5996b86da61615ad659f309cc884ce8cc30f849c5aed73cd179"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.count_cursor: MethodTooLong \u2014 count_cursor runs 130 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 30 over it, 1.30\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eeaa91e3c40b474ea7e3f44df5e54025a94b4a71678cbe1bfb74213ec4b254d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FtsCache: ClassTooLong \u2014 517 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), 23 methods. The bar is 400 significant lines; this is 117 over it, 1.29\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/db/src/search/text/cache.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e5718d104195708f07cf712d391723098bb82ac46cd43da20f4c826a446f20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle_testing::contracts::run_building_drop_stage_matrix: FunctionTooLong \u2014 db::index_lifecycle_testing::contracts::run_building_drop_stage_matrix runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3757}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc9f5e21935cb4b71cb842cdbb099f00fdd2159983d812d94c10f7d3d009791"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle_testing::text_generation_rows::damage_text_build: FunctionTooLong \u2014 db::index_lifecycle_testing::text_generation_rows::damage_text_build runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/text_generation_rows.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"175520665dead682a6daace9a6800aefa850881564866504c3eea903a711b8a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_planner::rules::cardinality::cursor_cost: FunctionTooLong \u2014 helix_planner::rules::cardinality::cursor_cost runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/cardinality.rs"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"448723ad33df73f04012734e4b885f579ab4c3ce1e044fb562a82cd601097237"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.create_rows: MethodTooLong \u2014 create_rows runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/mutations.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df1d72e9b671cb0e0ad18e4a28aeee67f76dffbe0c14d921a75b501bed4fd16"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::secondary::release_validated_rows: FunctionTooLong \u2014 db::index_lifecycle::secondary::release_validated_rows runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2805}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41b51065c7e621e142f57b9a3dac6fa5157a545e1997bd145870ff21c8f6acf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle_testing::contracts::run_partitioned_search_edge_tenant_moves: FunctionTooLong \u2014 db::index_lifecycle_testing::contracts::run_partitioned_search_edge_tenant_moves runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edd4eb3f7b177dc24ee9de81dbdbd7e81331389a8557345c04bb0500b0d7f7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::secondary::claim_while_building: FunctionTooLong \u2014 db::index_lifecycle::secondary::claim_while_building runs 126 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 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"5940b90943a9c0f18c246812cc5d36ac33f20d4d0eabbbf6b1bc15f2d15a2b95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::worker::dispatch_worker_cycle: FunctionTooLong \u2014 db::index_lifecycle::worker::dispatch_worker_cycle runs 126 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 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/worker.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd0938af999fc3b43a6ceffd3bade545ea9284d72b944de1a1be854e7a6b668"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::migrations::migrate_legacy_definitions: FunctionTooLong \u2014 db::migrations::migrate_legacy_definitions runs 126 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 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/mod.rs"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf18ab1f1050e150a316ef3ba5b35d32fdc5de58dbc509ed667da22d81a29d3d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Translator.relationship_insert: MethodTooLong \u2014 relationship_insert 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/cypher/src/sql/dml.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"10584afdb8a61f92d28453c8e437ae647711b919035342ddbf7aa9090f7f0b38"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExpansionStack.next_batch: MethodTooLong \u2014 next_batch runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/expansion_stack.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b360eab2b066f890eefe0f7d59b8017107fb2c89dc0939688cbb9b2bf0fa9fef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle_testing::contracts::run_secondary_edge_mutation_interleaving: FunctionTooLong \u2014 db::index_lifecycle_testing::contracts::run_secondary_edge_mutation_interleaving runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":2150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1588c7eb3eb00b7ddbf5229eca2c6913c7edbe4d939c848942328dd746e6b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sql/dml.rs: FileTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 95% of them inside a single declaration: Translator (13-760). The bar is 500 significant lines; this is 114 over it, 1.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/sql/dml.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd9de815f1be2bf7f83ec1079d705f4844b87843e259a6af127b14e4eafac65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operation_queue/mod.rs: FileTooLong \u2014 611 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 111 over it, 1.22\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/db/src/encoding/v2/values/indexes/operation_queue/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c449c506968dc89b5757372890b26878e75399e40352f165c580881cfe0488"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_ast_arena_derive::expand::struct_visitor: FunctionTooLong \u2014 helix_ast_arena_derive::expand::struct_visitor runs 122 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 22 over it, 1.22\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/ast-arena-derive/src/expand.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"43545082afc31478ef70d70a994471ac34d8d034bbb0aa3739b00520133e19cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Program.new: MethodTooLong \u2014 new runs 122 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 22 over it, 1.22\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/db/src/execution/interpreter/pull/count.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce87b5d02178388a43363a0179fc44ad1a28238256c9e6ddcbf8bfe9f08a8190"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Source.next: MethodTooLong \u2014 next runs 122 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 22 over it, 1.22\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/db/src/execution/interpreter/pull/source.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4b6cda04f2454b2273c98a02749eabdfefe0ab1c7fb6b83ef2f1f43fbb85f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InputWindow.for_initial_source: MethodTooLong \u2014 for_initial_source runs 122 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 22 over it, 1.22\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/planner/src/relational/input_window.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0196c7583ecf8ad3f7135155fb78b3726a50b9bc8a126721ede4bd34c4cd782b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/cache.rs: FileTooLong \u2014 608 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 108 over it, 1.22\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/db/src/config/cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"278cbfc49561f6afe5b3c7c000f7f9e52645785e3f01be652beab88d3193a8c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sql/tables.rs: FileTooLong \u2014 605 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 105 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/sql/tables.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"244feff750d947548144e4797effbbad1ab72259e5028f285c9d843d76853ab6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::text::compaction::select_artifacts: FunctionTooLong \u2014 db::index_lifecycle::text::compaction::select_artifacts runs 121 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 21 over it, 1.21\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/db/src/index_lifecycle/text/compaction.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3393cce3b4d1e38903955cadea335f1708b7f19a04459dbed982bc0ad691c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Analyzer.analyze_access_leaf: MethodTooLong \u2014 analyze_access_leaf runs 121 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 21 over it, 1.21\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/planner/src/diagnostics/analyze.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"022d38c9aa0801d91a2d30b1ba2fb63cef16726b0314ff404aef3e32d6f07f74"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: search/dispatch.rs: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 76% of them inside a single declaration: ExecutionContext (58-685). The bar is 500 significant lines; this is 102 over it, 1.20\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/db/src/execution/interpreter/access/search/dispatch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c63b7293300863816a976b6d6d3931fd0aa38c7bc780d1c20cb825a2fd4dd37"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StorageCostProfile: TooManyMethods \u2014 36 methods, declared across 3 files: profile/formulas.rs (33), profile/overrides.rs (2), profile/residual.rs (1). The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/cost/profile.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a8f3ca9d537a2fe3fae79bb294b26e4e21754f93271f10cd6c939ca175336b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::migrations::vector_properties::materialize_batch: FunctionTooLong \u2014 db::migrations::vector_properties::materialize_batch runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_properties.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63b4b984711074b2c37bb375e744b95fd9c464058cb55edd5d523d561164b19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::secondary::delete_generation_rows: FunctionTooLong \u2014 db::index_lifecycle::secondary::delete_generation_rows runs 119 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 19 over it, 1.19\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":3055}}}],"partialFingerprints":{"codehealthFindingId/v1":"b067a39de88ce99979c8d97b796210ff7c27f472ca57470facdc82fe937c4441"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::text::active_batch::append_split: FunctionTooLong \u2014 db::index_lifecycle::text::active_batch::append_split runs 119 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 19 over it, 1.19\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/db/src/index_lifecycle/text/active_batch.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e5bd085ecff6008f955b0fa944146ba3561fbeaac3aefaec7196b9918d3657"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/query_service.rs: FileTooLong \u2014 593 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 93 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/db/src/query_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13c7ce0a0797eb570cdbf1666a5368dc81aebceaf4d6d52ef5462bdbe53db76"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PreparedTextOperationStep.stage: MethodTooLong \u2014 stage runs 117 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 17 over it, 1.17\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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"082c6c8fb4f4d603fb640705b0862c620b0663601e946e95ea62e10d62d31b5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_planner::planning::selected::native::context_usage::validate_ast_context: FunctionTooLong \u2014 helix_planner::planning::selected::native::context_usage::validate_ast_context runs 117 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 17 over it, 1.17\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/planner/src/planning/selected/native/context_usage.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d40637770609db3e1f49eed9f50904013eea32edbc0cf2cd5ebf727be0888e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: LegacyVectorIndexConfig: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\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/db/src/encoding/v2/legacy/vector/metadata.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"442e3430103012f2503de01c11a420f1f1a2a2e8dcb853daec31d273d968882c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SearchStats: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\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/db/src/search/vector/mod.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc323deb5a3421a3f254955f370f8c969b5293930d608623bccb3a3262feb769"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Source: ClassTooLong \u2014 464 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 7 methods, 2 blocks, lines 24-697. The bar is 400 significant lines; this is 64 over it, 1.16\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/db/src/execution/interpreter/pull/source.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced989ccc14ed0ff550d4df355fa3c656460c5c5b51e6881db3892037ddfd3c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::migrations::vector_retirement::fence_sources_batch: FunctionTooLong \u2014 db::migrations::vector_retirement::fence_sources_batch runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_retirement.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f87ef5fe788485255d7dc13cd7338be066dc9d910fb511d0388e657b03b7123"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::migrations::vector_retirement::release_reservations_batch: FunctionTooLong \u2014 db::migrations::vector_retirement::release_reservations_batch runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_retirement.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e50be2a73e0b7591a2fc4b924f6539ed97ca38ab756736d0c1c531d69ee9d6c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GraphPatternOrder.schedule: MethodTooLong \u2014 schedule runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/graph_order.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8642950f73ed867215c35e332592cfea010af5ddde11e07b681854242b35a85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/check-docs.mjs: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 69 over it, 1.14\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":"docs/scripts/check-docs.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3655384625ddd9e9f2e19684903d949b60746b87b69c31d2ac29e5ce700d26"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LifecycleTestController: ClassTooLong \u2014 452 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), 15 methods. The bar is 400 significant lines; this is 52 over it, 1.13\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/db/src/index_lifecycle_testing.rs"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea01214f1ce0d64f04b908fda391bc69da0164b3896611c1f769967268ea518"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::lifecycle::create_index_operation_in_transaction_with_physical: FunctionTooLong \u2014 db::index_lifecycle::lifecycle::create_index_operation_in_transaction_with_physical runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/lifecycle.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71d3e413d6c1dc0c988b6347110b2a5cdb6277649b6e495820a85adfcc2cd13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/indexes.rs: FileTooLong \u2014 564 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 64 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/config/indexes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae16cea1d4866c6b11d91f8c920c108a68e23f899bcae725b826f9890da9fc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: queue/backlog.rs: FileTooLong \u2014 564 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 64 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/queue/backlog.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaa1ccac5ff55a6cbe0a15f867f22624d478f9af372561b61ca99bebf379b02"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NativeGraph: ClassTooLong \u2014 451 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), 43 methods, 4 blocks, lines 400-1066. The bar is 400 significant lines; this is 51 over it, 1.13\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":"bindings/uniffi/src/graph.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"977fa17be38169435b89a3ac49edf09619fd02e7801cb645f5f5128b99284e1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 563 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 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/rust/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1ec093777e4db95312d46406873712b02a1f98a2b4b51f87baf3c1005a0920"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: keys/managed_index.rs: FileTooLong \u2014 560 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 60 over it, 1.12\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/db/src/encoding/v2/keys/managed_index.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"240a537b4ec08618fc285a5d7a149f5752dae6a789ba03e1551f10aa690800e2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.edge_secondary_ids: MethodTooLong \u2014 edge_secondary_ids runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/access/secondary_set.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"6098f5098687ea147ca7c79e05e36a0ce17c8d5d696fd18064f48274ec8badbc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SecondaryIndexDriver.prepare_step: MethodTooLong \u2014 prepare_step runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"245e22d2849f48dd3c9d6ef9fb57407e2fcbb3dc924e8cc62c111f74240eb7fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_planner::exec::lowering::costing::node_secondary_set_cost: FunctionTooLong \u2014 helix_planner::exec::lowering::costing::node_secondary_set_cost runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/lowering/costing.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bcc0273c7f32eb0c39fb0a2369db5d55fd5070f252b25f4bd8df96e17c0733"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Binder: ClassTooLong \u2014 445 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), 10 methods, 2 blocks, lines 589-1186. The bar is 400 significant lines; this is 45 over it, 1.11\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/cypher/src/bind.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"190674b5b847ca04b763d92aa02a3875229547e2eb9061dea65f895219e1120e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::search::vector::cache::hydration::hydrate_active_generations: FunctionTooLong \u2014 db::search::vector::cache::hydration::hydrate_active_generations runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/cache/hydration.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ff4a080c6f5f0d83ccffaa6ce80cd5a888e475aae4d727b13dbc21716461c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rows/matches.rs: FileTooLong \u2014 551 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 91% of them inside a single declaration: ExecutionContext (82-758). The bar is 500 significant lines; this is 51 over it, 1.10\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/db/src/execution/interpreter/rows/matches.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2c2c4459f6c729de22ba90966fc11e440dc87d95d100164442343d6dfcd2c1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeGraph: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"sdks/go/graph.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"9890fdb41e97b5bd15b27902deaca1638853b3dfc2914b87b829d1921c428694"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SubTraversal: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16de503c3d6033cdecf2c0e29a97d148b20a4a542eac2edc1964911d5c886b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NodeMatch.next_batch: MethodTooLong \u2014 next_batch runs 110 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 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/correlated.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b6b07115d2fb40ed02f14edc03c6543cb94cac6e2b03849e2eb6df7d07f6ed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OperatorContract.derive: MethodTooLong \u2014 derive runs 110 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 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/contracts.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbe0609c2fa33b63664e5a8ff95d2f3633927fd5cead7d82e73ca506a15f83a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_cli::commands::cloud::project::run: FunctionTooLong \u2014 helix_cli::commands::cloud::project::run runs 109 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 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/cloud/project.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd99ba148661cb51b3c034e283a4b110a829c4831d067d6a5ac70095c568c37a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Binder.pattern: MethodTooLong \u2014 pattern runs 109 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 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/bind.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac14ae9380db648ea19dd73bdf5235327f1f9fcf60031d33c49aa4b03696b711"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SecondaryMutationRuntime.flush: MethodTooLong \u2014 flush runs 109 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 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"656728623104ebc543029e6c5d8169596a088a0a30fa0035eb413d9d1e1c6544"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HelixDB.advance_lifecycle_operation: MethodTooLong \u2014 advance_lifecycle_operation runs 109 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 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing.rs"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"6309bbc3d36e24fd41faff5a3c9cef8decdc7899091b344d9a809062f19806f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_planner::planning::envelope::write_contract::validate_write_root: FunctionTooLong \u2014 helix_planner::planning::envelope::write_contract::validate_write_root runs 109 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 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/envelope/write_contract.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1486be0119bde7092b98b4ad315a4914ed2840e54e7b645a603f2daa7d27adb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rows/mod.rs: FileTooLong \u2014 544 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 44 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/db/src/execution/interpreter/rows/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88903984cbb2dff672c92930cf59102bc73d57961143b51642a464c1edafc8f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/run_embedded_parity.py: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f816c96adbacf75d0c6495a9dcdbd7b9c7b4eb312ffbe71c5932b490da9ce1a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BoundMatch.next_batch: MethodTooLong \u2014 next_batch runs 108 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 8 over it, 1.08\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/db/src/execution/interpreter/rows/bound_match.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8c323651b1787df3d472a563a1f3bf2c0a3506fd4f956356a9bd5bedc1bc0b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Probe.members: MethodTooLong \u2014 members runs 108 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 8 over it, 1.08\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/db/src/execution/interpreter/rows/lookup.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f7f6197365a338213c194ac7fcf03227088971a8ea882af227c379c2654727"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::search::text::search_reader_candidates_with_statistics: FunctionTooLong \u2014 db::search::text::search_reader_candidates_with_statistics runs 108 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 8 over it, 1.08\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/db/src/search/text/mod.rs"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a3663b398634284b5a050c6295aa9fb2e71588087a4d3ea92b5d3f43a2d7b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rows/graph.rs: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 38 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/graph.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47617f31084faa946571767cdb450ac3adb69f095fb5f08c9441d2755ed9593"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PreparedSecondaryOperationStep.stage: MethodTooLong \u2014 stage runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f627dd8ac4255fdabeb0e6b2a92d89c57c453e85a6369fdb36b7de7b826acd6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle_testing::contracts::run_active_drop_snapshot_survival: FunctionTooLong \u2014 db::index_lifecycle_testing::contracts::run_active_drop_snapshot_survival runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3924}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb0d7bce6eca33879423a30fb0f29e40480e08ad55998c687565c097f7fac63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SearchSession.run: MethodTooLong \u2014 run runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/search.rs"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"544b52a768e0d2cee49664ec223b65dad56ea96a41c23d644868142b5880a2c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RuleApplicability: TooManyMethods \u2014 32 methods, declared across 2 files: contracts/applicability.rs (31), applicability/matching.rs (1). The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/contracts/applicability.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d2f7441befd8e96ce60320641dbc8e8e393251281c2775b4838bc896e8d41a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cloud/resolve.rs: FileTooLong \u2014 531 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 64% of them inside a single declaration: Scope (2 blocks, 298-810). The bar is 500 significant lines; this is 31 over it, 1.06\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/cli/src/cloud/resolve.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ce4dc77e1cefec54b0df95ca98b0803bcbb31edfd500f0d7fb03867a57836b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Step: ClassTooLong \u2014 423 significant lines (blank, comment-only and punctuation-only lines excluded), 90 methods. The bar is 400 significant lines; this is 23 over it, 1.06\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":"sdks/typescript/src/dsl.ts"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fd4ce69642631570a133f5d28a45c8f16b902f189a1003df48a11e76712b78"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorKey.parse_from_slice: MethodTooLong \u2014 parse_from_slice runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/mod.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e74d16bc0a2bfe20556667df7f33b04fa1c258b60a7ba7e0f4febf0fe76ace"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle_testing::contracts::run_active_vector_drop_snapshot_survival: FunctionTooLong \u2014 db::index_lifecycle_testing::contracts::run_active_vector_drop_snapshot_survival runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":4051}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8805961219a0f3db68d2039e83dab83ca235434e3d99711afef2829015462f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_cli::main: FunctionTooLong \u2014 helix_cli::main runs 104 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 4 over it, 1.04\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/cli/src/main.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"810ac44bf588b35e19f95e1e3416dff3cddcce97eb0422bc2ed488b0c9915941"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle::secondary::reconciliation_plan_from_observations: FunctionTooLong \u2014 db::index_lifecycle::secondary::reconciliation_plan_from_observations runs 104 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 4 over it, 1.04\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":3835}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bbe5d2cbccd7a96fca8171d0398119744be94b12c5d44aff6601181178e2e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutableDagBuilder.push_classified_selected_executable_alternative: MethodTooLong \u2014 push_classified_selected_executable_alternative runs 104 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 4 over it, 1.04\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/planner/src/exec/selected/lowering/alternative/dispatch.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b631c646fd8b593b0becc6997af977c2f320f7bb5cac12aa1f6fbf89664b5bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config.rs: FileTooLong \u2014 519 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 19 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/server/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a044535db69552754252b19bce6d86b52303020d43f1d96dd4b0c8cd4523ab6a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeGraph: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"sdks/python/src/helixdb/graph.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a966d2a38912db5433608532be3b477fd8b232771ff6eed4f708211cba8217"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SubTraversal: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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/ast/src/traversal.rs"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e117501d241a796aa2d0be2d82372484176343c97728af448b34157fb4640a03"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_ast::testing::variants::every_variant: FunctionTooLong \u2014 helix_ast::testing::variants::every_variant runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/testing/variants.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa643c413453c5ae700373a6ac30fc26c6ccf15780f8978689d9b4d5e4ab033"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_cypher::bind::aggregation::split_projection_with: FunctionTooLong \u2014 helix_cypher::bind::aggregation::split_projection_with runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/bind/aggregation.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"06500bd4418b8a5cba5897e0b0cdcbfc218e78cf642b82efc47db2b2444baa81"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: db::index_lifecycle_testing::contracts::run_concurrent_create_convergence: FunctionTooLong \u2014 db::index_lifecycle_testing::contracts::run_concurrent_create_convergence runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"449d13c9800a9b976296b94fcecb36f6c08c057034e5511c3f8d4560239eb612"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Accumulator.push_with_admission: MethodTooLong \u2014 push_with_admission runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/relational/aggregation.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7991c396bf1fad602a9bb27ad0acb2c5c5088311c7804f78c98e9418b76e442f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: access/secondary_set.rs: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: ExecutionContext (197-815). The bar is 500 significant lines; this is 13 over it, 1.03\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/db/src/execution/interpreter/access/secondary_set.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd01818bfbbd36440f0f12f88438d3395cdbb0071512623e3200fe287df49959"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mutation/presearch.rs: FileTooLong \u2014 511 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 11 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/db/src/search/vector/hnsw/mutation/presearch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32723550946b8e3dc8b565aa7bef926399616f9754ff3c3fa96d8f26604d0d66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionContext.execute_branch_with_context: MethodTooLong \u2014 execute_branch_with_context runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/control/branch.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a3cded620c86c41ce1bea0826857765a972b5bb8d323d84e035c59c3d0d556"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextDocumentFootprint.measure: MethodTooLong \u2014 measure runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/active_batch.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbee140f53b9dbaa20f02eacdb5f1061b812829c332133e7a6711b2996c50034"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_planner::rules::cardinality::node_equality_count: FunctionTooLong \u2014 helix_planner::rules::cardinality::node_equality_count runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/cardinality.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"059a1d450aaa004f8be5294463ddbaa297a4020263ef4203fd93cb8a1b511fd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helix_cli::commands::add::run: FunctionTooLong \u2014 helix_cli::commands::add::run runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/add.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f035292f86f7e22da3f97a2f4555f6eb4b63e416808e34eb292077d9b7bff4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SimHasherRegistry.get: MethodTooLong \u2014 get runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/simhash/registry.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"754f42128c344667ed75d9cb1c21d5ed6fc791ed470d33f873bf8b796d52e8cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: text/compaction.rs: FileTooLong \u2014 501 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 1 over it, 1.00\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/db/src/search/text/compaction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7a8822573caee35676237b7b5a9c3901e6ea33d4a921d5a562af68bc6afc24"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 28 shared lines): crates/db/src/migrations/vector_properties.rs:145-301 | crates/db/src/migrations/vector_retirement.rs:253-404 | crates/db/src/migrations/vector_retirement.rs:413-531 | crates/db/src/migrations/vector_retirement.rs:539-665 | crates/db/src/migrations/vector_retirement.rs:674-776 | crates/db/src/migrations/vector_retirement.rs:785-935 \u2014 These 6 members are variants of one another: a block of 28 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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/db/src/migrations/vector_properties.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2523698540830764c905774df0f6e9e084fec209e6c0c5f80d1833200d86ea88"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 36 shared lines): crates/db/src/migrations/vector_retirement.rs:253-404 | crates/db/src/migrations/vector_retirement.rs:413-531 | crates/db/src/migrations/vector_retirement.rs:539-665 | crates/db/src/migrations/vector_retirement.rs:785-935 \u2014 These 4 members are variants of one another: a block of 36 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec59e0e7e90c68c7abf1f0725fa13b0ebb11faa7071ac6feb60661c5e8ede9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 34 shared lines): crates/db/src/migrations/vector_retirement.rs:253-404 | crates/db/src/migrations/vector_retirement.rs:539-665 | crates/db/src/migrations/vector_retirement.rs:674-776 | crates/db/src/migrations/vector_retirement.rs:785-935 \u2014 These 4 members are variants of one another: a block of 34 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2a72715f6605d28cbfaa2b906b8342eb74bfe2778cd445a953fa10f386d20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 33 shared lines): crates/db/src/index_lifecycle/text/validation.rs:245-495 | crates/db/src/index_lifecycle/text/validation.rs:505-690 | crates/db/src/index_lifecycle/text/validation.rs:699-939 \u2014 These 3 members are variants of one another: a block of 33 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe650182e354dd00586e61b6ca7e45a9546d3420298a9e7e81427815621d4ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (67 shared lines): crates/ast/src/testing/variants.rs:653-744 | crates/planner/src/planning/envelope/root_kind.rs:12-98 \u2014 These two members are variants of one another: 67 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/testing/variants.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c2d8a952fa7ab33b5d378f5a8972f2ee01af75979a5f865ae3a300c9bca1aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (66 shared lines): crates/planner/src/exec/lowering/costing.rs:258-404 | crates/planner/src/exec/lowering/costing.rs:409-528 \u2014 These two members are variants of one another: 66 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/lowering/costing.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf17a02dfc1b308b42af58c4dedd6fc0a535a73251925adb27480be11a1b1d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (62 shared lines): crates/db/src/index_lifecycle/queue/publication.rs:1099-1363 | crates/db/src/index_lifecycle/queue/publication.rs:1693-1875 \u2014 These two members are variants of one another: 62 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/queue/publication.rs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65c6214e89525a44ed7ff7c8c00443d1a8cc956d93d57558d35efe974a2dcff"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (60 shared lines): crates/db/src/index_lifecycle_testing.rs:1161-1273 | crates/db/src/index_lifecycle_testing.rs:1287-1458 \u2014 These two members are variants of one another: 60 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing.rs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c21cfcd63f0b608c77aa3eeeddfb1c6328fe8353880e4bd22cd71623285443"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): crates/db/src/execution/interpreter/access/indexes.rs:289-357 | crates/db/src/execution/interpreter/access/indexes.rs:366-434 \u2014 These two members are variants of one another: 52 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/access/indexes.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"7deba06537f7e279f6a3b42e65ea0e26b566a1a885c458b1d116ca1da621083b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): crates/planner/src/rules/cardinality.rs:1465-1536 | crates/planner/src/rules/cardinality.rs:1542-1613 \u2014 These two members are variants of one another: 44 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/cardinality.rs"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"a974d41f33dfae1b3595c6a60e7b6b14a3e772908f229525b12a45645c9bba60"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): crates/db/src/execution/interpreter/count.rs:2273-2325 | crates/planner/src/rules/cardinality.rs:2138-2193 \u2014 These two members are variants of one another: 44 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/count.rs"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06f411ceab57aed008a75150f4c9b37f0112dd2800d8aee03db5b680bb69a25"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (34 shared lines): crates/db/src/search/mod.rs:1563-1603 | crates/db/src/search/mod.rs:1633-1673 \u2014 These two members are variants of one another: 34 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbb35be0da45eece9b2be420f22baa1a97f48f4a635f719dcaac45b79557766"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (27 shared lines): crates/planner/src/exec/access/edge.rs:278-324 | crates/planner/src/exec/access/node.rs:427-488 \u2014 These two members are variants of one another: 27 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/access/edge.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"993f028360b8fde37b11ea04e4bafd74e71e07e2917b4233893f546833e2e16f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): crates/db/src/encoding/v2/keys/graph.rs:30-57 | crates/db/src/encoding/v2/keys/graph.rs:101-128 | crates/db/src/encoding/v2/keys/graph.rs:172-202 | crates/db/src/encoding/v2/keys/graph.rs:252-279 | crates/db/src/encoding/v2/keys/graph.rs:322-349 | crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:103-182 | crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:249-293 | crates/db/src/encoding/v2/keys/indexes/equality/node.rs:58-107 | crates/db/src/encoding/v2/keys/indexes/label.rs:39-79 | crates/db/src/encoding/v2/keys/indexes/label.rs:142-195 | crates/db/src/encoding/v2/legacy/edge_property_pair.rs:25-53 \u2014 These 11 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/graph.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"786ad3f995c92d9d0f3d6fbd41e9d631b73ce67bb4faab41368a2304978d2254"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/db/src/search/vector/spaces/simple_avx.rs:21-73 | crates/db/src/search/vector/spaces/simple_avx.rs:76-130 | crates/db/src/search/vector/spaces/simple_avx.rs:134-186 | crates/db/src/search/vector/spaces/simple_avx.rs:190-244 | crates/db/src/search/vector/spaces/simple_neon.rs:12-54 | crates/db/src/search/vector/spaces/simple_neon.rs:58-91 | crates/db/src/search/vector/spaces/simple_sse.rs:19-68 | crates/db/src/search/vector/spaces/simple_sse.rs:71-125 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/spaces/simple_avx.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12b2a66e6649c73d19370bd130b3b4f9dd529d0be6bc9525302a9d3178e1b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/planner/src/exec/lowering/contracts/access/cardinality.rs:72-89 | crates/planner/src/exec/selected/lowering/contracts/matching/access/source/node.rs:17-94 | crates/planner/src/rules/access/sets/canonical/node.rs:8-27 | crates/planner/src/rules/access/sets/canonical/node.rs:60-77 | crates/planner/src/rules/access/sets/canonical/node.rs:81-98 | crates/planner/src/rules/cardinality.rs:1246-1305 | crates/planner/src/rules/physical_contracts/access/source/node.rs:12-38 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/lowering/contracts/access/cardinality.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f292cb3265137b03eb502961c206c2b2a13362f04d6d9036194f84ae9458a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs:168-207 | crates/db/src/encoding/v2/keys/indexes/vector/layer0.rs:17-56 | crates/db/src/encoding/v2/keys/indexes/vector/reverse_edges.rs:20-59 | crates/db/src/encoding/v2/keys/indexes/vector/reverse_edges.rs:106-157 | crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs:162-201 | crates/db/src/encoding/v2/keys/indexes/vector/upper_layers.rs:106-145 \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/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aea29059dcbc0b6fcf0de99970e50dff7153cd6a2c7ba3a91b3c54b466045fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/planner/src/exec/lowering/contracts/access/cardinality.rs:91-108 | crates/planner/src/exec/selected/lowering/contracts/matching/access/source/edge.rs:17-94 | crates/planner/src/rules/access/sets/canonical/edge.rs:8-27 | crates/planner/src/rules/access/sets/canonical/edge.rs:60-77 | crates/planner/src/rules/access/sets/canonical/edge.rs:81-98 | crates/planner/src/rules/physical_contracts/access/source/edge.rs:12-38 \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/planner/src/exec/lowering/contracts/access/cardinality.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d5f0fc64ed3fe51e5512c9ce790321e39d95addd940e9e8aa5db5866bfb7cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/ast/src/nesting.rs:26-133 | crates/db/src/execution/interpreter/stream/filter.rs:319-357 | crates/planner/src/cost/profile/residual.rs:71-119 | crates/planner/src/diagnostics/analyze.rs:1272-1317 | crates/planner/src/ir/expr/validation.rs:34-84 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/nesting.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce64b908c66b4b3798d84dcfefd3d00daedaec28720cdbbad9d8b928b016797f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/ast/src/nesting.rs:136-356 | crates/planner/src/planning/envelope/write_contract.rs:22-142 | crates/planner/src/planning/selected/native/context_usage.rs:21-152 | crates/planner/src/planning/selected/native/context_usage.rs:214-370 \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/ast/src/nesting.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7974aa30f2e11adec19ac7f6688feae2e4ebf7b3f022672f1a83bbd6b0e8f11c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/db/src/execution/interpreter/mutation/edge.rs:264-296 | crates/db/src/execution/interpreter/mutation/edge.rs:323-360 | crates/db/src/execution/interpreter/mutation/node.rs:160-237 | crates/db/src/execution/interpreter/mutation/node.rs:275-314 \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/db/src/execution/interpreter/mutation/edge.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a266633a30d87c6ac4a41cd7e319f3d142552567ef56d2eb0bd77fcde8e923f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/db/src/index_lifecycle/scope_gate.rs:301-313 | crates/db/src/index_lifecycle/scope_gate.rs:315-327 | crates/db/src/index_lifecycle/scope_gate.rs:338-350 | crates/db/src/index_lifecycle/scope_gate.rs:352-364 \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/db/src/index_lifecycle/scope_gate.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cebf132f2ab0378451a35ab9535df60b0e04dd9f8dd4187f8c3e2dfde46e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/db/src/search/mod.rs:1216-1228 | crates/db/src/search/mod.rs:1244-1257 | crates/db/src/search/mod.rs:1289-1299 | crates/db/src/search/mod.rs:1353-1364 \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/db/src/search/mod.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8f6d4a3121eff2f7b739197c943add9e9642afc6110effda8bab19b686342e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/planner/src/rules/access/sets/equality_range/intersection/mod.rs:12-21 | crates/planner/src/rules/access/sets/equality_range/range_union/mod.rs:12-21 | crates/planner/src/rules/access/sets/range/mod.rs:11-20 | crates/planner/src/rules/access/sets/subsumption/mod.rs:16-25 \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/planner/src/rules/access/sets/equality_range/intersection/mod.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb93759209b3674741e0402dee47d12a65fcdf0720d5ba3565b77b40f3eccf0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sdks/python/scripts/run_embedded_parity.py:294-314 | sdks/python/scripts/run_embedded_parity.py:325-347 | sdks/python/scripts/run_server_parity.py:403-417 | sdks/python/scripts/run_server_parity.py:421-435 \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":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b00ede4b7a4870935d96f8b5a3fa58efd0d4d15cb7dad0a2e3bae09617e18dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (132 corresponding lines): crates/db/src/execution/interpreter/access/secondary_set.rs:515-676 | crates/db/src/execution/interpreter/access/secondary_set.rs:683-814 \u2014 These two members are one piece of code written twice and then edited apart: 132 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/db/src/execution/interpreter/access/secondary_set.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d824d74ef1e095d2edc2c8d15eaccbc11e2967497ef4c1a4441c71d4ea593b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (111 corresponding lines): crates/planner/src/rules/cardinality.rs:424-534 | crates/planner/src/rules/cardinality.rs:540-650 \u2014 These two members are one piece of code written twice and then edited apart: 111 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/planner/src/rules/cardinality.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74299e2a59cda1e657b589360d78f72418b7d5875b124d81d410e3b2795ae32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): crates/planner/src/relational/expression.rs:362-439 | crates/planner/src/relational/expression.rs:571-638 \u2014 These two members are one piece of code written twice and then edited apart: 68 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/planner/src/relational/expression.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b447e28e0d2d6b9f340846823e87b35f016a54b5aa5a461b31561e7a4ade2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): crates/planner/src/rules/physical_contracts/access/source/edge.rs:57-126 | crates/planner/src/rules/physical_contracts/access/source/node.rs:57-129 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/physical_contracts/access/source/edge.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"864e38c5626ae25ae530f8e98e4099c58874c6a2c4952d1bd37e067651407083"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): crates/db/src/encoding/v2/keys/indexes/range/edge.rs:128-243 | crates/db/src/encoding/v2/keys/indexes/range/edge.rs:341-417 \u2014 These two members are one piece of code written twice and then edited apart: 77 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/db/src/encoding/v2/keys/indexes/range/edge.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5090b71b91cd7f156228a21b7dd48cb2aa06358d56dc19e66b98df5b304c4e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 81\u002B corresponding lines): crates/db/src/search/mod.rs:1031-1111 | crates/db/src/search/mod.rs:2412-2522 | crates/db/src/search/mod.rs:2544-2732 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 81 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/db/src/search/mod.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c5d597ff4a2e238cfa90890920800e7eaa721361c8d5c2c67a3630a268a984"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): crates/planner/src/diagnostics/analyze.rs:438-507 | crates/planner/src/diagnostics/analyze.rs:509-569 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/diagnostics/analyze.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8abf72f6fe85838376253c48810f185b78c13bcee4291fd88ef930fcbf89582"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): crates/planner/src/exec/lowering/costing.rs:35-87 | crates/planner/src/exec/lowering/costing.rs:92-144 \u2014 These two members are one piece of code written twice and then edited apart: 53 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/planner/src/exec/lowering/costing.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf3d94649b825e2f15e18720160c603f64fdb6a90b81dfa9b46de01bddd7814"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): crates/db/src/migrations/vector_simhash_directory.rs:538-610 | crates/db/src/migrations/vector_simhash_directory.rs:743-825 \u2014 These two members are one piece of code written twice and then edited apart: 73 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/db/src/migrations/vector_simhash_directory.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"c652f4a2597535b4bdb877b693f1ebb27caf93011e5993245d0741a619408ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): crates/db/src/search/vector/hnsw/mutation/mod.rs:608-657 | crates/db/src/search/vector/hnsw/mutation/mod.rs:668-728 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"c919c898d55c4656d56d8ef60515a335228f66e3a3ca8be51ccf95e0bc4d5281"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): crates/planner/src/rules/access/pipeline/mod.rs:71-126 | crates/planner/src/rules/root/stream_access.rs:41-111 \u2014 These two members are one piece of code written twice and then edited apart: 56 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/planner/src/rules/access/pipeline/mod.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"842f7e6ada4072d28362ba8b8efe503c80e2c004a0f6f7df886594817eceafc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): crates/db/src/execution/interpreter/count.rs:802-855 | crates/db/src/execution/interpreter/count.rs:863-916 \u2014 These two members are one piece of code written twice and then edited apart: 54 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/db/src/execution/interpreter/count.rs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"679627797031ad825750a6ed03ef86d4494776b4640b209178e93f869ddc6436"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): crates/db/src/index_lifecycle/secondary.rs:3211-3277 | crates/db/src/index_lifecycle/vector/driver.rs:1913-1970 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a06f286b880a1c320ff30fe4a795cbe3d66d704fc5d799ddb3fd227f2c63f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): crates/planner/src/exec/lowering/secondary_set.rs:244-302 | crates/planner/src/exec/lowering/secondary_set.rs:306-364 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/lowering/secondary_set.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e7d4087e722f62763b10302c60d6b6504fca693d8b3e332b50af1b3ed960ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/db/src/execution/interpreter/count.rs:635-688 | crates/db/src/execution/interpreter/count.rs:694-738 \u2014 These two members are one piece of code written twice and then edited apart: 45 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/db/src/execution/interpreter/count.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e386f23cbcfad98f82faf55bc1c1b6d4971f7943e13c2afb11182f9f8c4d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): crates/db/src/execution/interpreter/storage.rs:205-258 | crates/db/src/execution/interpreter/storage.rs:272-325 \u2014 These two members are one piece of code written twice and then edited apart: 54 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/db/src/execution/interpreter/storage.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"55edac75369f7e3539abf175e57605a796f73bbfd43ce46898245fc8d42ffe74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/db/src/encoding/v2/values/property/property_value.rs:202-227 | crates/planner/src/analysis/scalar/values.rs:158-193 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/property/property_value.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6302d2a71e1d199b7c17ff54f63259b112025adec7c70ae22b2b46e4bbebfae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (95 corresponding lines): crates/server/src/diagnostics/mod.rs:345-439 | crates/server/src/diagnostics/mod.rs:558-656 \u2014 These two members are one piece of code written twice and then edited apart: 95 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/server/src/diagnostics/mod.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"9052ae7f1c0e36dbc39f29cb94cb5d4ba9b540919d74c709e3d207526a6ee067"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): crates/planner/src/exec/lowering/secondary_set.rs:10-53 | crates/planner/src/exec/lowering/secondary_set.rs:57-100 \u2014 These two members are one piece of code written twice and then edited apart: 44 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/planner/src/exec/lowering/secondary_set.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec3b58d7a7e2a1f388d7c6b303a7f45e8ab874650f7037ce64ce4ad69d9bbfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): crates/planner/src/exec/count.rs:1234-1287 | crates/planner/src/exec/count.rs:1301-1352 \u2014 These two members are one piece of code written twice and then edited apart: 52 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/planner/src/exec/count.rs"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c79cea2a12eb817080c2e2bc9beda2cc89385eb6e60cea4008a9324aa97f581"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): crates/planner/src/exec/selected/lowering/access/leaf.rs:31-92 | crates/planner/src/exec/selected/lowering/access/leaf.rs:120-181 \u2014 These two members are one piece of code written twice and then edited apart: 62 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/planner/src/exec/selected/lowering/access/leaf.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"60350cc4b182dff80cfc75a9665a234e5a6a9962276964b310815147f80f173b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:64-107 | crates/planner/src/rules/access/sets/equality_range/intersection/node.rs:64-107 \u2014 These two members are one piece of code written twice and then edited apart: 44 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/planner/src/rules/access/sets/equality_range/intersection/edge.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a001eb424ce0256a0c5773c11f780b5b2cb9856c4e52173218e97b75b9107e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/planner/src/rules/cardinality.rs:1702-1739 | crates/planner/src/rules/cardinality.rs:1745-1782 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/cardinality.rs"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9a35ec89561e8b94889f29439f97a5281fc77bdf0954b6570020d3e67f158e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/planner/src/rules/access/order/satisfaction.rs:61-96 | crates/planner/src/rules/access/order/satisfaction.rs:101-136 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/order/satisfaction.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a6de6712c243711ff3d7644ac4127d731e564949b76b001feb61a5b97bbf37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/graph-algorithms/src/algorithms/centrality.rs:148-189 | crates/graph-algorithms/src/algorithms/centrality.rs:195-241 \u2014 These two members are one piece of code written twice and then edited apart: 42 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/graph-algorithms/src/algorithms/centrality.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bf7c8b764c73851d7c04ce128e1d7b2d4698b9e713837131ce578893c2725f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/db/src/search/vector/cache/store.rs:352-400 | crates/db/src/search/vector/cache/store.rs:415-457 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/cache/store.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a6dfec1c01560189fbd58ff6420481516e8dffc01b72521554837bde03d67c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): crates/db/src/index_lifecycle_testing/contracts.rs:4224-4298 | crates/db/src/index_lifecycle_testing/contracts.rs:4324-4388 \u2014 These two members are one piece of code written twice and then edited apart: 65 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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":4224}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e9c0df5ba21e974593c2bb3d5052f389a95e0f0bf64491580b193d721cf0ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): sdks/python/src/helixdb/dsl.py:3753-3789 | sdks/python/src/helixdb/dsl.py:3902-3936 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":3753}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b3f02b4de72f49af4b74147e32b452fbec6f89f8301afe627448cc1203449c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/planner/src/planning/selected/native/pipeline/ops/bounds.rs:11-55 | crates/planner/src/planning/selected/native/pipeline/ops/variable.rs:11-60 \u2014 These two members are one piece of code written twice and then edited apart: 45 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/planner/src/planning/selected/native/pipeline/ops/bounds.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cd0ed2476aa8bd26de1fb9e78f76d147e41e9dc8941f20bf4267844ce17994"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): crates/db/src/index_lifecycle/repository.rs:183-236 | crates/db/src/migrations/startup/bootstrap.rs:330-377 \u2014 These two members are one piece of code written twice and then edited apart: 48 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/db/src/index_lifecycle/repository.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5a58b0dfbc6a6f0297a995e525cc2a3de430bbce54c1a12fab3aa10c3da3ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/planner/src/rules/cardinality.rs:1788-1816 | crates/planner/src/rules/cardinality.rs:1822-1850 \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/planner/src/rules/cardinality.rs"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3029107c194a62273e10e08b690a16856589251a14586dbe65456ac79221a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): crates/db/src/execution/interpreter/access/restricted_text.rs:85-142 | crates/db/src/execution/interpreter/access/restricted_vector.rs:71-125 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/access/restricted_text.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45e7531b98b695d0429924815a76f0b52ff8915eec41f8e6f01b4742651aa95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): crates/db/src/search/vector/hnsw/mutation/mod.rs:1156-1211 | crates/db/src/search/vector/hnsw/search.rs:175-224 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59c5197a4f23ee1df5c5a4edbff042078c4b598e967a2972944ff36de0815a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:29-60 | crates/planner/src/rules/access/sets/equality_range/intersection/node.rs:29-60 \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/planner/src/rules/access/sets/equality_range/intersection/edge.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"336d4d605a3498db1dd5149fe7efe4b32f6bb624fa6d5c30333605fb485f85ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs:82-129 | crates/db/src/encoding/v2/keys/indexes/vector/upper_layers.rs:22-67 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f5f076d4dcd688e42233ec1ea6542455ce9e208686344f4a9db566e8c86547"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): crates/db/src/index_lifecycle_testing/contracts/all_index_validation.rs:551-601 | crates/db/src/index_lifecycle_testing/contracts/all_index_validation.rs:609-673 \u2014 These two members are one piece of code written twice and then edited apart: 51 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/db/src/index_lifecycle_testing/contracts/all_index_validation.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f755a30f637a3479311fe27550b194cd4400cc7a137289d8c159adc9e373912c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/db/src/search/mod.rs:993-1024 | crates/db/src/search/mod.rs:2373-2405 \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/db/src/search/mod.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"002eaa850192a0fe0e6a37708e34439e06590f2b1a85610252111962bbe91e68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/planner/src/exec/lowering/contracts/access/cardinality.rs:5-41 | crates/planner/src/ir/access/node/analysis.rs:7-47 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/lowering/contracts/access/cardinality.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a92d788aeca9924f5da6d7e8e4f3b2e8d846a140fb312a32928eed72416d199"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/planner/src/diagnostics/analyze.rs:1137-1162 | crates/planner/src/diagnostics/analyze.rs:1164-1187 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/diagnostics/analyze.rs"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9694b00d6b0e84cbeeee95e2e1d4d5079f5201a773e73a211c29aebceda7c9a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 31\u002B corresponding lines): crates/db/src/search/vector/spaces/simple_avx.rs:252-285 | crates/db/src/search/vector/spaces/simple_avx.rs:290-323 | crates/db/src/search/vector/spaces/simple_neon.rs:97-128 | crates/db/src/search/vector/spaces/simple_sse.rs:134-164 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 31 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/db/src/search/vector/spaces/simple_avx.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"b105165e07199bdefe2dd2fc9eec3517d8417e6d0a2cbb0d293c8da1e071b99c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/db/src/execution/interpreter/control/foreach.rs:140-177 | crates/db/src/execution/interpreter/control/foreach.rs:182-213 \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/db/src/execution/interpreter/control/foreach.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dea2b00a290230b495c731e87a64b861958f2e6755ab310fdefbf3b7bf3b0f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/db/src/execution/interpreter/access/membership.rs:104-139 | crates/planner/src/analysis/index_atoms/equality.rs:134-168 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/access/membership.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"610647653db6b1a8e42009389ad001c9408417bd4d154f5738380110b7ca535a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/db/src/execution/interpreter/storage.rs:332-358 | crates/db/src/execution/interpreter/storage.rs:364-390 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/storage.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"af38415b22a274f55d503c67c565df8f3083376974470334cf967b171ef0fc25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): sdks/rust/src/lib.rs:433-461 | sdks/rust/src/lib.rs:466-493 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/rust/src/lib.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3783143913ef96f7205025887456cd6d02da3f1f7e01f918e1a528fa5bc3412"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/planner/src/analysis/index_atoms/equality.rs:32-61 | crates/planner/src/analysis/labels.rs:121-152 \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/planner/src/analysis/index_atoms/equality.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddbe377be8660b2b24c094916ebb4b15d3269e352f4e616a2de00a2f7bbedd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/planner/src/rules/access/order/direction/edge.rs:10-40 | crates/planner/src/rules/access/order/direction/node.rs:10-40 \u2014 These two members are one piece of code written twice and then edited apart: 31 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/planner/src/rules/access/order/direction/edge.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e2db5d5f8dac24f0ad24cb7926204b8c86202becbf8fe5f24a39f6e82f07b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/planner/src/ir/access/edge/analysis.rs:75-106 | crates/planner/src/ir/access/node/analysis.rs:84-115 \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/planner/src/ir/access/edge/analysis.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb38f8d9db12e1cf6f16ad5ddf39ccf6db2aca6175fa9030e8da54e86231a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/planner/src/exec/lowering/contracts/access/cardinality.rs:43-70 | crates/planner/src/ir/access/edge/analysis.rs:7-38 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/lowering/contracts/access/cardinality.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"59351c823abfa63ed6ddc570dac56b1f1d5bc176682ad36025c63ccc618fbc1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/planner/src/exec/lowering/costing.rs:202-225 | crates/planner/src/exec/lowering/costing.rs:230-253 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/lowering/costing.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8595fa8a5398b8ffbca5ae8420463244311eae3d4579eae691f86003737d5c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/planner/src/planning/index_ddl/create.rs:17-60 | crates/planner/src/planning/index_ddl/drop.rs:15-46 \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/planner/src/planning/index_ddl/create.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e9314a458d69d8f65b8875e3ed61af9e712260c6609e2886bc7fd4097fccc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): crates/db/src/encoding/v2/keys/indexes/vector/metadata.rs:27-65 | crates/db/src/encoding/v2/keys/indexes/vector/storage_prefixes.rs:120-152 | crates/db/src/encoding/v2/legacy/vector/transaction_guard.rs:27-63 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 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/db/src/encoding/v2/keys/indexes/vector/metadata.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d86f893d4041e371bf489d849fede10aa4165ebd15d51513d7741e784eac634"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/db/src/search/vector/storage/mod.rs:577-609 | crates/db/src/search/vector/storage/mod.rs:614-644 \u2014 These two members are one piece of code written twice and then edited apart: 31 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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d3f6a0021dfa55194cf76b71ebcb4be4c9f111bca2b7fb00a7a859f6a38e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/db/src/execution/interpreter/pull/count.rs:33-59 | crates/db/src/execution/interpreter/pull/count.rs:65-91 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/pull/count.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"83944174d2888dcd7d2b8ffb5bd016e31dd191d351a08e59c8c9b892dc7626ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/planner/src/ir/input/search/text.rs:55-86 | crates/planner/src/ir/input/search/vector.rs:160-191 \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/planner/src/ir/input/search/text.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a169ac600cf94c01594219aedbd34adbcf98fc9b64890cbb133b9d0f3da6dd04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/db/src/encoding/v2/values/lifecycle/entity_state.rs:34-66 | crates/db/src/encoding/v2/values/lifecycle/entity_state.rs:94-122 \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/db/src/encoding/v2/values/lifecycle/entity_state.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d631f87830a95a3e2b21cd1675d369791e9c6da135286232435830451c8ccbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 41\u002B corresponding lines): crates/db/src/execution/interpreter/access/indexes.rs:439-485 | crates/db/src/execution/interpreter/access/indexes.rs:539-589 | crates/db/src/execution/interpreter/access/indexes.rs:595-645 | crates/db/src/execution/interpreter/access/indexes.rs:651-705 | crates/db/src/execution/interpreter/access/indexes.rs:710-750 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 41 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/db/src/execution/interpreter/access/indexes.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"3483c2df0c3f83ce196f9a412272dacac363180abca3d8d58096dafc6bebd4c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/db/src/index_lifecycle/secondary.rs:2680-2701 | crates/db/src/index_lifecycle/secondary.rs:2755-2788 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2680}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d352034e0056d2038b6060a8a60664138607dab6022b82db3ec3095cb3b784"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/planner/src/rules/cardinality.rs:1185-1210 | crates/planner/src/rules/cardinality.rs:1216-1241 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/cardinality.rs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab57dab0972a65458078284a05e5686f7ea0365c9dc8487bc01dd6729cfdb31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/planner/src/ir/access/edge/analysis.rs:108-135 | crates/planner/src/ir/access/node/analysis.rs:117-144 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/access/edge/analysis.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba8ef8fca7c80abf16ff5b1c55883de3349c6e6d83daf8257b4c3d05bc661e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/db/src/search/text/mod.rs:1531-1550 | crates/db/src/search/text/mod.rs:1556-1576 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/text/mod.rs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3964a4e14a0ef1e7a221b428d5b300e955ec52514212d526b6de617b19a8be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/planner/src/cost/profile/residual.rs:44-69 | crates/planner/src/diagnostics/analyze.rs:1322-1350 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/cost/profile/residual.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48c8a8bf6515b5b37fe3ce882dd33e36d8ec9e309209d45c629ac2e3d620fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/db/src/encoding/v2/values/indexes/equality/mod.rs:287-313 | crates/db/src/encoding/v2/values/indexes/range.rs:62-88 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/indexes/equality/mod.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff6969194a48dcf672d893dc31834e94d2cef602be5be57e8a1aaaedce84b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/db/src/merge_operator.rs:331-350 | crates/db/src/merge_operator.rs:357-380 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/merge_operator.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c53850461ad3042cebe8054731d69bbcd2c267dcf44cc816135f8d3eaf31d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): crates/db/src/search/vector/spaces/simple.rs:117-141 | crates/db/src/search/vector/spaces/simple.rs:152-174 | crates/db/src/search/vector/spaces/simple.rs:202-226 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/spaces/simple.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"425e7a140c77a49db65b887c4a9a637e2d0dd5fcdd59e98aa12e697b67cce103"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/db/src/execution/interpreter/pull/count.rs:427-450 | crates/db/src/execution/interpreter/pull/count.rs:457-481 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/pull/count.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb5bee3bb917d052162715969c2340c81a8f9dc8fcbf9178670c1f68b40783c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): crates/db/src/execution/interpreter/access/search/generation.rs:239-289 | crates/db/src/execution/interpreter/access/search/storage.rs:271-326 \u2014 These two members are one piece of code written twice and then edited apart: 51 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/db/src/execution/interpreter/access/search/generation.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7697155b82d8b36582c1ea8c314aa9f06dc6539226aece62f014a4db818268"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/db/src/search/vector/cache/registry.rs:1057-1083 | crates/db/src/search/vector/cache/registry.rs:1094-1118 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/cache/registry.rs"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2af5d33e4633e93cd2a9a3f79cf3e6a45e4d6f8f1424b4ae37d494f6e213506"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/planner/src/rules/cardinality.rs:1359-1384 | crates/planner/src/rules/cardinality.rs:1386-1411 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/cardinality.rs"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"036ea83bc1fecda8547f19d56d0e22e01652bc421719902214803cd6e3380cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): bindings/uniffi/src/graph.rs:905-930 | bindings/uniffi/src/graph.rs:940-968 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/uniffi/src/graph.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5c52bcd398fdf40fcc4da2ac112b843a242e6ba54cd2ef7306d761a4dae718"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): crates/db/src/index_lifecycle/secondary.rs:5195-5219 | crates/db/src/index_lifecycle/text/driver.rs:2955-2977 | crates/db/src/index_lifecycle/vector/driver.rs:4251-4273 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":5195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4309577bb340f6add42c617f8a81845518e7b92165f9bb5c67d5eb7163e55221"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/planner/src/rules/access/filter/rules.rs:62-81 | crates/planner/src/rules/access/pipeline/filter.rs:28-51 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/filter/rules.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2471de187f8bbc8c97d18f9431c67758056cdb6f8bdf82cc166997b5b04f9722"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): sdks/python/scripts/cypher_parity.py:33-51 | sdks/python/scripts/cypher_parity.py:55-73 \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":"sdks/python/scripts/cypher_parity.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0af803019c329e088e96f66cbbdb36259448cd51d30103e593cc9985fdbe733"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/db/src/index_lifecycle/public.rs:424-445 | crates/db/src/index_lifecycle/public.rs:450-477 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/public.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7530769ebb4412865f3cb6ebe7d4674b03507543c97422d380411fb2e47984"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/db/src/search/mod.rs:2061-2101 | crates/db/src/search/mod.rs:2157-2197 \u2014 These two members are one piece of code written twice and then edited apart: 41 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/db/src/search/mod.rs"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a2d6f2438479678fecac997df8f117a6e7b6eaefddfb42e4ddd4ccf2a62737"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/db/src/index_lifecycle_testing/contracts.rs:3286-3309 | crates/db/src/index_lifecycle_testing/contracts.rs:3318-3341 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3286}}}],"partialFingerprints":{"codehealthFindingId/v1":"65da74ab1771eed866ba0b9a31222331c85a6f0edba6c2ad80a425941ad7a4c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/planner/src/ir/index/range/value.rs:20-37 | crates/planner/src/ir/index/range/value.rs:223-240 \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/planner/src/ir/index/range/value.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ced1c1cf7c40b24f6f2756327c806527b036cf2194c2c4ce87083c1a000915"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/planner/src/planning/selected/native/source/lowering/stream.rs:169-191 | crates/planner/src/planning/selected/native/source/lowering/stream.rs:196-218 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/selected/native/source/lowering/stream.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74c58360c59642e6c2a287bf9dc7103833e2262b2ee2765594e71dac38892c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/db/src/execution/interpreter/access/restricted_text.rs:27-57 | crates/db/src/execution/interpreter/access/restricted_vector.rs:17-38 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/access/restricted_text.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a799be7e064b71f0a19255332bfeb9c1ca7af964d37ddc2e786f71a9a5d5d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/db/src/execution/interpreter/access/rows.rs:114-132 | crates/db/src/execution/interpreter/access/rows.rs:148-166 \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/db/src/execution/interpreter/access/rows.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb4a2bbfa67989060c7ea8db793799c6e2ddced415257de3d9f2caeb12db8bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/ast/src/query.rs:196-214 | crates/db/src/cypher.rs:328-344 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/query.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36ee83ca3d31a803ec7f2d96055e4d567efa585f4f7f624267735a2616b4e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/planner/src/rules/access/sets/range/edge.rs:63-90 | crates/planner/src/rules/access/sets/range/node.rs:63-90 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sets/range/edge.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"179e7e6305c4166deacc3b4728dd7a32fa24dcc6120b8b583748ce34d715f8e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs:16-48 | crates/db/src/encoding/v2/keys/indexes/vector/storage_prefixes.rs:180-206 | crates/db/src/encoding/v2/keys/indexes/vector/storage_prefixes.rs:233-259 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead008bb1713e82fa9991199f0a9c1fabddfe1555f9d2492441dcef5e28bad4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/db/src/encoding/v2/values/property/property_value.rs:126-140 | crates/planner/src/analysis/scalar/values.rs:198-210 \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/db/src/encoding/v2/values/property/property_value.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"751fc7276b6ada490042d636bc90a5ff6324a2c82d5feae7f4906a1395e9b534"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/db/src/index_lifecycle/text/driver.rs:640-664 | crates/db/src/index_lifecycle/vector/driver.rs:1067-1091 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"397caaae98ef7860e661765ab313c348193b217af30939e9338c9bdee583e0f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/db/src/search/mod.rs:726-751 | crates/db/src/search/mod.rs:2321-2345 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"329b2dd1bef14636a0b462ba011d6b92a579856be43921ab26c9b866ecc259c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/db/src/execution/interpreter/access/secondary_set.rs:320-343 | crates/db/src/execution/interpreter/access/secondary_set.rs:348-369 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/access/secondary_set.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e51ccc3d882f3b2f198198bb50f37276e946926d95ef6e4a3beecb0329c7d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/cli/src/local_runtime.rs:1208-1232 | crates/cli/src/local_runtime.rs:1235-1257 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/local_runtime.rs"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e754509182296bc2afe967add9c9eb86d52c3982f0573b34068fff9f03c2249a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/db-testkit/src/model.rs:1056-1073 | crates/value-semantics/src/lib.rs:156-171 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db-testkit/src/model.rs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3b3c78779225bfccf12f71fa876f682e3faa30c2991b694d3ae86354d20e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/db/src/index_lifecycle/failpoints.rs:165-188 | crates/db/src/migrations/indexes/equality_bitmap.rs:136-158 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/failpoints.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcf73fb5603434e48c0a13772055ce3e9e3163f64f935e405123ee57982a5b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): crates/db/src/encoding/v2/values/adjacency/mod.rs:357-385 | crates/db/src/encoding/v2/values/adjacency/mod.rs:391-415 | crates/db/src/encoding/v2/values/adjacency/mod.rs:422-450 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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/db/src/encoding/v2/values/adjacency/mod.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bffd1f70ff6663839403030b4aa1948afa0481c9dfbad4d06f717262e4e053f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/db/src/search/vector/storage/mod.rs:1810-1830 | crates/db/src/search/vector/storage/mod.rs:1835-1854 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd5de8c11558957548f6fcdcda50cf8b11d63e5cbb11a3be8a098688d3e10e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/cli/src/local_runtime.rs:971-993 | crates/cli/src/local_runtime.rs:995-1017 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/local_runtime.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4137692b6c5a82133d4ce9a6821f0b9de5ec27fbde2810e53c9566e9387aba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/db/src/config/definition_differences.rs:156-175 | crates/db/src/config/definition_differences.rs:232-251 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/config/definition_differences.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68176f606e6795b6bf36a6e23433996fa3052b0b5b1cf12af9412c2a842a3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/db/src/migrations/mod.rs:3992-4011 | crates/db/src/migrations/mod.rs:4016-4035 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/mod.rs"},"region":{"startLine":3992}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a950b7e41f3a93e5a3d8c8dc51c1672629d6325e870f83db462262aa26b6f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/db/src/merge_operator.rs:934-950 | crates/db/src/merge_operator.rs:957-978 | crates/db/src/merge_operator.rs:985-1016 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 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/db/src/merge_operator.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"7524bd0c10f686c492452afa8004d04f9db1faf760d9dc37c88f72bc3c57c9f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/db/src/index_lifecycle/secondary.rs:5154-5168 | crates/db/src/index_lifecycle/text/driver.rs:2910-2924 | crates/db/src/index_lifecycle/vector/driver.rs:4211-4225 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":5154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eabc4f52f5ce5a3b17376ad58888b210576002ecae1d63a10fa865e5904b732"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): crates/db/src/search/text/mod.rs:1646-1668 | crates/db/src/search/text/mod.rs:1673-1694 | crates/db/src/search/text/mod.rs:1699-1725 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 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/db/src/search/text/mod.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f76f56f090b17ef526804fabedbf9ed7c1fc7b4eae265333690b646a299647"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/db/src/config/runtime_catalog.rs:295-316 | crates/db/src/config/runtime_catalog.rs:321-348 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/config/runtime_catalog.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee9ae75cbc6745563dbf1d6710c4f32e8dde43d42a99a74144e5a6d6ae1e400"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/planner/src/planning/selected/native/access/edge.rs:11-25 | crates/planner/src/planning/selected/native/access/node.rs:11-25 \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/planner/src/planning/selected/native/access/edge.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc53ff6438c1ad6b5a838589e0dd7e3403b8879b89b7bb121bdc473cca5d0340"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/db/src/encoding/v2/keys/indexes/range/edge.rs:251-270 | crates/db/src/encoding/v2/keys/indexes/range/edge.rs:419-437 | crates/db/src/encoding/v2/keys/indexes/range/node.rs:213-231 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/range/edge.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac3693e880cf8045e3db772e47879992043230b687df5adc45881f8cbfc4405"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/db/src/query_resources/properties/builder.rs:20-41 | crates/db/src/query_resources/properties/builder.rs:43-64 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/query_resources/properties/builder.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aae22f1ca796f5ac1821441750b571d7664f42025efeb056b078ccf99f9b608"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/planner/src/rules/cardinality.rs:1417-1435 | crates/planner/src/rules/cardinality.rs:1441-1459 \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/planner/src/rules/cardinality.rs"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"7718bac4e64d2af418662a9aa35bb123121104495f040ec5b1979ba953e32349"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/db/src/index_lifecycle_testing/contracts.rs:3006-3043 | crates/db/src/index_lifecycle_testing/contracts.rs:3380-3411 \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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3006}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e276205664141875d55db8b3e9afd11614e57ec19e8a7e226ba10d489771fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/db/src/index_lifecycle/text/attachment.rs:31-54 | crates/db/src/index_lifecycle/text/driver.rs:2392-2414 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/attachment.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"641e3e3a57602ef1752b1ca7107b9f0b752db88176c2a5242167242f8c88fd6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/db/src/search/text/mod.rs:1116-1142 | crates/db/src/search/text/mod.rs:1148-1166 \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/db/src/search/text/mod.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70f7578cc9a89bea42ffacd5fa8f71e40066437b38f7e03b0583f02f7df0b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/planner/src/rules/access/filter/index/label_domain.rs:106-129 | crates/planner/src/rules/access/filter/index/label_domain.rs:131-154 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/filter/index/label_domain.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e175b6e93946d54970cd9296cf575b2f42e2449efdb530e49f8e6443221410"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/cli/src/update.rs:59-87 | crates/cli/src/update.rs:272-297 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/update.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"52201bc34ff8b3d5b4a1ed38b7945596260ade7cdaef6316e5803d8a26a9ec3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/cli/src/commands/add.rs:143-166 | crates/cli/src/commands/init.rs:148-171 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/add.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f34dcd118110f061c5fce98aee6a7f6d42fec6ac116596eeff939fee6f784d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/planner/src/planning/selected/native/batch/draft/entry.rs:38-56 | crates/planner/src/planning/selected/native/batch/draft/entry.rs:81-99 \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/planner/src/planning/selected/native/batch/draft/entry.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e58b77cf1bbf55285d5825723c1a76ee61140dd674707257aabc4cfe29fe9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/db/src/search/mod.rs:1389-1411 | crates/db/src/search/mod.rs:1429-1451 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf2467f88744217b2795f8bf07793206d3aa784792218ca6cb412ad8ba04a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/db/src/index_lifecycle/work.rs:420-444 | crates/db/src/index_lifecycle/work.rs:457-485 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/work.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1b73e428244f3d7ee20433f76ac354cf769f59fcc5de2f73d0b08fd4b77089"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): sdks/python/scripts/cypher_parity.py:77-94 | sdks/python/scripts/cypher_parity.py:100-117 \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":"sdks/python/scripts/cypher_parity.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6717f7c4f2cd3eed0b8d283fec41756a4552e41218eb4fb318b9dbfa0f9746b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:138-156 | crates/planner/src/rules/access/sets/equality_range/intersection/node.rs:138-156 \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/planner/src/rules/access/sets/equality_range/intersection/edge.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"466c34f3c9fd295a40cea8017f3319b03dd6609d00479eee1e17eabe35615047"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/planner/src/rules/cardinality.rs:1856-1875 | crates/planner/src/rules/cardinality.rs:1881-1900 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/cardinality.rs"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e61b32b64cd620437fbbc00316fa53ac30f5f8f2dfee0507e229a5cf03ff6d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/db/src/index_lifecycle_testing/contracts.rs:3124-3143 | crates/db/src/index_lifecycle_testing/contracts/all_index_validation.rs:1026-1055 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5afb4ee5875fb3e4b6d5810948f6953bd346120ec91fd0748328bca2026a1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/planner/src/ir/bounds/stream/bound.rs:198-215 | crates/planner/src/ir/input/search/text.rs:93-112 | crates/planner/src/ir/input/search/vector.rs:198-215 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/bounds/stream/bound.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21b18fe124d11cd4cab0ba81bb4e4ffdd80ab8a1971cc308470dcf2db646172"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): crates/planner/src/planning/search/access/edge.rs:18-36 | crates/planner/src/planning/search/access/edge.rs:46-64 | crates/planner/src/planning/search/access/node.rs:18-36 | crates/planner/src/planning/search/access/node.rs:46-64 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/search/access/edge.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc521f5697c41c8a02b79f7e8aeae24e9fb0e0520109e7c634a75959ddf00f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/db/src/execution/interpreter/mutation/topology.rs:414-428 | crates/db/src/execution/interpreter/mutation/topology.rs:437-452 \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/db/src/execution/interpreter/mutation/topology.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23d5ebf775e6e15f4d30d5a856d32bee3f32579c0b25c90d0b7748c28e5395d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/db/src/search/vector/storage/mod.rs:1962-1985 | crates/db/src/search/vector/storage/mod.rs:2062-2087 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27b4c1cedc02754c9f19a0004a2e2231ff35879f677beb793955711d9bb656f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/db/src/execution/interpreter/count.rs:546-567 | crates/db/src/execution/interpreter/count.rs:569-586 \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/db/src/execution/interpreter/count.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd9f1e22a340920ac16ccaaca9a21d44c8d30bb74880e751e6680c203876495"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/planner/src/ir/access/node/analysis.rs:64-82 | crates/planner/src/ir/access/node/membership.rs:323-346 \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/planner/src/ir/access/node/analysis.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e915dc8f9eeeff0d152c58086264424712761cb516bbfd395d620604a8684e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/planner/src/rules/access/sets/subsumption/edge.rs:5-25 | crates/planner/src/rules/access/sets/subsumption/node.rs:5-25 \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/planner/src/rules/access/sets/subsumption/edge.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a535cac4588f5cfcf5f254a4555aa8e7d604154a4c03b04e26295a3f2b9df284"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/db/src/encoding/v2/values/indexes/equality/mod.rs:520-541 | crates/db/src/query_resources/bitmap.rs:211-231 \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/db/src/encoding/v2/values/indexes/equality/mod.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1da77481db0361002165a5efff61808253beae15ac76cb5665f7046754fb11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/db/src/index_lifecycle/text/statistics.rs:770-793 | crates/db/src/index_lifecycle/text/statistics.rs:1034-1057 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/statistics.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a7ca4a9f024b545cba8c2e7e506f63c5843eeb5dcb002d1061a5350a6daa67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/metrics/src/query.rs:429-444 | crates/metrics/src/query.rs:446-462 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/metrics/src/query.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af4fe9656f4568c2e79b11b0f55c30f660b3a608ceb7f0db31c54f931f9bf34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): crates/db/src/migrations/indexes/equality_bitmap.rs:725-741 | crates/db/src/migrations/tenant/envelope.rs:71-89 | crates/db/src/migrations/tenant/envelope.rs:125-141 | crates/db/src/migrations/tenant/envelope.rs:161-177 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 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/db/src/migrations/indexes/equality_bitmap.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d967e1468edce4e63c846c869e742bdc0aba8c2c741b37b66e762784cd3a27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/planner/src/analysis/scalar/values.rs:20-37 | crates/planner/src/analysis/scalar/values.rs:138-155 \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/planner/src/analysis/scalar/values.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"86567eed1f72842313fc8a12557e4e2e0febfa025d22477f996c02bc1999127b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/planner/src/logical/memo_children/control.rs:15-30 | crates/planner/src/planning/selected/control/branch.rs:9-24 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/logical/memo_children/control.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"23631aabde6734959e29f63b8e4d91ad8a691e57228be730612e1ebd6e1e9d9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/planner/src/ir/index/range/bounds/bound.rs:101-116 | crates/planner/src/ir/index/range/bounds/bound.rs:118-133 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/index/range/bounds/bound.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0ecf378cc6bb1b37c568698c69b2feb565dab6101de5a912c4b4fd0438174d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/db/src/search/vector/hnsw/index.rs:1378-1393 | crates/db/src/search/vector/hnsw/index.rs:1440-1463 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/index.rs"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68a2aacc2e0c27323c794bedded5bb540063609804e785a52625437f3ace3fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/server/src/grpc.rs:67-91 | crates/server/src/grpc.rs:99-121 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/server/src/grpc.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6f0bd51529160fd4fc93f9032ca720c53fe6f60eab5c21881a50263a8c00a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/db/src/execution/interpreter/access/search/input.rs:111-129 | crates/db/src/execution/interpreter/reserved/sack.rs:102-118 | crates/db/src/execution/interpreter/stream/aggregate.rs:195-211 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 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/db/src/execution/interpreter/access/search/input.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1b464dc54d5a18b1caf9caca4ff06cf9a9d96a299fb8b9508a8afcc9b617e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/db/src/lib.rs:2404-2426 | crates/db/src/lib.rs:2446-2468 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/lib.rs"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d20576d4d972a4d0b9bcd4b9470007498ad958a6341e09857247ff035d7bf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/db/src/merge_operator.rs:153-167 | crates/db/src/merge_operator.rs:174-191 \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/db/src/merge_operator.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a84e97ecf524c9f4eb2b048409cea5e884929565be0c47c3e0e566e8cf51101"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/planner/src/planning/selected/native/stream/accumulator/lowering.rs:34-47 | crates/planner/src/rules/access/pipeline/mod.rs:164-173 \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/planner/src/planning/selected/native/stream/accumulator/lowering.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae5513b20362a7eb15cf9650ad83429434cddb10449f6317e83fcf112a4c75a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 17\u002B corresponding lines): crates/db-testkit/src/model.rs:1013-1029 | crates/db/src/encoding/v2/values/property/canonical_number.rs:8-25 | crates/db/src/encoding/v2/values/property/property_value.rs:254-271 | crates/db/src/encoding/v2/values/property/property_value.rs:309-326 | crates/db/src/index_lifecycle/vector.rs:301-320 | crates/planner/src/analysis/scalar/values.rs:212-229 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db-testkit/src/model.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58cfe5ab1d8691cc0e716a8ebf20e2b8c00b469ac01b184d83bd7a9bbcc3d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/server/src/http.rs:193-210 | crates/server/src/http.rs:245-269 \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/server/src/http.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cc07db9765890f4e7c6975b4e4b74f8f28e0bfab9af339f7e4c4721039d200"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/ast/src/query.rs:873-893 | crates/ast/src/query.rs:1093-1113 \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/ast/src/query.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0cf20d0faaeecc3c9d9846bf866fc4988b5ce0455675a771e1519f6beb443b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/planner/src/rules/access/filter/index/label_domain.rs:61-80 | crates/planner/src/rules/access/filter/index/label_domain.rs:85-104 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/filter/index/label_domain.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab586f0517fd304aba360c08849b1c5881e599f93788969300a1db2090508b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/db/src/config/runtime_catalog.rs:362-377 | crates/db/src/config/runtime_catalog.rs:385-406 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/config/runtime_catalog.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"4926c1f7d5a2c50efe1569b7ca1af3f97fd9d20a75fcb2c7fe37e1421f752cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/db/src/encoding/v2/keys/indexes/range/scans.rs:42-58 | crates/db/src/encoding/v2/keys/indexes/range/scans.rs:155-171 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/range/scans.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe61a0814a15a3f7f0242fd740cd8511601b6bce60333d133ff4b8c32f1328c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/planner/src/planning/selected/native/root_stream/ast/mod.rs:37-56 | crates/planner/src/planning/selected/native/scoped/root_stream/mod.rs:44-66 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/selected/native/root_stream/ast/mod.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd35914011ea3263ee32b0b1b39bfe9d38a4dc7819a32f17c4e72be389182d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/planner/src/rules/access/order/direction/mod.rs:19-30 | crates/planner/src/rules/access/window/rule/rewrite.rs:48-59 \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/planner/src/rules/access/order/direction/mod.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef36be3251772a7853e6c8c2b270fe52ecd60cc7f07f4ab566f2bd629fa186b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/planner/src/rules/physical_contracts/access/pipeline.rs:17-30 | crates/planner/src/rules/physical_contracts/access/pipeline.rs:99-114 \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/planner/src/rules/physical_contracts/access/pipeline.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"81af1a0d7ad557e49f6976b09c74ce1ff282f7e108e1eeff8515a72b1587ef05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/planner/src/planning/selected/native/root_stream/ast/control_flow.rs:12-27 | crates/planner/src/planning/selected/native/scoped/root_stream/control_flow.rs:14-29 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/selected/native/root_stream/ast/control_flow.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f3bfa3576b1bf10a5ea5823f942bc3034301256894fe88bb1e26fcb4f7d08f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/db/src/index_lifecycle/text/manifest.rs:54-67 | crates/db/src/index_lifecycle/text/validation.rs:178-190 \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/db/src/index_lifecycle/text/manifest.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdba85cea754e88fe04f41cba7601080faa3076e2f2d9b4f4144237fe32da63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/db/src/search/vector/hnsw/mutation/mod.rs:1480-1490 | crates/db/src/search/vector/hnsw/mutation/mod.rs:1506-1522 \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/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ae68d832995e93831a86089f813dbf1ba6060d8f3803b6b3d2e4cc53d40973"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/graph-algorithms/src/algorithms/centrality.rs:386-404 | crates/graph-algorithms/src/algorithms/centrality.rs:412-428 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/graph-algorithms/src/algorithms/centrality.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"70145dfa92ab51c41d1ede4278d9fc83fd3c280efe587458bb29579c929a4912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/db/src/encoding/v2/values/indexes/operation_queue/algebra.rs:274-292 | crates/db/src/encoding/v2/values/indexes/operation_queue/mod.rs:1147-1166 \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/db/src/encoding/v2/values/indexes/operation_queue/algebra.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0704e6f9590dfe40730b0eb25f96d3628173d8e87ddbe26d3b70a6ae1391546"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/db/src/search/vector/storage/transaction.rs:176-191 | crates/db/src/search/vector/storage/transaction.rs:197-213 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/storage/transaction.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"38009209600d4cf0ca0054c3c2c0082a1e21084ff7192e964ad54d703f8f1ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/planner/src/rules/access/sets/equality_range/range_union/edge.rs:49-65 | crates/planner/src/rules/access/sets/equality_range/range_union/node.rs:49-65 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sets/equality_range/range_union/edge.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc95e6f9f5e6e3153a81bb36e59f86f3dcf044b36ba7a6aa39834238477d034"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): sdks/go/dsl.go:2348-2365 | sdks/go/dsl.go:2402-2416 | sdks/go/dsl.go:2844-2861 | sdks/go/dsl.go:2922-2936 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/dsl.go"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36b07f1a3e53b1209d568aa316bc62ab60628183ca778b0c023fc8e38bb518e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/db/src/index_lifecycle/operation.rs:554-566 | crates/db/src/index_lifecycle/operation.rs:569-581 \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/db/src/index_lifecycle/operation.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab5d351479fe508233a7e734df756773e35bb6e7f6edb18d01cf59b2cda6aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:10-27 | crates/planner/src/rules/access/sets/equality_range/intersection/node.rs:10-27 \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/planner/src/rules/access/sets/equality_range/intersection/edge.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3205b04b30430e50e4151e8ecdebd4f97eca3505ad93f3f4e352933968347a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/db/src/encoding/v2/keys/indexes/secondary.rs:32-59 | crates/db/src/encoding/v2/keys/managed_index.rs:342-368 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/secondary.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0412cbea3046469340625da216c52934676eeb5294d259471586bbb420f8f154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/db/src/encoding/v2/values/indexes/operation_queue/algebra.rs:375-387 | crates/db/src/encoding/v2/values/indexes/operation_queue/algebra.rs:390-402 \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/db/src/encoding/v2/values/indexes/operation_queue/algebra.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"d671462518bf59fc48210d5a2b20a2801a90e220eb49937a079cba6ebc60b1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/planner/src/ir/index/range/bounds/range.rs:158-173 | crates/planner/src/ir/index/range/bounds/range.rs:200-215 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/index/range/bounds/range.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dd547ad5eb15c6eb1895e93a00e65c960301090d5dbff19aed302e76beccc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/db/src/search/vector/spaces/simple.rs:240-256 | crates/db/src/search/vector/spaces/simple.rs:258-272 | crates/db/src/search/vector/spaces/simple.rs:274-288 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/spaces/simple.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e148a11a28f572d0ab3cd3c290c92ff5e69a57aea56c024ee8b4408c9bc78cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/db/src/index_lifecycle_testing/contracts.rs:395-421 | crates/db/src/index_lifecycle_testing/contracts/text_build_reconciliation.rs:208-226 \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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a1a471957ca415c18fa82adb87a36e554c1bb20cce3b4a45b2afa756256bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/planner/src/planning/selected/native/ordering.rs:19-31 | crates/planner/src/planning/selected/native/projection/bindings.rs:11-28 | crates/planner/src/planning/selected/native/projection/items.rs:11-28 \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/planner/src/planning/selected/native/ordering.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0c0210e2f6ec7d6318034d38ea8e03b3caa80cdf2d06357f4d57945d4abf02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/cli/src/prompts.rs:224-249 | crates/cli/src/prompts.rs:251-271 \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/cli/src/prompts.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2a413d4a7ab051764006d9fa1330983be501a2df907c20202e400fdf222dba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/db/src/encoding/v2/values/indexes/equality/mod.rs:270-282 | crates/db/src/encoding/v2/values/indexes/range.rs:45-57 \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/db/src/encoding/v2/values/indexes/equality/mod.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fbe719e885e90fc6131150a1ddb96811e5623f507dba6940abc68a884ce476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/db/src/index_lifecycle_testing.rs:311-337 | crates/db/src/index_lifecycle_testing.rs:857-882 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22730e27e6c5f5e5cc067ab1b131994ed5a5939ff01ebe9f5fa8b03f6f8a911"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/db/src/search/vector/storage/mod.rs:2519-2536 | crates/db/src/search/vector/storage/mod.rs:2542-2559 \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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":2519}}}],"partialFingerprints":{"codehealthFindingId/v1":"489947328447a47895e98046e00d4947789e94d1487149fd91188781476b3f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/planner/src/analysis/index_atoms/equality.rs:208-223 | crates/planner/src/analysis/scalar/values.rs:237-252 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/analysis/index_atoms/equality.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6a6ea2ec0265d6228a2956c0dfa857d81db6e9698356f22b257af5d8255cfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/db/src/encoding/v2/keys/indexes/secondary.rs:71-84 | crates/db/src/encoding/v2/keys/indexes/secondary.rs:132-142 \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/db/src/encoding/v2/keys/indexes/secondary.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"de37402f8e6094c7b6d529401f8dd6f4ce3fb84957312fd08009fd3143db8c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/db/src/execution/interpreter/access/params.rs:73-85 | crates/db/src/execution/interpreter/access/params.rs:90-102 \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/db/src/execution/interpreter/access/params.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa854ca1af57293b97da59cabf413aa5b483d6fc5314fd6be21b35d5dfff62fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): crates/db/src/index_lifecycle/secondary.rs:5075-5092 | crates/db/src/index_lifecycle/secondary.rs:5098-5115 | crates/db/src/index_lifecycle/vector/driver.rs:4131-4151 | crates/db/src/index_lifecycle/vector/driver.rs:4157-4177 | crates/db/src/index_lifecycle/vector/driver.rs:4184-4205 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":5075}}}],"partialFingerprints":{"codehealthFindingId/v1":"b983693cdcb03c4577fe2cd50926742b408d6ea111dca3d4d216e657a8b73548"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/db/src/encoding/v2/values/edge_endpoints.rs:51-69 | crates/db/src/migrations/mod.rs:4118-4139 \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/db/src/encoding/v2/values/edge_endpoints.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb8683afbc5f01958b6eafffbe02d746bd90c8e548febc0ccde4d434e0dae9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/db/src/migrations/indexes/equality_bitmap.rs:753-766 | crates/db/src/migrations/tenant/envelope.rs:198-211 \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/db/src/migrations/indexes/equality_bitmap.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58792d660580c298f2438855c06aeb95e139caa95f2928a2fe025871d287d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/db/src/search/text/caching_directory.rs:124-134 | crates/db/src/search/text/caching_directory.rs:136-146 \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/db/src/search/text/caching_directory.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6da3de53de90fa9a21b1e16b1345e1a597c625a188f5aa5b4c5ad550281d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): crates/planner/src/exec/access/edge.rs:161-176 | crates/planner/src/exec/access/edge.rs:180-195 | crates/planner/src/exec/access/node.rs:275-297 | crates/planner/src/exec/access/node.rs:301-323 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/access/edge.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b48666bbcf2c4cc5c2937e7c8ce8a246449f243a02c7041e9339f83ab1a0952"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/planner/src/ir/bounds/search.rs:193-201 | crates/planner/src/ir/bounds/stream/bound.rs:219-227 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/bounds/search.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfd483b872ab89b71990ab701907d0bd831f6cb728ff033fba735514745c391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/cli/src/local_runtime.rs:1068-1084 | crates/cli/src/local_runtime.rs:1086-1102 | crates/cli/src/local_runtime.rs:1112-1128 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 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/cli/src/local_runtime.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"922eb4a5f73d62a419c334e6021292f005c5f69e8f91ade6a733efb0157edcef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/planner/src/ir/access/edge/analysis.rs:198-219 | crates/planner/src/ir/access/node/analysis.rs:207-228 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/access/edge/analysis.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"901ec84336fc5897ffdd4c1ae785c33e0e98f989e93afb4f46f60d3f0481c4ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/planner/src/planning/selected/native/pipeline.rs:30-39 | crates/planner/src/planning/selected/native/scoped/pipeline.rs:25-36 \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/planner/src/planning/selected/native/pipeline.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dc7b1cdfb6a69996591af9a3988b3c227894cd3af4e124d1bcfd52d9fb3d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/ast/src/batch.rs:186-197 | crates/ast/src/batch.rs:226-237 \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/ast/src/batch.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc0578fe40bfb61ba8d36566b67cd367d48622564081f3f777252748aeccc02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/planner/src/analysis/scalar/constraints/property.rs:84-101 | crates/planner/src/analysis/scalar/constraints/property.rs:103-120 \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/planner/src/analysis/scalar/constraints/property.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1f2a75a177688870c02d4a02d344b77fe945d53b834b08aa63739d5a606e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/planner/src/ir/access/edge/analysis.rs:40-53 | crates/planner/src/ir/access/node/analysis.rs:49-62 \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/planner/src/ir/access/edge/analysis.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac30fa97ee11f4184c3152bbb37a296ecd70b4eeb75c5923829ef713bad8d668"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/planner/src/rules/access/sets/equality_range/range_union/edge.rs:34-44 | crates/planner/src/rules/access/sets/equality_range/range_union/node.rs:34-44 \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/planner/src/rules/access/sets/equality_range/range_union/edge.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"281d99b1c22ffcb73b60dc747ce39ec5cefc6d9fa49256a4f7a942082c4211b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/db/src/error.rs:867-896 | crates/db/src/search/vector/mod.rs:981-1005 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/error.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f974f71efdd6480fb36d1d8f9db5a34b3c389268f6ad8aca926a76ac72f35c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/db/src/query_service.rs:359-371 | crates/db/src/query_service.rs:377-393 \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/db/src/query_service.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"235918bf58233bc7fc63cccd4f299974056236925d3bab8d8a0f29c231383d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/planner/src/ir/index/range/bounds/bound.rs:73-85 | crates/planner/src/ir/index/range/bounds/bound.rs:87-99 \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/planner/src/ir/index/range/bounds/bound.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c93e813e06e24a50ca354299cd639e049fdbb3a0bf721f1ba42171b1bf9fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/server/src/http.rs:163-172 | crates/server/src/http.rs:216-225 \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/server/src/http.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1fd0f2434fffa5c3d1444a16cd5c42d5672d7abd9ef9f0fc23e974b252fbec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/db/src/index_lifecycle/secondary.rs:4142-4165 | crates/db/src/index_lifecycle/vector/driver.rs:4455-4482 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":4142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25a2f3452e85d758f26c92c8c769866b2a1a35d4bf8a8b203e2e5322453600a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/db/src/search/vector/hnsw/index.rs:1301-1323 | crates/db/src/search/vector/hnsw/index.rs:1408-1427 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/index.rs"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"951aaf6a9b71bb1dc5526e4efebb6d8693966b2add0dec24c1a1a3329d5da9f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/db/src/search/vector/storage/mod.rs:1932-1952 | crates/db/src/search/vector/storage/mod.rs:2037-2052 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ba723f8c739657f351d341706ab790121f1f5638dbe7b9b7b3151e916a4528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/planner/src/planning/selected/native/scoped/entry/recursive.rs:41-55 | crates/planner/src/planning/selected/native/scoped/entry/recursive.rs:61-74 | crates/planner/src/planning/selected/native/scoped/entry/recursive.rs:80-93 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/selected/native/scoped/entry/recursive.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"513322f6672c2232f04542b6cecbf48dc9066d4b823bf78c509742f2d2a6d542"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): crates/planner/src/rules/access/filter/rules.rs:106-127 | crates/planner/src/rules/access/pipeline/implementation.rs:27-46 | crates/planner/src/rules/access/window/rule/implementation.rs:30-46 | crates/planner/src/rules/root/pipeline.rs:28-46 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 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/planner/src/rules/access/filter/rules.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7630105037d63b3fbf2428a74f54bdc0d0f6f4fb381efe94cdcc84a308e9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/planner/src/rules/root/control_flow/implementation.rs:29-41 | crates/planner/src/rules/root/control_flow/implementation.rs:66-80 \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/planner/src/rules/root/control_flow/implementation.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8dc29e60d98e6db1bdf1ff64e3646d2665e503854a32078175fe52a1381c8fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/cli/src/commands/chef.rs:1281-1301 | crates/cli/src/commands/chef.rs:1303-1319 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/chef.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"001e40041174bb924c803c98f2a475d09122a9dbb182992f26819d2ee76c602f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/db/src/index_lifecycle/text/cleanup.rs:219-237 | crates/db/src/index_lifecycle/text/cleanup.rs:244-263 \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/db/src/index_lifecycle/text/cleanup.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e06839152a3c342e530a83c5a96173e48b774dfe044f006edbeb454af9359a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/planner/src/planning/mutation/shared.rs:31-42 | crates/planner/src/planning/selected/native/access/ids.rs:14-25 \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/planner/src/planning/mutation/shared.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa22b1e2c0261e5b379152030b61831f69b1434b32c12393202e4c476a01ff55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/planner/src/rules/access/sets/contradiction/edge.rs:5-16 | crates/planner/src/rules/access/sets/contradiction/node.rs:5-16 \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/planner/src/rules/access/sets/contradiction/edge.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52f0df74c6997ad7ac24fe309b705665593ed0b1f6ffb6772978653cb87a88b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/db/src/execution/interpreter/access/secondary_set.rs:100-110 | crates/db/src/execution/interpreter/access/secondary_set.rs:118-128 \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/db/src/execution/interpreter/access/secondary_set.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeddea918678008b94e9eb03df85b6cf8b818d83ffaee138c0e0b585f689ca24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/planner/src/analysis/labels.rs:43-51 | crates/planner/src/analysis/labels.rs:53-61 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/analysis/labels.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4975431213699589229b458b48941cc3c6bd3b760b3caac3b419584b075843d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/planner/src/rules/access/window/edge.rs:48-74 | crates/planner/src/rules/access/window/node.rs:48-74 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/window/edge.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"970cb28797d7b17291126e18360b89ce2242753da1cae1bad6674f1acca5a4e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/db/src/encoding/v2/keys/indexes/equality/scans.rs:34-50 | crates/db/src/encoding/v2/keys/indexes/equality/scans.rs:185-199 \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/db/src/encoding/v2/keys/indexes/equality/scans.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fba60b17720bc6ca02bed11fa08518d40b7325d8604c00438e608ecbc15c5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/db/src/encoding/v2/values/indexes/text.rs:54-63 | crates/db/src/encoding/v2/values/indexes/text.rs:80-92 \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/db/src/encoding/v2/values/indexes/text.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bf10d714aa731476d5e920455ace1b015e22387c43f70b644554ebecad0bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/db/src/encoding/v2/values/indexes/text.rs:65-78 | crates/db/src/encoding/v2/values/indexes/text.rs:178-190 | crates/db/src/encoding/v2/values/indexes/text.rs:204-216 \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/db/src/encoding/v2/values/indexes/text.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0268bfca8c1f5796ed61d07d1697d1c670c5736cf7ff933f2533bc581fd7cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/db/src/encoding/v2/values/indexes/text.rs:126-137 | crates/db/src/encoding/v2/values/indexes/text.rs:151-164 \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/db/src/encoding/v2/values/indexes/text.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda81a5b4c0bb9fc8473cdfaa36db4a92b014dc537187cb7668f390b4c8fff44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/planner/src/exec/count.rs:265-274 | crates/planner/src/exec/count.rs:277-286 | crates/planner/src/exec/count.rs:289-301 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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/planner/src/exec/count.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5aa8b589a8b2ad66159680d8f6840e67969c126425a0417906122d58016855"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/planner/src/planning/selected/native/scoped/terminal.rs:25-38 | crates/planner/src/planning/selected/native/terminal/expr.rs:22-31 \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/planner/src/planning/selected/native/scoped/terminal.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8dc3f75227fa66dad0cc4bbd11fe0279cc38b898e173b882f8119b5a4fe2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/db/src/search/mod.rs:1263-1279 | crates/db/src/search/mod.rs:2254-2270 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df6a6d3edc6e50395de1f5a7b5f0f317ad89ec03dff5c46aca76d96920258bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/planner/src/planning/selected/native/root/lower.rs:90-101 | crates/planner/src/planning/selected/native/root_stream/ast/access_pipeline.rs:13-29 | crates/planner/src/planning/selected/native/scoped/root_stream/access_pipeline.rs:15-31 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 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/planner/src/planning/selected/native/root/lower.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb6a47f243ab1187d1a9666ffaf99ca52cf5745467b4923cf9bd0dd0713d89e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/db-testkit/src/model.rs:935-957 | crates/value-semantics/src/lib.rs:135-152 \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/db-testkit/src/model.rs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb44fafa6203e892807564716b0c8955b41e091d652cfc6d9713a3214e4e840"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/db/src/id_allocator.rs:152-164 | crates/db/src/id_allocator.rs:169-185 \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/db/src/id_allocator.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b37a62c23be7737f11c9c027a23dda4125fb8232c6d2925c6b5f355e5bb63cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): crates/planner/src/rules/physical_contracts/root_stream/contract.rs:49-60 | crates/planner/src/rules/physical_contracts/root_stream/contract.rs:70-81 | crates/planner/src/rules/physical_contracts/root_stream/contract.rs:91-102 | crates/planner/src/rules/physical_contracts/root_stream/contract.rs:112-123 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 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/planner/src/rules/physical_contracts/root_stream/contract.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3959183b19e119e3ad1136b2ba3c876d9b1a7c6226aae35721b1132b3c51772b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sdks/python/scripts/run_embedded_parity.py:368-379 | sdks/python/scripts/run_server_parity.py:495-504 \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":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09177ddb9a2a58ba1323bf9a219ff9a2ec11e4b7c1e9ed6e8a72561860b3c7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): crates/db/src/search/mod.rs:487-504 | crates/db/src/search/mod.rs:1692-1709 | crates/db/src/search/mod.rs:1728-1745 | crates/db/src/search/mod.rs:1867-1882 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e253f75e260765bb55e15a758398c65b06a78b4fa1a5811847d7466f995f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/db/src/index_lifecycle/operation.rs:1032-1060 | crates/db/src/index_lifecycle/operation.rs:1464-1489 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/operation.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c16cdc89795c350ab33d47237243a40605d110a6188894782300ed6a9cce01d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): bindings/uniffi/src/helix_db.rs:180-186 | bindings/uniffi/src/helix_db.rs:200-206 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/uniffi/src/helix_db.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f1d1dd6ce63fbb9351f424088ca98f10584468bb5a206a7df53b244abb85ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/db/src/execution/interpreter/mutation/topology.rs:303-332 | crates/db/src/execution/interpreter/mutation/topology.rs:358-379 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/mutation/topology.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1f5bdc0dcfed46673d496f74cc174f44c3282219269f6dd2f07d6aea09b45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): crates/db/src/config/cache.rs:1167-1175 | crates/db/src/config/cache.rs:1178-1186 | crates/db/src/config/cache.rs:1189-1197 | crates/db/src/config/cache.rs:1200-1210 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 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/db/src/config/cache.rs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c605648814bba8033a13bff93753fa164c31802ca2a456ef15877c57092c8384"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/db/src/execution/interpreter/access/secondary_set.rs:382-391 | crates/db/src/execution/interpreter/access/secondary_set.rs:404-413 \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/db/src/execution/interpreter/access/secondary_set.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"0347de4f44f41e31a305c47a9d0c589d0b7e47955778eceab6960e6571c3782b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): sdks/python/src/helixdb/async_client.py:161-177 | sdks/python/src/helixdb/async_client.py:186-202 | sdks/python/src/helixdb/client.py:57-73 | sdks/python/src/helixdb/client.py:79-95 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 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":"sdks/python/src/helixdb/async_client.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d604704b0032bfdf77de38105e070f4f22af0a33839512698177b8bf928a5212"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/db/src/encoding/v2/values/lifecycle/operation_record.rs:229-244 | crates/db/src/encoding/v2/values/lifecycle/operation_record.rs:246-265 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/lifecycle/operation_record.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac7885404bcda72236fbfde46a209241ebf837ca8778b41288436fb0e694cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/db/src/search/vector/simhash/mod.rs:240-252 | crates/db/src/search/vector/simhash/mod.rs:266-279 \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/db/src/search/vector/simhash/mod.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"910e111bd275ad68da384c78f141a1270d8e0ecc26ff4a0e39bfd0d0d5831d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/planner/src/exec/access/ordering.rs:8-16 | crates/planner/src/rules/physical_contracts/access/delivered.rs:46-54 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/access/ordering.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e5fc24f8ab1ff1c60621f233a2ec6154b2b11182507bf25693f652e86afef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/planner/src/ir/access.rs:104-111 | crates/planner/src/ir/access.rs:120-127 \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/planner/src/ir/access.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cf8163a18c26cbf0729fa007463ae588547679c426c6bb38dd4a0ce8729148"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/planner/src/rules/access/sets/equality_range/range_union/edge.rs:10-20 | crates/planner/src/rules/access/sets/equality_range/range_union/node.rs:10-20 \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/planner/src/rules/access/sets/equality_range/range_union/edge.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a663205f5d27d1ba09da40b806415fbecc3628b5b042dba73f6f8523097259"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): bindings/uniffi/src/helix_db.rs:215-221 | bindings/uniffi/src/helix_db.rs:225-232 | bindings/uniffi/src/helix_db.rs:236-242 | bindings/uniffi/src/helix_db.rs:246-252 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/uniffi/src/helix_db.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf75bc06a7514bc1b9e04c484945933f19ae2691069dadcf32d2c092a6b0ba84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/db/src/execution/interpreter/access/params.rs:18-29 | crates/db/src/execution/interpreter/control/foreach.rs:64-77 \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/db/src/execution/interpreter/access/params.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f3b9fd9cda226d445c39291bdf84a3be4330911cf63253e7a985233c4e7003"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/db/src/execution/interpreter/pull/source.rs:85-99 | crates/db/src/execution/interpreter/pull/source.rs:101-115 \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/db/src/execution/interpreter/pull/source.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"694784ec65c1b7b0c1d65c8e86a613a93c1419b6137077f40e084fa791a49c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/db/src/lib.rs:2494-2506 | crates/db/src/lib.rs:2513-2525 \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/db/src/lib.rs"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cec248d9b88a9b64e4ee2eb58184e7e020c252e7f5b42db6d22454f96f2c54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/db/src/execution/interpreter/mutation/edge.rs:685-692 | crates/db/src/execution/interpreter/mutation/node.rs:654-665 \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/db/src/execution/interpreter/mutation/edge.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee2effe94d1fdbdf39aeeba4dac508e4f67378aede316601e1fca7eb00e5e08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/db/src/index_lifecycle/metadata.rs:131-151 | crates/db/src/index_lifecycle/metadata.rs:158-175 \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/db/src/index_lifecycle/metadata.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb61e666fcd8ebccb3700c6dffe11c07421a98a3b7c598d4e00838da1b3ab4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/db/src/merge_operator.rs:198-212 | crates/db/src/merge_operator.rs:387-402 \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/db/src/merge_operator.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f525e3076ebca2d470fcbc789c4708959ab9587daa7213bfb0ad986d5d383f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/planner/src/ir/access/edge/branch.rs:67-74 | crates/planner/src/ir/access/node/branch.rs:67-74 \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/planner/src/ir/access/edge/branch.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ac504e7af0b5ecbaa4105641f972384c2ce975c16ca406f14920fb0d22e04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/planner/src/rules/access/sets/equality_range/range_union/removal.rs:20-36 | crates/planner/src/rules/access/sets/subsumption/mod.rs:68-83 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sets/equality_range/range_union/removal.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a886899ff68dd33826268d2de050306b5e677847c44afd4d04c48e23e44d32f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/planner/src/rules/access/sets/range/edge.rs:42-58 | crates/planner/src/rules/access/sets/range/node.rs:42-58 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sets/range/edge.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd324c629f9778bb7237f7edfb6e902c646303eb666dba96d039fddb81bd0b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/planner/src/rules/access/sources/sets.rs:5-13 | crates/planner/src/rules/access/sources/sets.rs:17-25 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sources/sets.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4a771efefcc1ef95f2817aff063f69822185563a7b792dbd354f8e0f5b88ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/planner/src/rules/access/sources/sets.rs:29-37 | crates/planner/src/rules/access/sources/sets.rs:41-49 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sources/sets.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5a5585e6f9c7882b0757a24ff96a38a87bae2cdcc62c44ff33c59335e1055e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sdks/python/src/helixdb/dsl.py:2749-2763 | sdks/python/src/helixdb/dsl.py:2783-2797 \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":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":2749}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d84f2ad1a03b626f874cd6312a2f079be9e2717911d38ea7d4aa3c2f945bd7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/planner/src/rules/access/sets/canonical/normalization.rs:57-69 | crates/planner/src/rules/access/sets/canonical/normalization.rs:86-101 \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/planner/src/rules/access/sets/canonical/normalization.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ea1856899a7c0524aaebdbc681d02a2b4848fe88e15761a393aa4164d0c194"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): crates/planner/src/rules/stream/implementation/terminals.rs:31-47 | crates/planner/src/rules/stream/implementation/terminals.rs:71-87 | crates/planner/src/rules/stream/implementation/terminals.rs:111-127 | crates/planner/src/rules/stream/implementation/terminals.rs:152-168 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 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/planner/src/rules/stream/implementation/terminals.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f6e35c9a4017d1b35254f31f50d5c4ff1891548b9367027dc2a4bda4a26fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sdks/python/scripts/run_embedded_parity.py:351-364 | sdks/python/scripts/run_server_parity.py:517-527 \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":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f339309c0f8d51e83232083bcf8377659dc30e721b5914591de08259c73fc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): crates/db/src/encoding/v2/values/property/property_value.rs:346-354 | crates/db/src/encoding/v2/values/property/property_value.rs:356-364 | crates/db/src/encoding/v2/values/property/property_value.rs:366-374 | crates/db/src/encoding/v2/values/property/property_value.rs:381-391 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 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/db/src/encoding/v2/values/property/property_value.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c50bf15dcff2e1961a3afefc37a6216ba78fb9bf89709b7708cb35adfa30faa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/db/src/lib.rs:2106-2118 | crates/db/src/lib.rs:2122-2132 \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/db/src/lib.rs"},"region":{"startLine":2106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1764136e8c852ed163496128431280a4cd09b90d8e57e2f68948bc6443aae936"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:113-122 | crates/planner/src/rules/access/sets/equality_range/intersection/node.rs:113-122 \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/planner/src/rules/access/sets/equality_range/intersection/edge.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"72121544a7f2172daaa21990d332062ed3685e87705cf5103359bb54777a5291"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/planner/src/rules/core/exploration/filter.rs:26-35 | crates/planner/src/rules/core/exploration/filter.rs:59-70 \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/planner/src/rules/core/exploration/filter.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0642b4b210e629835a01955c10c053c6b8265656ca6fa73736f15adfaf20cda6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sdks/python/src/helixdb/client.py:118-130 | sdks/python/src/helixdb/client.py:281-290 \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":"sdks/python/src/helixdb/client.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f4272ddbac00b5eccaa0035eac124a399fa33de695e8ccba26f9827ebdb507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/db/src/encoding/v2/keys/data.rs:337-347 | crates/db/src/encoding/v2/keys/managed_index.rs:125-135 \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/db/src/encoding/v2/keys/data.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"1562dc2f38da2c3aaaf94ec0546791866c961ccfcfe7c3a841d21360ec318011"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/db/src/search/mod.rs:95-108 | crates/db/src/search/mod.rs:137-150 \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/db/src/search/mod.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19e6476d203415d5408d5e457b42dda729ca1ee8e721deebe7fde2e448978cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/db/src/search/mod.rs:1970-1984 | crates/db/src/search/mod.rs:1994-2005 | crates/db/src/search/text/mod.rs:413-422 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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/db/src/search/mod.rs"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb66670f48b7ad8e5856664e7b97f8892e29eb7f65ec1c319b6d21a4dd0c75d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:126-132 | crates/planner/src/rules/access/sets/equality_range/intersection/node.rs:126-132 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4198ff6af3077f6f2e6fea3f7c1488ba4bd931c46477db4a4981739e0180941d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/planner/src/rules/access/sets/range/edge.rs:6-16 | crates/planner/src/rules/access/sets/range/node.rs:6-16 \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/planner/src/rules/access/sets/range/edge.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"867dd818ed828be0f16a94ac93ff9e4a04c2d63bfb6b4ea38832b91719f204c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/planner/src/rules/access/sets/range/edge.rs:18-28 | crates/planner/src/rules/access/sets/range/node.rs:18-28 \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/planner/src/rules/access/sets/range/edge.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8054b7ffff10a55f9bfe07b68f449c10625475652881922295383663798d2119"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sdks/python/src/helixdb/graph.py:930-938 | sdks/python/src/helixdb/graph.py:942-949 \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":"sdks/python/src/helixdb/graph.py"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00755a61fa7122fd544d41bc7b90170bac1a690518e8dd59d6eb103a53410b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/db/src/config/indexes.rs:801-810 | crates/db/src/config/indexes.rs:812-821 \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/db/src/config/indexes.rs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeee3a704809d003ac2c41a2d966662b02d5a32fa90286fa37a5e30f3a3e834"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/db/src/execution/interpreter/reserved/sack.rs:30-40 | crates/db/src/execution/interpreter/reserved/sack.rs:46-55 \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/db/src/execution/interpreter/reserved/sack.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd69c18c7e0913ca3fb76d49dc3ed886b9409fac268272ba1d708d258d10bf31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/db/src/search/vector/cache/registry.rs:328-346 | crates/db/src/search/vector/cache/registry.rs:390-409 \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/db/src/search/vector/cache/registry.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"7878d10e33239d8b37d65748520fba46eccfb5968858b6bc8276408a6f4dde04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/planner/src/planning/selected/native/root_stream/ast/variable.rs:11-22 | crates/planner/src/planning/selected/native/scoped/root_stream/variable.rs:11-22 \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/planner/src/planning/selected/native/root_stream/ast/variable.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"88357cb1cdef8dd30c8339620d346ace3b957a14f88ebf8bbd2c26aa27445ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/planner/src/rules/core/implementation/filter.rs:26-37 | crates/planner/src/rules/core/implementation/order.rs:26-38 \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/planner/src/rules/core/implementation/filter.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"745923808371a700a185960247b8054360362e77eda9277e3207d7a55067e207"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/db/src/merge_operator.rs:490-500 | crates/db/src/merge_operator.rs:507-519 \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/db/src/merge_operator.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5639ad71eeca2360db4f6446dbe9151a048a5f5ffa2169a344897c660b2b6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/db/src/search/mod.rs:645-658 | crates/db/src/search/mod.rs:697-710 \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/db/src/search/mod.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"0947a8143b9a310d8a27bc3b1a908228e5303beade147aaba3d4816a045d471c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/db/src/id_allocator.rs:240-251 | crates/db/src/id_allocator.rs:368-376 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/id_allocator.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0795bfb817f934bfd8a28daa4bff9edd8b91cdcef77919e80d8e5ae44d11d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): crates/db/src/index_lifecycle/secondary.rs:5233-5243 | crates/db/src/index_lifecycle/text/driver.rs:2980-2988 | crates/db/src/index_lifecycle/vector/driver.rs:4287-4295 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":5233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dd5f3898bb77f4cc745d4daaa39b6860c8fe9f5b66a06d077dc1a785daf7bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/db/src/migrations/mod.rs:1241-1256 | crates/db/src/migrations/mod.rs:1261-1276 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/mod.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"b761b349d46db432e819f1ce7d0e8857eebe708343e57565d27524fccd90da50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): sdks/python/scripts/run_server_parity.py:445-454 | sdks/python/scripts/run_server_parity.py:460-469 \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":"sdks/python/scripts/run_server_parity.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a632d306ba2afe83991e1a96cf18949bdffad46d129fc1830144d12248acdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/db/src/execution/interpreter/access/rows.rs:180-189 | crates/db/src/execution/interpreter/access/rows.rs:203-212 \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/db/src/execution/interpreter/access/rows.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1028e3f65edf19ca5b47d75411811d199898a94bf11eb2f7b982664219abdef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/db/src/execution/interpreter/rows/projection.rs:141-149 | crates/db/src/execution/interpreter/rows/top_k.rs:145-155 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/projection.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8859256d9f44d4293d0d94f29e8f980ef7922f3e8de39ccc8f682f4aef5f1699"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/db/src/search/vector/parameters.rs:58-68 | crates/db/src/search/vector/parameters.rs:82-92 | crates/db/src/search/vector/parameters.rs:122-132 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/parameters.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c176dafa1cfc5c15b7c67ff2159fa197b60c70f5747f925a73d9ca892f31df4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/planner/src/rules/access/filter/mod.rs:81-91 | crates/planner/src/rules/access/pipeline/support/rebuild.rs:29-39 \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/planner/src/rules/access/filter/mod.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0223c42e44e0b622818711f815726852d8a0c59e9aee616b05e553bb99c5536"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): crates/db-testkit/src/model.rs:1177-1184 | crates/db-testkit/src/model.rs:1189-1196 | crates/db/src/encoding/v2/values/property/property_value.rs:328-335 | crates/db/src/encoding/v2/values/property/property_value.rs:337-344 \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/db-testkit/src/model.rs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b236159d618c36431856b0fd4f4a98a8799af6ca7b9e15575ba4aaf84ac29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/db/src/encoding/v2/keys/indexes/range/scans.rs:107-116 | crates/db/src/encoding/v2/keys/indexes/range/scans.rs:216-225 | crates/db/src/encoding/v2/keys/indexes/range/scans.rs:370-380 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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/db/src/encoding/v2/keys/indexes/range/scans.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ba04c2ecd9ba4c857ad9820249055335739b64645732654363d958ca3d0e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/db/src/index_lifecycle/worker.rs:508-518 | crates/db/src/lib.rs:645-654 | crates/db/src/migrations/background/worker.rs:62-71 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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/db/src/index_lifecycle/worker.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d40ca34d0aa7154543c8d34c5eb575691dcdab8a3150bf5dec71853e34c9e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/planner/src/rules/access/sets/subsumption/mod.rs:34-42 | crates/planner/src/rules/access/sets/subsumption/mod.rs:51-59 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sets/subsumption/mod.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"339d50a5d70d2d705c8f39d93eac104b5f931e0ce00a8c63e19488fadd604e3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): crates/server/src/grpc.rs:129-136 | crates/server/src/grpc.rs:141-147 | crates/server/src/grpc.rs:152-159 | crates/server/src/grpc.rs:164-170 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/server/src/grpc.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a5c81e43337d2a37f222eedb657406816aecf38869d3112eef436f5640ef90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/db/src/lib.rs:2789-2801 | crates/db/src/lib.rs:2808-2822 \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/db/src/lib.rs"},"region":{"startLine":2789}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e35d57e4e930e0ee94ecfa7406927696d9719183c8fb398ea50ed39f73ad9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/planner/src/rules/access/sets/canonical/normalization.rs:113-124 | crates/planner/src/rules/access/sets/canonical/normalization.rs:134-143 \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/planner/src/rules/access/sets/canonical/normalization.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d0177f1d5b8290ef0cf592a6d8cf5dabe7d2e1d266f72c98e27494e2fa6823"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/planner/src/rules/access/sets/contradiction/edge.rs:18-27 | crates/planner/src/rules/access/sets/contradiction/node.rs:18-27 \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/planner/src/rules/access/sets/contradiction/edge.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c5eaec68c3eec83fa10f8c74eae26902c26acfe2d85ae166f9165b8be60196"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sdks/rust/src/lib.rs:690-700 | sdks/rust/src/lib.rs:742-750 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/rust/src/lib.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8ad256abfea389bf597c8b23ae0723b8a88f6be2b192bb8e8e2a263fc063bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): crates/db/src/index_lifecycle/operation.rs:1239-1255 | crates/db/src/index_lifecycle/operation.rs:1261-1279 | crates/db/src/index_lifecycle/operation.rs:1310-1326 | crates/db/src/index_lifecycle/operation.rs:1333-1349 | crates/db/src/index_lifecycle/operation.rs:1379-1397 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 17 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/db/src/index_lifecycle/operation.rs"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"462783c9e9fc71718de92a420395e4cfa828bf20ecd8d036516b143d58cdd02a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/planner/src/exec/plan/top_level.rs:92-110 | crates/planner/src/exec/plan/top_level.rs:115-129 \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/planner/src/exec/plan/top_level.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef577eb9e54427d7281812ae280e685be0023266aeaeda967748d98c7c5d6b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/planner/src/exec/selected/lowering/contracts/delivered/variable.rs:8-23 | crates/planner/src/rules/physical_contracts/support/delivered.rs:79-91 \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/planner/src/exec/selected/lowering/contracts/delivered/variable.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9530f76b7255655d2a4a8786d8c18bf6f26cc06564bb5fb50beb816c63984d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): sdks/python/src/helixdb/graph.py:399-404 | sdks/python/src/helixdb/graph.py:419-426 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/src/helixdb/graph.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65099a65f4c8859cf279ff40470992d891996bdb2e153350f58446fb76c7180"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): crates/db/src/encoding/v2/values/indexes/text.rs:115-124 | crates/db/src/encoding/v2/values/indexes/text.rs:166-174 | crates/db/src/encoding/v2/values/indexes/text.rs:192-200 | crates/db/src/encoding/v2/values/indexes/vector/generation.rs:15-22 \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/db/src/encoding/v2/values/indexes/text.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"617879dd3c0eae221fe37db32c4f5c4dabfb96c3ac138d68102dd715f8fbd83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/planner/src/cost/profile/formulas.rs:193-206 | crates/planner/src/cost/profile/formulas.rs:230-240 \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/planner/src/cost/profile/formulas.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb8f025ce357117c71f0b5402ca2eab37b76d31b7b8cda8a61948bde37871c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): crates/planner/src/ir/bounds/search.rs:123-131 | crates/planner/src/ir/bounds/stream/bound.rs:127-135 | crates/planner/src/ir/input/property.rs:59-67 | crates/planner/src/ir/input/search/expr.rs:72-80 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 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/planner/src/ir/bounds/search.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b289680c774692913f66915e729a4209f350c4ba4fd575c8d04452d001583bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/planner/src/logical/access/window.rs:132-142 | crates/planner/src/ir/bounds/stream/range.rs:74-84 \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/planner/src/logical/access/window.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc88b51b26203f9e518d2c6b825cb32a9ba19b921692f3c625bcbcd180b1958"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/planner/src/rules/root/barrier.rs:29-38 | crates/planner/src/rules/root/barrier.rs:63-72 | crates/planner/src/rules/root/barrier.rs:97-106 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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/planner/src/rules/root/barrier.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aea65fcd9d2d6e5e1d65153ede0155ab38eb36adb6c7df027af89c1a472119e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/db/src/index_lifecycle/text/serving.rs:40-59 | crates/db/src/index_lifecycle/vector/driver.rs:3022-3045 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/serving.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1deed4e6ff28b5c0176035b339bbdcec385a43358aa5054657e4cf1aefed594"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/db/src/migrations/mod.rs:1181-1188 | crates/db/src/migrations/mod.rs:1190-1196 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/mod.rs"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c9a87d1a9aaf254fbb6f6c1d33cc6474c55418a9bebd47d05ba1dc77bc0307"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/db/src/search/mod.rs:532-543 | crates/db/src/search/mod.rs:1481-1490 | crates/db/src/search/mod.rs:1520-1529 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 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/db/src/search/mod.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e996eb60dffe4ff27a2fd71c4375182ec42bf34b5e35e63b3999b75d08326f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/planner/src/analysis/labels.rs:291-301 | crates/planner/src/analysis/scalar/extract.rs:168-174 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/analysis/labels.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa9b253d8ba27311096a41c06cd33777937cd725e7b6c57e1e1706752cc24b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): crates/planner/src/ir/index/range/bounds/bound.rs:29-38 | crates/planner/src/ir/index/range/bounds/bound.rs:40-49 | crates/planner/src/ir/index/range/bounds/bound.rs:51-60 | crates/planner/src/ir/index/range/bounds/bound.rs:62-71 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 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/planner/src/ir/index/range/bounds/bound.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef69a2b0f7858f11e8ff4eaade80af57dc6ec90fe9c16e341a968947957774bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/planner/src/cost/profile/formulas.rs:56-71 | crates/planner/src/cost/profile/formulas.rs:98-109 \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/planner/src/cost/profile/formulas.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"917536eacb7e1369a6ef69ca9401d04753109ce419e5d45ec236d5d7292b62cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): sdks/python/scripts/run_embedded_parity.py:278-290 | sdks/python/scripts/run_server_parity.py:388-399 \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":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d85b563fbdd34e6c2d6b6d44b14dd113307f8d0c6fb9bc2409f0c9efc44b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/planner/src/exec/validation/order.rs:144-151 | crates/planner/src/exec/validation/order.rs:153-159 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/validation/order.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5230c1ba0a29f859a8d7bf09fedf013247bf52ea6a49a2335de029e09ce1464a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/planner/src/rules/access/order/rules/distinct.rs:30-41 | crates/planner/src/rules/access/order/rules/range_direction.rs:28-37 \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/planner/src/rules/access/order/rules/distinct.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5210dc5df92ccf27e2348542efcafc2511b830dd94c1e208e285fd9717b7c73d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/db/src/execution/interpreter/control/branch.rs:31-39 | crates/db/src/execution/interpreter/control/repeat.rs:14-22 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/control/branch.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b747947419f9a65e108a75b95c9c49d7ee53640e533537342317fa2c9615a855"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 8\u002B corresponding lines): crates/planner/src/ir/batch.rs:112-119 | crates/planner/src/ir/contracts/element_ids.rs:96-103 | crates/planner/src/ir/order.rs:97-104 | crates/planner/src/ir/projection/binding.rs:130-137 | crates/planner/src/ir/projection/item.rs:185-192 | crates/planner/src/ir/projection/property.rs:89-96 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/batch.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d689003cca146cf343cfef56f14f5ffdb93a415ad0006b58f56303b902245ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/server/src/grpc.rs:27-39 | crates/server/src/http.rs:26-38 \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/server/src/grpc.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c79ad580707d928820817401656108f32eafa281a253a762738661aeb4fc64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/db/src/encoding/v2/keys/data.rs:359-369 | crates/db/src/encoding/v2/keys/managed_index.rs:137-147 \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/db/src/encoding/v2/keys/data.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3db60824f55099c2b13766921b30b442d93933e9bdf156050d248b0dcbc0742"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/planner/src/rules/stream/window/contracts.rs:43-52 | crates/planner/src/rules/core/exploration/pipeline.rs:12-19 \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/planner/src/rules/stream/window/contracts.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9a3095da806180581198b880f3aaaa22e98bb8c55b716a9f41811a4647c531"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/cypher/src/sql.rs:500-506 | crates/cypher/src/sql.rs:509-519 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/sql.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"b715013d7f3a6c4472ddcc76e91af430c0bc6c9671ebe34d5e864550b1c6cc4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/db/src/search/text/restricted.rs:93-105 | crates/db/src/search/vector/hnsw/restricted.rs:614-626 \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/db/src/search/text/restricted.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fe1293afa302d8bb01b864f4352acec3cee690265ceb6187f1dac393372aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/db/src/index_lifecycle/queue/backlog.rs:1013-1024 | crates/db/src/search/vector/cache/store.rs:794-802 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/queue/backlog.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e210d3dffba93a1576361dd2108cfc47302eea5b16e8be9fba1646db1ec7f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/db/src/index_lifecycle/vector/driver.rs:2347-2363 | crates/db/src/index_lifecycle/text/driver.rs:1671-1680 \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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":2347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f239c4d0db83252e39bd5106bf2a53dc420dbbd94c9ee7cde0444ec6683117ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/db/src/search/text/caching_directory.rs:177-183 | crates/db/src/search/text/split.rs:632-638 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/text/caching_directory.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc348bd410ea01859eb3871cfb1a563f03191ab7715e09287adc63e364ad6fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/db/src/search/vector/storage/mod.rs:2203-2210 | crates/db/src/search/vector/storage/mod.rs:2428-2436 \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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0093166155b12ac975be7531e2807b92549620277b53b44534cc31227f34cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/db/src/index_lifecycle/text/driver.rs:2932-2939 | crates/db/src/index_lifecycle/vector/driver.rs:4233-4237 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":2932}}}],"partialFingerprints":{"codehealthFindingId/v1":"69184e4c298ce558cd9cc6346f4b59de0cc8c1d47d4971b3d2a3824d55756b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): crates/planner/src/exec/returns.rs:105-115 | crates/planner/src/ir/batch.rs:82-90 | crates/planner/src/ir/contracts/element_ids.rs:37-45 | crates/planner/src/ir/order.rs:57-67 | crates/planner/src/ir/projection/property.rs:57-67 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 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/planner/src/exec/returns.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d7360ea3c71cab763ef1b39f2292aec7960aebd8a0b8f9a596a7748b85e1cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/planner/src/rules/access/sets/range/edge.rs:30-37 | crates/planner/src/rules/access/sets/range/node.rs:30-37 \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/planner/src/rules/access/sets/range/edge.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f259b46d782cc3d58f85b0d1511debcd527194e8791915b25adc48b1cf3aa387"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/server/src/grpc.rs:238-244 | crates/server/src/http.rs:389-395 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/server/src/grpc.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f5f2a6d9e2406aca5ddfcac83c9c9d96c20e939246c7c82042bb086af9e017"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/db/src/execution/interpreter/access/indexes.rs:759-766 | crates/db/src/execution/interpreter/access/range.rs:309-316 \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/db/src/execution/interpreter/access/indexes.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"859eb88d50e907fa5aa2bc1e2aa630dc86b89fc9e3f6ca83882b7be237acc398"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/db/src/encoding/v2/keys/indexes/property.rs:32-38 | crates/db/src/search/mod.rs:301-310 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/property.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"719574415ebf868ca46bc9fb4c076950de1d0426946424caba810fc07cd8574e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/db-testkit/src/ids.rs:169-176 | crates/db-testkit/src/trace.rs:33-40 \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/db-testkit/src/ids.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d862941ab4be174a665d55272507c41cfbf1b3635f3aa673d7f6495cf805f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/db/src/encoding/v2/values/codec.rs:231-239 | crates/db/src/encoding/v2/values/indexes/operation_queue/mod.rs:1168-1176 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/codec.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd741bdae0982a51a2d0ef93a38f02a0b17141a32bcec42eb555653cc8fcbbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/db/src/encoding/v2/values/codec.rs:621-629 | crates/db/src/encoding/v2/values/indexes/operation_queue/mod.rs:954-963 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/codec.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b224d5c57dbb5e5e20e6ed90d8646922ed7211fb62f1cdacbfd5f788042ca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/planner/src/relational/projection.rs:58-67 | crates/planner/src/relational/selection.rs:49-58 \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/planner/src/relational/projection.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be4ce74c0986c1b0820bc9a2d2091c1457b355f0d125a9ddda7fbfd2853a120"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/db/src/config/cache.rs:860-867 | crates/db/src/config/utils.rs:87-93 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/config/cache.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aff8b8046e2b016d0c835d58f76ec05692ed1f51c21135ccfd2c9938060da43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/planner/src/rules/core/exploration/pipeline.rs:87-92 | crates/planner/src/rules/stream/window/rule.rs:27-32 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/core/exploration/pipeline.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe343a2249cf8d2aa5bc83261aabfa556a709ec912dcd7b4cd6e5da1be432bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/db/src/index_lifecycle/text/driver.rs:624-634 | crates/db/src/index_lifecycle/vector/driver.rs:1051-1061 \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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"b213c697e5550405499b2e51b5ec89efc4193463eb2091eb504859c68be623c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/planner/src/logical/access/pipeline/candidates.rs:26-29 | crates/planner/src/logical/pure.rs:117-120 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/logical/access/pipeline/candidates.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e55f3a411d0fba3e8e3d3c552a7aff61cc777040f77300bfd8f426c4f817f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/ast/src/traversal.rs:1918-1923 | crates/ast/src/value.rs:61-68 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/traversal.rs"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"4649c70be4c0144963f7e76f7f841f31801904da84edd18d7db45e443cdb12a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/db/src/execution/interpreter/rows/bound_match.rs:28-35 | crates/db/src/execution/interpreter/rows/correlated.rs:35-43 \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/db/src/execution/interpreter/rows/bound_match.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adc66f554dd8fdc8d07b86c43c8edb7a889175060308ab1da9a09ebc191ef8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/db/src/encoding/v2/keys/graph.rs:218-222 | crates/db/src/encoding/v2/legacy/edge_property_pair.rs:67-71 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/graph.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b963fc89f28910c415ceac568cabb263a1eaf925ec110bf2269df5f187507fe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): crates/db/src/index_lifecycle/text/manifest.rs:522-524 | crates/db/src/index_lifecycle/text/validation.rs:1095-1097 \u2014 These two members are one piece of code written twice and then edited apart: 3 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/db/src/index_lifecycle/text/manifest.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a382e78797f55c824edfb462e137a96950ae440b47a081196ba6a833e9c9243d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/planner/src/ir/access/edge/source.rs:148-153 | crates/planner/src/ir/access/node/source.rs:150-155 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/access/edge/source.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a96eab11f1ac4eb75f136fd5aed35ae3246a3c89ff526e36d18ffe274443c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/ast/src/index.rs:214-220 | crates/ast/src/traversal.rs:1774-1782 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/index.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fb1f332af3da7a591d09a7fa0c88c64808791de8b3d975edda3c3974eedce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): crates/planner/src/ir/index/equality.rs:199-202 | crates/planner/src/ir/index/search.rs:165-168 | crates/planner/src/ir/input/search/vector.rs:113-116 \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/planner/src/ir/index/equality.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9490b76476c282d339bd7a8d224675bf37b6b671c60b2e7566d8d7e08fcb0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): crates/planner/src/ir/contracts/non_empty_string.rs:150-153 | crates/planner/src/ir/index/range/value.rs:146-149 | crates/planner/src/logical/access/pipeline/canonical.rs:45-48 | crates/planner/src/rules/contracts/id.rs:101-104 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/contracts/non_empty_string.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d871c8cc954725d152788f553646d7054efb9520e61fa4950f74e72e0f02cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sdks/python/src/helixdb/async_client.py:305-317 | sdks/python/src/helixdb/client.py:211-223 \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":"sdks/python/src/helixdb/async_client.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c727c1fe8b9a40b7ff3f177874ee9244fb129b2c921d44930eb7c0932df73c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sdks/python/src/helixdb/async_client.py:329-339 | sdks/python/src/helixdb/client.py:235-245 \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":"sdks/python/src/helixdb/async_client.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"912807d30bb535f845f7c2a16f2bd49bacfd1d2cb7332f1a6098535df543b101"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/db/src/encoding/v2/values/indexes/equality/mod.rs:458-463 | crates/db/src/merge_operator.rs:138-144 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/indexes/equality/mod.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3fa21613e46f10b096fa6f68dcecdf08d12e2a73164719fb84d02f7df4f9ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/db/src/execution/interpreter/rows/projection.rs:107-113 | crates/db/src/execution/interpreter/rows/requirements.rs:13-19 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/projection.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a882a6a2c04b4d8f390a537bbd656315de16084d7b0fb404b1256de9ed2d6ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/db/src/search/vector/hnsw/mutation/mod.rs:609-639 | crates/db/src/search/vector/hnsw/mutation/mod.rs:669-699 \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/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6077d1e26be61c8fe2db2a242824b9ce78b5fd231bf97213a482922af850ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/db/src/index_lifecycle/repository.rs:200-228 | crates/db/src/migrations/startup/bootstrap.rs:347-375 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/repository.rs\u0060 and \u0060crates/db/src/migrations/startup/bootstrap.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/repository.rs:200\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/repository.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9144528a3bdb796ea672ee2d582ce7d772d0ae60f33a0becda6fc47308292e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/planner/src/exec/lowering/costing.rs:334-362 | crates/planner/src/exec/lowering/costing.rs:458-486 \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/planner/src/exec/lowering/costing.rs:334\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/planner/src/exec/lowering/costing.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"de35a5d33ab0525c4ec12806bc31799ad5cc4f5a5c28306b56d53ac93a1e0e05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/planner/src/planning/envelope/write_contract.rs:78-106 | crates/planner/src/planning/selected/native/context_usage.rs:79-107 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/envelope/write_contract.rs\u0060 and \u0060crates/planner/src/planning/selected/native/context_usage.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/envelope/write_contract.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd7ff643988eb3ed153f8a8204d3b7d1f1c1f7b9da85b0dea9a3ccc141e4293"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/db/src/migrations/vector_scale.rs:436-463 | crates/db/src/migrations/vector_scale.rs:583-610 \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/db/src/migrations/vector_scale.rs:436\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/db/src/migrations/vector_scale.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1620f76a926bff042d006f76c1471d5dbbe2edfa0f967b6a7d40784bf06596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/db/src/migrations/indexes/equality_bitmap.rs:406-432 | crates/db/src/migrations/indexes/equality_bitmap.rs:455-481 \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/db/src/migrations/indexes/equality_bitmap.rs:406\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/db/src/migrations/indexes/equality_bitmap.rs:482\u0060 calls \u0060Ok\u0060, \u0060is_empty\u0060 and \u0060crates/db/src/migrations/indexes/equality_bitmap.rs:433\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/db/src/migrations/indexes/equality_bitmap.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ed20e546ed8fc4ca0aefbdc0644a4d22f4605869644a1f09d192483e589396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): crates/db/src/index_lifecycle/text/driver.rs:1849-1874 | crates/db/src/index_lifecycle/text/driver.rs:2094-2118 \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/db/src/index_lifecycle/text/driver.rs:1849\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/db/src/index_lifecycle/text/driver.rs:2093\u0060 calls \u0060requires_creation\u0060 and \u0060crates/db/src/index_lifecycle/text/driver.rs:1848\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"56487205b96572dc064f8154bc0359c4c7a0ace8ce00a5119648d36ad54cc6d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/ast/src/testing/variants.rs:678-702 | crates/planner/src/planning/envelope/root_kind.rs:27-51 \u2014 before extracting anything, compare \u0060crates/ast/src/testing/variants.rs\u0060 and \u0060crates/planner/src/planning/envelope/root_kind.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/planner/src/planning/envelope/root_kind.rs:53\u0060 calls \u0060Some\u0060 and \u0060crates/ast/src/testing/variants.rs:703\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/testing/variants.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f4d20f8f9add2a500bcfdb6de4171c372d573c24441e62f7ad8bbfa436778b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/vector/metadata.rs:28-52 | crates/db/src/encoding/v2/legacy/vector/transaction_guard.rs:28-51 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/vector/metadata.rs\u0060 and \u0060crates/db/src/encoding/v2/legacy/vector/transaction_guard.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/metadata.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"880c9b0ae110f7ddb038b949168f2e6a296e2a864219ad5d4ddb0f8cccc28b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/db/src/execution/interpreter/access/indexes.rs:319-343 | crates/db/src/execution/interpreter/access/indexes.rs:396-420 \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/db/src/execution/interpreter/access/indexes.rs:319\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/access/indexes.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb5ce6f0a5766052768df563aba23e2d983627b188813532b03658a476a9deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/db/src/search/text/mod.rs:1216-1240 | crates/db/src/search/text/mod.rs:1246-1270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/text/mod.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27c26d089ed2bf7e3bcdfe8bd05efeecbab4be49ce55bc41d1f9697cda4be26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/db/src/search/vector/hnsw/mutation/mod.rs:2217-2241 | crates/db/src/search/vector/hnsw/mutation/mod.rs:2271-2295 \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/db/src/search/vector/hnsw/mutation/mod.rs:2217\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/db/src/search/vector/hnsw/mutation/mod.rs:2242\u0060 calls \u0060as_deref\u0060, \u0060unwrap_or\u0060, \u0060as_slice\u0060 and \u0060crates/db/src/search/vector/hnsw/mutation/mod.rs:2296\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3ef623adda128247806f5848f2913118df2792848b1c1172b52424d287d993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/range/edge.rs:204-227 | crates/db/src/encoding/v2/keys/indexes/range/node.rs:29-52 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/range/edge.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/range/node.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/range/edge.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b420d2a1cf1e0d22254a9f179341172137afbdcafe731596083c4aea5402ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): crates/db/src/index_lifecycle_testing.rs:313-334 | crates/db/src/index_lifecycle_testing.rs:858-881 \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/db/src/index_lifecycle_testing.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f34607b90722984c1934944a92da128e56b745d4c7b773e858fd67386ee945e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/db/src/migrations/vector_retirement.rs:496-519 | crates/db/src/migrations/vector_retirement.rs:898-921 \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/db/src/migrations/vector_retirement.rs:496\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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e922289d05439d4d79c76a23e8f78e591246d492cd7c5d20b14f8f61ac5f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/planner/src/diagnostics/analyze.rs:1275-1298 | crates/planner/src/ir/expr/validation.rs:35-58 \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/planner/src/diagnostics/analyze.rs:1275\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/planner/src/diagnostics/analyze.rs"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"247857ebaa0dc28437fc203bcc17956c36f10cd541c690dc9d19b203772c440d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/planner/src/exec/count.rs:1261-1284 | crates/planner/src/exec/count.rs:1325-1348 \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/planner/src/exec/count.rs"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4d77e0ce2b0b4374afbf13e7f5de0066227b9054ecefe567f86cf64dcce5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/vector/reverse_edges.rs:33-55 | crates/db/src/encoding/v2/keys/indexes/vector/reverse_edges.rs:119-141 \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/db/src/encoding/v2/keys/indexes/vector/reverse_edges.rs:33\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/db/src/encoding/v2/keys/indexes/vector/reverse_edges.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e7da7e043cdcb4ff338d9eeb16eb2964953f24b55d334edd15b08c46437635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/db/src/index_lifecycle_testing.rs:1162-1184 | crates/db/src/index_lifecycle_testing.rs:1288-1310 \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/db/src/index_lifecycle_testing.rs:1162\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/db/src/index_lifecycle_testing.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7629cb2a966054a040e97668a974e2c829f17f65bdccfe447e0fe4223947adf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts/all_index_validation.rs:293-315 | crates/db/src/index_lifecycle_testing/contracts/all_index_validation.rs:319-341 \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/db/src/index_lifecycle_testing/contracts/all_index_validation.rs:293\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/db/src/index_lifecycle_testing/contracts/all_index_validation.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf24201fb96336bbe85adccdf7a8e869dc8303b8d2d70c4e08249d94bb1cf07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/db/src/search/vector/hnsw/restricted.rs:1085-1107 | crates/db/src/search/vector/hnsw/restricted.rs:1111-1133 \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/db/src/search/vector/hnsw/restricted.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4b6782dbfb345d83b8650cb4e48c942c4015a0caf5e6d59c96efb390adb778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): crates/db/src/search/vector/hnsw/search.rs:394-413 | crates/db/src/search/vector/hnsw/search.rs:437-459 \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/db/src/search/vector/hnsw/search.rs:394\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/db/src/search/vector/hnsw/search.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"2454e8ea4d8f5cbecd0cae29aaaa0f62e403027c5c30a863fb730838a8554812"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:76-107 | crates/planner/src/rules/access/sets/equality_range/intersection/node.rs:76-107 \u2014 before extracting anything, compare \u0060crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs\u0060 and \u0060crates/planner/src/rules/access/sets/equality_range/intersection/node.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:76\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/planner/src/rules/access/sets/equality_range/intersection/edge.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"25db326db160c73829acb4c949956ee790e5eebc72929765c6784694dcc235b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/db/src/index_lifecycle/vector/driver.rs:1935-1956 | crates/db/src/index_lifecycle/vector/driver.rs:3714-3735 \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/db/src/index_lifecycle/vector/driver.rs:1935\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/db/src/index_lifecycle/vector/driver.rs:3736\u0060 calls \u0060Some\u0060, \u0060try_new\u0060, \u0060map_err\u0060 and \u0060crates/db/src/index_lifecycle/vector/driver.rs:1957\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04e54a4a27e8663eb129ea2d13c333f517f9369c55d87cc2b3dd695d625f0f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/db/src/search/vector/spaces/simple_avx.rs:109-130 | crates/db/src/search/vector/spaces/simple_avx.rs:223-244 \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/db/src/search/vector/spaces/simple_avx.rs:109\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/db/src/search/vector/spaces/simple_avx.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9398d58f3a8cdc320c28ca80ce834f4a82641f43427b073960aa6ea2983c7ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/planner/src/rules/cardinality.rs:513-534 | crates/planner/src/rules/cardinality.rs:629-650 \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/planner/src/rules/cardinality.rs:513\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/planner/src/rules/cardinality.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"131af92ef8fc072c6cdc093ae7f4f302daa32bb584b23278edcae6f21ec84876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 3): crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:108-128 | crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:251-267 | crates/db/src/encoding/v2/keys/indexes/equality/node.rs:60-78 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/equality/edge.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/equality/node.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/equality/edge.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c8233cc468c2450da24304e6d4e6ef29cdc3bafe71d4456c56a1ba60880753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:4891-4911 | crates/db/src/index_lifecycle_testing/contracts/all_index_validation.rs:1112-1132 \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/db/src/index_lifecycle_testing/contracts.rs:4891\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":4891}}}],"partialFingerprints":{"codehealthFindingId/v1":"068e11acd7672290e36188b4eb65c38035b9512e70d2e2788cae23576c376ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/db/src/search/mod.rs:2687-2707 | crates/db/src/search/mod.rs:2709-2729 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":2687}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a63cecbde4c20d410c1c2a5f4b047ce91d739c667c83d1d225dcc486e0f5def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/planner/src/planning/envelope/write_contract.rs:53-73 | crates/planner/src/planning/selected/native/context_usage.rs:53-73 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/envelope/write_contract.rs\u0060 and \u0060crates/planner/src/planning/selected/native/context_usage.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/envelope/write_contract.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fbafe37b13bbb6311649392610faa4ed25ddafdc1ca9f639d8c64a8ca9ff71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/planner/src/rules/cardinality.rs:862-882 | crates/planner/src/rules/cardinality.rs:955-975 \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/planner/src/rules/cardinality.rs:862\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/planner/src/rules/cardinality.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2ff52f57aa1b080949b44a05b2ace0dd479d40f6bf910d33ae1227b98d4d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201320 lines \u00D7 2): crates/ast/src/testing/variants.rs:654-673 | crates/planner/src/planning/envelope/root_kind.rs:13-22 \u2014 before extracting anything, compare \u0060crates/ast/src/testing/variants.rs\u0060 and \u0060crates/planner/src/planning/envelope/root_kind.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/ast/src/testing/variants.rs:654\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/ast/src/testing/variants.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf9aad12ba20b948bc3aa066fe9b4953aac359b14ee7f9b561b2dff28ff891f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/label.rs:46-65 | crates/db/src/encoding/v2/keys/indexes/label.rs:153-172 \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/db/src/encoding/v2/keys/indexes/label.rs:46\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/db/src/encoding/v2/keys/indexes/label.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa54daabcdac35afb7b99fce4a69a1bf975aae9fe1ca0f0d26910e71b28a3f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/db/src/execution/interpreter/access/indexes.rs:852-871 | crates/db/src/execution/interpreter/access/range.rs:346-365 \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/db/src/execution/interpreter/access/indexes.rs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fa635fc6748a31cda7a0961ea9d070a4437f619cee4556322224c089b1288b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:2306-2325 | crates/planner/src/rules/cardinality.rs:2172-2191 \u2014 before extracting anything, compare \u0060crates/db/src/execution/interpreter/count.rs\u0060 and \u0060crates/planner/src/rules/cardinality.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/count.rs:2306\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":2306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd0c478ca84a1db42e8ef1b2b2886f6a19fcfcaccaf49b36a02c2edbf76bb17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/db/src/migrations/mod.rs:3473-3492 | crates/db/src/migrations/mod.rs:3583-3602 \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/db/src/migrations/mod.rs:3473\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/db/src/migrations/mod.rs"},"region":{"startLine":3473}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6aecd588826dbc7e8a2643dad1d2fdf86090da4b51c514e69416806eeb4491c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/db/src/search/vector/spaces/simple_avx.rs:266-285 | crates/db/src/search/vector/spaces/simple_avx.rs:304-323 \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/db/src/search/vector/spaces/simple_avx.rs:266\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/db/src/search/vector/spaces/simple_avx.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"2423394bccf20864be2f07cea94e547ca79ad8d48675c5e4f7bca9ee26a302d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/planner/src/planning/index_ddl/create.rs:18-37 | crates/planner/src/planning/index_ddl/drop.rs:16-33 \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/planner/src/planning/index_ddl/create.rs:18\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/planner/src/planning/index_ddl/create.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaa2539bd0aed9b215c701b8bb5602c105dda93b9a1cede049aa86236ce6a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs:17-35 | crates/db/src/encoding/v2/keys/indexes/vector/items.rs:17-34 | crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs:17-34 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abcbb321752188bf814d70b21134d3c2393f34647e93c89ccbd8020515ada10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/ast/src/nesting.rs:42-60 | crates/planner/src/cost/profile/residual.rs:85-103 \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/ast/src/nesting.rs:42\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/ast/src/nesting.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"00061c2fc4496fde4283573f48346db1e5bf2ace21cbd8e685835374c502f013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/ast/src/testing/variants.rs:725-743 | crates/planner/src/planning/envelope/root_kind.rs:79-96 \u2014 before extracting anything, compare \u0060crates/ast/src/testing/variants.rs\u0060 and \u0060crates/planner/src/planning/envelope/root_kind.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/planner/src/planning/envelope/root_kind.rs:78\u0060 calls \u0060Some\u0060 and \u0060crates/ast/src/testing/variants.rs:724\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/testing/variants.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fd81b78bff5806a0cbbe01327a16b1d5cabe2a2d87923fa5fd7f9fa936a029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/property.rs:210-228 | crates/db/src/encoding/v2/keys/indexes/property.rs:275-293 \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/db/src/encoding/v2/keys/indexes/property.rs:210\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/db/src/encoding/v2/keys/indexes/property.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b59747a86312c15d23c1ed8d7ff622d6d80ba5ee0dcf167388fba1987074da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/vector/items.rs:29-44 | crates/db/src/encoding/v2/keys/indexes/vector/items.rs:93-111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/indexes/vector/items.rs:29\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/db/src/encoding/v2/keys/indexes/vector/items.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"43251edd8c94348da0ae4bc91a9621b83fc83f2e80f08b4eec987b53c9ed2677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/vector/items.rs:81-99 | crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs:81-98 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/vector/items.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/items.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6039f4e0ed4b3d22c9eb431c2e7a63563a7c6fecf45b0468d0e24db163eeb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/vector/items.rs:107-125 | crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs:105-123 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/vector/items.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/indexes/vector/items.rs:107\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/db/src/encoding/v2/keys/indexes/vector/items.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"71669dcabe7e88aeb149cbb82a0e055ec96880f4f69b268775a90a3b38751f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/db/src/execution/interpreter/mutation/edge.rs:333-351 | crates/db/src/execution/interpreter/mutation/node.rs:287-305 \u2014 before extracting anything, compare \u0060crates/db/src/execution/interpreter/mutation/edge.rs\u0060 and \u0060crates/db/src/execution/interpreter/mutation/node.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/mutation/edge.rs:333\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/db/src/execution/interpreter/mutation/edge.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"86421bd17fcbfd1d4d054a8e6d8a9b3aaf20e0f65eef08b3826fc2a96c2a89b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/db/src/index_lifecycle/secondary/exact.rs:526-544 | crates/db/src/index_lifecycle/secondary/exact/ordered.rs:193-210 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary/exact.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b70b99ccf5889174cfce69d14666eb78042758ee2cc3b325002fb564edcafdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/db/src/merge_operator.rs:333-350 | crates/db/src/merge_operator.rs:362-380 \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/db/src/merge_operator.rs:333\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/db/src/merge_operator.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aed8296569124ee29c468765f8205e36c5dcba1c06da78c796b92723873937f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/db/src/search/vector/hnsw/search.rs:479-497 | crates/db/src/search/vector/hnsw/search.rs:1039-1056 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/search.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c56f1e49277fce4a26bd8cf87652751a5ae5ceb3f83d21d7f5cfb6d491231e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/db/src/search/vector/spaces/simple_avx.rs:55-73 | crates/db/src/search/vector/spaces/simple_avx.rs:168-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/search/vector/spaces/simple_avx.rs:55\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/db/src/search/vector/spaces/simple_avx.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a1e2fad7461efe59282a4022ddda19a4e94fe57eb3e1a41745432ea8094592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/db/src/index_lifecycle/secondary.rs:5196-5213 | crates/db/src/index_lifecycle/text/driver.rs:2956-2973 | crates/db/src/index_lifecycle/vector/driver.rs:4252-4269 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/text/driver.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary.rs:5196\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":5196}}}],"partialFingerprints":{"codehealthFindingId/v1":"6003ab1d2e9a9f61d04f064bd51c0368002a0ccd285cbaf3d8dfb0f43389d20b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/db/src/encoding/v2/values/indexes/equality/mod.rs:291-308 | crates/db/src/encoding/v2/values/indexes/range.rs:66-83 \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/db/src/encoding/v2/values/indexes/equality/mod.rs:291\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/indexes/equality/mod.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a78405fa155ecd2ddac8cd67fae43c77a618d68aa462f02f9173d2a934f5b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/db/src/index_lifecycle/secondary/exact.rs:274-290 | crates/db/src/index_lifecycle/secondary/exact/unique.rs:43-60 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary/exact.rs\u0060 and \u0060crates/db/src/index_lifecycle/secondary/exact/unique.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary/exact.rs:274\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/db/src/index_lifecycle/secondary/exact.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"929d0b8dbfd25e2354d32cbae48a97cc206968111f94be15710a6877370d2e6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/db/src/index_lifecycle/secondary/exact.rs:295-311 | crates/db/src/index_lifecycle/secondary/exact/unique.rs:65-82 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary/exact.rs\u0060 and \u0060crates/db/src/index_lifecycle/secondary/exact/unique.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary/exact.rs:295\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary/exact.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3da1e2738f7f653d657fbcbd43b07c2e1c3a5811421fbfa65e1051b3f57d3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201318 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:3474-3485 | crates/db/src/index_lifecycle_testing/contracts.rs:3500-3517 \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/db/src/index_lifecycle_testing/contracts.rs:3474\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3474}}}],"partialFingerprints":{"codehealthFindingId/v1":"96711b92b65088d672338326ea49a63db84202a0873437df7365dca2d1f0805d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/db-testkit/src/model.rs:972-988 | crates/db-testkit/src/model.rs:995-1011 \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/db-testkit/src/model.rs:972\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/db-testkit/src/model.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05aa801649a21bc5b1d19893d0e3587fc025e1cc274e373015a97523f5bb218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:279-293 | crates/db/src/encoding/v2/keys/indexes/equality/node.rs:91-107 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/equality/edge.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/equality/node.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:279\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/db/src/encoding/v2/keys/indexes/equality/edge.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb45abae9c56d8eae6b967cc84590b559ba9021adc9048606b3dec8af4a7f5f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs:29-44 | crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs:93-109 \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/db/src/encoding/v2/keys/indexes/vector/simhash.rs:29\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/db/src/encoding/v2/keys/indexes/vector/simhash.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d3f224682f19b0e4fd94f662c4214fb95082914aa44c38d8e51b53ae0ce82a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/db/src/execution/interpreter/mutation/edge.rs:394-409 | crates/db/src/execution/interpreter/mutation/node.rs:340-356 \u2014 before extracting anything, compare \u0060crates/db/src/execution/interpreter/mutation/edge.rs\u0060 and \u0060crates/db/src/execution/interpreter/mutation/node.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/mutation/edge.rs:394\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/mutation/edge.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7913f0276988b07e9422e04204df62907c08811254d7ce2ae938c1ecceb0c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/db/src/execution/interpreter/mutation/rows.rs:298-313 | crates/db/src/execution/interpreter/mutation/rows.rs:344-360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/mutation/rows.rs:298\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/db/src/execution/interpreter/mutation/rows.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc616d687cf9b13227a92afebebd0571fb61d9167fc7dd01d595011e0f0e008c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:2071-2087 | crates/db/src/index_lifecycle/secondary.rs:2597-2610 \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/db/src/index_lifecycle/secondary.rs:2071\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6f07bd0bd420819131f6c0e37bfc3778efc23dd13ba669c41de00e9140deb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/db/src/index_lifecycle/text/active_batch.rs:919-935 | crates/db/src/index_lifecycle/text/active_batch.rs:944-960 \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/db/src/index_lifecycle/text/active_batch.rs:919\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/db/src/index_lifecycle/text/active_batch.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afeca0c96a7e7236d3cdec7f2c597ff14f2679000fe709ac822b6eb5745b1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/db/src/index_lifecycle/text/serving.rs:216-232 | crates/db/src/index_lifecycle/text/serving.rs:302-318 \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/db/src/index_lifecycle/text/serving.rs:216\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/db/src/index_lifecycle/text/serving.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d32d3612795a560b0dfb523db71aaddbf611b04f1cbb1780fdf71facb50e1a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/db/src/index_lifecycle/worker.rs:751-767 | crates/db/src/index_lifecycle/worker.rs:820-836 \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/db/src/index_lifecycle/worker.rs:751\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/db/src/index_lifecycle/worker.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a52ba9c0a63b30a412f6846d62eb32e94ae4cfcfae419bc0d01f598cc71279"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/value-semantics/src/lib.rs:93-109 | crates/value-semantics/src/lib.rs:117-133 \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/value-semantics/src/lib.rs:93\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/value-semantics/src/lib.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e133c3974b898e06df2bd3a349a950e52bd2cd4881d12ea7c3a963360e0d10f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 5): crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:109-124 | crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:251-265 | crates/db/src/encoding/v2/keys/indexes/equality/node.rs:60-74 | crates/db/src/encoding/v2/keys/indexes/label.rs:41-55 | crates/db/src/encoding/v2/keys/indexes/label.rs:147-162 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/equality/edge.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/equality/node.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/equality/edge.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2cfe11644755750affb58dad6775b5338fa5f332a0ccf9926fde4af5a70005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 4): crates/db/src/search/vector/spaces/simple_avx.rs:55-67 | crates/db/src/search/vector/spaces/simple_avx.rs:110-125 | crates/db/src/search/vector/spaces/simple_avx.rs:168-180 | crates/db/src/search/vector/spaces/simple_avx.rs:224-239 \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/db/src/search/vector/spaces/simple_avx.rs:55\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/db/src/search/vector/spaces/simple_avx.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e888cfa1025b86ba0a50bad7fe5ceefdaca80820a71fd7adf7dd8a70a82b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/db/src/execution/interpreter/mod.rs:386-401 | crates/db/src/execution/interpreter/pull/branch.rs:135-150 | crates/db/src/execution/interpreter/pull/mod.rs:211-226 \u2014 before extracting anything, compare \u0060crates/db/src/execution/interpreter/pull/branch.rs\u0060 and \u0060crates/db/src/execution/interpreter/pull/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/mod.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd009e2ad04b4415fb8a2e08c6a60c2c17c3c62a1ad4190dfc2002577330f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/ast/src/query.rs:878-893 | crates/ast/src/query.rs:1098-1113 \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/ast/src/query.rs:878\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/ast/src/query.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"492082e8ae3d2e1eb62b892fc788466b0f04a6430a856c5174e44237adb30c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:150-165 | crates/db/src/encoding/v2/keys/indexes/range/edge.rs:169-184 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060slice\u0060 to \u0060\u0026[u8]\u0060 in one and \u0060\u0026\u0027a [u8]\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/db/src/encoding/v2/keys/indexes/equality/edge.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe360df8e18a30fec70088b1b60c95834c0d50a31a0b3e020454a0aff04ca323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/range/edge.rs:219-234 | crates/db/src/encoding/v2/keys/indexes/range/edge.rs:401-414 \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/db/src/encoding/v2/keys/indexes/range/edge.rs:219\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/db/src/encoding/v2/keys/indexes/range/edge.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26b0b714421fe90a75575ed7d2462b47b9dbda6aeafb4bf1252a839dad6ea41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/db/src/index_lifecycle_testing.rs:1216-1231 | crates/db/src/index_lifecycle_testing.rs:1400-1415 \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/db/src/index_lifecycle_testing.rs:1216\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/db/src/index_lifecycle_testing.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0e0482c36fc1a458550d3223895f73071a80fe23bce7e471103788c79ac849"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:3566-3581 | crates/db/src/index_lifecycle_testing/contracts.rs:3647-3661 \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/db/src/index_lifecycle_testing/contracts.rs:3566\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3566}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfb0b075adb02abddf3ce903d70b83702999997bb869b2fb8d069010eb93a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/db/src/migrations/mod.rs:1865-1880 | crates/db/src/migrations/mod.rs:2104-2118 \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/db/src/migrations/mod.rs:1865\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/mod.rs"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"192a8c7e17f53ccb227de1db7a9d87b1388670a0530131c248a89edf37f40709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): crates/db/src/search/vector/hnsw/index.rs:1381-1393 | crates/db/src/search/vector/hnsw/index.rs:1448-1463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/search/vector/hnsw/index.rs:1381\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/db/src/search/vector/hnsw/index.rs"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"d435f08e8847bc64eef275f9d5eadb5419afcd346169c1fbb8bd88067baf0a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/planner/src/exec/lowering/costing.rs:367-382 | crates/planner/src/exec/lowering/costing.rs:491-506 \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/planner/src/exec/lowering/costing.rs:367\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/planner/src/exec/lowering/costing.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"679926a092b725c454d8d9eaf4265484545ef35c41117778077722458283b8c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/planner/src/rules/access/order/direction/edge.rs:11-26 | crates/planner/src/rules/access/order/direction/node.rs:11-26 \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/planner/src/rules/access/order/direction/edge.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e94cb83acccc8edb37d1248efae094f8d75814a9b9a27483e471de42a88941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 6): crates/db/src/migrations/vector_properties.rs:282-296 | crates/db/src/migrations/vector_retirement.rs:388-400 | crates/db/src/migrations/vector_retirement.rs:515-527 | crates/db/src/migrations/vector_retirement.rs:649-661 | crates/db/src/migrations/vector_retirement.rs:758-771 | crates/db/src/migrations/vector_retirement.rs:917-930 \u2014 before extracting anything, compare \u0060crates/db/src/migrations/vector_properties.rs\u0060 and \u0060crates/db/src/migrations/vector_retirement.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/migrations/vector_properties.rs:282\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_properties.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"194ed811132135681b87115a8883022e5e1e9512e8d11104a98992eb7b5cbce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs:169-183 | crates/db/src/encoding/v2/keys/indexes/vector/layer0.rs:18-32 | crates/db/src/encoding/v2/keys/indexes/vector/reverse_edges.rs:21-35 | crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs:163-177 | crates/db/src/encoding/v2/keys/indexes/vector/upper_layers.rs:107-121 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/vector/layer0.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08186d6a4aebf7793cc9f5b4e27a1cb98115b5e67344f4e4bec5273c2683b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 3): crates/db/src/index_lifecycle/secondary/exact.rs:95-124 | crates/db/src/index_lifecycle/secondary/exact.rs:277-304 | crates/db/src/index_lifecycle/secondary/exact/unique.rs:47-74 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary/exact.rs\u0060 and \u0060crates/db/src/index_lifecycle/secondary/exact/unique.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary/exact.rs:95\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/db/src/index_lifecycle/secondary/exact.rs:125\u0060 calls \u0060encode\u0060, \u0060definition_lane\u0060, \u0060clone\u0060 and \u0060crates/db/src/index_lifecycle/secondary/exact.rs:305\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/db/src/index_lifecycle/secondary/exact.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c7d835cb555f62337bf7ea30069174d9b453e15448289a9e21e74862bdcb55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bindings/uniffi/src/graph.rs:913-927 | bindings/uniffi/src/graph.rs:950-964 \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":"bindings/uniffi/src/graph.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdce71deebd97551c577393a1f52909ed726edd5bc935a70c052f653a37ba13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/ast/src/testing/variants.rs:703-717 | crates/planner/src/planning/envelope/root_kind.rs:54-67 \u2014 before extracting anything, compare \u0060crates/ast/src/testing/variants.rs\u0060 and \u0060crates/planner/src/planning/envelope/root_kind.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/testing/variants.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"5201bd14afc5f02a3b44546b2479017483b37c81b00e4707ed43af52c7932176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs:83-97 | crates/db/src/encoding/v2/keys/indexes/vector/upper_layers.rs:23-37 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/vector/upper_layers.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de49d7abbcfe843a3784a9bfdd6c7a8b6577e220875a62b3b97c3e3a73dc83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/vector/storage_prefixes.rs:181-195 | crates/db/src/encoding/v2/keys/indexes/vector/storage_prefixes.rs:234-248 \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/db/src/encoding/v2/keys/indexes/vector/storage_prefixes.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b5d3ad24eac7a8693edbbb6929b746250ea37d51da53856fb4a96d8a453dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/db/src/execution/interpreter/rows/bound_match.rs:186-200 | crates/db/src/execution/interpreter/rows/correlated.rs:228-242 \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/db/src/execution/interpreter/rows/bound_match.rs:186\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/db/src/execution/interpreter/rows/bound_match.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3495476ba2c49d40f22f0b1c0494f235b47ba32ad2511af8897e30b3db3fea93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/db/src/index_lifecycle/queue/publication.rs:1126-1140 | crates/db/src/index_lifecycle/queue/publication.rs:1715-1729 \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/db/src/index_lifecycle/queue/publication.rs:1126\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/db/src/index_lifecycle/queue/publication.rs"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"90608bc90b40a7f50294b37e48167c14f94577a5074a4c2399f060792198e90a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/db/src/index_lifecycle/worker.rs:729-743 | crates/db/src/index_lifecycle/worker.rs:791-805 \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/db/src/index_lifecycle/worker.rs:729\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/db/src/index_lifecycle/worker.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7e78c3892cc48743b79df32f059a3f87158bb1a443ee31c07cde8ce8064aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:4225-4239 | crates/db/src/index_lifecycle_testing/contracts.rs:4325-4339 \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/db/src/index_lifecycle_testing/contracts.rs:4225\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/db/src/index_lifecycle_testing/contracts.rs:4323\u0060 calls \u0060Fn\u0060 and \u0060crates/db/src/index_lifecycle_testing/contracts.rs:4223\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":4225}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a743dfe1ba55ce7a15f299881b3505d152c510da19f3e9500c48acd7681b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/db/src/search/text/mod.rs:1174-1188 | crates/db/src/search/text/mod.rs:1196-1210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/text/mod.rs"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"08449787470c947916b8b40c250c69fbfaaed6b3de3223e460b5a94553decf8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/db/src/search/vector/hnsw/restricted.rs:1130-1144 | crates/db/src/search/vector/hnsw/restricted.rs:1443-1457 \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/db/src/search/vector/hnsw/restricted.rs:1130\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/db/src/search/vector/hnsw/restricted.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c364cfbbf1d5b1a7e347e96cba8a85a6c8779eb486f7c6d9d066c2eee321c91c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/db/src/search/vector/spaces/simple_sse.rs:50-62 | crates/db/src/search/vector/spaces/simple_sse.rs:106-120 \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/db/src/search/vector/spaces/simple_sse.rs:50\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/db/src/search/vector/spaces/simple_sse.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e1919d0786a13b1c69e1a96c8a202a1d8ec3c9df9029fb575cce3b8745f2ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/planner/src/exec/access/edge.rs:310-324 | crates/planner/src/exec/access/node.rs:474-488 \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/planner/src/exec/access/edge.rs:310\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/planner/src/exec/access/node.rs:473\u0060 calls \u0060take\u0060 and \u0060crates/planner/src/exec/access/edge.rs:309\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/access/edge.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff107e6f10167c68ad3c9ca66e9433d10f5072a54135ca72d2150bc054aec8eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/planner/src/exec/lowering/costing.rs:390-404 | crates/planner/src/exec/lowering/costing.rs:514-528 \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/planner/src/exec/lowering/costing.rs:390\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/planner/src/exec/lowering/costing.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"d492845e6e17637b128c0c32b7512ee5a84c4106c7ebb863695c6b93691345c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/planner/src/exec/lowering/secondary_set.rs:258-272 | crates/planner/src/exec/lowering/secondary_set.rs:320-334 \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/planner/src/exec/lowering/secondary_set.rs:258\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060child\u0060 to \u0060exec::ExecNodeSecondarySetPlan\u0060 in one and \u0060exec::ExecEdgeSecondarySetPlan\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/planner/src/exec/lowering/secondary_set.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"a003162281d83c674041aef3729a917489990d931a322d3cc3899d54e074bc7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/planner/src/planning/envelope/write_contract.rs:34-47 | crates/planner/src/planning/selected/native/context_usage.rs:25-39 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/envelope/write_contract.rs\u0060 and \u0060crates/planner/src/planning/selected/native/context_usage.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/envelope/write_contract.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e92af78275999a9ada9ce7dd626d62dac10d44a971b66e0f3bfed9978aacb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/planner/src/rules/cardinality.rs:1482-1496 | crates/planner/src/rules/cardinality.rs:1559-1573 \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/planner/src/rules/cardinality.rs:1482\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060children\u0060 to \u0060\u0026ir::AtLeast\u003Cir::NodeAccessSourcePlan, 2\u003E\u0060 in one and \u0060\u0026ir::AtLeast\u003Cir::EdgeAccessSourcePlan, 2\u003E\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/planner/src/rules/cardinality.rs"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf81461689586c7123b129516a8726aeb8dabbd3e274c5503db00c23f7ce4d9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): crates/db/src/encoding/v2/keys/graph.rs:33-46 | crates/db/src/encoding/v2/keys/graph.rs:104-117 | crates/db/src/encoding/v2/keys/graph.rs:175-188 | crates/db/src/encoding/v2/keys/graph.rs:255-268 | crates/db/src/encoding/v2/keys/graph.rs:325-338 | crates/db/src/encoding/v2/legacy/edge_property_pair.rs:28-41 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/graph.rs\u0060 and \u0060crates/db/src/encoding/v2/legacy/edge_property_pair.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/graph.rs:33\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/db/src/encoding/v2/keys/graph.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6d24b6d3167ee537cfc046536ffd4ab5e8d2565a1c0613d7ba9ad96ef0a544"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/db/src/search/vector/storage/mod.rs:919-932 | crates/db/src/search/vector/storage/mod.rs:941-954 | crates/db/src/search/vector/storage/mod.rs:970-983 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/search/vector/storage/mod.rs:919\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8f06d2023354dffd4a60f1edc72283217c3a3d341634d178cdd4031af6993d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/cli/src/commands/add.rs:150-163 | crates/cli/src/commands/start.rs:99-112 \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/cli/src/commands/add.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c039b95b88c211aa73e8c209996750f3febbeb0e7e04256a3ebe3bb0469b59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/cli/src/local_runtime.rs:409-422 | crates/cli/src/local_runtime.rs:444-456 \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/cli/src/local_runtime.rs:409\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/cli/src/local_runtime.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"f664d870aaca5bae45d4862b6381af82fe72d6eb4c71ec22d2a4f1d4625c67b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/db/src/config/runtime_catalog.rs:15-26 | crates/db/src/config/runtime_catalog.rs:240-253 \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/db/src/config/runtime_catalog.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"014798f1fc637bb3b30a885583142b3bca6e0bdec9d7686fc0dc3db7747ebe0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/db/src/execution/interpreter/access/indexes.rs:304-317 | crates/db/src/execution/interpreter/access/indexes.rs:381-394 \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/db/src/execution/interpreter/access/indexes.rs:304\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/db/src/execution/interpreter/access/indexes.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e6b621414670acc1e436b8a8d0dbbcf6b5a9cabe4d878e7ce73830344f179b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:2280-2293 | crates/planner/src/rules/cardinality.rs:2146-2159 \u2014 before extracting anything, compare \u0060crates/db/src/execution/interpreter/count.rs\u0060 and \u0060crates/planner/src/rules/cardinality.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/count.rs:2280\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"186698a8bd8a3b4441384fad4a8e9e221f32924e5407f34b02491d29720ec925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/db/src/execution/interpreter/mutation/edge.rs:281-294 | crates/db/src/execution/interpreter/mutation/edge.rs:345-358 \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/db/src/execution/interpreter/mutation/edge.rs:281\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/db/src/execution/interpreter/mutation/edge.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e091b925eca425de301d4d77de897609fbdbb531d6738d6957edfbf5679f17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/db/src/execution/interpreter/mutation/node.rs:222-235 | crates/db/src/execution/interpreter/mutation/node.rs:299-312 \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/db/src/execution/interpreter/mutation/node.rs:222\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/db/src/execution/interpreter/mutation/node.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"183a5085c24abe0daf2ace06e1bac5fc8ddb880db9971f02ed7bbe2b9e2b4bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): crates/db/src/execution/interpreter/rows/mod.rs:258-268 | crates/db/src/execution/interpreter/rows/mod.rs:301-314 \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/db/src/execution/interpreter/rows/mod.rs:258\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. 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/db/src/execution/interpreter/rows/mod.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd9d27d5ac266d7f1af5a457c74e59912949202d529685e3e758162d6a7aedb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/db/src/index_lifecycle/queue/publication.rs:1154-1167 | crates/db/src/index_lifecycle/queue/publication.rs:1734-1747 \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/db/src/index_lifecycle/queue/publication.rs:1154\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/db/src/index_lifecycle/queue/publication.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"355be420820145e89ea6289187f46ca82dd9102a0746df18dd7b5f897b2db57f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/db/src/index_lifecycle_testing.rs:920-931 | crates/db/src/index_lifecycle_testing.rs:972-985 \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/db/src/index_lifecycle_testing.rs:920\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/db/src/index_lifecycle_testing.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efab9c24ac7a2891029a6ca4e2cbc87449ff69dc018f1f8a681612a53f86d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/db/src/lib.rs:1430-1443 | crates/db/src/lib.rs:1718-1731 \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/db/src/lib.rs"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c85aace061209d23bf86bd2ddd72c9b0cf96685700dcc2793c49999083439d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/db/src/migrations/mod.rs:2526-2539 | crates/db/src/migrations/mod.rs:2555-2568 \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/db/src/migrations/mod.rs"},"region":{"startLine":2526}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf698ae97e914e1a192f9465b3acacd87ceb6fa5251b8195aadee3352cdbae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/db/src/search/vector/hnsw/index.rs:1091-1103 | crates/db/src/search/vector/hnsw/index.rs:1166-1179 \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/db/src/search/vector/hnsw/index.rs:1091\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/db/src/search/vector/hnsw/index.rs"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"f038efb8e20d86db32932e665769273c120918b5187833603fc66444ae8c4640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/db/src/search/vector/storage/mod.rs:2520-2533 | crates/db/src/search/vector/storage/mod.rs:2543-2556 \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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c804ac37f522447218599b9932737e3e9024807d6ae54739c6ba0eb31168c04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/graph-algorithms/src/algorithms/centrality.rs:391-404 | crates/graph-algorithms/src/algorithms/centrality.rs:415-428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/graph-algorithms/src/algorithms/centrality.rs:391\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/graph-algorithms/src/algorithms/centrality.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd922aee71946ae69f385521a2168636262140eef42f9514c2dccd7b4f248cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/planner/src/ir/access/edge/analysis.rs:93-106 | crates/planner/src/ir/access/edge/analysis.rs:122-135 \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/planner/src/ir/access/edge/analysis.rs:93\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/planner/src/ir/access/edge/analysis.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba222f0a2dff71351427db56f2973fc588c0a4bf7c7c179c23e6bdd10c567c58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/planner/src/ir/access/node/analysis.rs:102-115 | crates/planner/src/ir/access/node/analysis.rs:131-144 \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/planner/src/ir/access/node/analysis.rs:102\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/planner/src/ir/access/node/analysis.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f158a0d9b53ef15585f676ee1528e80800b6f6aab8105e103febe8c5dab47fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/planner/src/planning/selected/native/scoped/control_flow/branch.rs:21-34 | crates/planner/src/planning/selected/native/scoped/control_flow/branch.rs:76-89 \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/planner/src/planning/selected/native/scoped/control_flow/branch.rs:21\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/planner/src/planning/selected/native/scoped/control_flow/branch.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e831fdbdf981e1b3a7f17ee531e48870df917f8da8db2f0391b0835ccf40698d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/planner/src/rules/cardinality.rs:1421-1435 | crates/planner/src/rules/cardinality.rs:1445-1459 \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/planner/src/rules/cardinality.rs:1421\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060children\u0060 to \u0060\u0026ir::AtLeast\u003Cir::NodeAccessSourcePlan, 2\u003E\u0060 in one and \u0060\u0026ir::AtLeast\u003Cir::EdgeAccessSourcePlan, 2\u003E\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/planner/src/rules/cardinality.rs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ccc092c8cee949541f1a6c3c4f73bfd6af717f38864b7ab69ecac99f560121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/planner/src/rules/physical_contracts/access/source/edge.rs:80-93 | crates/planner/src/rules/physical_contracts/access/source/node.rs:83-96 \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/planner/src/rules/physical_contracts/access/source/edge.rs:80\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/planner/src/rules/physical_contracts/access/source/edge.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"695ebcab0c16996af08cfa77def5e6f1bc3f2c81a451ef384cb3b6c140268587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs:195-207 | crates/db/src/encoding/v2/keys/indexes/vector/layer0.rs:44-56 | crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs:189-201 | crates/db/src/encoding/v2/keys/indexes/vector/upper_layers.rs:133-145 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/vector/layer0.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs:195\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/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c2f845db13298c3b6f7377d9c04d280b0866f652dd8fd6f69580e4f7af6818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): crates/db/src/index_lifecycle/text/driver.rs:684-695 | crates/db/src/index_lifecycle/text/driver.rs:710-721 | crates/db/src/index_lifecycle/text/driver.rs:727-739 | crates/db/src/index_lifecycle/text/driver.rs:744-755 \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. 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 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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7895d83e591be0b328590ba057a4b7b430d94f2802da8a3edeb8d50a12012bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): crates/planner/src/analysis/index_atoms/equality.rs:41-52 | crates/planner/src/analysis/labels.rs:97-109 | crates/planner/src/analysis/labels.rs:131-142 | crates/planner/src/analysis/labels.rs:271-282 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/analysis/labels.rs:97\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/planner/src/analysis/index_atoms/equality.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec046764703e137edc6c4fff49f8439aad8aec306e79c6aa3bb922cf786fd1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/db/src/migrations/vector_retirement.rs:496-508 | crates/db/src/migrations/vector_retirement.rs:626-638 | crates/db/src/migrations/vector_retirement.rs:898-910 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/migrations/vector_retirement.rs:496\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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec90e8fe7cf452787c669bbe5b9f13d4a190fdab4b1abcafd327dcb1ad16317e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/range/edge.rs:371-382 | crates/db/src/encoding/v2/keys/indexes/range/node.rs:185-197 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/range/edge.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/range/node.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/indexes/range/edge.rs:371\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/db/src/encoding/v2/keys/indexes/range/edge.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"574aa967455a8520cb2b7e1807fb685a9141996ab36d5eeeee5207c330bf37b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs:29-41 | crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs:95-107 \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/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs:29\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdf74003cb48f9df6dca8cf4e638239a4e7e330da3478bebdb4e306aa18429d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/execution/interpreter/access/indexes.rs:290-302 | crates/db/src/execution/interpreter/access/indexes.rs:367-379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/access/indexes.rs:290\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/access/indexes.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a62e96cc3cb71172b0893c9ad0c55ae2baf941cbd009240bb4c7188deb89de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:314-326 | crates/db/src/execution/interpreter/count.rs:338-350 \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/db/src/execution/interpreter/count.rs:314\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"17323424d1a069a15cdd28f797801e8188eab1e35541cfc780ce5edee9a832f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:362-374 | crates/db/src/execution/interpreter/count.rs:386-398 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/count.rs:362\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98f1b91d754b9ee49510043fbcf4bab1db43c5b970ad8f7905ade3162c82157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:660-672 | crates/db/src/execution/interpreter/count.rs:718-730 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/count.rs:660\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/db/src/execution/interpreter/count.rs:659\u0060 calls \u0060default\u0060 and \u0060crates/db/src/execution/interpreter/count.rs:717\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/count.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"e836086b9ad273711cfa860beba032ad4779d970fb1728e09d7d665e2ee1dc25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:1058-1070 | crates/db/src/execution/interpreter/count.rs:1087-1099 \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/db/src/execution/interpreter/count.rs:1058\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa163dfc72e5f5a0fabb8b77746a15a5af08be9539095d83101a1b38fc571d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:1116-1128 | crates/db/src/execution/interpreter/count.rs:1145-1157 \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/db/src/execution/interpreter/count.rs:1116\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"174aef1399e2e550648170fdfd65014abd4293b7fb0903160415f6e0324fad34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:3175-3187 | crates/db/src/index_lifecycle/secondary.rs:3250-3262 \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/db/src/index_lifecycle/secondary.rs:3175\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/db/src/index_lifecycle/secondary.rs:3188\u0060 calls \u0060Some\u0060, \u0060try_new\u0060, \u0060map_err\u0060 and \u0060crates/db/src/index_lifecycle/secondary.rs:3263\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":3175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca9a3bc64f6eab09893cf6b02e18d09cdf4820573d69c0f2defa174f9dd4f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/merge_operator.rs:155-167 | crates/db/src/merge_operator.rs:179-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/merge_operator.rs:155\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/db/src/merge_operator.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02ffcd1528296b012e026ad35d52b4bb95ff3117a4af4a6868f9da70893ec2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/search/mod.rs:2493-2505 | crates/db/src/search/mod.rs:2507-2519 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":2493}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bec45d570ffc76f47a6b6dccca5d3bdb27f53d0d3ed1411ebb1f8a4da63d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/db/src/search/vector/generation.rs:398-411 | crates/db/src/search/vector/generation.rs:512-525 \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/db/src/search/vector/generation.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf43e1c6f0c2488fdd99dc49bb9e9c2be4c2120bb749c25e01833fc00144ef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): crates/db/src/search/vector/storage/mod.rs:1500-1509 | crates/db/src/search/vector/storage/mod.rs:1551-1563 \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/db/src/search/vector/storage/mod.rs:1500\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 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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"6423e656ec0ea0609cd7f83506e2fbaf2700ad19b192b1694cabb5ebfa4e3250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/search/vector/storage/mod.rs:1933-1945 | crates/db/src/search/vector/storage/mod.rs:1963-1975 \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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1933}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ef9158a92a48eab7b7c6e8082f1735cfe4d2700f0435306fa5eadfe7b23dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/planner/src/planning/search/access/edge.rs:24-36 | crates/planner/src/planning/search/access/node.rs:24-36 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/search/access/edge.rs\u0060 and \u0060crates/planner/src/planning/search/access/node.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/planning/search/access/edge.rs:24\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/planner/src/planning/search/access/edge.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6910157addd31dd02daa8e7a3bb79711ab183c4d62ce797e9fa33d932bf74e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/planner/src/planning/search/access/edge.rs:52-64 | crates/planner/src/planning/search/access/node.rs:52-64 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/search/access/edge.rs\u0060 and \u0060crates/planner/src/planning/search/access/node.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/planning/search/access/edge.rs:52\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/planner/src/planning/search/access/edge.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7883adba7bb78a67524ee7f9af78779b6669cf7f717909d93a37c72eebb8139f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/planner/src/rules/access/filter/rules.rs:69-81 | crates/planner/src/rules/access/pipeline/filter.rs:39-51 \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/planner/src/rules/access/filter/rules.rs:69\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/planner/src/rules/access/filter/rules.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b55e8c46c0a2ced43137441b9a37903def4fbe607afd6e76dd5a938ea2c92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/db/src/execution/interpreter/mutation/edge.rs:279-290 | crates/db/src/execution/interpreter/mutation/edge.rs:343-354 | crates/db/src/execution/interpreter/mutation/node.rs:220-231 | crates/db/src/execution/interpreter/mutation/node.rs:297-308 \u2014 before extracting anything, compare \u0060crates/db/src/execution/interpreter/mutation/edge.rs\u0060 and \u0060crates/db/src/execution/interpreter/mutation/node.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/mutation/edge.rs:279\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/db/src/execution/interpreter/mutation/edge.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"598bc77986847089d0a8df57c5f069fb901500bff60c3514e95ea7ef29fa1d95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/db/src/encoding/v2/keys/indexes/vector/metadata.rs:40-52 | crates/db/src/encoding/v2/keys/indexes/vector/storage_prefixes.rs:133-145 | crates/db/src/encoding/v2/legacy/vector/transaction_guard.rs:40-51 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/vector/metadata.rs\u0060 and \u0060crates/db/src/encoding/v2/legacy/vector/transaction_guard.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/indexes/vector/metadata.rs:40\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/metadata.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf65488eb951185efa31447691fc168f3f38bd3c974d183b925199059a17025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/db/src/index_lifecycle/queue/publication.rs:1020-1031 | crates/db/src/index_lifecycle/queue/publication.rs:1288-1299 | crates/db/src/index_lifecycle/queue/publication.rs:1831-1842 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/queue/publication.rs:1020\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/db/src/index_lifecycle/queue/publication.rs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6289d88a8e1d4eed35c59226025600464d86b6578227d376ee15a616542cb03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/db/src/index_lifecycle/text/validation.rs:438-449 | crates/db/src/index_lifecycle/text/validation.rs:643-654 | crates/db/src/index_lifecycle/text/validation.rs:887-898 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/text/validation.rs:438\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/db/src/index_lifecycle/text/validation.rs:435\u0060 calls \u0060push\u0060 and \u0060crates/db/src/index_lifecycle/text/validation.rs:641\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc254d4426dcd6cd9709a9cc151494aa481cd6b110d467bef187b02986daa6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/db/src/search/vector/hnsw/restricted.rs:815-826 | crates/db/src/search/vector/hnsw/search.rs:1083-1094 | crates/db/src/search/vector/hnsw/search.rs:1168-1179 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/restricted.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfb81dce6811313fa187bdf9bc2086b4f6b9cd480beca418765a5663f475257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/planner/src/planning/envelope/write_contract.rs:89-100 | crates/planner/src/planning/selected/native/context_usage.rs:90-101 | crates/planner/src/planning/selected/native/context_usage.rs:340-351 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/envelope/write_contract.rs\u0060 and \u0060crates/planner/src/planning/selected/native/context_usage.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/envelope/write_contract.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"591b3e5b6e24724e581c056e63441df8cd3897b7f31ba6aa9768ef5a89d901b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db-testkit/src/model.rs:736-747 | crates/db-testkit/src/model.rs:1159-1170 \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/db-testkit/src/model.rs:736\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/db-testkit/src/model.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f3ed7fb69005e19786b5d3a56934c7de7c8978e27426ed12180813d2fa04bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/range/edge.rs:422-433 | crates/db/src/encoding/v2/keys/indexes/range/node.rs:216-227 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/range/edge.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/range/node.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/indexes/range/edge.rs:422\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/db/src/encoding/v2/keys/indexes/range/edge.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c950511826b68740248440d95a4a59defd62d9cb255eafb615957ea866665cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/encoding/v2/values/adjacency/mod.rs:364-375 | crates/db/src/encoding/v2/values/adjacency/mod.rs:398-409 \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/db/src/encoding/v2/values/adjacency/mod.rs:364\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/db/src/encoding/v2/values/adjacency/mod.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"8192696b6d2914acc59ee62b573b59f5fee3f086e7d74155bba504bbce6e8e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:321-331 | crates/db/src/execution/interpreter/count.rs:1064-1075 \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/db/src/execution/interpreter/count.rs:1064\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/count.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6baae6d771630f9873e9a557ac9eaf601016a154615753bdb674f1db48b217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:345-355 | crates/db/src/execution/interpreter/count.rs:1093-1104 \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/db/src/execution/interpreter/count.rs:1093\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/count.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab66f52d5dd8bd4b5657af5fdde6aa478253c2b9f54e11c3b40e757d2459b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/execution/interpreter/storage.rs:230-241 | crates/db/src/execution/interpreter/storage.rs:297-308 \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/db/src/execution/interpreter/storage.rs:230\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/db/src/execution/interpreter/storage.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0859a2aebc32c9de9989735aae52705644380c7d531ee87dc9fc55c8207f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle/repository.rs:184-195 | crates/db/src/migrations/startup/bootstrap.rs:331-342 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/repository.rs\u0060 and \u0060crates/db/src/migrations/startup/bootstrap.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/repository.rs:184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/repository.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9395db1a9befce06565cdbdb38ddc2b2c8a6f5ad611578d6cb013f8177bc28ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:2941-2952 | crates/db/src/index_lifecycle/secondary.rs:3247-3258 \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/db/src/index_lifecycle/secondary.rs:2941\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2941}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5ddd072b28bce24fb9d3cc202e78334bede2dcec836604a80f31c20dfeeb68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:4789-4800 | crates/db/src/index_lifecycle/secondary.rs:4827-4838 \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/db/src/index_lifecycle/secondary.rs:4789\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":4789}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afd179ab2c1e7b3c3c87254015fccb022c0e2c34f82b4a3a99e81508b9563c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle/text/active_batch.rs:1226-1237 | crates/db/src/index_lifecycle/text/active_batch.rs:1304-1315 \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/db/src/index_lifecycle/text/active_batch.rs:1226\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/active_batch.rs"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d29d72f59292afc054c9fc819e7d232bbc73c9cf3200373ba1827b1109d5f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle/text/compaction.rs:86-97 | crates/db/src/index_lifecycle/text/manifest.rs:163-174 \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/db/src/index_lifecycle/text/compaction.rs:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/compaction.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f97213d3aba412dd060beb72e5681b352f23d5ba7f975f978ed1c1b239e6b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle/text/statistics.rs:780-791 | crates/db/src/index_lifecycle/text/statistics.rs:1044-1055 \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/db/src/index_lifecycle/text/statistics.rs:780\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/db/src/index_lifecycle/text/statistics.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2511e97858ec9ce1f237b2b8493c75c6e92ab92c30d04da38ffb40fa72be68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle/vector/driver.rs:1811-1822 | crates/db/src/index_lifecycle/vector/driver.rs:1838-1849 \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/db/src/index_lifecycle/vector/driver.rs:1811\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83910ffdc4a5d1c9131352d0170f5a8c0d7fb315413acdbcf89a3fa1c9b053a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle_testing.rs:1203-1214 | crates/db/src/index_lifecycle_testing.rs:1387-1398 \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/db/src/index_lifecycle_testing.rs:1203\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/db/src/index_lifecycle_testing.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1412759523f2a5b3287ac9bb46599a925747d5bb08de9a4edcbfc0433fb8ecd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/migrations/vector_scale.rs:419-430 | crates/db/src/migrations/vector_scale.rs:574-585 \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/db/src/migrations/vector_scale.rs:419\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/db/src/migrations/vector_scale.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca283ca5de56c305f418b3311476f3c2f535d73c464802ce72a7ce24c53dcb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/db/src/search/mod.rs:1001-1011 | crates/db/src/search/mod.rs:2378-2389 \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/db/src/search/mod.rs:1001\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1485084bcce0d1075094dbe71e8915863a559efc2fb7904784c859725ea2bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/search/mod.rs:1564-1575 | crates/db/src/search/mod.rs:1634-1645 \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/db/src/search/mod.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c26e4d1af276317298da5ee01b756b7d8a4b9b9f7732438267da607018dc8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/search/mod.rs:1578-1589 | crates/db/src/search/mod.rs:1648-1659 \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/db/src/search/mod.rs"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"8332e7b11c47b2a0ad59ff692790c3f308ad7c59111976f16b2b1a68c8e88f80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/search/mod.rs:1698-1709 | crates/db/src/search/mod.rs:1734-1745 \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/db/src/search/mod.rs:1698\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/db/src/search/mod.rs"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"9149c792572c47858e93933f17f0be2bf18d7b4374239da38f63773e62597ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/search/vector/storage/mod.rs:1047-1058 | crates/db/src/search/vector/storage/mod.rs:1288-1299 \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/db/src/search/vector/storage/mod.rs:1047\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd97e0cd7bca9858e3e8454146d933f7e944d39b293b481aaab7f51640f0fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/planner/src/analysis/index_atoms/candidate.rs:70-81 | crates/planner/src/analysis/labels.rs:136-147 \u2014 before extracting anything, compare \u0060crates/planner/src/analysis/index_atoms/candidate.rs\u0060 and \u0060crates/planner/src/analysis/labels.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/analysis/index_atoms/candidate.rs:70\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/planner/src/analysis/index_atoms/candidate.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80ae30df642c7ed8ba62e1e0f6acb734f3388d755b4ea4997431a5cd6ce99ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/planner/src/exec/lowering/contracts/stream/delivered.rs:8-19 | crates/planner/src/rules/physical_contracts/support/delivered.rs:96-107 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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/planner/src/exec/lowering/contracts/stream/delivered.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f39969f2d31a21cc61cf7dafe5fbb1e4b9e41d4a6681efb53033b936af6695f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/planner/src/exec/selected/lowering/access/leaf.rs:71-82 | crates/planner/src/exec/selected/lowering/access/leaf.rs:160-171 \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/planner/src/exec/selected/lowering/access/leaf.rs:71\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/planner/src/exec/selected/lowering/access/leaf.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f178fe70bbf84fd3a490ee41c335a59caf31855752d34de5e1bd1c4e908924a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/planner/src/ir/index/range/value.rs:26-37 | crates/planner/src/ir/index/range/value.rs:229-240 \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/planner/src/ir/index/range/value.rs:26\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/planner/src/ir/index/range/value.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbee8f46070038f82d229a8bebde9ea597c4a19652aec149b94a0eb2ad97a97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/planner/src/relational/input_window.rs:67-78 | crates/planner/src/relational/input_window.rs:155-166 \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/planner/src/relational/input_window.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26b2a9cf5437691d70cc54c431ebdb327b1bad4a66cdd1f3ad86380c733da89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): crates/planner/src/relational/planning.rs:263-274 | crates/planner/src/relational/planning.rs:718-727 \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/planner/src/relational/planning.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dded4ed31a478a1491d3bb92587f4b74862b2f0251b830d97769d3c31ec8279"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/server/src/lib.rs:348-359 | crates/server/src/lib.rs:365-376 \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/server/src/lib.rs:348\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/server/src/lib.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"561f54c10d43aecb76a5131aeef873a7fc115babc403268cba3559f5a054fe6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sdks/rust/helix-dsl-macros/src/lib.rs:103-114 | sdks/rust/helix-dsl-macros/src/lib.rs:131-142 \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 \u0060sdks/rust/helix-dsl-macros/src/lib.rs:103\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":"sdks/rust/helix-dsl-macros/src/lib.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dd50360a81877ac947cdc5c2b5009b11eb2c6be1648193a57f59fc13816fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/planner/src/rules/access/sets/canonical/node.rs:12-22 | crates/planner/src/rules/access/sets/canonical/node.rs:63-73 | crates/planner/src/rules/access/sets/canonical/node.rs:84-94 | crates/planner/src/rules/cardinality.rs:1292-1302 | crates/planner/src/rules/physical_contracts/access/source/node.rs:19-29 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sets/canonical/node.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"882dd4535a0ef32e42f9406dff81a94001a2be256e29e54aa95d4c39d36364d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 4): crates/db/src/search/mod.rs:1218-1228 | crates/db/src/search/mod.rs:1247-1257 | crates/db/src/search/mod.rs:1291-1299 | crates/db/src/search/mod.rs:1356-1364 \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/db/src/search/mod.rs:1218\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/db/src/search/mod.rs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d57efc564a49cc8a7e0f766bcf3a2d8d7f34ad8fd2bd4afba6fcea634795946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/planner/src/rules/access/sets/canonical/edge.rs:12-22 | crates/planner/src/rules/access/sets/canonical/edge.rs:63-73 | crates/planner/src/rules/access/sets/canonical/edge.rs:84-94 | crates/planner/src/rules/physical_contracts/access/source/edge.rs:19-29 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sets/canonical/edge.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"31919fd1639638a3c372581567390075597c33b6c43c03d556971e3381f55a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): crates/ast/src/nesting.rs:119-127 | crates/db/src/search/text/mod.rs:1337-1347 | crates/planner/src/ir/index/equality.rs:177-186 \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/ast/src/nesting.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1301cb8710799a34172d110f83e6b11bace3fd641c25a52dac8ab793409fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/db/src/encoding/v2/keys/indexes/range/edge.rs:207-217 | crates/db/src/encoding/v2/keys/indexes/range/edge.rs:389-399 | crates/db/src/encoding/v2/keys/indexes/range/node.rs:32-42 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/range/edge.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/range/node.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/indexes/range/edge.rs:207\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/range/edge.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2dedf169e9ded34b30c1ea29ab5f1d4758c4c7d807802ed7ad0c35b333d7f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/db/src/encoding/v2/keys/managed_index.rs:738-748 | crates/db/src/encoding/v2/values/codec.rs:145-155 | crates/db/src/encoding/v2/values/indexes/operation_queue/mod.rs:1079-1089 \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. 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 \u0060self\u0060 to \u0060crate) fn take_bytes(\u0026mut\u0060 in one and \u0060super) fn take_raw(\u0026mut\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/db/src/encoding/v2/keys/managed_index.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"b664828846ab3dfcb1911ccc6ac9447001ec2c8e8d395bb139ad999d15213dc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/db/src/index_lifecycle/text/validation.rs:451-461 | crates/db/src/index_lifecycle/text/validation.rs:656-665 | crates/db/src/index_lifecycle/text/validation.rs:900-909 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/text/validation.rs:451\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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"f864ed99b09129b1fe7d1768b06475f664405ae57a113801bfa8078e2300592c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/planner/src/analysis/index_atoms/candidate.rs:71-81 | crates/planner/src/analysis/index_atoms/range.rs:64-74 | crates/planner/src/analysis/labels.rs:137-147 \u2014 before extracting anything, compare \u0060crates/planner/src/analysis/index_atoms/candidate.rs\u0060 and \u0060crates/planner/src/analysis/labels.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/analysis/index_atoms/candidate.rs:71\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/planner/src/analysis/index_atoms/candidate.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"458aa443bb9e3f62c74eafffc756885a34876be5628adcefd7ee5c57d1685566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/cli/src/commands/cloud/project.rs:28-38 | crates/cli/src/commands/cloud/workspace.rs:24-34 \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/cli/src/commands/cloud/project.rs:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/cli/src/commands/cloud/workspace.rs:35\u0060 calls \u0060clone\u0060, \u0060unwrap_or_default\u0060 and \u0060crates/cli/src/commands/cloud/project.rs:39\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/cloud/project.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"464b45fc88450994e1fd093dad02762b8aaad25b09dd6d3f385acebdd51856d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/config/definition_differences.rs:183-193 | crates/db/src/config/definition_differences.rs:234-244 \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/db/src/config/definition_differences.rs:183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060existing\u0060 to \u0060\u0026ValidatedVectorIndexDefinition\u0060 in one and \u0060\u0026ValidatedTextIndexDefinition\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/db/src/config/definition_differences.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c52b9119fd8ed128acece4f15fa4288ac6e893495ca2802279647804cf53e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/range/edge.rs:260-270 | crates/db/src/encoding/v2/keys/indexes/range/edge.rs:427-437 \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/db/src/encoding/v2/keys/indexes/range/edge.rs:260\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/db/src/encoding/v2/keys/indexes/range/edge.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67ced66ddd6ea32621440cdc436caa1e730b7d892bd32937cf2479669a9a3ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/range/edge.rs:342-350 | crates/db/src/encoding/v2/keys/indexes/range/node.rs:153-163 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/range/edge.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/range/node.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/range/edge.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"81de4e5ffecb009be4a406ceae35e62a572d8568018862ee1784342bc0d19ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:369-379 | crates/db/src/execution/interpreter/count.rs:1122-1133 \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/db/src/execution/interpreter/count.rs:1122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/count.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceadde6d241199f2d75a4cdc2c4a9ac14e0c0fac2bd1c648b7df78f5e0e82909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:393-403 | crates/db/src/execution/interpreter/count.rs:1151-1162 \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/db/src/execution/interpreter/count.rs:1151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/count.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54eb711288fb8da15aeb30ab3a5178e83aa7651711c7d1ed2ad2d3e1c238dea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:829-839 | crates/db/src/execution/interpreter/count.rs:842-852 \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/db/src/execution/interpreter/count.rs:829\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0693448b31321e3fdbd1a3ae25d57d901b415cda7f5e7ab39f51076a1a2b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:890-900 | crates/db/src/execution/interpreter/count.rs:903-913 \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/db/src/execution/interpreter/count.rs:890\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5fbad1d88409f7b5d4f46664e80578dca3d8d1ae24c2022f703fdb90be86f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/execution/interpreter/mutation/edge.rs:269-279 | crates/db/src/execution/interpreter/mutation/node.rs:174-184 \u2014 before extracting anything, compare \u0060crates/db/src/execution/interpreter/mutation/edge.rs\u0060 and \u0060crates/db/src/execution/interpreter/mutation/node.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/mutation/edge.rs:269\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/db/src/execution/interpreter/mutation/edge.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7858a45046d456f0f0b92474274973e8a46cf9ef0d83e0c4c8ee2af16c58465"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/execution/interpreter/mutation/node.rs:404-414 | crates/db/src/execution/interpreter/mutation/node.rs:457-467 \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/db/src/execution/interpreter/mutation/node.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3d91ee1002b2b7056b16f02b4417aa70345c3316ea0df9f2b44babc70fa595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/execution/interpreter/rows/matches.rs:590-600 | crates/db/src/execution/interpreter/rows/matches.rs:603-613 \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/db/src/execution/interpreter/rows/matches.rs:590\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/db/src/execution/interpreter/rows/matches.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e97d19b9166e3b41fb836ecc5408fd0990a6b9f38718f9b18efdff72b2de6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/execution/interpreter/rows/matches.rs:673-683 | crates/db/src/execution/interpreter/rows/matches.rs:691-701 \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/db/src/execution/interpreter/rows/matches.rs:673\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/matches.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"342bbd8506b24977e5bd7e35dbc3e784b5486a537c80e0aa360dfaae24707de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/db/src/index_lifecycle/outbox.rs:1248-1257 | crates/db/src/index_lifecycle/outbox.rs:1272-1282 \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/db/src/index_lifecycle/outbox.rs:1272\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. 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 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/db/src/index_lifecycle/outbox.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ece4cc2a09805c5839b07952eaf26aaff5631e464d4096f7de861a3a6842fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle/queue/publication.rs:1258-1268 | crates/db/src/index_lifecycle/queue/publication.rs:1817-1827 \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/db/src/index_lifecycle/queue/publication.rs:1258\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/db/src/index_lifecycle/queue/publication.rs"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3ae5514a7ff50eb93bd47c866e8eae70991ddc7c5c717d8ff52ef393eed066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:1873-1883 | crates/db/src/index_lifecycle/secondary.rs:1891-1902 \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/db/src/index_lifecycle/secondary.rs:1891\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"97936e8d6a210c097d231208c77633dee9be9375494ac49c6b72bd46337fa926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:2756-2766 | crates/db/src/index_lifecycle/vector/driver.rs:3667-3677 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/vector/driver.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2756}}}],"partialFingerprints":{"codehealthFindingId/v1":"811d2454feb1a3c71d893ce8fb040a4b76ba2961411be7c6a95babcf18ccd2b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle/text/active_batch.rs:997-1007 | crates/db/src/index_lifecycle/text/driver.rs:1360-1370 \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/db/src/index_lifecycle/text/active_batch.rs:997\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/db/src/index_lifecycle/text/active_batch.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcdb7c95dd0895a2c868252b7bfb1d1b28fcec71f7fb9cb6ee781cb758d5b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle/text/active_compaction.rs:446-456 | crates/db/src/index_lifecycle/text/compaction.rs:342-352 \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/db/src/index_lifecycle/text/active_compaction.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bbcd3070d957991f27574358caf0b955ac1dbf7794819ac52d5ac579ba7d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle/text/driver.rs:2566-2576 | crates/db/src/index_lifecycle/text/driver.rs:2679-2689 \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/db/src/index_lifecycle/text/driver.rs:2566\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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":2566}}}],"partialFingerprints":{"codehealthFindingId/v1":"781edb672c2039b60896dba6578cfbd7471d9ea6e75512774a159020bc7dcf1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/db/src/index_lifecycle/text/manifest.rs:57-67 | crates/db/src/index_lifecycle/text/validation.rs:181-190 \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/db/src/index_lifecycle/text/manifest.rs:57\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/db/src/index_lifecycle/text/manifest.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16d1347f9bda42299af1ae9add41a92a78f0996351fac186882e4c537df4005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle/vector/driver.rs:1695-1705 | crates/db/src/index_lifecycle/vector/driver.rs:1800-1810 \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/db/src/index_lifecycle/vector/driver.rs:1695\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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dc738e22fe510df7e6259df61be6eef991cdd037344d38e189da747285df83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle/work.rs:421-431 | crates/db/src/index_lifecycle/work.rs:458-468 \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/db/src/index_lifecycle/work.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"9006f83334d17bb8fb03c5cb5f67d00a6b2b2bab9d4752c8fb347398e18f52a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/db/src/migrations/vector_properties.rs:168-178 | crates/db/src/migrations/vector_retirement.rs:431-440 \u2014 before extracting anything, compare \u0060crates/db/src/migrations/vector_properties.rs\u0060 and \u0060crates/db/src/migrations/vector_retirement.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/migrations/vector_properties.rs:168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_properties.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58082f01c9963d87906047331fd3108e995103a30ce0628b1821d02c107715a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/db/src/search/vector/hnsw/restricted.rs:1353-1363 | crates/db/src/search/vector/hnsw/restricted.rs:1392-1401 \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/db/src/search/vector/hnsw/restricted.rs:1353\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/db/src/search/vector/hnsw/restricted.rs"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d3d2e8039545c18985da015a24d9add055ac8947d02225bf4228cfc613b019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/planner/src/exec/lowering/secondary_set.rs:154-165 | crates/planner/src/exec/lowering/secondary_set.rs:209-220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/exec/lowering/secondary_set.rs:154\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/planner/src/exec/lowering/secondary_set.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fe59909e584d2971a11b39ed6f810f64910aa22e2280b1c0c80aa8b9f9e734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/planner/src/planning/envelope/write_contract.rs:72-82 | crates/planner/src/planning/selected/native/context_usage.rs:328-338 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/envelope/write_contract.rs\u0060 and \u0060crates/planner/src/planning/selected/native/context_usage.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/envelope/write_contract.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74774e81bc9bf6790e50a2b4813187d7e86da560ff8b08f0dc8d379a1f9349c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/planner/src/rules/access/order/satisfaction.rs:75-85 | crates/planner/src/rules/access/order/satisfaction.rs:115-125 \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/planner/src/rules/access/order/satisfaction.rs:75\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060out\u0060 to \u0060\u0026mut Vec\u003Cir::NodeAccessSourcePlan\u003E\u0060 in one and \u0060\u0026mut Vec\u003Cir::EdgeAccessSourcePlan\u003E\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/planner/src/rules/access/order/satisfaction.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"834766f8caf76fe88bc7b8b2ba0fb44f0547c26aca8debf56997c6d07cafcaf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:142-152 | crates/planner/src/rules/access/sets/equality_range/intersection/node.rs:142-152 \u2014 before extracting anything, compare \u0060crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs\u0060 and \u0060crates/planner/src/rules/access/sets/equality_range/intersection/node.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:142\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/planner/src/rules/access/sets/equality_range/intersection/edge.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"25728d115caac7f9988f6030664adda5d89a574c76ca775b9bc23d9c612af33c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/planner/src/rules/access/sets/equality_range/range_union/edge.rs:55-65 | crates/planner/src/rules/access/sets/equality_range/range_union/node.rs:55-65 \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/planner/src/rules/access/sets/equality_range/range_union/edge.rs:55\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060range_buckets\u0060 to \u0060\u0026BTreeMap\u003Cdigest::PlanDigest, Vec\u003CEdgeRangeBucketEntry\u003C\u0027_\u003E\u003E\u003E\u0060 in one and \u0060\u0026BTreeMap\u003Cdigest::PlanDigest, Vec\u003CNodeRangeBucketEntry\u003C\u0027_\u003E\u003E\u003E\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/planner/src/rules/access/sets/equality_range/range_union/edge.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb80838e2afc30d8253fc479f01af33bfe5ae734dc6435bf4853b2ecbb779015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/planner/src/rules/cardinality.rs:1469-1479 | crates/planner/src/rules/cardinality.rs:1546-1556 \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/planner/src/rules/cardinality.rs:1469\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 \u0060children\u0060 to \u0060\u0026ir::AtLeast\u003Cir::NodeAccessSourcePlan, 2\u003E\u0060 in one and \u0060\u0026ir::AtLeast\u003Cir::EdgeAccessSourcePlan, 2\u003E\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/planner/src/rules/cardinality.rs"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ce61962147f40e32a558b888a8a64304b0974a36563fbf48078b0f5d58e15a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/planner/src/rules/physical_contracts/support/pipeline.rs:163-173 | crates/planner/src/rules/physical_contracts/support/pipeline.rs:203-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/rules/physical_contracts/support/pipeline.rs:163\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/planner/src/rules/physical_contracts/support/pipeline.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c4c1feece93f411fe128816d29b798097c1d6945f126848ca151051405653d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/db/src/migrations/vector_retirement.rs:262-271 | crates/db/src/migrations/vector_retirement.rs:548-557 | crates/db/src/migrations/vector_retirement.rs:683-692 | crates/db/src/migrations/vector_retirement.rs:794-803 \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/db/src/migrations/vector_retirement.rs:262\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_retirement.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ba97c2585121cdc5b306c1bcbf8340b638a147fa9e9b3038b82069c2e0166b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/db/src/encoding/v2/keys/indexes/range/edge.rs:259-268 | crates/db/src/encoding/v2/keys/indexes/range/edge.rs:426-435 | crates/db/src/encoding/v2/keys/indexes/range/node.rs:220-229 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/range/edge.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/range/node.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/indexes/range/edge.rs:259\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/db/src/encoding/v2/keys/indexes/range/edge.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee76e52cd2e79d64bd6cfa687ae9621538e003f3206b02611f7a8dc268fd4846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/db/src/encoding/v2/values/property/canonical_number.rs:16-25 | crates/db/src/encoding/v2/values/property/property_value.rs:262-271 | crates/planner/src/analysis/scalar/values.rs:220-229 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/values/property/canonical_number.rs\u0060 and \u0060crates/db/src/encoding/v2/values/property/property_value.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/values/property/canonical_number.rs:16\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/db/src/encoding/v2/values/property/canonical_number.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a00d43fd621c24cc5eb37e32244a4a4b30865a8a9af6ba67aeb6f28133491a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/db/src/execution/interpreter/stream/aggregate.rs:63-72 | crates/db/src/execution/interpreter/stream/aggregate.rs:107-116 | crates/db/src/execution/interpreter/stream/aggregate.rs:155-164 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/stream/aggregate.rs:63\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/db/src/execution/interpreter/stream/aggregate.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0127dfb6ce618b38ed57ded683fe2b73e504610e0f60d9b136a111202b1a78ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/planner/src/planning/envelope/write_contract.rs:68-77 | crates/planner/src/planning/selected/native/context_usage.rs:68-77 | crates/planner/src/planning/selected/native/context_usage.rs:324-333 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/envelope/write_contract.rs\u0060 and \u0060crates/planner/src/planning/selected/native/context_usage.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/envelope/write_contract.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8927cc181950da5bfdcebaff6c761c82afb17e63330c22317e96b2fa5d2a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/planner/src/planning/envelope/write_contract.rs:103-112 | crates/planner/src/planning/selected/native/context_usage.rs:104-113 | crates/planner/src/planning/selected/native/context_usage.rs:352-361 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/envelope/write_contract.rs\u0060 and \u0060crates/planner/src/planning/selected/native/context_usage.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/envelope/write_contract.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abebef5c4dad536423cc874a514598f93f2931cb48c62aa4c5de90fd7371c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/encoding/v2/keys/data.rs:379-388 | crates/db/src/encoding/v2/keys/managed_index.rs:187-196 \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/db/src/encoding/v2/keys/data.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cb27e0835c439bdb04e5ab0499724fb6f766f38d1e7197517c361f40236ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:268-277 | crates/db/src/encoding/v2/keys/indexes/label.rs:58-67 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/equality/edge.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/label.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:268\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/equality/edge.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d12f703814e4187842aea70793b43ed6ade42af8aa8e48e8a93c3942afbb9e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/encoding/v2/values/adjacency/mod.rs:398-407 | crates/db/src/encoding/v2/values/adjacency/mod.rs:429-439 \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/db/src/encoding/v2/values/adjacency/mod.rs:398\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/db/src/encoding/v2/values/adjacency/mod.rs:442\u0060 calls \u0060take_u32_le\u0060 and \u0060crates/db/src/encoding/v2/values/adjacency/mod.rs:408\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/adjacency/mod.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d495edb5f2975385df0051dbc8124e7bb9cec449c2c4484a068a3f24dda79a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/db/src/execution/interpreter/access/search/input.rs:116-124 | crates/db/src/execution/interpreter/reserved/sack.rs:106-115 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/access/search/input.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7492ba46f0af3453e5a097cf5a0a5ba787f832bc3002eec21b6bdc633fb63e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/execution/interpreter/control/foreach.rs:149-158 | crates/db/src/execution/interpreter/control/foreach.rs:191-200 \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/db/src/execution/interpreter/control/foreach.rs:149\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060\u0026AstPropertyValue\u0060 in one and \u0060\u0026QueryValue\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/db/src/execution/interpreter/control/foreach.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4945ff0efd693e346115d53c6a10de8ea84059d64aa2daafc21e2e6caa6a30e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:324-333 | crates/db/src/execution/interpreter/count.rs:372-381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/count.rs:324\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/count.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3f315ffb5e54db5cf51c532ab68764103c4297af57033ffa7f5e836e661350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:348-357 | crates/db/src/execution/interpreter/count.rs:396-405 \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/db/src/execution/interpreter/count.rs:348\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/count.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"53eb739be1a69b1338f6231295a9d5be50084b1d0132cde40bcfb3551fa6ff20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:2295-2304 | crates/planner/src/rules/cardinality.rs:2161-2170 \u2014 before extracting anything, compare \u0060crates/db/src/execution/interpreter/count.rs\u0060 and \u0060crates/planner/src/rules/cardinality.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/count.rs"},"region":{"startLine":2295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a7095245f1663b1fb0a532627dc7c7a8373b3b40b5294be3c74c68f0bf296e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/execution/interpreter/pull/count.rs:50-59 | crates/db/src/execution/interpreter/pull/count.rs:82-91 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/pull/count.rs:50\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/pull/count.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8760014e3c500c2d25ec18f40384c6af08f87e62f4c51cada3330fb210f52a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/execution/interpreter/storage.rs:206-215 | crates/db/src/execution/interpreter/storage.rs:273-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/storage.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"443f6e359019d14b6fdbcc90245153b8835bf6640ac8df0570f348b390d2c280"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/index_lifecycle/outbox.rs:1521-1530 | crates/db/src/index_lifecycle/outbox.rs:1770-1779 \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/db/src/index_lifecycle/outbox.rs"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a5131f2130fa7625ed59a74a5a2028404ae9484a489ef59ae6b0f00414c669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/index_lifecycle/queue/publication.rs:1312-1321 | crates/db/src/index_lifecycle/queue/publication.rs:1861-1870 \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/db/src/index_lifecycle/queue/publication.rs"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cdc78f33a959c88946c51aa53c0d36e004e0a5d3a136b8fc0a10b18981af9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:5084-5092 | crates/db/src/index_lifecycle/vector/driver.rs:4142-4151 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/vector/driver.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary.rs:5084\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":5084}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b0e0402db6aa16d1c06532105cbce8ba534e6709d3d326ace8694dbadbff12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:5107-5115 | crates/db/src/index_lifecycle/vector/driver.rs:4168-4177 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/vector/driver.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary.rs:5107\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":5107}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c758472afefebd55954921587b4837a29d9446881cd0f2577a8f9dbe88aed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/index_lifecycle/text/validation.rs:671-680 | crates/db/src/index_lifecycle/text/validation.rs:919-929 \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/db/src/index_lifecycle/text/validation.rs:671\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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd7a1599f89361e24ea0de833fd2369b849033f4b6118635b7b362c3f8b7ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/index_lifecycle/vector/driver.rs:1726-1735 | crates/db/src/index_lifecycle/vector/driver.rs:1851-1860 \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/db/src/index_lifecycle/vector/driver.rs:1726\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41daea59d696344a1a8a6db3157f5b050aea3337c3520968cf45e255ee55d88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/index_lifecycle/vector/driver.rs:2407-2416 | crates/db/src/index_lifecycle/vector/driver.rs:2635-2644 \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/db/src/index_lifecycle/vector/driver.rs:2407\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":2407}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5fe37827bb8c48c3ca50af9e93ebb8d11d17fe928131ac9289912a9d69e1d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/db/src/lib.rs:2261-2270 | crates/db/src/lib.rs:2312-2320 \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/db/src/lib.rs:2261\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 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/db/src/lib.rs"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"857d98977afbbc4b07214f6424e01a9ddbc201a3b8620c08417a96d45c59a41a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/search/mod.rs:1390-1399 | crates/db/src/search/mod.rs:1430-1439 \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/db/src/search/mod.rs"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6092b0a815d2555ee5b49dff51dd0fb7ca573477fb648e809599ddfe5b1ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/search/mod.rs:1592-1601 | crates/db/src/search/mod.rs:1662-1671 \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/db/src/search/mod.rs"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"788e42c3ec3d4037d7b12cef5e121766709b4dacd1e108a67b1f1c2f9c749bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/search/mod.rs:1975-1984 | crates/db/src/search/mod.rs:1996-2005 \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/db/src/search/mod.rs:1975\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/db/src/search/mod.rs"},"region":{"startLine":1975}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1d269eb8a036462441b3486d2c3303a7628baa897f55b9dde9ead05eeec6bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/search/vector/hnsw/search.rs:1089-1098 | crates/db/src/search/vector/hnsw/search.rs:1102-1111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/search.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"645f94051a8656bd87de7d55d6bf7c84bbc93f199d7f966af0d187bd3af66d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/search/vector/storage/mod.rs:1032-1041 | crates/db/src/search/vector/storage/mod.rs:1629-1638 \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/db/src/search/vector/storage/mod.rs:1032\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b886056e731398f411b37da79fe2604f68f682bec617ad56f3292ac23e8a944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/search/vector/storage/mod.rs:1821-1830 | crates/db/src/search/vector/storage/mod.rs:1845-1854 \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/db/src/search/vector/storage/mod.rs:1821\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc37ab42b1d7a489398de1fc4a8fd25466634d31a506225ec568bdb14a8d119"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/graph-algorithms/src/algorithms/centrality.rs:158-165 | crates/graph-algorithms/src/algorithms/centrality.rs:202-211 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/graph-algorithms/src/algorithms/centrality.rs:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/graph-algorithms/src/algorithms/centrality.rs:156\u0060 calls \u0060saturating_sub\u0060 and \u0060crates/graph-algorithms/src/algorithms/centrality.rs:201\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/graph-algorithms/src/algorithms/centrality.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9beab133fc1475af4c50d7dc0caf444ae2d4565d0ea523036cf340bfcb5117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/planner/src/rules/access/sets/contradiction/edge.rs:68-77 | crates/planner/src/rules/access/sets/contradiction/node.rs:68-77 \u2014 before extracting anything, compare \u0060crates/planner/src/rules/access/sets/contradiction/edge.rs\u0060 and \u0060crates/planner/src/rules/access/sets/contradiction/node.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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 \u0060equality\u0060 to \u0060\u0026ir::EdgeAccessPlan\u0060 in one and \u0060\u0026ir::NodeAccessPlan\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/planner/src/rules/access/sets/contradiction/edge.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a227575ae84989a05bcd77a34d474d247e03c07969cfccb465ef5bc4a2c2ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/server/src/diagnostics/mod.rs:895-904 | crates/server/src/diagnostics/mod.rs:995-1004 \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/server/src/diagnostics/mod.rs:895\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/server/src/diagnostics/mod.rs"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24c8154d0820b713cb64e3f6537a28356ea5fba64c2f6515ff9bb579b9b1f17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 11): crates/db/src/encoding/v2/keys/graph.rs:32-40 | crates/db/src/encoding/v2/keys/graph.rs:103-111 | crates/db/src/encoding/v2/keys/graph.rs:174-182 | crates/db/src/encoding/v2/keys/graph.rs:254-262 | crates/db/src/encoding/v2/keys/graph.rs:324-332 | crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:110-118 | crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:251-259 | crates/db/src/encoding/v2/keys/indexes/equality/node.rs:60-68 | crates/db/src/encoding/v2/keys/indexes/label.rs:41-49 | crates/db/src/encoding/v2/keys/indexes/label.rs:148-156 | crates/db/src/encoding/v2/legacy/edge_property_pair.rs:27-35 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/graph.rs\u0060 and \u0060crates/db/src/encoding/v2/legacy/edge_property_pair.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/graph.rs:32\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/graph.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"699c7ff0fce94927b4c50a4caa9f923af89ca560bf19a6d78500c7b3fa4e9fec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/db-testkit/src/model.rs:1018-1026 | crates/db/src/encoding/v2/values/property/canonical_number.rs:13-21 | crates/db/src/encoding/v2/values/property/property_value.rs:259-267 | crates/db/src/encoding/v2/values/property/property_value.rs:314-322 | crates/planner/src/analysis/scalar/values.rs:217-225 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/values/property/canonical_number.rs\u0060 and \u0060crates/db/src/encoding/v2/values/property/property_value.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db-testkit/src/model.rs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c7986bd1b7f98d49c72e6704b690b787f48d9e12ac02e98e4d0f67db88c4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/db/src/encoding/v2/values/property/canonical_number.rs:14-22 | crates/db/src/encoding/v2/values/property/property_value.rs:260-268 | crates/db/src/encoding/v2/values/property/property_value.rs:315-323 | crates/db/src/index_lifecycle/vector.rs:307-315 | crates/planner/src/analysis/scalar/values.rs:218-226 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/values/property/canonical_number.rs\u0060 and \u0060crates/db/src/encoding/v2/values/property/property_value.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/property/canonical_number.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f8bc649d5f65fcb235631a7f59606794e5afd1a80fe257f81b573accfe5ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/planner/src/rules/access/sets/equality_range/intersection/mod.rs:13-21 | crates/planner/src/rules/access/sets/equality_range/range_union/mod.rs:13-21 | crates/planner/src/rules/access/sets/range/mod.rs:12-20 | crates/planner/src/rules/access/sets/subsumption/mod.rs:17-25 \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. 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/planner/src/rules/access/sets/equality_range/intersection/mod.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6849ecfc3711901dee2c007f611e4a6b83b4ddb953023a22935d15d8f458d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/ast/src/nesting.rs:219-227 | crates/planner/src/planning/envelope/write_contract.rs:50-58 | crates/planner/src/planning/selected/native/context_usage.rs:50-58 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/envelope/write_contract.rs\u0060 and \u0060crates/planner/src/planning/selected/native/context_usage.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/nesting.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"5579bb32666f8ed43af6a65c75bd5aeabc7050aa2e5137c4d4c435e667aace8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/ast/src/nesting.rs:250-258 | crates/planner/src/planning/envelope/write_contract.rs:101-109 | crates/planner/src/planning/selected/native/context_usage.rs:102-110 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/envelope/write_contract.rs\u0060 and \u0060crates/planner/src/planning/selected/native/context_usage.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/planner/src/planning/envelope/write_contract.rs:99\u0060 calls \u0060Some\u0060 and \u0060crates/ast/src/nesting.rs:249\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/ast/src/nesting.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f78133f5b3121824c7f2fb8d8f909b777dc6a34d4af93d74ac62c93c1bf626c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/db/src/config/definition_differences.rs:157-165 | crates/db/src/config/definition_differences.rs:182-190 | crates/db/src/config/definition_differences.rs:233-241 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060existing\u0060 to \u0060\u0026ValidatedSecondaryIndexDefinition\u0060 in one and \u0060\u0026ValidatedVectorIndexDefinition\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/db/src/config/definition_differences.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd7853c52447d31e115c02af555b488eb25fe600aa40136758387381281b04f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/db/src/search/vector/spaces/simple.rs:243-252 | crates/db/src/search/vector/spaces/simple.rs:259-268 | crates/db/src/search/vector/spaces/simple.rs:275-284 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/search/vector/spaces/simple.rs:243\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/db/src/search/vector/spaces/simple.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b047582683df19a269cdd05a532c17d8d52a2b7acd80f2a00835b3df56b750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/planner/src/exec/lowering/costing.rs:189-197 | crates/planner/src/exec/lowering/costing.rs:374-382 | crates/planner/src/exec/lowering/costing.rs:498-506 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/exec/lowering/costing.rs:189\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/planner/src/exec/lowering/costing.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66803d255cbb9fd40bf0299529223a2e8d320a18f82c51725c29c5e740c511f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/ast-arena-derive/src/expand.rs:229-236 | crates/ast-arena-derive/src/expand.rs:421-429 \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/ast-arena-derive/src/expand.rs:421\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/ast-arena-derive/src/expand.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d815bbd128ca8909fee1d6f4ae506fda6aa342548c0323b47534dd65d1ad1f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/cli/src/local_runtime.rs:1219-1227 | crates/cli/src/local_runtime.rs:1244-1252 \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/cli/src/local_runtime.rs"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"382c937e66def34bbd734e4d5d96547b091ff5bbe377c5b24b863d9302086c39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/prefix.rs:94-102 | crates/db/src/encoding/v2/keys/indexes/prefix.rs:106-113 \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/db/src/encoding/v2/keys/indexes/prefix.rs:94\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/db/src/encoding/v2/keys/indexes/prefix.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d751c9aa5179cac3425b6f0431fd37a6c66666e46141669e71c06a855586fb68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/encoding/v2/values/codec.rs:381-389 | crates/db/src/encoding/v2/values/codec.rs:403-411 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/codec.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"65525d9e65e597ee2314ece61aada5abea81b72c8b52ee63682f7c3678e551cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/encoding/v2/values/indexes/equality/mod.rs:274-282 | crates/db/src/encoding/v2/values/indexes/range.rs:49-57 \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/db/src/encoding/v2/values/indexes/equality/mod.rs:274\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/db/src/encoding/v2/values/indexes/equality/mod.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92717cc735258ba48d26e378317d81fe339dc2f0082187c630f26795435b67c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/execution/interpreter/storage.rs:209-217 | crates/db/src/execution/interpreter/storage.rs:333-341 \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/db/src/execution/interpreter/storage.rs:209\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/db/src/execution/interpreter/storage.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47df2c07323b3c18d5ee7a7b6f7d0967177a757b6200e689647960f241c92cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/execution/interpreter/storage.rs:276-284 | crates/db/src/execution/interpreter/storage.rs:365-373 \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/db/src/execution/interpreter/storage.rs:276\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/db/src/execution/interpreter/storage.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5df096033af6774b30825f42a63cc70cad61ca659568e4b818305a8ba59a80f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/index_lifecycle/secondary/exact/unique.rs:92-100 | crates/db/src/index_lifecycle/secondary/exact/unique.rs:157-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary/exact/unique.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dcf3c9ae844514383cb4c07754c31f959cdc72cde028fbf966f43756854bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/index_lifecycle/text/driver.rs:1051-1059 | crates/db/src/index_lifecycle/text/driver.rs:1363-1371 \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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"89020780849c29000a8e386c37e68c93191bec9dc7b4223267d4275f102c98d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:3287-3295 | crates/db/src/index_lifecycle_testing/contracts.rs:3319-3327 \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/db/src/index_lifecycle_testing/contracts.rs:3287\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7e2b436e4f079da9ad6fea04595fa4c558df1bd3ee3d5179db659d3a5dd694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/migrations/startup/bootstrap.rs:143-151 | crates/db/src/migrations/startup/bootstrap.rs:226-235 \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/db/src/migrations/startup/bootstrap.rs:143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/db/src/migrations/startup/bootstrap.rs:153\u0060 calls \u0060rollback\u0060 and \u0060crates/db/src/migrations/startup/bootstrap.rs:236\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/startup/bootstrap.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"562d5c29e062d6e233dfe987890846d0966efaeffe9aad169077c58b872f9c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/search/mod.rs:733-741 | crates/db/src/search/mod.rs:2324-2332 \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/db/src/search/mod.rs:733\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b82b821409c3ffaa303fc5cd2783c0d2ffc904ee92ebbcad8700e42c404b1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/search/mod.rs:1090-1098 | crates/db/src/search/mod.rs:1100-1108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/mod.rs"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f85f576a437ff0040ae64ad248d31202aa2d4431b68887638938e1fba4177d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/db/src/search/text/mod.rs:1284-1292 | crates/planner/src/analysis/labels.rs:322-329 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/text/mod.rs"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb551e056d6fb7dd03302aa3bdf9503ba478d54094e4cd78e6c3f7e702e33dd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/planner/src/analysis/index_atoms/equality.rs:113-121 | crates/planner/src/analysis/index_atoms/value.rs:26-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/planner/src/analysis/index_atoms/equality.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a901d10693ec27e33c9a3ba773587bf67235520400adaf1eccf0af659e2ba33c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/planner/src/rules/access/pipeline/support/empty.rs:62-70 | crates/planner/src/rules/root/control_flow/contracts.rs:50-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/pipeline/support/empty.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d78ecc4fa2ceac48f27b06ee7b60ef2515600a1ac4612b5a90e0a3ff1568437"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/planner/src/rules/access/sets/contradiction/edge.rs:8-16 | crates/planner/src/rules/access/sets/contradiction/node.rs:8-16 \u2014 before extracting anything, compare \u0060crates/planner/src/rules/access/sets/contradiction/edge.rs\u0060 and \u0060crates/planner/src/rules/access/sets/contradiction/node.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/rules/access/sets/contradiction/edge.rs:8\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/planner/src/rules/access/sets/contradiction/edge.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c9dba78e668b2784bc296bc07e8ec5ad415d465a091f66dc55aee75fc3297a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/planner/src/rules/access/sets/range/edge.rs:20-28 | crates/planner/src/rules/access/sets/range/node.rs:20-28 \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/planner/src/rules/access/sets/range/edge.rs:20\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/planner/src/rules/access/sets/range/edge.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97d731545073b9f5ad9f624f22f27caf1a2713a67664cab4d56509e91eda25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/planner/src/rules/cardinality.rs:1498-1506 | crates/planner/src/rules/cardinality.rs:1575-1583 \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/planner/src/rules/cardinality.rs:1498\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060children\u0060 to \u0060\u0026ir::AtLeast\u003Cir::NodeAccessSourcePlan, 2\u003E\u0060 in one and \u0060\u0026ir::AtLeast\u003Cir::EdgeAccessSourcePlan, 2\u003E\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/planner/src/rules/cardinality.rs"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e930cfa7ac40fd2f683892039c648a14b3a2fa1882c485658d339e4dc152ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): crates/db-testkit/src/model.rs:1018-1026 | crates/db/src/encoding/v2/values/property/canonical_number.rs:13-21 | crates/db/src/encoding/v2/values/property/property_value.rs:259-267 | crates/db/src/encoding/v2/values/property/property_value.rs:314-322 | crates/db/src/index_lifecycle/vector.rs:307-314 | crates/planner/src/analysis/scalar/values.rs:217-225 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/values/property/canonical_number.rs\u0060 and \u0060crates/db/src/encoding/v2/values/property/property_value.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db-testkit/src/model.rs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2d1292d265aec02c6880066713981424e155c14cd4e3e473050e47fae36c5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 6): crates/planner/src/exec/lowering/contracts/access/cardinality.rs:76-83 | crates/planner/src/rules/access/sets/canonical/node.rs:15-21 | crates/planner/src/rules/access/sets/canonical/node.rs:66-72 | crates/planner/src/rules/access/sets/canonical/node.rs:87-93 | crates/planner/src/rules/cardinality.rs:1295-1301 | crates/planner/src/rules/physical_contracts/access/source/node.rs:22-28 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/planner/src/exec/lowering/contracts/access/cardinality.rs:84\u0060 calls \u0060Intersect\u0060, \u0060Union\u0060 and \u0060crates/planner/src/rules/physical_contracts/access/source/node.rs:29\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/planner/src/exec/lowering/contracts/access/cardinality.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"34da20c1f8d6425dddc0e2569141166977b325cf2021271ea45fb4c174c6f0e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 5): crates/planner/src/exec/lowering/contracts/access/cardinality.rs:95-102 | crates/planner/src/rules/access/sets/canonical/edge.rs:15-21 | crates/planner/src/rules/access/sets/canonical/edge.rs:66-72 | crates/planner/src/rules/access/sets/canonical/edge.rs:87-93 | crates/planner/src/rules/physical_contracts/access/source/edge.rs:22-28 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/planner/src/exec/lowering/contracts/access/cardinality.rs:103\u0060 calls \u0060Intersect\u0060, \u0060Union\u0060 and \u0060crates/planner/src/rules/physical_contracts/access/source/edge.rs:29\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/planner/src/exec/lowering/contracts/access/cardinality.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a452e8dc98073a1c1cc1bb872c77e50566007ebd67b4df8b35637008f983e99f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/db/src/search/vector/storage/mod.rs:1356-1363 | crates/db/src/search/vector/storage/mod.rs:1417-1424 | crates/db/src/search/vector/storage/mod.rs:1491-1498 | crates/db/src/search/vector/storage/mod.rs:1542-1549 \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/db/src/search/vector/storage/mod.rs:1356\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e0f8c47b3437ecbd59b6587f5dc7cd3c44ee8daefc5a151c66fa24857871b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/ast/src/nesting.rs:40-47 | crates/db/src/execution/interpreter/stream/filter.rs:321-328 | crates/planner/src/cost/profile/residual.rs:83-90 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/ast/src/nesting.rs:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast/src/nesting.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20e82fefe09246ededc5130ddb6f9c9eab6e97f63dacce6fc64e00abce74b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/db/src/execution/interpreter/access/membership.rs:122-129 | crates/db/src/index_lifecycle/vector.rs:286-293 | crates/planner/src/analysis/index_atoms/equality.rs:157-164 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/access/membership.rs:122\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/db/src/execution/interpreter/access/membership.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97ab3852cb4f4785f021aead9adac9fe2b5e0fbdba1ce978b9a596f2d13c0a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/db/src/execution/interpreter/pull/branch.rs:148-155 | crates/db/src/execution/interpreter/pull/mod.rs:224-231 | crates/planner/src/diagnostics/analyze.rs:923-930 \u2014 before extracting anything, compare \u0060crates/db/src/execution/interpreter/pull/branch.rs\u0060 and \u0060crates/db/src/execution/interpreter/pull/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/pull/branch.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"925d7e5a8feb730c7ce7e193f80281ff14ba14c2d05ce8714626991630aa277a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/planner/src/analysis/index_atoms/candidate.rs:70-77 | crates/planner/src/analysis/labels.rs:103-110 | crates/planner/src/analysis/labels.rs:136-143 \u2014 before extracting anything, compare \u0060crates/planner/src/analysis/index_atoms/candidate.rs\u0060 and \u0060crates/planner/src/analysis/labels.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/analysis/index_atoms/candidate.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec35e6706ded7edef35f8ef16591302af490dd6c4139f902d6f03a6b4033ffb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): crates/planner/src/planning/envelope/write_contract.rs:42-48 | crates/planner/src/planning/selected/native/context_usage.rs:34-40 | crates/planner/src/planning/selected/native/context_usage.rs:225-232 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/envelope/write_contract.rs\u0060 and \u0060crates/planner/src/planning/selected/native/context_usage.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/planner/src/planning/selected/native/context_usage.rs:224\u0060 calls \u0060Ok\u0060, \u0060unbound\u0060 and \u0060crates/planner/src/planning/envelope/write_contract.rs:42\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/planner/src/planning/envelope/write_contract.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc626f6cbab6b0f14a1de7c5fdd501f9e609f00c6d61298c4402bd75265824d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/cypher/src/parser.rs:396-403 | crates/cypher/src/parser.rs:410-417 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/parser.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c0ce6182da35857017cb968c855c7512cc8f1d6406fe32b983214da52cc3c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/cypher/src/parser.rs:906-913 | crates/cypher/src/sql/expr.rs:1185-1192 \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/cypher/src/parser.rs:906\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/parser.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4e1fb054579947ea31fc63c2d90053a1f6a683878d207b7d7ea32facf8a8a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/encoding/v2/values/property/property_value.rs:347-354 | crates/db/src/encoding/v2/values/property/property_value.rs:357-364 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060left\u0060 to \u0060\u0026[f64]\u0060 in one and \u0060\u0026[f32]\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/db/src/encoding/v2/values/property/property_value.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"3443a9d8544eef545587bf390876b08b33c6c3e8de63362876029d2f8979a2ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:1847-1854 | crates/db/src/index_lifecycle/text/driver.rs:2564-2571 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/text/driver.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary.rs:1847\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f4fbfc7937a1813d0485b609ebc7a2695d63261f2f3f1b666218fc881eb50b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:2423-2430 | crates/db/src/index_lifecycle/secondary.rs:2840-2847 \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/db/src/index_lifecycle/secondary.rs:2423\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c082f70ab3a1bbbb7bf81d8c93bb5399afaac27e7c8a4e070ab92da020d97e2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:1421-1429 | crates/db/src/index_lifecycle_testing/contracts.rs:1484-1492 \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/db/src/index_lifecycle_testing/contracts.rs:1421\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef5f289a8df1c4dd5131ef4c1408a5c2c7580f42cb17fc1992a41cda2428876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:2586-2593 | crates/db/src/index_lifecycle_testing/contracts.rs:2730-2736 \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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":2586}}}],"partialFingerprints":{"codehealthFindingId/v1":"e209844186e4d16f78ab129942126ff9064622ac4daa40ba97592141129262ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/search/vector/spaces/simple_avx.rs:255-263 | crates/db/src/search/vector/spaces/simple_avx.rs:293-301 \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/db/src/search/vector/spaces/simple_avx.rs:255\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/db/src/search/vector/spaces/simple_avx.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c40e1c3b34e46dca1c673714b242aaab09f4e3b671355bce320cff845dd8d56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20138 lines \u00D7 8): crates/db/src/search/vector/spaces/simple_avx.rs:31-33 | crates/db/src/search/vector/spaces/simple_avx.rs:86-88 | crates/db/src/search/vector/spaces/simple_avx.rs:144-146 | crates/db/src/search/vector/spaces/simple_avx.rs:200-202 | crates/db/src/search/vector/spaces/simple_neon.rs:20-27 | crates/db/src/search/vector/spaces/simple_neon.rs:66-73 | crates/db/src/search/vector/spaces/simple_sse.rs:29-31 | crates/db/src/search/vector/spaces/simple_sse.rs:81-83 \u2014 there are 8 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/search/vector/spaces/simple_neon.rs:20\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/db/src/search/vector/spaces/simple_neon.rs:19\u0060 calls \u0060left\u0060, \u0060values\u0060, \u0060as_ptr\u0060 and \u0060crates/db/src/search/vector/spaces/simple_avx.rs:31\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/spaces/simple_avx.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1c7a5e9428686463ce082558d7ab24f860c3220392fef5a98cd30232790a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/search/vector/storage/mod.rs:1811-1818 | crates/db/src/search/vector/storage/mod.rs:1836-1843 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"a765e25b13eb5920305dff39433b9e4d311a6f7afe73bdc93a880c02ae5a24d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/planner/src/analysis/index_atoms/candidate.rs:34-41 | crates/planner/src/analysis/scalar/extract.rs:133-140 \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/planner/src/analysis/index_atoms/candidate.rs:34\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/planner/src/analysis/index_atoms/candidate.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc997ac7a51186ec4bc9aeefa3653dd922eb94933f582b96a53c1ab680e4178"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/planner/src/analysis/index_atoms/range.rs:108-115 | crates/planner/src/analysis/index_atoms/range.rs:121-128 \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/planner/src/analysis/index_atoms/range.rs:108\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/analysis/index_atoms/range.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2359714248ee6e7227ecc27240e6f611510b11f589e4c392b93cbf3af143687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/planner/src/exec/access/edge.rs:297-304 | crates/planner/src/exec/access/node.rs:454-460 \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/planner/src/exec/access/edge.rs:297\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/access/edge.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d63352621ff31b5cc05e8d4b6a6ec17ad150f321d97a96cd5842b6818d4e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/planner/src/exec/lowering/costing.rs:283-290 | crates/planner/src/exec/lowering/costing.rs:294-301 \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/planner/src/exec/lowering/costing.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b009624a8b7d521c6cbd709bd64554d8ebcb21ec22b06cfc4db46c99bdae443"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/planner/src/rules/access/sets/subsumption/mod.rs:35-42 | crates/planner/src/rules/access/sets/subsumption/mod.rs:52-59 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sets/subsumption/mod.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a2dc1a5e20b3fb1c4b63a974d1d97c11fc186e6124cd3db01e459a3c8560cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/planner/src/rules/cardinality.rs:193-200 | crates/planner/src/rules/physical_contracts/root_stream/contract.rs:157-164 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/cardinality.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8084bf288db323e6906518eb9288707beac4dba5ef8bb136b2cbb8616c5e8196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/planner/src/rules/cardinality.rs:1508-1516 | crates/planner/src/rules/cardinality.rs:1585-1593 \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/planner/src/rules/cardinality.rs:1508\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/cardinality.rs"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f4a690f4ee9b823c5189a1ad91a890cf50db4bad35aaa323785ccdbb8218ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/planner/src/rules/cardinality.rs:1712-1719 | crates/planner/src/rules/cardinality.rs:1755-1762 \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/planner/src/rules/cardinality.rs:1712\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/planner/src/rules/cardinality.rs"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b63e5459d474f06d37c5971de025f33d0593e2591255a90e42c751380539db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/server/src/http.rs:165-172 | crates/server/src/http.rs:179-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/server/src/http.rs:165\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/server/src/http.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"102a87f380f8a10be093d9e53b3409d636e4ab98fac8460a9f3a7734fc52b592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/server/src/http.rs:218-225 | crates/server/src/http.rs:232-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/server/src/http.rs:218\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/server/src/http.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1425a03ff92ad0f7e7c456a538af9567a4dc62980f811b7a76b537c672957cb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): crates/db/src/encoding/v2/values/property/canonical_number.rs:16-22 | crates/db/src/encoding/v2/values/property/property_value.rs:262-268 | crates/db/src/encoding/v2/values/property/property_value.rs:317-323 | crates/db/src/search/text/mod.rs:1342-1348 | crates/planner/src/analysis/scalar/values.rs:220-226 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/values/property/canonical_number.rs\u0060 and \u0060crates/db/src/encoding/v2/values/property/property_value.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/property/canonical_number.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b2100597e75157471860e5a8307d1eae13b2f0365c532ae27bf51f9d65530c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/ast/src/nesting.rs:252-258 | crates/planner/src/planning/envelope/write_contract.rs:103-109 | crates/planner/src/planning/selected/native/context_usage.rs:104-110 | crates/planner/src/planning/selected/native/context_usage.rs:352-358 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/envelope/write_contract.rs\u0060 and \u0060crates/planner/src/planning/selected/native/context_usage.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/planner/src/planning/selected/native/context_usage.rs:350\u0060 calls \u0060Some\u0060 and \u0060crates/ast/src/nesting.rs:251\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/ast/src/nesting.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5074336d9d7da3f495abb4dc62cc68eb4ddaabb1340d9f8e334c42778b255a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/db/src/execution/interpreter/mod.rs:394-400 | crates/db/src/execution/interpreter/pull/branch.rs:143-149 | crates/db/src/execution/interpreter/pull/mod.rs:219-225 | crates/db/src/execution/interpreter/scheduler.rs:436-442 \u2014 before extracting anything, compare \u0060crates/db/src/execution/interpreter/pull/branch.rs\u0060 and \u0060crates/db/src/execution/interpreter/pull/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/mod.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"043e40763c63d277e9c5f59b7e5cfead467ec3f56cbd0f01adabe8fcc277103e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 4): crates/db/src/index_lifecycle/scope_gate.rs:307-313 | crates/db/src/index_lifecycle/scope_gate.rs:318-321 | crates/db/src/index_lifecycle/scope_gate.rs:344-350 | crates/db/src/index_lifecycle/scope_gate.rs:358-364 \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/db/src/index_lifecycle/scope_gate.rs:307\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/db/src/index_lifecycle/scope_gate.rs:305\u0060 calls \u0060unwrap_or_else\u0060, \u0060Some\u0060, \u0060get\u0060 and \u0060crates/db/src/index_lifecycle/scope_gate.rs:318\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/scope_gate.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"4816efb5c33f1a3b72f22231c4ef8c894100a4ca98a2bdc7e6ac26ab02d26567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/db/src/index_lifecycle/secondary.rs:5158-5164 | crates/db/src/index_lifecycle/text/driver.rs:2914-2920 | crates/db/src/index_lifecycle/vector/driver.rs:4215-4221 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/text/driver.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary.rs:5158\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":5158}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b8fc056b44d8fe0d333fb3e34152fc08d14785a8ffe71d415989e09d60a7e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/ast-arena-derive/src/expand.rs:394-400 | crates/ast-arena-derive/src/expand.rs:543-549 \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/ast-arena-derive/src/expand.rs:394\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/ast-arena-derive/src/expand.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"7057306acf6cbe8eb4989bccb25a568dee7d04584b1fd9f98f9926a68a88ee56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/encoding/v2/values/codec.rs:451-457 | crates/db/src/encoding/v2/values/codec.rs:484-490 \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/db/src/encoding/v2/values/codec.rs:451\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/db/src/encoding/v2/values/codec.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eab7d3e3a73a00041d4bc1f1648bae95cd7fa2c2c5213fd1f61b73607715a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/encoding/v2/values/lifecycle/entity_state.rs:39-45 | crates/db/src/encoding/v2/values/lifecycle/entity_state.rs:99-105 \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/db/src/encoding/v2/values/lifecycle/entity_state.rs:39\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/db/src/encoding/v2/values/lifecycle/entity_state.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5111a5c4f9e42ddb206d9c8173c00a9cdad72f204d2687f1ab4264c014f70d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/execution/interpreter/rows/bound_match.rs:102-108 | crates/db/src/execution/interpreter/rows/correlated.rs:123-129 \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/db/src/execution/interpreter/rows/bound_match.rs:102\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/db/src/execution/interpreter/rows/bound_match.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cdaf8f11edefe61ca52b07b4148a2a2254c5304e0b11d7065a2962aeab367e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/execution/interpreter/rows/expansion_stack.rs:180-186 | crates/db/src/execution/interpreter/rows/matches.rs:428-434 \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/db/src/execution/interpreter/rows/expansion_stack.rs:180\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/db/src/execution/interpreter/rows/expansion_stack.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"afce2147054960a9a54826ef290f4afa51be66b101a21bb69ac8288fa97b4ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/execution/interpreter/rows/hash_probe.rs:49-55 | crates/db/src/execution/interpreter/rows/joins.rs:63-69 \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/db/src/execution/interpreter/rows/hash_probe.rs:49\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/db/src/execution/interpreter/rows/hash_probe.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9287f5d096944d73bec88ae34e8bdae4772a3d35b8d37f250caecabaea456257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/execution/interpreter/rows/joins.rs:31-39 | crates/db/src/execution/interpreter/rows/scan.rs:241-249 \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/db/src/execution/interpreter/rows/joins.rs:31\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/db/src/execution/interpreter/rows/joins.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"237c37b6066649bfc6b0250a826239919ff4c2e15408f532f5e86291024e07dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/execution/interpreter/storage.rs:54-60 | crates/db/src/execution/interpreter/storage.rs:461-467 \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/db/src/execution/interpreter/storage.rs:54\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/db/src/execution/interpreter/storage.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c49b0860d202f08a681477da90f814082080931c95d227ae4b33fa6bd8675f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/execution/interpreter/stream/filter.rs:320-326 | crates/planner/src/ir/expr/validation.rs:35-41 \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/db/src/execution/interpreter/stream/filter.rs:320\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/db/src/execution/interpreter/stream/filter.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a13f08ecbc2a4cfd790564113924bbab8e7332ba7b621de15a16649179753f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:2688-2694 | crates/db/src/index_lifecycle/secondary.rs:2764-2770 \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/db/src/index_lifecycle/secondary.rs:2688\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"658d9dc7257d1dd49b92e94dade064f9cd0f99941ef326a71dac34fd1d02ec89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:2684-2690 | crates/db/src/index_lifecycle/vector/driver.rs:3855-3861 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/vector/driver.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary.rs:2684\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2684}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f4a1e3eb878bcc5f4503c7dba6b8306379d3171aedd00ceb701dd629dd621c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/index_lifecycle/vector/driver.rs:2831-2837 | crates/db/src/index_lifecycle/vector/driver.rs:3865-3871 \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/db/src/index_lifecycle/vector/driver.rs:2831\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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad44624e72e418bbfd06c8d482a9dddae7e0e61976bd9200adbcdec200db7c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/migrations/tenant/envelope.rs:126-133 | crates/db/src/migrations/tenant/envelope.rs:162-169 \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/db/src/migrations/tenant/envelope.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/db/src/migrations/tenant/envelope.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cbaf69501d8d66560143f0e6f50a4e8db0ee44b9b0ef275cf00c9e36d29197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 3): crates/db/src/migrations/vector_simhash_directory.rs:541-547 | crates/db/src/migrations/vector_simhash_directory.rs:628-630 | crates/db/src/migrations/vector_simhash_directory.rs:746-752 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/migrations/vector_simhash_directory.rs:541\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/db/src/migrations/vector_simhash_directory.rs:540\u0060 calls \u0060begin\u0060 and \u0060crates/db/src/migrations/vector_simhash_directory.rs:628\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_simhash_directory.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d2d26e1a6aab4470a097f67d90a50d677787401570ae9370706ebffd924eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/query_resources/properties/builder.rs:21-27 | crates/db/src/query_resources/properties/builder.rs:44-50 \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/db/src/query_resources/properties/builder.rs:21\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060property\u0060 to \u0060\u0026property::Property\u0060 in one and \u0060property::Property\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/db/src/query_resources/properties/builder.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a24f2491724c712163d4d6b7544440ba11299615c60081da6c0ca44d0327e60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/search/text/mod.rs:395-402 | crates/db/src/search/text/mod.rs:415-422 \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/db/src/search/text/mod.rs:395\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/db/src/search/text/mod.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf36294b81178b0822930248244ebe2e0ed915387837a455aae40f7ca8799f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/search/text/mod.rs:1118-1124 | crates/db/src/search/text/mod.rs:1150-1156 \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/db/src/search/text/mod.rs:1118\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/text/mod.rs"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d31c8093eea8073556d65ea2ed53905a224c7446cbecda23500798e3c1705dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/search/vector/spaces/simple_avx.rs:34-40 | crates/db/src/search/vector/spaces/simple_avx.rs:147-153 \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/db/src/search/vector/spaces/simple_avx.rs:34\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/db/src/search/vector/spaces/simple_avx.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fa0976aa7e269d372adb1211a5e587f420366d662fb99ef048442b13dc59f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/search/vector/spaces/simple_neon.rs:40-46 | crates/db/src/search/vector/spaces/simple_neon.rs:78-84 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/search/vector/spaces/simple_neon.rs:40\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/db/src/search/vector/spaces/simple_neon.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd095e5b663af4dfbd51bf06a91571ac75a21d8b867e18841b4e8afd217394fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/planner/src/exec/lowering/contracts/access/cardinality.rs:79-85 | crates/planner/src/exec/selected/lowering/contracts/matching/access/source/node.rs:81-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/lowering/contracts/access/cardinality.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbf0bbb4de51eee0038cbddaa78fbb963e1ba9991b8615cd712ddf1ceefe79f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/planner/src/exec/lowering/contracts/access/cardinality.rs:98-104 | crates/planner/src/exec/selected/lowering/contracts/matching/access/source/edge.rs:81-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/lowering/contracts/access/cardinality.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3429747db9e612bf7c98647f4a50e084362a5ca475f8d5cea8506338265d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/planner/src/ir/access/edge/branch.rs:68-74 | crates/planner/src/ir/access/node/branch.rs:68-74 \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 \u0060branches\u0060 to \u0060Vec\u003CEdgeResidualBranch\u003E\u0060 in one and \u0060Vec\u003CNodeResidualBranch\u003E\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/planner/src/ir/access/edge/branch.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0662b9de6a9474bb5b41f6aecf87d3d1b010ce9eca2c8f958e416c197499c22f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/planner/src/ir/input/search/text.rs:105-112 | crates/planner/src/ir/input/search/vector.rs:208-215 \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/planner/src/ir/input/search/text.rs:105\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/planner/src/ir/input/search/text.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6128b4dca8739f77e347ce69bda27b58e8d024c53b58622630497514dbe4d66b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/server/src/lib.rs:339-345 | crates/server/src/lib.rs:357-363 \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/server/src/lib.rs:339\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/server/src/lib.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"80459b2e6f5882bb44102026bddfa7e32b6b444bff75ba81b6ceb3f205f03fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): crates/db/src/migrations/vector_properties.rs:167-172 | crates/db/src/migrations/vector_retirement.rs:261-266 | crates/db/src/migrations/vector_retirement.rs:430-435 | crates/db/src/migrations/vector_retirement.rs:547-552 | crates/db/src/migrations/vector_retirement.rs:682-687 | crates/db/src/migrations/vector_retirement.rs:793-798 \u2014 before extracting anything, compare \u0060crates/db/src/migrations/vector_properties.rs\u0060 and \u0060crates/db/src/migrations/vector_retirement.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_properties.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fea8d5dbc6b60a7c60a5f7260d6db52adff08f089707ea647c86c180f3e28e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/db/src/search/vector/spaces/simple_avx.rs:31-39 | crates/db/src/search/vector/spaces/simple_avx.rs:86-94 | crates/db/src/search/vector/spaces/simple_avx.rs:144-152 | crates/db/src/search/vector/spaces/simple_avx.rs:200-208 \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/db/src/search/vector/spaces/simple_avx.rs:31\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/db/src/search/vector/spaces/simple_avx.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29a45989116bd427f2dbfb39afdeda7079d65806aeed119cf3b794ced399fcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/db/src/migrations/startup/bootstrap.rs:123-130 | crates/db/src/migrations/startup/bootstrap.rs:186-193 | crates/db/src/migrations/startup/bootstrap.rs:262-269 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/startup/bootstrap.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49b05aedb022d49d17c1dad8952c64d8b4f0814520fcd018ba3089e39c30230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/planner/src/planning/envelope/write_contract.rs:60-65 | crates/planner/src/planning/selected/native/context_usage.rs:60-65 | crates/planner/src/planning/selected/native/context_usage.rs:317-323 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/envelope/write_contract.rs\u0060 and \u0060crates/planner/src/planning/selected/native/context_usage.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 148 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/planning/envelope/write_contract.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d7a3e595b4d2c328ef60772d1ce5db0a5c2b3364f8119e1fd4cbdcca0910de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db-testkit/src/model.rs:968-973 | crates/value-semantics/src/lib.rs:89-94 \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/db-testkit/src/model.rs:968\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db-testkit/src/model.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d6dd3c74a99ce0b69ea70a5be38c1814cb33ca52d38cf5c173c1f567e924af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/encoding/v2/values/indexes/operation_queue/mod.rs:979-984 | crates/db/src/encoding/v2/values/indexes/operation_queue/mod.rs:1012-1017 \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/db/src/encoding/v2/values/indexes/operation_queue/mod.rs:979\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/db/src/encoding/v2/values/indexes/operation_queue/mod.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8511a5082a746b06ec16477480fe00e636d58718ed16c35702dd5a04a9cf3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/encoding/v2/values/property/property_value.rs:329-335 | crates/planner/src/analysis/scalar/values.rs:173-179 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/values/property/property_value.rs\u0060 and \u0060crates/planner/src/analysis/scalar/values.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/property/property_value.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"018ce614f7a543071f75fd9ef344b3dbb125c5e6ad02e1255d2a8a29b1521678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/encoding/v2/values/property/property_value.rs:338-344 | crates/planner/src/analysis/scalar/values.rs:181-187 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/values/property/property_value.rs\u0060 and \u0060crates/planner/src/analysis/scalar/values.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/property/property_value.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"489926f82cc1725d750ae81bc82ec7cc0abb12082fdb774882593371db4ce7fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/execution/interpreter/count.rs:186-191 | crates/db/src/execution/interpreter/count.rs:211-216 \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/db/src/execution/interpreter/count.rs:186\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/db/src/execution/interpreter/count.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8e18ab171d149405655234e53902c6323144c27db522fe0200c9878edb70a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/execution/interpreter/stream/order.rs:20-26 | crates/db/src/execution/interpreter/stream/projection/rows.rs:165-171 \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/db/src/execution/interpreter/stream/order.rs:20\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/db/src/execution/interpreter/stream/order.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b9ff48dcb9314da0ce40d00e67cc1e34d3acd5f170981840b860007c586587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/execution/interpreter/stream/projection/rows.rs:84-90 | crates/db/src/execution/interpreter/stream/projection/rows.rs:135-141 \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/db/src/execution/interpreter/stream/projection/rows.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb68eaa4c0d1f7bad3a688526bcad8e4d877b6d5cd7a5031b192f1c6b2224374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:3216-3221 | crates/db/src/index_lifecycle/vector/driver.rs:1918-1923 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/vector/driver.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary.rs:3216\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":3216}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb169570a3a6e8a610334611432cd722ccfd12a08548a63e59df71500063b70e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle/text/driver.rs:1101-1111 | crates/db/src/index_lifecycle/text/driver.rs:1430-1440 \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/db/src/index_lifecycle/text/driver.rs:1101\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"304ba343c3dc884731bcdd3e99eb931c6b2e1c7fea40e8f9724925383682d23f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/index_lifecycle/vector/driver.rs:3680-3685 | crates/db/src/index_lifecycle/vector/driver.rs:3864-3869 \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/db/src/index_lifecycle/vector/driver.rs:3680\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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":3680}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9d9ce699d8833908f5a1ee03405800c6759e061d19be5b1e8a3f2420377329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/migrations/tenant/envelope.rs:92-97 | crates/db/src/migrations/tenant/envelope.rs:180-185 \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/db/src/migrations/tenant/envelope.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"465562a0ef3efc1340d1276221186d25837fde73461843d87f8ba66be8c6a5d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/migrations/vector_retirement.rs:482-489 | crates/db/src/migrations/vector_retirement.rs:884-891 \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/db/src/migrations/vector_retirement.rs:482\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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"e997c8805109964ca94cdee509529535aa20dba6e31a2c6ed178a8ff0964aa94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/search/vector/hnsw/mutation/mod.rs:1481-1486 | crates/db/src/search/vector/hnsw/mutation/mod.rs:1507-1512 \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/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b3546855941a447dc4ae95988ec27f46a766abd6332f8ed171aff1b0c55e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/db/src/search/vector/spaces/simple_sse.rs:29-37 | crates/db/src/search/vector/spaces/simple_sse.rs:81-90 \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/db/src/search/vector/spaces/simple_sse.rs:29\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/db/src/search/vector/spaces/simple_sse.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"80aade8afcf7a3d9e14f62990fa21ef284d56974e5416d7ee95efb666bc63bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/planner/src/exec/lowering/costing.rs:323-328 | crates/planner/src/exec/lowering/costing.rs:447-452 \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/planner/src/exec/lowering/costing.rs:323\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/planner/src/exec/lowering/costing.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdc7a25c2c5cd5bb85f77f143956f4172b5cefb9e00d477c659a1d0ec0eeb3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/planner/src/ir/bounds/search.rs:196-201 | crates/planner/src/ir/bounds/stream/bound.rs:222-227 \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/planner/src/ir/bounds/search.rs:196\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/planner/src/ir/bounds/search.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6a181535a100c2225679b555b772720106dce74fd69638d0a44452101b4d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/planner/src/ir/index/range/bounds/bound.rs:102-107 | crates/planner/src/ir/index/range/bounds/bound.rs:119-124 \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/planner/src/ir/index/range/bounds/bound.rs:102\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/planner/src/ir/index/range/bounds/bound.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b711d4fd9bc550e9b7a290079c0dfe255690b339bbbff93c71f44f8b38815b3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/planner/src/rules/root/control_flow/implementation.rs:31-36 | crates/planner/src/rules/root/control_flow/implementation.rs:68-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/planner/src/rules/root/control_flow/implementation.rs:31\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/planner/src/rules/root/control_flow/implementation.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8150c38de7b00e002120b8257358c247d2b9a2766ed943faef2920b7be4a6ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/server/src/http.rs:177-182 | crates/server/src/http.rs:230-235 \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/server/src/http.rs:177\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/server/src/http.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e81ce5dfbc2f6000f510fa19246fc91c8940b7eb145e2489a67473171f4673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/db/src/execution/interpreter/rows/hash_probe.rs:47-52 | crates/db/src/execution/interpreter/rows/joins.rs:61-66 | crates/db/src/execution/interpreter/rows/lookup.rs:39-44 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/rows/hash_probe.rs:47\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/db/src/execution/interpreter/rows/hash_probe.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2d4785b367c5b33b3e3bbdc6ad14596c51ec18b32639980d6a83d2b8c239ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/cypher/src/bind.rs:956-962 | crates/planner/src/relational/expression.rs:583-589 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cypher/src/bind.rs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3a5773c1ec9e18f553b6c2af7b20c602bf94e342ca7b7a6ba9194c47030fb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db-testkit/src/model.rs:991-996 | crates/value-semantics/src/lib.rs:113-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db-testkit/src/model.rs:991\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db-testkit/src/model.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb4ccfd6cea193479271082162cce25383ae072b79148178da739fe19b564ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/secondary.rs:72-76 | crates/db/src/encoding/v2/keys/managed_index.rs:74-78 \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/db/src/encoding/v2/keys/indexes/secondary.rs:72\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/db/src/encoding/v2/keys/indexes/secondary.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"917d23d8afe41366b2a48af8122fe2058b77ba3489eff8747483ba4eb9585553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/db/src/encoding/v2/values/indexes/operation_queue/algebra.rs:224-229 | crates/db/src/encoding/v2/values/indexes/operation_queue/algebra.rs:259-263 \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/db/src/encoding/v2/values/indexes/operation_queue/algebra.rs:224\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/db/src/encoding/v2/values/indexes/operation_queue/algebra.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e987a80b894aa6670722f328691a0ac73895bfb73b28da0ba99540e403ca972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/encoding/v2/values/property/property_value.rs:222-227 | crates/planner/src/analysis/scalar/values.rs:188-193 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/values/property/property_value.rs\u0060 and \u0060crates/planner/src/analysis/scalar/values.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/values/property/property_value.rs:222\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/db/src/encoding/v2/values/property/property_value.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee5b7fc7f569bbc91681162d7eb665f9d5e6d340f401dc39ba366f4745096a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/index_lifecycle/repository.rs:134-142 | crates/db/src/migrations/startup/bootstrap.rs:200-208 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/repository.rs\u0060 and \u0060crates/db/src/migrations/startup/bootstrap.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/repository.rs:134\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/db/src/index_lifecycle/repository.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"870dfc2a2f5c3c1c04a8300bdedfa7b332f1be652fcbe929bc2d6883fc02df80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:1017-1021 | crates/db/src/index_lifecycle/secondary.rs:3473-3477 \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/db/src/index_lifecycle/secondary.rs:1017\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9e88efbd17a357dc195dd9a0ccfb21a27398cc378570c73e5f607008e229e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/migrations/startup/bootstrap.rs:127-133 | crates/db/src/migrations/startup/bootstrap.rs:190-196 \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/db/src/migrations/startup/bootstrap.rs:127\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/db/src/migrations/startup/bootstrap.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1ab15fa15acc1295f9fbc0bbd9250ea0d8af6c7562e7843ff7e42a7cee0311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/db/src/search/vector/cache/store.rs:266-271 | crates/db/src/search/vector/cache/store.rs:418-422 \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/db/src/search/vector/cache/store.rs:266\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/db/src/search/vector/cache/store.rs:416\u0060 calls \u0060default\u0060 and \u0060crates/db/src/search/vector/cache/store.rs:264\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/cache/store.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ebc343a0e6b00b95ceac4a99a7db61ec9a80191f98c01462b02cfc8e4d638b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/db/src/search/vector/hnsw/mutation/mod.rs:435-439 | crates/db/src/search/vector/hnsw/search.rs:238-242 \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/db/src/search/vector/hnsw/mutation/mod.rs:435\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/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b79c76cbea10cbd064a526af82a00f2f54726f121e350f7cee0549857f0031d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/planner/src/exec/access/edge.rs:282-286 | crates/planner/src/exec/access/node.rs:431-435 \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/planner/src/exec/access/edge.rs:282\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/planner/src/exec/access/edge.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db612eecb597d007fb6eb0024d6dc61d4b72d1927f124ff7348a5c449cd238e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/planner/src/exec/count.rs:1249-1253 | crates/planner/src/exec/count.rs:1318-1322 \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/planner/src/exec/count.rs"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"3932a15fac49060fa03f843f7ce7e6f33fe1b765153c0a2df351299fe030863c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/planner/src/ir/access.rs:105-111 | crates/planner/src/ir/access.rs:121-127 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/access.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"890ad3666c4240d484476fcc15758962086cbfc888841e0dccd932bc2a1b81f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): crates/planner/src/exec/lowering/access_leaf/edge.rs:45-98 | crates/planner/src/exec/lowering/access_leaf/node.rs:45-98 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060plan\u0060 to \u0060\u0026\u0027a ir::EdgeAccessPlan\u0060 in one and \u0060\u0026\u0027a ir::NodeAccessPlan\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/planner/src/exec/lowering/access_leaf/edge.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"674e916e2d3c3ce3312214520366049ca44db084b1b7214cb0e428c3b0fe8ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): crates/planner/src/exec/lowering/access_leaf/edge.rs:101-151 | crates/planner/src/exec/lowering/access_leaf/node.rs:101-151 \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/planner/src/exec/lowering/access_leaf/edge.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b87daace7bd6aafc8c9f37e3c5f13bc53605357a2bd90e31a73eeb95d5b6aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): crates/planner/src/ir/access/edge/analysis.rs:143-196 | crates/planner/src/ir/access/node/analysis.rs:152-205 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060subset\u0060 to \u0060\u0026EdgeAccessPlan\u0060 in one and \u0060\u0026NodeAccessPlan\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/planner/src/ir/access/edge/analysis.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea98c5d4571e0054c988107c495782f82bc5a1872f8c61fd1dd86120e9a445cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/planner/src/rules/access/sets/contradiction/edge.rs:29-52 | crates/planner/src/rules/access/sets/contradiction/node.rs:29-52 \u2014 before extracting anything, compare \u0060crates/planner/src/rules/access/sets/contradiction/edge.rs\u0060 and \u0060crates/planner/src/rules/access/sets/contradiction/node.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060left\u0060 to \u0060\u0026ir::EdgeAccessPlan\u0060 in one and \u0060\u0026ir::NodeAccessPlan\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/planner/src/rules/access/sets/contradiction/edge.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b95abdbc56d338f9a5e4a51e4d872b99e84157cd54ab5d85ca4a716202d1ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): crates/planner/src/exec/selected/index_ddl.rs:31-65 | crates/planner/src/exec/selected/mutation/root.rs:26-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/exec/selected/index_ddl.rs:31\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060plan\u0060 to \u0060ir::IndexDdlPlan\u0060 in one and \u0060SelectedMutationPlan\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/planner/src/exec/selected/index_ddl.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab475eebbf634470753d1c4c5de5902e2b32ea080c13a5a10aa3e754b5e0c8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): crates/db-testkit/src/lifecycle.rs:108-114 | crates/db/src/index_lifecycle/catalog.rs:115-121 | crates/db/src/index_lifecycle/catalog.rs:124-130 | crates/db/src/index_lifecycle/catalog.rs:133-139 | crates/db/src/index_lifecycle/catalog.rs:142-154 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db-testkit/src/lifecycle.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22d272f63dc7eabd94bde35185274957be168f3bbd97c5254d3443aae96f804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db-testkit/src/lifecycle.rs:117-123 | crates/db/src/index_lifecycle/catalog.rs:157-163 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db-testkit/src/lifecycle.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b231d333705b723a536be03f550ab4d5509090af89a864d4094a25f9ead229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/db/src/config/indexes.rs:664-671 | crates/db/src/config/indexes.rs:674-681 | crates/db/src/index_lifecycle/model.rs:408-415 | crates/db/src/index_lifecycle/model.rs:418-425 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/config/indexes.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a55a6e51ed5e02f178631c41f0e79171bf6a6e0ae521718c9b0ddc6dc44232c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/config/indexes.rs:692-697 | crates/db/src/index_lifecycle/model.rs:433-438 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/config/indexes.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ae268982180127e1592a56c36afd21b8cc2425a857e207d80a29a512784862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/encoding/v2/keys/data.rs:330-335 | crates/db/src/encoding/v2/keys/managed_index.rs:179-184 \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/db/src/encoding/v2/keys/data.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89b43856df6bc3516045242d870874051ccbe5eae227c99b8f8ef67c44c89dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/direction.rs:13-19 | crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:23-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/direction.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8969058c5a5a9a897161a2f43ba6a7be06a8fa7a8c3e46a7f3394cd9c086727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/equality/edge.rs:295-300 | crates/db/src/encoding/v2/keys/indexes/equality/node.rs:109-114 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/equality/edge.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/equality/node.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/equality/edge.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ee191a3ba722426e910df0b77db90405a67a5fbac82d27ae733d75349398a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): crates/db/src/encoding/v2/keys/indexes/equality/scans.rs:28-32 | crates/db/src/encoding/v2/keys/indexes/equality/scans.rs:89-93 | crates/db/src/encoding/v2/keys/indexes/equality/scans.rs:178-182 | crates/db/src/encoding/v2/keys/indexes/label.rs:363-367 | crates/db/src/encoding/v2/keys/indexes/label.rs:407-411 | crates/db/src/encoding/v2/keys/indexes/range/scans.rs:29-33 | crates/db/src/encoding/v2/keys/indexes/range/scans.rs:142-146 | crates/db/src/encoding/v2/keys/indexes/range/scans.rs:259-263 | crates/db/src/encoding/v2/keys/indexes/vector/mod.rs:226-230 | crates/db/src/encoding/v2/keys/metadata.rs:65-69 \u2014 there are 10 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 10 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/equality/scans.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"161105f8e8ff2d683fc787bd1d9755f10d1f0d226bc91d82f42801ba3cbf3061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/db/src/execution/interpreter/mutation/contracts.rs:31-36 | crates/db/src/index_lifecycle/mutation_catalog.rs:309-314 | crates/db/src/migrations/mod.rs:4111-4116 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060properties\u0060 to \u0060\u0026[crate::encoding::v2::values::property::Property]\u0060 in one and \u0060\u0026[Property]\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/db/src/execution/interpreter/mutation/contracts.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"911a2393b57f6ca44aa5715143df643b15aa1132a8f83ac8cf0d4f2ba6f895b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/index_lifecycle/outbox.rs:510-516 | crates/db/src/index_lifecycle/vector/driver.rs:1099-1105 \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/db/src/index_lifecycle/outbox.rs:510\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/db/src/index_lifecycle/outbox.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"1503f705328ad6e79539200326831a52097c55508deecb9edd757ac98a3feb8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/db/src/index_lifecycle/secondary.rs:5183-5189 | crates/db/src/index_lifecycle/text/driver.rs:2942-2948 | crates/db/src/index_lifecycle/vector/driver.rs:4239-4245 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/text/driver.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":5183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8839680963ad243e9ec353f1bd41b07aadbaec0f2939ce15133867ed9142108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/search/text/caching_directory.rs:169-175 | crates/db/src/search/text/debug_proxy_directory.rs:124-130 \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/db/src/search/text/caching_directory.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ac530152c2a694cba0874d1b67de0b4bfc09a575f57dc3e834adec9eaf7af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/planner/src/exec/lowering/contracts/access/cardinality.rs:110-115 | crates/planner/src/rules/physical_contracts/access/estimates.rs:37-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/lowering/contracts/access/cardinality.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6551e8891d4e325bbc46bde01d282e15269693912e4afd1fc5de79aae74b7653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/planner/src/ir/access/edge/branch.rs:87-93 | crates/planner/src/ir/access/node/branch.rs:87-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/access/edge/branch.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c58ec78a9d637007967fdf58a86dc6442c9a339d53a0dab0040b7f8934f8e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/planner/src/logical/access/unary/candidates/order.rs:86-91 | crates/planner/src/rules/access/order/direction/contracts.rs:69-74 \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/planner/src/logical/access/unary/candidates/order.rs:86\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/planner/src/logical/access/unary/candidates/order.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"386b29d3be180c6c2a8b20191e6114b3f8020e27fd3fbc22d67ac8c3d7772474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/planner/src/rules/access/filter/index/translate.rs:69-74 | crates/planner/src/rules/cardinality.rs:1615-1620 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/filter/index/translate.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb3420802299296b3abe6f7763f3066833a187d463fa013a6187d608d666b44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/planner/src/rules/access/sets/contradiction/edge.rs:54-62 | crates/planner/src/rules/access/sets/contradiction/node.rs:54-62 \u2014 before extracting anything, compare \u0060crates/planner/src/rules/access/sets/contradiction/edge.rs\u0060 and \u0060crates/planner/src/rules/access/sets/contradiction/node.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060left\u0060 to \u0060\u0026ir::EdgeAccessPlan\u0060 in one and \u0060\u0026ir::NodeAccessPlan\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/planner/src/rules/access/sets/contradiction/edge.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b428ab0cd252d6fd86cb300ddd343f954076fcab1c300a8a56db7a48224b0206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/planner/src/rules/access/sets/equality_range/intersection/mod.rs:25-30 | crates/planner/src/rules/access/sets/equality_range/range_union/mod.rs:25-30 | crates/planner/src/rules/access/sets/range/mod.rs:24-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/rules/access/sets/equality_range/intersection/mod.rs:25\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/planner/src/rules/access/sets/equality_range/intersection/mod.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce28cc1efe31500decfe5db2a4ec93b608475251ff1d337facca2dfbbcc45e1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/planner/src/rules/physical_contracts/root_stream/delivered.rs:97-103 | crates/planner/src/rules/root/control_flow/contracts.rs:6-12 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/physical_contracts/root_stream/delivered.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aad9e430e6194b96aa056765be45d0dec856770f8a04d3236e5529d0989628c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs:222-227 | crates/db/src/encoding/v2/keys/indexes/vector/layer0.rs:71-76 | crates/db/src/encoding/v2/keys/indexes/vector/reverse_edges.rs:74-79 | crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs:215-220 | crates/db/src/encoding/v2/keys/indexes/vector/upper_layers.rs:159-164 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/vector/layer0.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/entry_candidates.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4f051d3b5f209ae63df4ac7285e0fc85945d5abebe0e5dd734b20f692dc10c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/vector/items.rs:143-149 | crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs:141-147 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/vector/items.rs\u0060 and \u0060crates/db/src/encoding/v2/keys/indexes/vector/simhash.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/items.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4706880d6ac9489a5c75396b27012d05fd4c2d1593b127c32a37b4692f7848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/vector/metadata.rs:75-80 | crates/db/src/encoding/v2/legacy/vector/transaction_guard.rs:73-78 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/indexes/vector/metadata.rs\u0060 and \u0060crates/db/src/encoding/v2/legacy/vector/transaction_guard.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/keys/indexes/vector/metadata.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"434f95478a55630b55266584a77ef43fdc2d9a3c59dcf291848a281219927650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/index_lifecycle/text/cleanup.rs:322-328 | crates/db/src/index_lifecycle/vector/driver.rs:1972-1978 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060progress\u0060 to \u0060TextCleanupProgress\u0060 in one and \u0060VectorCleanupProgress\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/db/src/index_lifecycle/text/cleanup.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2094cbda1a2ffafb7451f1827b9f1ef07e75b03128c38b1346254f93bc6a040b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/db/src/index_lifecycle_testing.rs:750-754 | crates/db/src/search/text/cache.rs:1301-1305 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea97e081e5e622f22058d70498cb7d254ebf61ff5914fef692e67f3a90f612ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/search/vector/dimension.rs:26-31 | crates/db/src/search/vector/hnsw/neighbor_set.rs:22-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/dimension.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"310f8268e7ffc2c5a03cfdb4d3c18cdab00e9494f73229924e273c0183f60d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/planner/src/exec/selected/control_flow/branch.rs:56-69 | crates/planner/src/exec/selected/control_flow/repeat.rs:44-57 \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/planner/src/exec/selected/control_flow/branch.rs:56\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/planner/src/exec/selected/control_flow/branch.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b3a124ddfa8e7b06cf0970f1a9a22e47a3a2f01d63627af5f24ff3cbbc8316"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/planner/src/exec/selected/lowering/contracts/delivered/access.rs:46-51 | crates/planner/src/exec/selected/lowering/contracts/estimate.rs:26-31 \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/planner/src/exec/selected/lowering/contracts/delivered/access.rs:46\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/planner/src/exec/selected/lowering/contracts/delivered/access.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"986295cd40d6cd4c8846928b615d2f62e3d14a4cdfc07a4e9400ee9dca0bc4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/planner/src/ir/access/edge/source.rs:36-43 | crates/planner/src/ir/access/node/source.rs:40-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060plan\u0060 to \u0060EdgeAccessPlan\u0060 in one and \u0060NodeAccessPlan\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/planner/src/ir/access/edge/source.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dca57add4dbac520fb73962326da149d297a7dc4f8d63e3dbd2c353677986f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/planner/src/ir/bounds/search.rs:89-98 | crates/planner/src/ir/bounds/stream/bound.rs:82-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/bounds/search.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d070446c5fceb8352d0f380e26fb720fb14b27b4b6d521f2e4298b5019993fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/planner/src/ir/input/property.rs:40-47 | crates/planner/src/ir/input/search/expr.rs:40-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/ir/input/property.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edad5394c4d7afefa984308d486f7122587bae4aed7c4c5d62f7d2a4a2307c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/planner/src/planning/index_ddl/shared.rs:8-13 | crates/planner/src/planning/search/access/edge.rs:69-74 | crates/planner/src/planning/search/access/node.rs:69-74 \u2014 before extracting anything, compare \u0060crates/planner/src/planning/search/access/edge.rs\u0060 and \u0060crates/planner/src/planning/search/access/node.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/planning/index_ddl/shared.rs:8\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/planner/src/planning/index_ddl/shared.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"30909e2dc65e9ecc9c183d6bdd19cb5d5e9ff8564c943e7b724e28054fdcee07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/planner/src/rules/access/filter/index/edge.rs:82-89 | crates/planner/src/rules/access/filter/index/node.rs:82-89 \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/planner/src/rules/access/filter/index/edge.rs:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/filter/index/edge.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5618523c2a3c8c5b4a561c93a46d656625c87915984573406bb003227c0c7cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/planner/src/rules/access/filter/index/edge.rs:117-125 | crates/planner/src/rules/access/filter/index/node.rs:133-141 \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/planner/src/rules/access/filter/index/edge.rs:117\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/planner/src/rules/access/filter/index/edge.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74e1f54aba9892e702f1e5cd5d3426ff44301a497e7df90fda7023aa5969a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/planner/src/rules/access/filter/index/edge.rs:127-131 | crates/planner/src/rules/access/filter/index/node.rs:143-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 both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/filter/index/edge.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b311a5f1498fc3a03ad2606f05b94798ad6f73010d1e607ccdf20c2462f6741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/planner/src/rules/access/pipeline/membership.rs:53-57 | crates/planner/src/rules/access/pipeline/source_index.rs:56-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 both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/pipeline/membership.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92745a8a88df015bbc27ccb41dafb09db1b042905f06f829bd61e877c9104c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/planner/src/rules/access/sets/contradiction/edge.rs:81-90 | crates/planner/src/rules/access/sets/contradiction/node.rs:81-90 \u2014 before extracting anything, compare \u0060crates/planner/src/rules/access/sets/contradiction/edge.rs\u0060 and \u0060crates/planner/src/rules/access/sets/contradiction/node.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/rules/access/sets/contradiction/edge.rs:81\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060plan\u0060 to \u0060\u0026ir::EdgeAccessPlan\u0060 in one and \u0060\u0026ir::NodeAccessPlan\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/planner/src/rules/access/sets/contradiction/edge.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b7223b6d698f95ba56bff9435a4bb37131c1a3865ea24ebe677b76ae4de3d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/planner/src/rules/access/sets/contradiction/edge.rs:94-99 | crates/planner/src/rules/access/sets/contradiction/node.rs:94-99 \u2014 before extracting anything, compare \u0060crates/planner/src/rules/access/sets/contradiction/edge.rs\u0060 and \u0060crates/planner/src/rules/access/sets/contradiction/node.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/rules/access/sets/contradiction/edge.rs:94\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060plan\u0060 to \u0060\u0026ir::EdgeAccessPlan\u0060 in one and \u0060\u0026ir::NodeAccessPlan\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/planner/src/rules/access/sets/contradiction/edge.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbecc610be3eafb0327149ba421966adf280447e02c4fc8ff20febce56332e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/planner/src/rules/access/sets/equality_range/range_union/edge.rs:22-30 | crates/planner/src/rules/access/sets/equality_range/range_union/node.rs:22-30 \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/planner/src/rules/access/sets/equality_range/range_union/edge.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31fff213fae2af32ecf7108229c499058c27ad1154d9f48495a10c96cd69c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): crates/planner/src/rules/access/sets/rules/canonical.rs:26-31 | crates/planner/src/rules/access/sets/rules/contradiction.rs:26-31 | crates/planner/src/rules/access/sets/rules/equality_range.rs:26-31 | crates/planner/src/rules/access/sets/rules/equality_range.rs:55-60 | crates/planner/src/rules/access/sets/rules/range.rs:27-32 | crates/planner/src/rules/access/sets/rules/subsumption.rs:26-31 \u2014 there are 6 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sets/rules/canonical.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"77525ccecadfc516ac9b1723277d52f5bcb5d0960769e13ffd7736e97f351919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/db/src/index_lifecycle/vector/driver.rs:2389-2404 | crates/db/src/index_lifecycle/vector/driver.rs:2617-2632 \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/db/src/index_lifecycle/vector/driver.rs:2389\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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7adff2d3ad440e740917a2877b5ede34d26c9a59f0e5852402cb9ceed3ce4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/db/src/index_lifecycle_testing/contracts.rs:3473-3480 | crates/db/src/index_lifecycle_testing/contracts.rs:3498-3512 | crates/db/src/index_lifecycle_testing/contracts.rs:3960-3968 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle_testing/contracts.rs:3473\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3473}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d70df95ba2f5415f8070b117b5d5ba68d970f2b532da9a30a191644548b869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:3595-3603 | crates/db/src/index_lifecycle_testing/contracts.rs:3683-3697 \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/db/src/index_lifecycle_testing/contracts.rs:3595\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3595}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b8818ba5fe639015757def64ca64a7f5826d37bd8e43dc652f548cf51fe97f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/search/vector/hnsw/search.rs:692-704 | crates/db/src/search/vector/hnsw/search.rs:852-865 \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/db/src/search/vector/hnsw/search.rs:692\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/db/src/search/vector/hnsw/search.rs:865\u0060 calls \u0060saturating_add\u0060 and \u0060crates/db/src/search/vector/hnsw/search.rs:704\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/search.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6aae083c32e95d0aa650c646816c5eb9330162f28b84d18390167d62e098569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/db/src/migrations/vector_simhash_directory.rs:550-563 | crates/db/src/migrations/vector_simhash_directory.rs:755-768 \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/db/src/migrations/vector_simhash_directory.rs:550\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/db/src/migrations/vector_simhash_directory.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"987a8290f68ff3a1fcf4da1e16adffa0c5efa92dd83f04308ebef61d838b11f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/db/src/lib.rs:614-627 | crates/db/src/lib.rs:1139-1152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/lib.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93f355552813536cf8c4d32e4289c6183fa6db72332f42cb0bddd1bba4c4843"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:3583-3595 | crates/db/src/index_lifecycle_testing/contracts.rs:3875-3887 \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/db/src/index_lifecycle_testing/contracts.rs:3583\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3583}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba832f73e0329942eb376f551f9edb175fbf27c3a56ffbf06c7b142b181d36fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/db/src/migrations/vector_retirement.rs:368-380 | crates/db/src/migrations/vector_retirement.rs:495-507 | crates/db/src/migrations/vector_retirement.rs:625-637 | crates/db/src/migrations/vector_retirement.rs:897-909 \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/db/src/migrations/vector_retirement.rs:368\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a270ec3acc496495d3583b49d1e101f1f05a47ca6c2aecbe1e56b10adf563ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/planner/src/rules/physical_contracts/support/pipeline.rs:180-192 | crates/planner/src/rules/physical_contracts/support/pipeline.rs:220-232 \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/planner/src/rules/physical_contracts/support/pipeline.rs:180\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/planner/src/rules/physical_contracts/support/pipeline.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fff2d3d30eb72dc66d14b5fa748e35ee69bdbb95d4f46a80d184877df310d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:1255-1267 | crates/db/src/index_lifecycle_testing/contracts.rs:1834-1846 \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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41eb592fee30ad68a69a24530f9026af86a6217313d9bd37a6e1b7ce4713bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/db/src/search/text/split.rs:373-393 | crates/db/src/search/text/split.rs:509-528 \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/db/src/search/text/split.rs:373\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/db/src/search/text/split.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"125f410100f01f700b21d11a14bd512de0c1824708c081a901cbc4b233d16a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/db/src/search/vector/storage/mod.rs:1365-1376 | crates/db/src/search/vector/storage/mod.rs:1426-1435 | crates/db/src/search/vector/storage/mod.rs:1500-1509 | crates/db/src/search/vector/storage/mod.rs:1551-1561 \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/db/src/search/vector/storage/mod.rs:1365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8dae59356d9a3e6d72760b07fa6746af9b3ab27e155f7686ce448cbbc4bb373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/encoding/v2/keys/indexes/vector/mod.rs:277-288 | crates/db/src/encoding/v2/keys/indexes/vector/mod.rs:321-332 \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/db/src/encoding/v2/keys/indexes/vector/mod.rs:277\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/db/src/encoding/v2/keys/indexes/vector/mod.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"f690a5df400e8e6bf5617ea25888c2df8591276a28fd55e2d8d3855a15d6c9c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:3017-3028 | crates/db/src/index_lifecycle_testing/contracts.rs:3391-3402 \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/db/src/index_lifecycle_testing/contracts.rs:3017\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3017}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c64b278b43e1fb8326307113f794192fea151f5350c5c13392afeb2f4eac9bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:1343-1354 | crates/db/src/index_lifecycle_testing/contracts.rs:2549-2560 \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/db/src/index_lifecycle_testing/contracts.rs:1343\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1572e79e1fe5b7334e770f968a1a3339e6f630c141fd0631b459f3a3a492a53c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/search/vector/storage/mod.rs:1514-1524 | crates/db/src/search/vector/storage/mod.rs:1568-1579 \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/db/src/search/vector/storage/mod.rs:1514\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37d1a610ff9c43bb45a84e96c3828f89392d685e15d75c2869e70ee7ea68b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/migrations/vector_retirement.rs:116-127 | crates/db/src/migrations/vector_retirement.rs:703-712 \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/db/src/migrations/vector_retirement.rs:116\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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"775abbea089c9e50235e702987c98913622ea9b633e48f921e7de7cb4fdca97b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/encoding/v2/keys/graph.rs:191-202 | crates/db/src/encoding/v2/legacy/edge_property_pair.rs:43-53 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/graph.rs\u0060 and \u0060crates/db/src/encoding/v2/legacy/edge_property_pair.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/graph.rs:191\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/db/src/encoding/v2/keys/graph.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be32f6c30454a22a272a4b9db1a7e6627a521d2c8b74758a0a525427b2b3aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle/text/validation.rs:300-311 | crates/db/src/index_lifecycle/text/validation.rs:740-751 \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/db/src/index_lifecycle/text/validation.rs:300\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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bfd3812d5984ab1d5add03a23096360e3a4d04c7309a716af93ddd399dcbff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:1680-1691 | crates/db/src/index_lifecycle_testing/contracts.rs:2635-2646 \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/db/src/index_lifecycle_testing/contracts.rs:1680\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"0910169810250cbd43f3d7d464c51eb201fee6fb6580903d78bc69853a2f13c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/db/src/index_lifecycle/text/validation.rs:317-328 | crates/db/src/index_lifecycle/text/validation.rs:757-768 \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/db/src/index_lifecycle/text/validation.rs:317\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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"0498f291f80aa77376199bfd6bbe7edd45d0d9e0481f6fb70c6ddba005102771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/cli/src/commands/cloud/database.rs:160-171 | crates/cli/src/commands/cloud/project.rs:107-117 | crates/cli/src/commands/cloud/service_credential.rs:174-185 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/cli/src/commands/cloud/database.rs:160\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/cli/src/commands/cloud/database.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed15039faa6d0f3a08d72f2700efbbf609a0e8b2dd83e63ab5e326c878408bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/db/src/index_lifecycle/text/validation.rs:288-298 | crates/db/src/index_lifecycle/text/validation.rs:537-547 | crates/db/src/index_lifecycle/text/validation.rs:728-738 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/text/validation.rs:288\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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74745094cf52daddb3c6a09b197288ede8b67025161ddf93e55bb8160dfb101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:3985-3995 | crates/db/src/index_lifecycle_testing/contracts.rs:4018-4028 \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/db/src/index_lifecycle_testing/contracts.rs:3985\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":3985}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f31b79501394c0c81ef0a3ec6e247fc89bb661b2904714de85270279875cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/db/src/search/vector/storage/mod.rs:892-902 | crates/db/src/search/vector/storage/mod.rs:925-935 | crates/db/src/search/vector/storage/mod.rs:947-957 | crates/db/src/search/vector/storage/mod.rs:976-986 \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/db/src/search/vector/storage/mod.rs:892\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82d30f4144001fb8dd02b7e9f2c256b47ac3569c63a4b39dd6e5bea379f10d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/search/vector/storage/mod.rs:591-601 | crates/db/src/search/vector/storage/mod.rs:627-637 \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/db/src/search/vector/storage/mod.rs:591\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0028604200edc75bb27a13806d81178d9e274ce3d8273d8dbb51d41793bbcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/db/src/index_lifecycle_testing.rs:1165-1175 | crates/db/src/index_lifecycle_testing.rs:1291-1301 | crates/db/src/index_lifecycle_testing.rs:1331-1341 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle_testing.rs:1165\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/db/src/index_lifecycle_testing.rs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4344417e8bf7a53b1fbf4ba49fcace36ceacb2bc676ed45d6f8dea598216ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle/text/active_batch.rs:165-175 | crates/db/src/index_lifecycle/text/active_publication.rs:73-83 \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/db/src/index_lifecycle/text/active_batch.rs:165\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/db/src/index_lifecycle/text/active_batch.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbc125255ad27681268c6ad02d78c451a9d6f0d68ffae500242e356323222dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts.rs:906-916 | crates/db/src/index_lifecycle_testing/contracts.rs:919-929 \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/db/src/index_lifecycle_testing/contracts.rs:906\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/db/src/index_lifecycle_testing/contracts.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c2f2725063baf0fb6af3d44fcd33837326ad2782dc95883864ef1c7be20344"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:44-54 | crates/planner/src/rules/access/sets/equality_range/intersection/node.rs:44-54 \u2014 before extracting anything, compare \u0060crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs\u0060 and \u0060crates/planner/src/rules/access/sets/equality_range/intersection/node.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:44\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/planner/src/rules/access/sets/equality_range/intersection/edge.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9def340dfa50a43f09ee970fcbbc417c64ca11b9edb62386257c647d8c106a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle_testing/contracts/sustained_secondary_writes.rs:69-79 | crates/db/src/index_lifecycle_testing/contracts/sustained_secondary_writes.rs:143-153 \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/db/src/index_lifecycle_testing/contracts/sustained_secondary_writes.rs:69\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/db/src/index_lifecycle_testing/contracts/sustained_secondary_writes.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a87ad5347a961f21c857fac27bf0c7c45e6ff737b46477ed6555fef1c4b81f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/index_lifecycle/secondary/exact/unique.rs:102-112 | crates/db/src/index_lifecycle/secondary/exact/unique.rs:167-175 \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/db/src/index_lifecycle/secondary/exact/unique.rs:102\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/db/src/index_lifecycle/secondary/exact/unique.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1fae3d4631c90a20b2e273f32499e4fb69061df0218ade633ebd2eaafcb3e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/index_lifecycle/text/cleanup.rs:116-126 | crates/db/src/index_lifecycle/text/compaction.rs:97-107 \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/db/src/index_lifecycle/text/cleanup.rs:116\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/db/src/index_lifecycle/text/cleanup.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"961e23623e1e0753598be17db151de7e56723994b510078a66692d8c24b2b067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/db/src/index_lifecycle_testing.rs:1186-1194 | crates/db/src/index_lifecycle_testing.rs:1312-1320 | crates/db/src/index_lifecycle_testing.rs:1353-1363 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle_testing.rs:1186\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing.rs"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3726991dfde6a47cadf58fc398335489d2ac13d3677417358ce19ddcb2619cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/search/text/compaction.rs:258-268 | crates/db/src/search/text/compaction.rs:407-417 \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/db/src/search/text/compaction.rs:258\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/db/src/search/text/compaction.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"37037cdaf98fc867c8d296dd96546ccf2538d1b6aae02cbf14e5635e25c01504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/db/src/search/vector/storage/mod.rs:1306-1316 | crates/db/src/search/vector/storage/mod.rs:1429-1439 \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/db/src/search/vector/storage/mod.rs:1306\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e4d9c1a8c2f55a02062cd8eee00b283dce1f338e7220a2bdd5072877c946a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/execution/interpreter/rows/lookup.rs:143-153 | crates/db/src/execution/interpreter/rows/lookup.rs:291-298 \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/db/src/execution/interpreter/rows/lookup.rs:143\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/db/src/execution/interpreter/rows/lookup.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f73ddb5dd2ddf69f9151be16d00d201c9ab2ee2654a78e5583a5814ba52964a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/cli/src/local_runtime.rs:973-982 | crates/cli/src/local_runtime.rs:997-1006 \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/cli/src/local_runtime.rs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3539f97f5fcba5fc615a1a52f9b911482e4999ac335fdd1b0e0c7880379261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/db/src/index_lifecycle/text/driver.rs:462-471 | crates/db/src/index_lifecycle/text/driver.rs:515-524 \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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"22509e0c12746a8b01107687852b62006b110233e91087877eb8ca8e478b85f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/search/vector/storage/mod.rs:1055-1063 | crates/db/src/search/vector/storage/mod.rs:1130-1139 \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/db/src/search/vector/storage/mod.rs:1055\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/db/src/search/vector/storage/mod.rs"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fa328dfbb9d7f6cb6da5d4f2249d07452a978931b1ad29aa925d26320e4395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/db/src/migrations/vector_retirement.rs:364-373 | crates/db/src/migrations/vector_retirement.rs:491-500 | crates/db/src/migrations/vector_retirement.rs:621-630 | crates/db/src/migrations/vector_retirement.rs:736-745 | crates/db/src/migrations/vector_retirement.rs:893-902 \u2014 all 5 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/db/src/migrations/vector_retirement.rs:364\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/vector_retirement.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a41f646fd783bffef278fa562e002b062f9a5cbbe0a7ba2336a9f992c3e8cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/index_lifecycle/failpoints.rs:176-183 | crates/db/src/migrations/indexes/equality_bitmap.rs:144-153 \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/db/src/index_lifecycle/failpoints.rs:176\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060failpoint\u0060 to \u0060IndexOutboxFailpoint\u0060 in one and \u0060EqualityBitmapMigrationFailpoint\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/db/src/index_lifecycle/failpoints.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6695c79b1559e3c5ca309c6478f3c45d60dbdf613b4e37eab09d19024edf97c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/db/src/encoding/v2/keys/graph.rs:119-125 | crates/db/src/encoding/v2/keys/graph.rs:190-198 | crates/db/src/encoding/v2/keys/graph.rs:270-276 | crates/db/src/encoding/v2/legacy/edge_property_pair.rs:42-49 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/keys/graph.rs\u0060 and \u0060crates/db/src/encoding/v2/legacy/edge_property_pair.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/encoding/v2/keys/graph.rs:190\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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/db/src/encoding/v2/keys/graph.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21a9d675b1e9b7c9f347ff96b74902b64db5160f8197e4d19101e078819fe1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/execution/interpreter/access/params.rs:77-85 | crates/db/src/execution/interpreter/access/params.rs:94-102 \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/db/src/execution/interpreter/access/params.rs:77\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/db/src/execution/interpreter/access/params.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e7135dac5ca6fdee563a08c21f4f85e658e2383f15ee2f3851d4dc656a4f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/cli/src/local_runtime.rs:1072-1080 | crates/cli/src/local_runtime.rs:1090-1098 | crates/cli/src/local_runtime.rs:1116-1124 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/local_runtime.rs"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf48546206c039d77a5958dfff209e88d0826330e88c9212ee7d82ce6e7721f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): crates/db/src/migrations/vector_properties.rs:259-267 | crates/db/src/migrations/vector_retirement.rs:364-372 | crates/db/src/migrations/vector_retirement.rs:491-499 | crates/db/src/migrations/vector_retirement.rs:621-629 | crates/db/src/migrations/vector_retirement.rs:736-744 | crates/db/src/migrations/vector_retirement.rs:893-901 \u2014 before extracting anything, compare \u0060crates/db/src/migrations/vector_properties.rs\u0060 and \u0060crates/db/src/migrations/vector_retirement.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/migrations/vector_properties.rs:259\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/db/src/migrations/vector_properties.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"512f36d8accceb7110e89d9b8b9a8890194541e3fa5a75e70bb6812aa0ccdfee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/index_lifecycle_testing.rs:1555-1563 | crates/db/src/index_lifecycle_testing.rs:1580-1588 \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/db/src/index_lifecycle_testing.rs:1555\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing.rs"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2f62b4e0d1484493df38dec4e358993b989b9f61265da000239e5243c639b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/db/src/execution/interpreter/access/restricted_text.rs:87-95 | crates/db/src/execution/interpreter/access/restricted_vector.rs:73-81 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/access/restricted_text.rs:87\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060plan\u0060 to \u0060\u0026ir::RestrictedTextSearchPlan\u0060 in one and \u0060\u0026ir::RestrictedVectorSearchPlan\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/db/src/execution/interpreter/access/restricted_text.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfc1edaf5555e7f61784cf28fa722eaf10d9bae38eb1eb15f9cf511f9d08864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/search/text/split.rs:401-408 | crates/db/src/search/text/split.rs:417-424 \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/db/src/search/text/split.rs:401\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/db/src/search/text/split.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7750e9b74fa9693c50003cb266777a465fed71daa3897682d17cacd16640f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/encoding/v2/values/adjacency/mod.rs:187-194 | crates/db/src/encoding/v2/values/adjacency/mod.rs:195-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/encoding/v2/values/adjacency/mod.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b6a69e2b06c470ac1ce3c1a226d0be2c4e4b06bc2fe4bfee7d2bce92229fec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/index_lifecycle/text/driver.rs:928-935 | crates/db/src/index_lifecycle/text/driver.rs:1195-1202 \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/db/src/index_lifecycle/text/driver.rs:928\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db9ff1da71238835fef7cedbf47a75bf26bf8cf48bf54472ce620ce2bf430d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:2821-2828 | crates/db/src/index_lifecycle/vector/driver.rs:3688-3695 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/vector/driver.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary.rs:2821\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2821}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f78219764808921dfdb9a14691e5c6c7451fc538a0b4b5a96373af36c933946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:3423-3430 | crates/db/src/index_lifecycle/secondary.rs:3461-3468 \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/db/src/index_lifecycle/secondary.rs:3423\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":3423}}}],"partialFingerprints":{"codehealthFindingId/v1":"59eaec7c1a8fbc2b48fdbf29b11f6614dc537210180380f2b47a7059d9c41286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/db/src/index_lifecycle/text/driver.rs:929-935 | crates/db/src/index_lifecycle/text/driver.rs:1196-1202 | crates/db/src/index_lifecycle/text/driver.rs:1583-1589 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"30916b7deb44542c494c86884a37e67010145f33617aaa7e5b895ed4c9710c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/planner/src/rules/access/sets/equality_range/intersection/node.rs:36-41 | crates/planner/src/rules/access/sets/equality_range/range_union/node.rs:37-43 \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/planner/src/rules/access/sets/equality_range/intersection/node.rs:36\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sets/equality_range/intersection/node.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ac94e12d2b19ba35abf41e110cdd822bd4b072840d4b3b2412632c523c54d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs:36-41 | crates/planner/src/rules/access/sets/equality_range/range_union/edge.rs:37-43 \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/planner/src/rules/access/sets/equality_range/intersection/edge.rs:36\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2249099d07645e9352670faaa17b6ba70d24391b9714a1765dd22181f216accd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:1810-1816 | crates/db/src/index_lifecycle/vector/driver.rs:2795-2801 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/vector/driver.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary.rs:1810\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"428807b3beeffafe3381baebc70a764b2a69b71d0363370d0042b8db24892983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:1810-1816 | crates/db/src/index_lifecycle/text/driver.rs:2524-2530 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/text/driver.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary.rs:1810\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fe219ae6652e1e84d8cef6a546d0481efc0b6047e8289970220a8d84d6cb40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/index_lifecycle/text/driver.rs:2982-2988 | crates/db/src/index_lifecycle/vector/driver.rs:4289-4295 \u2014 \u0060crates/db/src/index_lifecycle/text/driver.rs\u0060 and \u0060crates/db/src/index_lifecycle/vector/driver.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 39 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/db/src/index_lifecycle/text/driver.rs:2982\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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":2982}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a117119780703afcadabeef474f3c397d0b46b4b64765455f93046db558559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/db/src/migrations/mod.rs:3767-3773 | crates/db/src/search/vector/storage/mod.rs:2151-2157 \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/db/src/migrations/mod.rs:3767\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/db/src/migrations/mod.rs"},"region":{"startLine":3767}}}],"partialFingerprints":{"codehealthFindingId/v1":"038df672265efdafddfb21fd6124dcac32f470e06b310f37a545cd109393fa35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/db/src/execution/interpreter/pull/poll.rs:265-269 | crates/db/src/execution/interpreter/pull/poll.rs:300-305 | crates/db/src/execution/interpreter/pull/poll.rs:393-397 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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/db/src/execution/interpreter/pull/poll.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"087066360680e38246614d715a7ba9c6531159226d853a8ef5b055ceb7c61322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/index_lifecycle/outbox.rs:1091-1096 | crates/db/src/index_lifecycle/outbox.rs:1346-1351 \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/db/src/index_lifecycle/outbox.rs:1091\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/db/src/index_lifecycle/outbox.rs"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb20a5dc6f934330f69b058243429637f02a8a40e95f6993ffeaf826068f3359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/migrations/mod.rs:1552-1557 | crates/db/src/migrations/mod.rs:1716-1721 \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/db/src/migrations/mod.rs:1552\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/db/src/migrations/mod.rs"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c6593da04ea2c52ef0251650c2b70847dc29c053af3f4b092d8ff4a8de641c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/encoding/v2/values/indexes/equality/mod.rs:140-145 | crates/db/src/encoding/v2/values/indexes/equality/mod.rs:188-193 \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/db/src/encoding/v2/values/indexes/equality/mod.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf3008b19b08741b1bf47fcf7af3c7d1654183aed831265d8c1512c2ef94fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/db/src/execution/interpreter/pull/poll.rs:264-269 | crates/db/src/execution/interpreter/pull/poll.rs:544-549 | crates/db/src/execution/interpreter/pull/poll.rs:561-566 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/execution/interpreter/pull/poll.rs:264\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/db/src/execution/interpreter/pull/poll.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"faee94933ea86148fbe8af75feb5cfcf24b156fc0f22671913359dacf4df83fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sdks/rust/src/lib.rs:759-764 | sdks/rust/src/lib.rs:767-771 \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 \u0060sdks/rust/src/lib.rs:759\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/rust/src/lib.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"49eea3eb593be44829bce29a398d99c70bb77c8cd3461cd4dbfe347ba020c363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/cli/src/commands/cloud/database.rs:248-252 | crates/cli/src/commands/cloud/service_credential.rs:48-52 \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/cli/src/commands/cloud/database.rs:248\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/cloud/database.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a1289a4a3348663e522bbab9a4a1a6b701d329ad38cd465ed5582b3901c561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/db-testkit/src/model.rs:843-847 | crates/planner/src/analysis/scalar/values.rs:159-163 \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/db-testkit/src/model.rs:843\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/db-testkit/src/model.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"96518fd9c2e4f4bf1dce1c6988f4d6f7bd8d053721913d0414a2ec1e31ab7598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/db-testkit/src/model.rs:851-856 | crates/db/src/encoding/v2/values/property/property_value.rs:211-216 | crates/planner/src/analysis/scalar/values.rs:167-172 \u2014 before extracting anything, compare \u0060crates/db/src/encoding/v2/values/property/property_value.rs\u0060 and \u0060crates/planner/src/analysis/scalar/values.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db-testkit/src/model.rs:851\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/db-testkit/src/model.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab51bb0e79466169c88c95640d0f902fa59b6f109506669505c9a2b7c361390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/db/src/encoding/v2/values/property/property_value.rs:128-132 | crates/db/src/encoding/v2/values/property/property_value.rs:206-210 \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/db/src/encoding/v2/values/property/property_value.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"50db9ee003247193dea9bb8530ffe9a7ffd27979cd16710d50573cbb3732b68c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/db/src/execution/interpreter/rows/projection.rs:335-339 | crates/db/src/execution/interpreter/rows/top_k.rs:51-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/db/src/execution/interpreter/rows/projection.rs:335\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/db/src/execution/interpreter/rows/projection.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13609a81f14cb9b2329ad2c35d34ac788720d26823b8ca2be5dbd193cb5fd83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/db/src/index_lifecycle/secondary.rs:1841-1845 | crates/db/src/index_lifecycle/text/driver.rs:2558-2562 \u2014 before extracting anything, compare \u0060crates/db/src/index_lifecycle/secondary.rs\u0060 and \u0060crates/db/src/index_lifecycle/text/driver.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/db/src/index_lifecycle/secondary.rs:1841\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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"085ef7e6766e342999aaaf89052ea2b5e705b88e20e30afa4e91143a1aed2013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/db/src/index_lifecycle/text/validation.rs:529-534 | crates/db/src/index_lifecycle/text/validation.rs:720-725 \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/db/src/index_lifecycle/text/validation.rs:529\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/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"896d3fd898b095745dfdffbd46d51397b61f6ebc70f378d9dd5b1c4084d9a489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/planner/src/exec/selected/lowering/contracts/delivered/pipeline.rs:38-42 | crates/planner/src/rules/physical_contracts/support/pipeline.rs:153-157 \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/planner/src/exec/selected/lowering/contracts/delivered/pipeline.rs:38\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/planner/src/exec/selected/lowering/contracts/delivered/pipeline.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0861b417b5e282e7058f9f2815959a73ba5c8e90e812a9acef0f311ba2d59cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/planner/src/exec/selected/lowering/contracts/delivered/pipeline.rs:48-52 | crates/planner/src/rules/physical_contracts/support/pipeline.rs:193-197 \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/planner/src/exec/selected/lowering/contracts/delivered/pipeline.rs:48\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/planner/src/exec/selected/lowering/contracts/delivered/pipeline.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18a26f218267637c54dc5aa4f2cae06e6662c8425d61e63149f8482e4c4f169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): sdks/python/scripts/run_embedded_parity.py:52-73 | sdks/python/scripts/run_embedded_parity.py:165-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sdks/python/scripts/run_embedded_parity.py:52\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":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d36952d7e58a8010704597f95339da5c7801d02988df70bc6002b5dae2aecc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sdks/python/scripts/run_embedded_parity.py:298-311 | sdks/python/scripts/run_embedded_parity.py:331-344 \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 \u0060sdks/python/scripts/run_embedded_parity.py:298\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99ac3a79987c571529e2af8c37c50583a9a7772d01bddbfd83c643d34005dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sdks/python/src/helixdb/dsl.py:1390-1403 | sdks/python/src/helixdb/dsl.py:1427-1440 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"423f3764f82565af6e6dafc16349f715ad65f84cf25e80b6d752a73e21de2bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 4): sdks/python/scripts/run_embedded_parity.py:302-313 | sdks/python/scripts/run_embedded_parity.py:335-346 | sdks/python/scripts/run_server_parity.py:407-416 | sdks/python/scripts/run_server_parity.py:425-434 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sdks/python/scripts/run_embedded_parity.py:302\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e80cc7430e816793b190e6b24909a4f3e4c98e07e9e504489bbde0f3c804110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sdks/python/scripts/run_embedded_parity.py:353-364 | sdks/python/scripts/run_server_parity.py:480-491 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eea4cda1f397bf5f64b16c2fcad7d9af856a75a91bbd5fbc656db9d88126be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): docker-image/image_archive.py:243-252 | docker-image/image_archive.py:351-360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker-image/image_archive.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a962c3636ca6f053bcc084b12d0b97194ceb6db4b9933b036aa9dd4f38290ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sdks/python/scripts/run_embedded_parity.py:254-265 | sdks/python/scripts/run_server_parity.py:351-360 \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 \u0060sdks/python/scripts/run_embedded_parity.py:254\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75c549a031129491a2a8d4fe8505354abc20b6c2b40e8eb1b1e2019cbe82f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sdks/python/scripts/run_embedded_parity.py:370-379 | sdks/python/scripts/run_server_parity.py:495-504 \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":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d696ad4d7acd99352742b3b49301abaaa336d0528d478d6de246aecacc3d179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sdks/python/scripts/cypher_parity.py:43-51 | sdks/python/scripts/cypher_parity.py:65-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 \u0060sdks/python/scripts/cypher_parity.py:43\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":"sdks/python/scripts/cypher_parity.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fc2cbd14d21ae522af08c7b95f6912f52b83d8d10e768a10cf373da70ebf97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): sdks/python/scripts/run_embedded_parity.py:267-274 | sdks/python/scripts/run_server_parity.py:362-368 \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 \u0060sdks/python/scripts/run_embedded_parity.py:267\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":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc204a53938b549298d281cafa9a94d3d12ad72140d0c31164fc821c60f44e29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sdks/go/dsl.go:2349-2362 | sdks/go/dsl.go:2845-2858 \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":"sdks/go/dsl.go"},"region":{"startLine":2349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4220eb5fdd400d5885e979d6c67d2e39b9cfaf15559e7e8877fb376a52582ce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sdks/go/dsl.go:2403-2413 | sdks/go/dsl.go:2923-2933 \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":"sdks/go/dsl.go"},"region":{"startLine":2403}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d39424e6f99606349779069fe74765a9948dbda6b8bf2ee9468a141ff24c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sdks/go/client.go:365-374 | sdks/go/client.go:400-409 \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 \u0060sdks/go/client.go:365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/client.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eb01b79131da25fa21d87350c6454874fe0b4ef63f5b7032873f16d9f14010"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sdks/go/dsl.go:2391-2400 | sdks/go/dsl.go:2442-2451 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/dsl.go"},"region":{"startLine":2391}}}],"partialFingerprints":{"codehealthFindingId/v1":"566c4b701e7c60b27a6aa27e7155f06b409d1de362dd5991ac0f0e587a98f86b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sdks/go/dsl.go:286-294 | sdks/go/dsl.go:296-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/dsl.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"90484a2646e813dc1ea243f396390691551b4136dafdf3099f353de5b4fc1e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sdks/go/dsl.go:308-316 | sdks/go/dsl.go:318-326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/dsl.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"60034ff9d694cc724e5a70a2caa642e04d9b1e46798b4283324a45effce611a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sdks/go/cypher.go:38-44 | sdks/go/sql.go:54-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 both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/cypher.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2583c3ed1a88e0353f7032dc1bdaf8ceebe1e481994b650572c6426a6bd9c618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sdks/go/cypher.go:49-55 | sdks/go/sql.go:64-70 \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":"sdks/go/cypher.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e835790e0ed180141173f1511c6ad57d7684f8aca6596d66e9ef04a4f6a5ab07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): scripts/validate-cargo-target-references.py:383-405 | scripts/validate-cargo-target-references.py:409-426 \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":"scripts/validate-cargo-target-references.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"4476b7981795a7b6c75c1a7b812462870c91ff5bffa7ac053bacbee918966dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/planner/src/experiments/fixtures/batch.rs:57-69 | crates/planner/src/experiments/fixtures/batch.rs:96-108 \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/planner/src/experiments/fixtures/batch.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"64393ffa38ca1749fda3ba5fa10929d711d0920e162d828b89281e3e9170d6e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): sdks/go/cmd/generate-parity-fixtures/main.go:310-326 | sdks/go/cmd/generate-parity-fixtures/main.go:329-344 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/cmd/generate-parity-fixtures/main.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20ef4f725798512c6b73cde24db6fa0187c8ab81400511e260d55dc82a69cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/planner/src/experiments/fixtures/batch.rs:128-139 | crates/planner/src/experiments/fixtures/batch.rs:302-310 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/experiments/fixtures/batch.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6816ae4a58520e95826bbb8755d1b8f38fa26f6fc7d8901b956cb589ff88c8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/planner/src/experiments/fixtures/batch.rs:59-69 | crates/planner/src/experiments/fixtures/batch.rs:98-108 \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/planner/src/experiments/fixtures/batch.rs:59\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/planner/src/experiments/fixtures/batch.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0c2a0fe0dc2b2d1e277bc02294d22e07988ed8a2540eaecf6595f8b31887a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/planner/src/experiments/fixtures/batch.rs:170-179 | crates/planner/src/experiments/fixtures/batch.rs:291-300 \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/planner/src/experiments/fixtures/batch.rs:170\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/planner/src/experiments/fixtures/batch.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e368c8760aef045ca97d698436b23be8e3b55a3d98c993badf0326910b6525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sdks/python/scripts/generate_parity_fixtures.py:65-71 | sdks/python/scripts/parity_runtime_fixtures.py:41-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/scripts/generate_parity_fixtures.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7baa579acdbefb5d5b98e49af7ed9ce26519fae9ec2f664dccffc6b9179339"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: helix-graph-algorithms: helix-graph-algorithms: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8f1cf3407ff3432d63e553a1467c5f8d6f5ec7deabd6c4dd848d51d98a641166"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: helix-metrics: helix-metrics: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"448dc0c7dab1561c78c88e80247b60f4e2e052cada9d61730369a03e682a622a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: helix-value-semantics: helix-value-semantics: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1fd7c8129ed5ce0729f2f1f8a890f7285c20feb590089f1a88b90623bbe6bc79"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: helix-ast: helix-ast: abstractness 0.14, instability 0.10, distance 0.76 \u2014 zone of pain \u2014 concrete and depended on by 9 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62598dba8029b06bc5ec0bb382ffbbf6e3263209c3a6357ff8d7a3ee0ed2cf5a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: helix-planner: helix-planner: abstractness 0.03, instability 0.25, distance 0.72 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"512683dab13e5b0942c909f5b55003396f4a5188a7a63249fe29750aa5ee6171"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DbConfig (LCOM4 15): DbConfig\u0027s methods fall into 15 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 15 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/config/db.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01b4e209d5b0ad87538e30a023593d454db2057385ee903899139b7aac8f343"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Highlight (LCOM4 7): Highlight\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/output/json.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9681f2813b8d2283744b1e1231d23492c4204e797b62bb0e02570934ad2b79d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VectorIndexDefinition (LCOM4 6): VectorIndexDefinition\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/config/indexes.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bdbabb5146bacf410c91dabfc51779a46c88abdf31524de9e1a682b76fee53"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: IndexOperationQueueTuning (LCOM4 5): IndexOperationQueueTuning\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/config/index_operation_queue.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef90564bd6d5bb0bdabb90c0a93091728920c71057535c6c9141f195300260bc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SearchParams (LCOM4 5): SearchParams\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/mod.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b669891621d99dfe2de66cb9cf3129db5cb571be3754bae90a6789f95b8b098"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StorageCostProfile (LCOM4 4): StorageCostProfile\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/cost/profile.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d68d475fe0f7fb745385257d67400565f71e2e06606e594190f722ccc33af79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/relational/planning.rs: crates/planner/src/relational/planning.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in helix_planner::relational::planning::plan_accesses at line 226. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/relational/planning.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/planner/src/relational/planning.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"042dc6eb946483d35970ecc2c77e101f5bf0732f545fd3b76c2de2b4fe62a56d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/index_lifecycle/secondary.rs: crates/db/src/index_lifecycle/secondary.rs changed 60 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in db::index_lifecycle::secondary::scan_source at line 1796. 8 of those changes were fix/bug commits, and the other 52 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/index_lifecycle/secondary.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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fc43481fb4548c1a18957dfd6ca42078dbbf9803ac8c5c214eba94d22bda7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/lib.rs: crates/db/src/lib.rs changed 91 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in HelixDB::run_configured_vector_memory_warm at line 3418. 8 of those changes were fix/bug commits, and the other 83 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/lib.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/lib.rs"},"region":{"startLine":3418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bff90e00463166f703e18f45e97f101ed498a0df29938f71dddd48737561cd8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/migrations/mod.rs: crates/db/src/migrations/mod.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in db::migrations::preflight_legacy_vector_reservations at line 1846. 1 of those changes was a fix/bug commit, and the other 19 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/migrations/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/mod.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"5360df262bb562cd251683786bf34b841cb6ace507682d590d1c71fde842d2ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/count.rs: crates/db/src/execution/interpreter/count.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in ExecutionContext::count_cursor_leaf at line 1398. 2 of those changes were fix/bug commits, and the other 28 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/count.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/db/src/execution/interpreter/count.rs"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"348682efbe3743643968ad56fb43c5703cb4e782b81a9ed1ac0c84f215f7a7bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/cypher/src/bind.rs: crates/cypher/src/bind.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in helix_cypher::bind::bind_clauses at line 82. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/cypher/src/bind.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/cypher/src/bind.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d251c8f6c6d62c032b484cfcc0f9141d2a2a74facfc49600e7e586d1fc6d7d53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/relational/evaluation.rs: crates/planner/src/relational/evaluation.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in Evaluation::function at line 486. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/relational/evaluation.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/planner/src/relational/evaluation.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"d026fc70fe59f8780f66ee02157a79ce4ed8422b5d15f202f35714ad65195719"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/search/vector/hnsw/restricted.rs: crates/db/src/search/vector/hnsw/restricted.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in VectorIndex::restricted_filter_aware_search at line 1148. 5 of those changes were fix/bug commits, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/search/vector/hnsw/restricted.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/db/src/search/vector/hnsw/restricted.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d589a5cc332083935b88f0431878071bbbb8d117ea0a78521a0e16bf8fc90f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/index_lifecycle/vector/driver.rs: crates/db/src/index_lifecycle/vector/driver.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in db::index_lifecycle::vector::driver::plan_and_apply at line 3165. 4 of those changes were fix/bug commits, and the other 22 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/index_lifecycle/vector/driver.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/db/src/index_lifecycle/vector/driver.rs"},"region":{"startLine":3165}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd6896bae6d1a9eb849bb9992416fea8a714d52c9e08e2c6c44cac92e583264"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/rules/cardinality.rs: crates/planner/src/rules/cardinality.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in helix_planner::rules::cardinality::fold_cursor at line 284. 5 of those changes were fix/bug commits, and the other 21 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/rules/cardinality.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/planner/src/rules/cardinality.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"59594c64fe47d041a51b38c2b4f489516ead3a04fafb9da377673d6e195780e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/validate-cargo-target-references.py: scripts/validate-cargo-target-references.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in validate-cargo-target-references.validate_codec_architecture at line 751. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- scripts/validate-cargo-target-references.py\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":"scripts/validate-cargo-target-references.py"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a745e384b462469e39b2175676c04a8537ec1c8385b721bb54d1c5314961d60"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/cli/src/main.rs: crates/cli/src/main.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in helix_cli::main at line 578. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/cli/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/cli/src/main.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed55463981beb0fce28b6044168ff09fd424b57e2d5164e576518199ebd5fc83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/rows/mod.rs: crates/db/src/execution/interpreter/rows/mod.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in ExecutionContext::row_program at line 137. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/rows/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/mod.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c80b4e0bf60480799a2ea4dbb2f3c44a01dbadeddc811b93644cb3ec4d5c6a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/search/vector/hnsw/mutation/mod.rs: crates/db/src/search/vector/hnsw/mutation/mod.rs changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in VectorIndex::relink_neighbor at line 2162. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/search/vector/hnsw/mutation/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b773504b53f95ced89ea2a64c6aa9c1d38525280b9ec6fff8bf5d8dce7994c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/pull/source.rs: crates/db/src/execution/interpreter/pull/source.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Source::next at line 510. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/pull/source.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/db/src/execution/interpreter/pull/source.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"73429311f64ab4dc5ee43fa83d235de06297ab63cdbe78d24600693056890f0a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/index_lifecycle/text/driver.rs: crates/db/src/index_lifecycle/text/driver.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in db::index_lifecycle::text::driver::scan_partition_documents at line 1735. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/index_lifecycle/text/driver.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/db/src/index_lifecycle/text/driver.rs"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3f3232df5c747322b06f2ea69bb0acb573377b342281c95b541543144692ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/index_lifecycle/outbox.rs: crates/db/src/index_lifecycle/outbox.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in db::index_lifecycle::outbox::execute_claimed_step_with_evidence at line 1052. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/index_lifecycle/outbox.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/db/src/index_lifecycle/outbox.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"342d1401ab8f6de84c9ff6ecbe3af63a510268f1501d8e8126d6bebdd6f95728"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/cypher/src/parser.rs: crates/cypher/src/parser.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in Parser::expr_inner at line 562. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/cypher/src/parser.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/cypher/src/parser.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"524412f40aa7269c37f535a9c6263752027d07add24d1cf12fe6efe69b4f1269"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/rows/projection_chain.rs: crates/db/src/execution/interpreter/rows/projection_chain.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in ExecutionContext::projection_chain at line 195. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/rows/projection_chain.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/db/src/execution/interpreter/rows/projection_chain.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"751e9fec0b25b0ab8b538e6f07cfa8c35fe25acf9ab2c8a24df2ed2b09ad5714"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/search/vector/hnsw/index.rs: crates/db/src/search/vector/hnsw/index.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in VectorIndex::load_uncached_items_for_layer at line 1067. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/search/vector/hnsw/index.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/db/src/search/vector/hnsw/index.rs"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"5981a8f3937fcd7fde8c316f1f1aee10298bc684af1be6c5530004a90f5fb3a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/cli/src/config.rs: crates/cli/src/config.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in HelixConfig::validate at line 557. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/cli/src/config.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/config.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"addbb259fc17c3782a74db505ea22d0a99da6aafd9f859b9b0d3c9514e73ac13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/rows/matches.rs: crates/db/src/execution/interpreter/rows/matches.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in ExecutionContext::match_rows at line 83. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/rows/matches.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/db/src/execution/interpreter/rows/matches.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a42af27a9fa7a730ed77f8e88782269196859d7f6a7b937bc45c1ddbfce380a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/typescript/src/index.ts: sdks/typescript/src/index.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in HelixError.remote at line 135. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- sdks/typescript/src/index.ts\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":"sdks/typescript/src/index.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c40d7ddb2d68a6722455db745030a0fa45be24f5f34d74fd2bc57bcd910ee9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/stream/eval/resolved.rs: crates/db/src/execution/interpreter/stream/eval/resolved.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in ExecutionContext::eval_resolved at line 112. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/stream/eval/resolved.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/db/src/execution/interpreter/stream/eval/resolved.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb629bc75e749f7707694d08684216fea0ee76b81b45c2e725079ac76616c63"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/index_lifecycle/queue/publication.rs: crates/db/src/index_lifecycle/queue/publication.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in QueuePublisher::publish_vector at line 1095. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/index_lifecycle/queue/publication.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/db/src/index_lifecycle/queue/publication.rs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"254516affd211164f12446e7b615752cffa04fe959552a49e80d0e9e64a562bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/search/text/mod.rs: crates/db/src/search/text/mod.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in db::search::text::search_manifest_with_state_source at line 550. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/search/text/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/text/mod.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af8c02192e3caa3f7d5f8b87c234c57b599888ef577dff68eaf59d6645bb2f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/access/secondary_set.rs: crates/db/src/execution/interpreter/access/secondary_set.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ExecutionContext::node_secondary_ids at line 510. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/access/secondary_set.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/db/src/execution/interpreter/access/secondary_set.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"946e36f5ba2942100d60f3e3f7f10913b82864d6eb1527efc65d1ba9c123e206"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/relational/query.rs: crates/planner/src/relational/query.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in Query::new 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/relational/query.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/planner/src/relational/query.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf44b0802e587b8a5ecd1a3108b7fb8d6472554f3e0397bc173146900c6a19f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/search/vector/cache/hydration.rs: crates/db/src/search/vector/cache/hydration.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in db::search::vector::cache::hydration::hydrate_active_generations at line 141. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/search/vector/cache/hydration.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/db/src/search/vector/cache/hydration.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ca9e8dd9a7fec8d90a3ceba89daec940f7254d89e5fabba0f49e2d1aee497d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/diagnostics/analyze.rs: crates/planner/src/diagnostics/analyze.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Analyzer::analyze_access_leaf at line 289. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/diagnostics/analyze.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/planner/src/diagnostics/analyze.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fd1ec05b2a23d40a136addd1f9c811cc4dd3f9cd243531b05e85b29256731e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/access/search/pending.rs: crates/db/src/execution/interpreter/access/search/pending.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in PendingSelection::analyze_text at line 515. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/access/search/pending.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/db/src/execution/interpreter/access/search/pending.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95bb5026909fc042aa625ebf1be37f023163b28afe92aafe5e76ece64fb158c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/rows/graph.rs: crates/db/src/execution/interpreter/rows/graph.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ExecutionContext::graph_batch_required at line 159. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/rows/graph.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/execution/interpreter/rows/graph.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"38175fa58f0e9830558ecca909598e8d9d930d411fbbe5c27f0a903a122c0434"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/go/client.go: sdks/go/client.go changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Client.Exec at line 345. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- sdks/go/client.go\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":"sdks/go/client.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"774e0af44a0b7911b1a8c69003a018e2410694c9c4892e4732a5bcdea3225395"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/index_lifecycle/text/validation.rs: crates/db/src/index_lifecycle/text/validation.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in db::index_lifecycle::text::validation::select_page at line 239. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/index_lifecycle/text/validation.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle/text/validation.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded6a091a9c3070088c8e42e888e527f0047e518277eda6ff40d2edce04d3a45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/python/src/helixdb/dsl.py: sdks/python/src/helixdb/dsl.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in dsl._convert_param_value at line 3752. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- sdks/python/src/helixdb/dsl.py\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":"sdks/python/src/helixdb/dsl.py"},"region":{"startLine":3752}}}],"partialFingerprints":{"codehealthFindingId/v1":"f401484be330e0a9a1ec181b83a2a2b08339197fca6758d49669d12610576af0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/relational/input_window.rs: crates/planner/src/relational/input_window.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in InputWindow::for_initial_source at line 50. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/relational/input_window.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/planner/src/relational/input_window.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"633f00fc227be0f4f981d5bb50a570a6cee05de327bc4897a367a8293e47accc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/rows/mutations.rs: crates/db/src/execution/interpreter/rows/mutations.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ExecutionContext::update_rows at line 210. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/rows/mutations.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/db/src/execution/interpreter/rows/mutations.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a422a6734a8d8921b179dbf593665dd521c41670d03f95787feead1619c41b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/search/vector/cache/store.rs: crates/db/src/search/vector/cache/store.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in VectorMemoryStore::load_from_read_inner at line 867. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/search/vector/cache/store.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/db/src/search/vector/cache/store.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac776244eab1802fc8dfbfdd0aa0c07c19cae855bb307cad9ac0344e6f328fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/go/cmd/generate-parity-fixtures/main.go: sdks/go/cmd/generate-parity-fixtures/main.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in main.executeEmbeddedFixtures at line 97. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- sdks/go/cmd/generate-parity-fixtures/main.go\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":"sdks/go/cmd/generate-parity-fixtures/main.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2006146b89059ffdb983a4962ab89c3393fa151d10c2d214ccfab184d119c8e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/rules/physical_contracts/support/pipeline.rs: crates/planner/src/rules/physical_contracts/support/pipeline.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in helix_planner::rules::physical_contracts::support::pipeline::stream_pipeline_op_contract at line 51. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/rules/physical_contracts/support/pipeline.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/planner/src/rules/physical_contracts/support/pipeline.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"682a01c8e2e9f75008d55804ca459671a02bf877453c6dae061cee63f0f36a51"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/relational/expression.rs: crates/planner/src/relational/expression.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ScalarExpression::try_visit_pruned at line 486. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/relational/expression.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/planner/src/relational/expression.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb2b82d61a5e5f550053877476e135c4683962c7bc4d8086221e4507d7b9750"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/rows/projection.rs: crates/db/src/execution/interpreter/rows/projection.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ExecutionContext::project_rows at line 218. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/rows/projection.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/db/src/execution/interpreter/rows/projection.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2135cb40a9fa033044e1462c0f42730111a30d086c5ea9438c1eb32f6687a906"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/index_lifecycle/text/statistics.rs: crates/db/src/index_lifecycle/text/statistics.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in db::index_lifecycle::text::statistics::load_overlaid_query_statistics at line 137. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/index_lifecycle/text/statistics.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/db/src/index_lifecycle/text/statistics.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5702582bd70a8e2c9d7f03efb9c7fa0d5dba540dd6ad156da52f25d99809ffb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/relational/graph_order.rs: crates/planner/src/relational/graph_order.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in GraphPatternOrder::schedule at line 246. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/relational/graph_order.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/planner/src/relational/graph_order.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e615fe3d874e678e7e6347eab6aab0d16064a4d0a2ec9f96f5eba32ac243ef0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/cypher/src/lexer.rs: crates/cypher/src/lexer.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in helix_cypher::lexer::lex at line 35. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/cypher/src/lexer.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/cypher/src/lexer.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a122483aa8df9286d12dc4a235ce3a3e57149eb5dc80c1adaf071a161da378"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/relational/aggregation.rs: crates/planner/src/relational/aggregation.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Accumulator::push_with_admission at line 110. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/relational/aggregation.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/planner/src/relational/aggregation.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d741d65f2e8cf55dcd38aea056001c50f2149e7245cb530ced7c4a8c841c49da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/exec/selected/lowering/access/pipeline.rs: crates/planner/src/exec/selected/lowering/access/pipeline.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ExecutableDagBuilder::push_selected_stream_pipeline_op at line 4. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/exec/selected/lowering/access/pipeline.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/planner/src/exec/selected/lowering/access/pipeline.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9667d551f43e8f8259e392f99f77c417608a1428c880975485f9d14e408c8f11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/rows/expansion.rs: crates/db/src/execution/interpreter/rows/expansion.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ExecutionContext::expansion_batches at line 28. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/rows/expansion.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/db/src/execution/interpreter/rows/expansion.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24f74e9a2b00dafbc70b685a50a31fe94e16211e02d2e18e4792d518f5ed3e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/index_lifecycle_testing/contracts/all_index_validation.rs: crates/db/src/index_lifecycle_testing/contracts/all_index_validation.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in db::index_lifecycle_testing::contracts::all_index_validation::run_case at line 182. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/index_lifecycle_testing/contracts/all_index_validation.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/index_lifecycle_testing/contracts/all_index_validation.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d34adc095979f1fbb9397da5ea8be7d59302a0e771f03d3b6deeb94183351e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/exec/pull/mod.rs: crates/planner/src/exec/pull/mod.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ExecPullCapability::of at line 23. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/exec/pull/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/exec/pull/mod.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c41ffab3337bc9c2b3d4ee90367607338e65e839d62ef34eecbdc144cd103ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/execution/interpreter/rows/lookup.rs: crates/db/src/execution/interpreter/rows/lookup.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Probe::members at line 161. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/rows/lookup.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/db/src/execution/interpreter/rows/lookup.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e130232db051eb54623e9205ac2d59668dcd10878fa196a45960944666df93ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/relational/consumers.rs: crates/planner/src/relational/consumers.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in helix_planner::relational::consumers::prepare at line 13. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/relational/consumers.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/planner/src/relational/consumers.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbca879338b4a69fca718f67ca4c1d01d46ef80edb52c9211be25318641a822c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/rules/access/filter/atoms/mod.rs: crates/planner/src/rules/access/filter/atoms/mod.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in helix_planner::rules::access::filter::atoms::merge_literal_equality_branches at line 177. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/rules/access/filter/atoms/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/planner/src/rules/access/filter/atoms/mod.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3fcf2557fd1753d507bf5b1b6940440d6ffee41d604747c30e1e914189209c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/index_lifecycle/secondary/exact/ordered.rs: crates/db/src/index_lifecycle/secondary/exact/ordered.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in db::index_lifecycle::secondary::exact::ordered::scan_active_range_generation_ordered at line 183. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/index_lifecycle/secondary/exact/ordered.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/db/src/index_lifecycle/secondary/exact/ordered.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c759af7b6f943165939a4f82afeb78067f85ccf77fa72dfb7556997862def58c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/go/cypher.go: sdks/go/cypher.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Client.postStatement at line 59. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- sdks/go/cypher.go\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":"sdks/go/cypher.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f776468424c3b9d2b48e2cc5107b943b7331d20104aa23cacd50cf48c4f2ebf0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/migrations/vector_retirement.rs: crates/db/src/migrations/vector_retirement.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in db::migrations::vector_retirement::fence_sources_batch at line 247. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/migrations/vector_retirement.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/db/src/migrations/vector_retirement.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1735cdc0363f306f79ce463ab755aa8d13c45b0f752ea1b2f0b449c05b3bd9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/index_lifecycle/secondary/exact/unique.rs: crates/db/src/index_lifecycle/secondary/exact/unique.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in db::index_lifecycle::secondary::exact::unique::lookup_active_unique_equality_batch_admitted at line 13. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/index_lifecycle/secondary/exact/unique.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/db/src/index_lifecycle/secondary/exact/unique.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4efa15d5a784027fc730138fc2efa1ba59c9f7bf1b0a394d6b07e611e051ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/optimizer/driver/schedule/compile.rs: crates/planner/src/optimizer/driver/schedule/compile.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in RuleSchedule::compile_applicability at line 13. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/optimizer/driver/schedule/compile.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/planner/src/optimizer/driver/schedule/compile.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1657376f5e53e01fd00520175643a5574c53beda4974d1dafd99ab3efada27fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/cost/profile/overrides.rs: crates/planner/src/cost/profile/overrides.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in StorageCostProfileOverrides::apply_to at line 66. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/cost/profile/overrides.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/planner/src/cost/profile/overrides.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0abc4ea21d09a7090c2002270f131c793701e34440da225a5ba4416761ba499"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/cli/src/commands/cloud/database.rs: crates/cli/src/commands/cloud/database.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in helix_cli::commands::cloud::database::run at line 10. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/cli/src/commands/cloud/database.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/cli/src/commands/cloud/database.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8923a5513d3f370ad80d57abb8e537d7b9fd9db274fc50a2ff03cadead1378cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/migrations/vector_properties.rs: crates/db/src/migrations/vector_properties.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in db::migrations::vector_properties::materialize_batch at line 138. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/migrations/vector_properties.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/db/src/migrations/vector_properties.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df3ed9dabd1a13bef3a377a531272636c0cfeeea253a8adbdd732fe4f4affed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/opencypher-tck/src/gate.rs: tools/opencypher-tck/src/gate.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in helix_opencypher_tck::gate::verify at line 42. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- tools/opencypher-tck/src/gate.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":"tools/opencypher-tck/src/gate.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d9a8d99b26cdcd3b52d15e92ad3dfaa6f227a78023b0d7633533791caa1194"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/planner/src/relational/contracts.rs: crates/planner/src/relational/contracts.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in OperatorContract::derive at line 81. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/relational/contracts.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/planner/src/relational/contracts.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5762e6577ea7a3bdd0db0b98d8e6f1570422d7314e5a7e4e52bcc56322ee49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/python/scripts/run_embedded_parity.py: sdks/python/scripts/run_embedded_parity.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in run_embedded_parity.main at line 51. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- sdks/python/scripts/run_embedded_parity.py\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":"sdks/python/scripts/run_embedded_parity.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ce215aaf490a41ad267b81ed1dc205a768b61c67fb70b4f9a5c3938301dd25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/db/src/index_lifecycle/graph_mutation/map.rs: crates/db/src/index_lifecycle/graph_mutation/map.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Edit::apply at line 94. 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 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/index_lifecycle/graph_mutation/map.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/db/src/index_lifecycle/graph_mutation/map.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc1516361b6282a6f61eacdd242da8d85fa6c3f76b3d9309c237c689f44c7f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/cli/src/local_runtime.rs: crates/cli/src/local_runtime.rs changed 48 times in last 90 days and 29 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is LocalRuntime::ensure_image at line 768), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(server): default the disk cache budget to 8 GiB\u201D; \u201Cfix(cli): give S3-backed local instances a small disk cache volume\u201D; \u201Cfix(cli): harden Cloud resolution and the --json contract after review\u201D; \u201Cfix(cli): name init projects after the real directory and shorten image digests\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/cli/src/local_runtime.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/cli/src/local_runtime.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e0cc4ec8dd5f13fc21fc6f5de3a54e7639011df693f9425596d05913278453"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/db/src/search/text/cache.rs: crates/db/src/search/text/cache.rs changed 14 times in last 90 days and 13 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is FtsCache::cleanup_disk at line 961), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(db): recheck the disk only after a full-text split open missed it\u201D; \u201Cfix(db): reopen full-text splits from disk once hydration publishes them\u201D; \u201Cfix(db): keep FTS disk cleanup inside the cache\u0027s close\u201D; \u201Cfix(db): leave no hydration staging file behind on any error or cancel\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/search/text/cache.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/text/cache.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"71316524ab0d50a4d1a12ab90ef7e40b387b7cf0e27de5719910689791cc7f5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/planner/src/rules/access/filter/index/membership.rs: crates/planner/src/rules/access/filter/index/membership.rs changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is helix_planner::rules::access::filter::index::membership::index_membership_filter at line 38), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(db,planner): address membership review findings\u201D; \u201Cfix(planner): price membership row by row with the residual formula\u201D; \u201Cfix(planner): bind unscoped membership to one label and price its misses\u201D; \u201Cfix(planner,db): keep range scans out of index membership\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/rules/access/filter/index/membership.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/planner/src/rules/access/filter/index/membership.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6ae2ed9620eff228591e088beab927f0f3b1cf92f128686bbf99d30417e9e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/cli/src/commands/query.rs: crates/cli/src/commands/query.rs changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is helix_cli::commands::query::execute at line 124), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): harden Cloud resolution and the --json contract after review\u201D; \u201Cfix(cli): print query results under --quiet and document RFC 3339 log times\u201D; \u201Cfix(cli): protect query credentials\u201D; \u201Cfix(cli): format query auth headers\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/cli/src/commands/query.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/cli/src/commands/query.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9424ecc5ae98840eb935b04fa3edd63a290c76c1443ed931ba3271595391c59f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/planner/src/optimizer/driver/exploration.rs: crates/planner/src/optimizer/driver/exploration.rs changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is helix_planner::optimizer::driver::exploration::explore at line 23), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(planner): replace the wall-clock exploration budget with a rule-fire budget\u201D; \u201Cfix(planner): keep every implementation-deferred rewrite after the time budget\u201D; \u201Cfix(planner): keep the required empty-input rewrite after the time budget\u201D; \u201Cfix(planner): keep implementing queued expressions after the time budget expires\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/optimizer/driver/exploration.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/planner/src/optimizer/driver/exploration.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c6773224a6ec2a64255678b7f66adf18a8c7205ecfc64642f748fce6ead539"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/cli/src/commands/metrics.rs: crates/cli/src/commands/metrics.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is helix_cli::commands::metrics::run at line 12), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): harden Cloud resolution and the --json contract after review\u201D; \u201Cfix(cli): apply rustfmt to metrics email test\u201D; \u201Cfix(cli): handle EOF and invalid email input in metrics full\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/cli/src/commands/metrics.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/cli/src/commands/metrics.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"117373e72305cce613d986d050edc9290193047a4f97f515e425f98fde863caa"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/planner/src/digest.rs: crates/planner/src/digest.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is JsonFnv64::write at line 137), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(planner): digest with the standard library\u0027s SipHash\u201D; \u201Cfix(planner): hash digest words with a step no word can reset\u201D; \u201Cfix(planner): screen wide subsumption sets with a signed-zero-blind digest\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/digest.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/planner/src/digest.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3359b4225733ec4035d7229d0bd134771b5d9aa6ea25d09f4db068becdd2bf33"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/db/src/execution/interpreter/pull/value.rs: crates/db/src/execution/interpreter/pull/value.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is Shape::of at line 15), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(db,planner): merge partly indexed OR branches in ID order\u201D; \u201Cfix: preserve pull value contracts and bounded reverse scans\u201D; \u201Cfix: preserve terminal lifecycle values through pure regions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/db/src/execution/interpreter/pull/value.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/db/src/execution/interpreter/pull/value.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e30697a660ef75a46858b210eb7c0cd97b5434cfa7fdccfd944f64cd40fd8af"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/planner/src/rules/contracts/applicability.rs: crates/planner/src/rules/contracts/applicability.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is RuleApplicability::is_required_rewrite at line 290), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(planner): replace the wall-clock exploration budget with a rule-fire budget\u201D; \u201Cfix(planner): keep every implementation-deferred rewrite after the time budget\u201D; \u201Cfix(planner): keep the required empty-input rewrite after the time budget\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/planner/src/rules/contracts/applicability.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/planner/src/rules/contracts/applicability.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd772d592d6a80f2f52170fbf5073bef9cb09484f30cc57ba8b6e9936cd325b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/cli/src/commands/prune.rs: crates/cli/src/commands/prune.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is helix_cli::commands::prune::run at line 10), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): harden Cloud resolution and the --json contract after review\u201D; \u201Cfix: address review on instance-name validation and CI failures\u201D; \u201Cfix: close remaining instance-name validation gaps flagged in review\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/cli/src/commands/prune.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/cli/src/commands/prune.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ba9f5ee0e2e31d55c0cc879e3f482977e512de155806bd8004a8fdb8163bcc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/cli/src/commands/cloud/project.rs: crates/cli/src/commands/cloud/project.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is helix_cli::commands::cloud::project::run at line 9), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): address review of Cloud resolution and --json\u201D; \u201Cfix(cli): harden Cloud resolution and the --json contract after review\u201D; \u201Cfix(cli): align linked markers and colour states in Cloud tables\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 10:33:25 \u002B00:00\u0027 --until=\u00272026-11-14 10:33:25 \u002B00:00\u0027 --full-history --no-merges -- crates/cli/src/commands/cloud/project.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/cli/src/commands/cloud/project.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c73df0fd12fcacf11eb8d996b9365046819be297b684484fbd5e07c602a5b6c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 171 significant file(s) lose their only recent owner: crates/db/src/search/vector/hnsw/mutation/mod.rs, crates/db/src/index_lifecycle/vector/driver.rs, crates/db/src/migrations/mod.rs, crates/db/src/search/text/mod.rs, crates/db/src/search/vector/storage/mod.rs, crates/db/src/search/vector/hnsw/index.rs, crates/db/src/index_lifecycle/outbox.rs, crates/db/src/search/text/cache.rs (\u002B163 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f6331e70c7494ffdb10252937f18c469ef08919b1261f6f7ece4689617ef016c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 119 significant file(s) lose their only recent owner: crates/planner/src/relational/planning.rs, bindings/uniffi/src/graph.rs, crates/cypher/src/bind.rs, crates/planner/src/relational/evaluation.rs, crates/cypher/src/parser.rs, crates/db/src/execution/interpreter/rows/matches.rs, crates/db/src/execution/interpreter/rows/mod.rs, crates/ast-arena-derive/src/expand.rs (\u002B111 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"753c1baeb215f4fdd57991ba8858c6aafc96cb30df816998ef486df7af2a83c5"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 4 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (295 single-owned of 966 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 966 of the 1495 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: crates/graph-algorithms/src/algorithms/louvain.rs, crates/graph-algorithms/src/algorithms/cycles.rs, crates/graph-algorithms/src/algorithms/centrality.rs, crates/planner/src/ir/index_ddl.rs, crates/cli/src/host_actions.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060sdks/go/cmd/generate-parity-fixtures/main.go\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/cmd/generate-parity-fixtures/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0876d196c802e8ad94711309e944461f42f71147a712dea9299babc70f4dfa1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060QueryJson\u0060 spells \u0060Json\u0060 where 38 names in the project spell it \u0060JSON\u0060: 38 of 39 names in project github.com/helixdb/helix-db/sdks/go spell the token \u0060JSON\u0060 (38 of 39; unit: names in project github.com/helixdb/helix-db/sdks/go containing \u0060JSON\u0060). Peers: main.readJSONResult (sdks/go/cmd/generate-parity-fixtures/main.go:256); PropertyValue.MarshalJSON (sdks/go/dsl.go:351); PropertyInput.MarshalJSON (sdks/go/dsl.go:402); NodeRef.MarshalJSON (sdks/go/dsl.go:428); EdgeRef.MarshalJSON (sdks/go/dsl.go:448). Rename to \u0060QueryJSON\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/go/client.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6071ebfb4b023d1af083d0e429a261198b65313015f09daa7599da4b8cfcce5"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060externalID\u0060 spells \u0060ID\u0060 where 26 names in the project spell it \u0060Id\u0060: 26 of 28 names in project repository spell the token \u0060Id\u0060 (26 of 28; unit: names in project repository containing \u0060Id\u0060). Peers: cypher-results.graphId (sdks/typescript/scripts/parity/cypher-results.ts:185); generate-fixtures.userProps(externalId) (sdks/typescript/scripts/parity/generate-fixtures.ts:74); sdks.typescript.src.dsl.NodeId (sdks/typescript/src/dsl.ts:229); sdks.typescript.src.dsl.EdgeId (sdks/typescript/src/dsl.ts:230); dsl.indexOperationId (sdks/typescript/src/dsl.ts:1234). Rename to \u0060externalId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/generate-fixtures.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1eb01d77a29301cfe9976d107169d25eba983e018918d1fd4c6df8def0395ca"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060externalID\u0060 spells \u0060ID\u0060 where 26 names in the project spell it \u0060Id\u0060: 26 of 28 names in project repository spell the token \u0060Id\u0060 (26 of 28; unit: names in project repository containing \u0060Id\u0060). Peers: cypher-results.graphId (sdks/typescript/scripts/parity/cypher-results.ts:185); generate-fixtures.userProps(externalId) (sdks/typescript/scripts/parity/generate-fixtures.ts:74); sdks.typescript.src.dsl.NodeId (sdks/typescript/src/dsl.ts:229); sdks.typescript.src.dsl.EdgeId (sdks/typescript/src/dsl.ts:230); dsl.indexOperationId (sdks/typescript/src/dsl.ts:1234). Rename to \u0060externalId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/generate-fixtures.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1064a2d93fb1e550608de24dd753fbed4d36093acba27caae3cdf52c4514c8"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 3 of 22 project(s) overshoot their size bounds, lowering Project Cohesion to 7.4/10. The most over is \u0060crates/db\u0060 (252145 LoC, 502 module-visible types across 68 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":"D28","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":"9564824b47b9e3843ce284d25706f810cd221a3c0db5c891846f1bd19052d69e"},"properties":{"commitSha":"fac341c0c1e81bc0c07b97182cc0c8685acd631d"}},{"ruleId":"D28","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":"63fd2b7f8ed37e8ff1803cf98297d0ffb9ec5caa79f68549cddcb5313e6d2b2a"},"properties":{"commitSha":"fac341c0c1e81bc0c07b97182cc0c8685acd631d"}},{"ruleId":"D28","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":"82e8b1360d3b1612ddffee5b063de561d876ffca10ec4489ba94c8c8f5f30dfc"},"properties":{"commitSha":"fac341c0c1e81bc0c07b97182cc0c8685acd631d"}},{"ruleId":"D28","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":"46e4662746ca637ed4126d1b3b333f21742401eb5f9230657f565b03de788bc6"},"properties":{"commitSha":"fac341c0c1e81bc0c07b97182cc0c8685acd631d"}},{"ruleId":"D28","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":"f0007ad6540031cbf69678591df5d084b42df87567f826cc41c0e10f4b6b18ae"},"properties":{"commitSha":"fac341c0c1e81bc0c07b97182cc0c8685acd631d"}},{"ruleId":"D28","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":"d9dda5d1ef6c79f8aa512b353fe3c728a072e07592f3b4fabc2ac78aa63400c0"},"properties":{"commitSha":"fac341c0c1e81bc0c07b97182cc0c8685acd631d"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"5ecc19c57027f00c75299572bb71bf6cb3fedcbd91988e1f089f600b24c63dfa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"94b4e5086b8acd759b2588d3e3e12164d36d5c49f30c936a1174c78ef651a9e1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"2fff043c401be80483532a955894f979619f6f1dac3e4ce114069991e8e8603a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"3f806325ef86782e11ab1f3ba878c87b0ca58a189cc3255072e7e5d0cc42052c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"ea603d400046996f00b85032c301eefb50d1e0d863af5533c0ef0f30a0f1ebe0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c8367dfcb74799115f1532d8cdc262d7d86bf561516a7e6baf41f56cf5529ee9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"05cd67dbc70fb1e546eb817a9d1e569ce3c2467857f4db7ed1e6b25e5f8a9987"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"5b874e41d04d3903355851c6980021755d0fb12e90e5651134fea5a448ad033f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"86b2bce7701bd9be41d55e136be228dd95b07db1f85cc808465c2217d49fd633"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"df64b8dfa7010d3c8936e7dfa0a40f34e30570cb1be50a91c196c02abfb753c3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"54b7d87675e7e490d2bbb3de4a58a4c3ad7cb79315daced578f77150ab49da35"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"dcdc92523b35f6891aa917c33af1ea816f25923433ae11d8d76656573291d253"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"890bb9ecd214be40c8b1bcb61dd839be4b43a1858058370fd021a5ab028aa15f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"5897a97e9181fa4c6aabe6922f0d865b16614a71dad7ec247ea7922a6ac75e9c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d8e2766a36db165dbb15ee813a62380a1ab950b0ac4f228554a637fa8815ccc0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"253bbb7e105428e78edd51b43d9665457654ca9726b242cf8a4ad434ea1bbc29"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"5117e2b13c6b1a15e8ec2f86aa4a9a8dbcc96ca2f61480cf000b40494ed96dfd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"a6300b81743bc2a354ea4ced2889d0bc322c1b8d395b375861274438cf5e484b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"e9ae32880cc880787ef878c92d0de263f6f5af64244486185dcbe02d70deedc4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"36395fa3b1352b034795a9e601885b6d3c935763093fbc07e5ba98f55fe06edb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c8f463fa67688a19d2f758182b73269a93da4a67685213815a579a343b8fcd1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"ece42ffb9245a6f5d8ce9882d48b8bf408fb57e6f1ee4095c185b8df43eb4672"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"1f2a2274e105c1271e0ed39889a8763f0e44870368a1cb2aa4155b95f9f1b7eb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"cbc92c265c09bb9a5f324feeec1f51897a6bf3277dfebc3026daffc912428daf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c2b8a05a59db30d2dedfb14b5c982251e7ddd10d3304e61a87fdce7f6b3dd648"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"9e2b8b179faa7e2815552b13e75adcfc5b099e9a170de121510e4c5b811c403d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"82c86354f3521fe5437049ac8591e8253631af5316d0fbb1afa9bd39d825fb72"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"482d3b39a346fffa93dda884683fdacc58bbf18a3bfc8f62cdc837d3a9a2ab48"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"0fe71a4801aef539c05110319fac8fe5e45b4ca6b5eadf16587f36636671f9ab"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"f70e528a322c8b397da3388ed6e02ae2548f29c54f7c59c0b571e674f950e3ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"a601280806800bfcec7aeeafd22acc2d6c669cc168780c04119e08cc8a5efc46"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"f26d4bc5de4faa9839c6d22b804091943fdf55d977c62da5f8b50b12eab5e5c4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"be22f7067d195c82a3b26c7aefac888ae6fe29c511134b26f0a9f08b6ee10ef6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"36de2977f9a5aafeef5219b8acc85ea5bf1b5c3e1b685759aa67c8bb8927a8db"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"607787de5a539e48ab2a24de4af39c5b40e81ac48a9c22e10cf5ede9773e4aa7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"27f10785b822b6a6f27475a584117c2261eed9c9e23e8baea376594349fbc26b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c1d4313cd0fc75087da31bc9b759af15f7a33e5413c5a0a36d62f724ae2551e5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c99a978eb7157d3fadeb5d322d335cf45ce8f5755dc3867aab70d61d38b8c31d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"160e3c7d99cd278a3fc580ebf1c33772c2d6bd1ec324094aec9b8d4d0b3463fb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"ec701d3ef909358cc532cc435fdd8ad0f236a1d160ba0b46a58ab786eb5a984d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"9a6ae480d3e6911ff84a4e10acc7f235185303b204d26e4e13410fbcd991a5c1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"e16cf4a20dcaa72e96f1cb9a5e6c54260685b68ae3561748977b42e8c67db528"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"337d70e7de5b1396cf0bc4692e4a899427cbae9b00cc1dbce7b1e082f549a131"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"15b55b3b5d12f8616967c619d2097651fd9ede812b5fb87da299eec88fe8e20b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"7d5478a95a87cece282e6a22409f7e2187d9e799be1912bf3e8cfd026f77723a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"0c745e2c1b2ad7e3332efa80abb6ce346051254a95d450b37b3d40bdd8d4c7aa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c32ef024f6c62f68e0be0542170934d7d4e07252b789765dd43d723154df0ef2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"42777943a89991d509b49a3c3905a9a3c1cc4612fab0677512f46f70f147a0f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"cb60b4110b1cde96ed6329b7547179147c36b34529ac897de915d769df702eac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"1b62d9138df8fdc7874eb8221db26cdd6a1b3473502748ce1dae5de375b6c471"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"31fb10d0ced4b5951ed8a970859aeda27f5ce4b25b5956351f2fd11c544d1dd9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"efbd0044d669d784f3148ad37ec4aa19598a55d24599c872037fe760f11239f1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"968032970ee8c0d4ecc742d60b4144976e3875fd4e1c2fb466ebbfb8548ac3f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"b292ac24cfa1a66f18c13dd64325516785fc77092c71c1d56a1f6d26aaf2dd14"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"782f7d4379fbb573e4034c35056ebbca256d3e16119536c746cf57afc8e05350"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"ed9703b26324301476d8d7251ae295f5ae4670bdb1d9d905735363d63517174d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"df84c0cf861013f804d94f9363f31d327edfeb025cc741c6f9636c4db6d3fb76"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"615878e63ab829b061909d8e1ea5ce4295fa1ab03f1cfc14a655c6cda5c57b06"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"fee2b21ca315b2a8eb969830090012acc01b3db7776d6454654b059812d72524"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c0be0c785aa30bdd926d530b213738505a1ab4c18821d7b019d0bcc1e5c0a03e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"4cc3c30ee6bd696da8f33c89e272cdddf73df6de2ab542c532d3963ec458bdc2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"a96e7f40a357d0d7c3a5ea357cfe04bbd19376632970a5e0503805c05f9b071f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"66a8225228502c259d5f7ddb090b8c79a677ee3d126d74d9a58379d7f34615a6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"a7734c38cb0f0ae7753c3f0c13852d2f2127b47342a56664bc7793a67bd9f8be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"4d48e523ec01d4f6d433718c0bc648e365ebdd1f6da7d8a8dbaa4ff19c7a1326"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"ac0e7d78c345b5784a9964fef210c61416869809eedea79edd7082974f2fcfb6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"f91d9d4d33425c97d9f5a329025edf904135218d6193ab8107b6bc25b29eb861"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"6e681c2333f5b2a45e9d2ffc8a0704b07c03047c50655710ebb326e8859e47c1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"995dcd22917170ad2caffcb4b1a2c042e94a966b12f81364f8de67f94a26f044"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"cbc5d2b7bf17184718d42e5265fe3d252cd1624cac54bfba2265a22bc70d7e75"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"780e8ae8edc757535e1d906aabba8a8f02c3a0d9caf4ed000e97a5a7535c6613"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"b1b6255a262518160244bbe7d2779de13455d01cf72705b60413bc63fc7defd8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"3c67d7163ad7054929b3fec8cac1375f0d6ca7d5bb237b5d58cc8f817cbac55e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"7823b077f5e6644643b1e4423f6c6643b789f190819e10a33ddec4ebd1aa63eb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"e66e16aa5f9474edaf8992aaa576014a2f1e14dfa52f7e8c18cf2e1931686304"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"5ebfc4a1ec02b9f63e1d875c5d09d057dfed89486d16c27434147b8d09ddea1c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d718a6d4c413f8660d3a674bbc6193e1afa7bc536e2710cbe95afcb2afc1148a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"056d2100280bbae4b162e0e41952eed9fe772264a9264ade8658c8d096e7d8f0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"6eff4dba586f3b990940c65b3453b801dabc0a10d04aa2ca7d0e6daaa8319a87"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"9e47726a675a5009c45c7f38abbe4e389d1280916dceabb0290255d4e08bae2b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"8163e823587eb716e543286925d455cb163fed393e942287c1967227a21cb295"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"a357548dffc4a774e650a4a544b2ad3e8154a25e394087738e831953194f4f04"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"05eeaa479db572933c5675cc6a351d1ddf1d6583a36eff268517a89369374e0d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"211b1c3d07a42f16936ec8271a712a6c91da8aa75b0737f2d08cd7b98e134d6b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"110cb9082af9edf98efb90ed285c14abf2f9093efa6729e989d156e93053f28e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"2f88d42eb168f81091a3f8f4cea7a2ff68f697ba9c7f83b21d5c2409b2793b50"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"9a60f894bc86b24dee4733bbb386385d30f2a3145308e7873b6edfada0df351a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"3851a583089fe77c5c5fbcae7ad02c1609316e202f43dab781b3275b460c0025"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"102e2dacb0754af07ca8d38e79912bd3646bc7116dad7291749d27ab42b7bfda"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"84ef4818949d46710ecc1d91ddd050742d6c1c1d9b2139c09d06bbf7e8972121"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"127315c9b2d94f1ff01e16bf5870ac6b07e573bd5efd1f994180bae7781abc5f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"96f1432c32eedfd9348f5071bc4bc62cc62e6c78f90718bcf92da382fe7f1574"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"7b5588de01274fbebd9b95ff7b40201259fa984006fe00d2e55b84051a5d75d5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c76fab2422ed717be25af33d1be49cc629f6b13d34cb8a980320d1345e5b6b8e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"604cd3224764a97053cf4de793d88d742e19f95756293331b29bbcef76649ad0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d6e3e781fe5f228d53535b47575dd86e357c351e582a837a63feb1542e3df44e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"fe8b4f2845672b5681daebeffbaf21efb3c3e4cbde62b17cf34eedf516fffe4c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"62ba9f036634e658e2163308daf02e935938ce1e1bbef173ce7927f3f08321d5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"cf6243a4db7ad31f1ac8c74650be558553078684a2c5abb70ccb9c1127809741"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"34bb8d6ab754e574987fab804c5732f279398eb1a2396e7a69d3cee39007d7f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"9568b67162d29f5c217c18a646cc6be4ceaefee75f6be7ef8242ce66d118d8af"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"4bbcf2a6b0ca672fdf42747101f0b9968d5d2bed11876f0fb047ade47c4a9816"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"7a948e7d9e862b6ba3cc1fb9f7d643c96d6f4a4901a56377c98eecea979e03e9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"69b1874692ea17bfa34a4e8a41d5e87742ecaf705ef32fbd78ae86a2e0def635"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"4cc569885ab2fe945307c8ad0ec6de578caa1f3b34cd7053a28993c1bad3c5eb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"cbc83fcf2799648a002f75876bb77fe13c5904184c6e165fcf62548b3ec40e22"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d755009cba2a166b48501bdceddba33ebbb6c4708084c704c0554dc60e9302a7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"b5c4e79f575c0c879251ccc6e24510fd0feb91684a660f62cff5324f8b7fd433"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"66468f733babdb0251b841ad22eaafd4788a3bedd52dabf881799eb052e892fd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"f9c9106785e91b663e549fe851cb42a6064ff7cd5fb9045f7eb7253e72308c33"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"90c032ff13f0bddd1331d305f112bd1f47a94118060517833339920b13cbeb27"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d165617247bcdda7728d470aa0a3be696ef166a25ae44050709e9b1a43b0bac7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c1fb0a2feea44515a610c24b2d4e7194cdbb080e8531d65414cbb9e0d052140b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"f0cc247fd840071f5347ea81f676c2d48f17767d835d636b4a9036de25ecca1f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"a90dbe6eda434c239a9690669a4e2f7d932ccf9b54ed93cac79aaa7e3c17c330"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"e449fad5e9bec0bd2ea5c5f2d86bdc8c7931089aad7974155bfbc9ad0436ae69"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"9c471f91ea2405adde1c4428855c214c0cb31f04a6a7adf15520bbfce9abb505"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"3adee42cf7333995b377b5f3a48820effdf4805f79f7f68b19bfebcba6b48445"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"eb04171b500d727aee20216a67e1cdb63c9687aa23fbaa6065714b9412b81f1a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"91d9c612e62cbe1e2afb1f7a5b48910303a6e000bcf763b3b02289ea89c09c1a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"39666ff69fd6538d6f7a3e9749927f595c7698d607db436396a3bc34bb1a5f92"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"f5319407b0546c0fd3f8bab1bc1cef460573bde3efed6f9bb417871bbe2949ba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"6552c103d353e4705a4d8f1d1eeb98ed56aab69e3ee3409941aa4141d1d89a15"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"59d01c0b8afcd07a383feee4772a6c4fba35bf4a2a7a6743bbadf7d13cca7303"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d58582d5307ff351b200859cc586e6d5391c06e3441f9f8698f979e0e3749768"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"3ba5a89c8142ea7fd7ddafd2398a0c42ced1bb4b9e594faf7c8a76ef75ba5dc1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"e762e8d2d907fdc970a8bc568202d4d825f4b3a77eac885c51c69d59ca493938"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"52f6ca7582b43ae6bc9aa02595aefeef03ffd1a07251abfdc225f3d62f3d1f4f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"571fa7c17cc3f48d8f3cae8625a6c960ee6f59cff1150fea21c44409e88bf2a3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"a36bc5c765b0af82653e22cfd3ed8422930b3b0cc6aa1cb95301eef01d9598cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d31935e48102de4238ec201da745363c32f122ac72efc1573a1731b87fb3950d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"efa1dc5de91ee8c2de4d61d2c2888305b42af47f854a80f2346f5cc86feacdcb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"4c402ad37976b4db9ca273a83349327c9e5fabd5ea20236d2a43ec0c5c047264"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"acc0d1565ab6e424350396d58d0ae7465bff6bc12a7d9a76adcd43543e99684f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"a74b42c389c0bdff02852ac5799eb1670b49738b113e3ef3b4f6a209595655fe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d43a0185f6d58818339e5ebe9b475d165ce8790ff1118bad6bebe007876cd5f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"237dce338b5e941800c46ae70411f081a2da6366d936f3c1a98bb7f615b1e74c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"706a5ae03072639d482e0dae33f755639f1854727f6b0408bdf0d6244d9cbe1d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d1650e69fcaf890309eb40fd4e926e449f6588d1533b07858e4176ad459308bd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"1a1d1de9d51effb10b1039bda836164ef0945d9235635f1577a9977c07713213"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"1d7adae4eb4d0072bbb4ec65fcc3fb26fac42aa5cd74ef77cd5c4e3276e8aa2a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"17d485a8c1d351bb961f48566976e2706d93146a57681ffa1463930a99c53969"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"0ff97131207825b699c6007481fe1a7ae2678c6d65e36689306d2f5c16763f28"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"53b89c0c6fa37f759a9ab6e0316cce458643ac2a3c426ae98797748a39ba94b5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"bf586f5a876e1192c940883a670ab82fbb7c3e1c3f71241884d05ca5fdd187c1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d744f4fd4675116e91cf06ceb7a9c6c54dfe68708be5a9c2051432946912b6c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"93337070db8dca6f7d580dbf4d10703c709be79891b61a988b3d6779afb60024"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8948ffb3c946b67c20d57b950c0c2b01e86d262894f801c2aed89334f8268147"},"taxa":[{"id":"CWE-89","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":"123cf0f9ab42e39253b81ff20152d2632e6fb49a06c0a438e8e6aa817910d20e"},"taxa":[{"id":"CWE-89","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":"25c697707b60774e612bd3909b013fe5b25e5f7e5e378607dcda8151ee200ba8"},"taxa":[{"id":"CWE-89","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":"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":"266066a9912a06b8151342bde2ecff1cab0d0e8a2420830e72ea8aa74ecddf8a"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c6c339c9d001484678ac24c2b057e66c68feb0b26a4d60c16aa7a7652c8d3c0"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d87c18dbb4d058d1ae81256b6cae0dd12ace5121979281731120f49493dd959f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c6c2e00549e2a5e3f0d4ae4711f1b4ac15ee1c67abb8e51cd084ad8c530bdaa"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9dea9478d8d667956e2c0a690bf564941da15a80bb665c3db040f61e569f7b52"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5c5a129afb5ad8281c1dd4b2904391b14ce1fa21d3af155dac866951e1c2f2f"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1dca64a00914b4c204232e12bb5f754b6a66fd51290aae8471b9c2966a788786"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98f25cd09a2b64b11e42dd39b2b3e384288466bb7646d6a907dac44a7e386d05"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f793cbf6b013998f53a6545a8918083af3fcf3469eec0250751e408a8098178"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe9b7149b7dedb02204829292ffe55b56a4157ef2e3bdfb0aa243ff2081f68c6"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f81a17b44a15eba1a500d41f02ba6e1b7d2e2a526857e6685dc7bfdb39fcca4b"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d8fb875d977eab502923f21a91a36a8da4eb29f08351915834febe5276f6365"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85ec636dca3a88cb3ec9a09c4e248d7af81490d14a7a15e72ede8b7ab01bb9e5"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79fba76060010e9cdaf35b974a18d86aa8c24a71f0ca5d21f78d0809aa2a0b21"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54dafabdb729e1b565e242c9e3b6e2126d39e8d084a46bb356839dfde7884922"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8ab16956e42872e440cc84717d06730854e29c526776fcef77f266ea68e7a87"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45f7a2966373ee9d606e3b1683aa9894a53b0302f20c9700c622dc3f44d8f38b"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89ca295c44ec101182fc5b4f17bc564acc554e00c2804972b454cf658a3c7938"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93e3aa97a477f410339814950721b134935a2f382107bfcde1f6ed3da758a343"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"088fa56d5435cd65afa6a46cf67f7a7e4e7746ba951910de0003539e617625e5"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82916c929a251d5eff5b6921f1ccb5b895ae34ac134e9430d58904982b190868"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63380bcd621c41c1c90a9b39d69235cc1cbf4844400eec579eb7ad2f26d262f2"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb2d35a2679a52fd14a4ca0be16aaed4cc32071e44c721b6615dbd6e63cef031"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00bb2574cfc69373e51c04ee2f4cdaf978b07ee3b11f2680562a47fd2067ba60"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76141caa2c0646e37dec196ac5ec5fe917ccb35fc6bba222885d4213d2493fdc"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74438ec4316a07c782e5da7ac8701c58fa85a11bd6f2446fd4ae3f7b7ebccfda"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb022d638fe9c55ae2af061e43563173b1d3f19f891b0e63dddae796aa375012"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11295a72c942bbb82f3fdc116f118a3ab889c19ff3a00f67d08b4acd5c56cbcc"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e6c331451b73cff4c3f00811b78ccad52d5cb5bf3ee16d83f3d17576ad61d94"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"764fd6c795017ca9d4b3196b69df5af46513e8978dc4e5f9956174da93a9f312"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"95bceab0544e16b5f66f9c2744223bca48d4e2dfba1f13b8788bf0287ef77855"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","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":"c5a0b6af4b75a1698bcf27b485c65a0d24a5e394bb29c8b8fb82bdebcda7ed5d"},"properties":{"dependency":{"package":"openssl","version":"0.10.75","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0463","RUSTSEC-2026-0473","RUSTSEC-2026-0474","RUSTSEC-2026-0475","RUSTSEC-2026-0476","RUSTSEC-2026-0477","RUSTSEC-2026-0478","RUSTSEC-2026-0479"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"2eb14bae2698c4931658cab7fefa754e79974aab41fe99393fc7f862444fb63d"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0037","RUSTSEC-2026-0185","RUSTSEC-2026-0338","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0342","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"a51b3d53a79df57c45fccc01ac9f6d0eb3b8048d4fbc878f15d3b0329106e285"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.9","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-111943","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6809","RUSTSEC-2026-0049","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"f65044e7e9d4a439b336345f20ce551a43e533d7610c4961b16b52aa4676c279"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0185","RUSTSEC-2026-0338","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0342","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"02f0cb23e13591db32f9a6c1657d1e07f30d32a91f78e2e4c6c7c1ce914e0755"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.10","advisory":"[GHSA redacted]","aliases":["BIT-golang-2026-111943","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6809","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"e3b5bdef3b17a3aecc3b1754cc2d846d360491d7b1e4507a9caceafe11c03425"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0185","RUSTSEC-2026-0338","RUSTSEC-2026-0339","RUSTSEC-2026-0340","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":"32c61799ea12afd28b6135da666ec933b4279f8feffe94ac81501e920b038c11"},"properties":{"dependency":{"package":"arrow-data","version":"59.1.0","advisory":"RUSTSEC-2026-0442","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aee23c0997519f9a53e2269c98d35b0a266e7a24cad6a6d93c1c088edb4f3e32"},"properties":{"dependency":{"package":"basic-toml","version":"0.1.10","advisory":"RUSTSEC-2026-0374","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":"4975822701b3b96654c82dada9bad969e348a6adefa52cd3bba1b6cfd71c3bb7"},"properties":{"dependency":{"package":"bincode","version":"1.3.3","advisory":"RUSTSEC-2025-0141","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1092cdc16bab90e26caa98781415518f2a1a0fec9b43d183894264e01dcc42b6"},"properties":{"dependency":{"package":"event-listener","version":"5.4.1","advisory":"RUSTSEC-2026-0221","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80b5c22beae306eb623d7a60ec13361ab89285e1cc30fcf5b8daa2e87ffb5c69"},"properties":{"dependency":{"package":"h2","version":"0.4.15","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6566d13354e168c688c8937edd7e43a58dcd2321b3e4d366369ac28ad1dcb96"},"properties":{"dependency":{"package":"lru","version":"0.16.4","advisory":"RUSTSEC-2026-0253","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81672c4d5360d125f7082ad0f8dc9dee2c856db44d710db97665421a7464f9df"},"properties":{"dependency":{"package":"lru","version":"0.18.1","advisory":"RUSTSEC-2026-0253","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"705e8761c5e609601c0419d94a8bad1aeb6aee434f48ec4660c92e8bf534c9de"},"properties":{"dependency":{"package":"number_prefix","version":"0.4.0","advisory":"RUSTSEC-2025-0119","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":"5922a5beeab5ac077ffb485a783ad545036e79b56239f83da38f3fb84336b113"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","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":"64363d74ce1f052fae524dc374bd082dc62972fb05982f1a96c21eb7c322e135"},"properties":{"dependency":{"package":"pulldown-cmark","version":"0.13.4","advisory":"RUSTSEC-2026-0414","aliases":["RUSTSEC-2026-0433"],"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":"bd0b13c9bd0c252fff42cc1de74c1b00e7797d375fb5cc3bd6377c8e88fdabfe"},"properties":{"dependency":{"package":"quick-xml","version":"0.37.5","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":"5f7d6b6ca85d4dd6b406c1d2713c645738fab3da9cc94fb64f4f81e0aa0ae962"},"properties":{"dependency":{"package":"quick-xml","version":"0.38.4","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffba3a9076a73cf66b6daacb5914c478fbdc74d1383d8d2e4003b6bf3aa7b43d"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.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.15","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.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7481fb93c86b503a82a3e06a3172c7e27c5da26b8a178702a1e8028944c7596"},"properties":{"dependency":{"package":"rustls","version":"0.23.43","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"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":"7ec937081c3ad6882e9c07735996d40cd6d5332ac535d70bb5252c6040e1f211"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.13","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"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":"c64e30c28e3c0e2ac4c865fc1656b78d3404e0bf0484e55f9176b7c5f283f360"},"properties":{"dependency":{"package":"tokio","version":"1.53.0","advisory":"RUSTSEC-2026-0386","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b5cc6a78fe02a95b2f6755616011982ae866dcba8c2aeaae7b037f36ce19be5"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c78c7c829ffb431fb928ff724c9cf0276a780b7b7d9be87f32343d1209a988f8"},"properties":{"dependency":{"package":"webpki-root-certs","version":"1.0.9","advisory":"RUSTSEC-2026-0383","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0382"],"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":"232458f1e861a473d11b103db83010acd3c76ee2f5eb5b53069ae6f2eda9586f"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.9","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4999ef69e42f46a403f3866a4a634365963f93fdd6e82c0c4a8e528a960ab52"},"properties":{"dependency":{"package":"zstd","version":"0.13.3","advisory":"RUSTSEC-2026-0391","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06e8dc8c07565b965cad3fead890e0d682e96e4f994ab4a0654e3f10afe7962d"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0395","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"414bb4a49ee404ddc9dbe92931374dee643d4d3104e067391ed93041a77ff631"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0396","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d67834474e5564706ab5d6117a7537fa7ddd9f89e1070ff0f40846a68262b203"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0397","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64bc44f41a35cd29a5d01a7b192ce2cc5f1d458c15d9df1d5239ebb5b7c6fd43"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0399","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a79bcf37fda3b3cfb40243fa81b1818f80a0fe095c267b68e3c7eee6f042ddc9"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0400","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21df614167acad094349de8aa7cfc685e485f636d67b1ded35b43230df65a136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0401","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd61c6a1a6d23109e3da0a091cdbb2ecd3102dd1235e0548e2d8ffd7db2a7005"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0402","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a910032c7367726c7f26107809b36a5b0ab01a6e3af6f2b0cf67b659ecca9e49"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0404","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d11388e41908d6112e7f61d01d0c0d9062830b07945356073c8069de5b88d627"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0405","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbb5f2efe8d9cca6344840981b65d21b774960589fc9976e6690dc84fce97102"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0406","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7870b77ea4843334d11fffa265d6d0542e94eec7f4c8e852762d55c28578136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0398","aliases":["RUSTSEC-2026-0403"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84f9b61ffb7d87f7a0ea344424bcbd7389e2ed41eb01432b04fba9f732cd312c"},"properties":{"dependency":{"package":"zstd-sys","version":"2.0.16\u002Bzstd.1.5.7","advisory":"RUSTSEC-2026-0410","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":"a7866a7325b362c5d6c1a3d626a48009701b41d39b8a4d36ce44aaa492d6321a"},"properties":{"dependency":{"package":"basic-toml","version":"0.1.10","advisory":"RUSTSEC-2026-0374","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":"87b332ef8050c0952e667fcbfc3302d8c58dd42bd40b5403fb36e666e0f3f4df"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","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":"b7b13b1fad0691b1d82db9f60bcb8074c19aa1d83db8650cc9373ba055f1bfa8"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"986fb74d4fd73deeb207ec0402161a3da75df35223658a09ff2884c3ab8aa54d"},"properties":{"dependency":{"package":"bincode","version":"1.3.3","advisory":"RUSTSEC-2025-0141","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":"76d57d7a44bcb39bd105e088217412eb804030ccbe7375719b6e4068e2dc6f2a"},"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":"4563f707dce0023eac8cde0326340820bc1382455e3370b30ebce282ce41756f"},"properties":{"dependency":{"package":"h2","version":"0.4.13","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62f6d3c15167cb4bab89a38441790c25c362a854ed98c7446ba1ce73001dc44d"},"properties":{"dependency":{"package":"lru","version":"0.12.5","advisory":"RUSTSEC-2026-0002","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":"3e88712f5ca56d0a4dc279f205d925af04114d1696f16533b031e9524d860127"},"properties":{"dependency":{"package":"lru","version":"0.12.5","advisory":"RUSTSEC-2026-0253","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38b64869c8e60a9baf56577cacc2798c0779459790b36b0413d5a86f4eebf8b2"},"properties":{"dependency":{"package":"number_prefix","version":"0.4.0","advisory":"RUSTSEC-2025-0119","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":"c491c1e5fce7174dfc39c4af84c3681218f4f8f88117be001bff1c335ebf6b87"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","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":"6f0db46159a8e9b05c28c45597a212459e92b0cbeeaa30804eaed2011cc11000"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b065e5459f8b3833552a180e8cd8e1eb05cff8d61a5d336043828b84e118387f"},"properties":{"dependency":{"package":"quick-xml","version":"0.37.5","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":"8255d2fe952c834c9a2932b0f18180442bf01dceee562c75e9b7e56a42db15e3"},"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":"4669a86ba264c0ef63343e8e15c589653c59dd204ef42990383e68b4e1edaef1"},"properties":{"dependency":{"package":"rand","version":"0.8.5","advisory":"RUSTSEC-2026-0097","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":"fac6ac3503cfbb9064e15c77d7a523e935ad3247ea5c623ac7f098ef57384d75"},"properties":{"dependency":{"package":"rand","version":"0.9.2","advisory":"RUSTSEC-2026-0097","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":"da8578e6242b3fc6eba3483c19398a4cb25dee597541f8c0f19c0faeba6f00f0"},"properties":{"dependency":{"package":"rkyv","version":"0.8.9","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2026-0001","RUSTSEC-2026-0122","RUSTSEC-2026-0233","RUSTSEC-2026-0234","RUSTSEC-2026-0235"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0d5d2b94519940ff3f81718799fd830d4aa6237bf80f02121eb9e39826b0378"},"properties":{"dependency":{"package":"rustix","version":"1.1.3","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"206a9ef7650db39c2775f3ff7041d9e1376cb0c287215e9b88a31b4619ebe7cc"},"properties":{"dependency":{"package":"rustls","version":"0.23.36","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"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":"0190cdd7a8f07819707920e62a131403a938a37d5df9c18596fc0f0d74fe2a7d"},"properties":{"dependency":{"package":"scc","version":"2.4.0","advisory":"RUSTSEC-2026-0205","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":"916131b14f1f0db14410e66152b5dbf5a673493a44015e1d214f31e32791c7f9"},"properties":{"dependency":{"package":"tokio","version":"1.49.0","advisory":"RUSTSEC-2026-0386","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":"a2027bda4150bdb2bda4c31798a4d7dbb7fcb2cb1592a60a3c04769523cc9ab2"},"properties":{"dependency":{"package":"webbrowser","version":"1.0.6","advisory":"RUSTSEC-2026-0257","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":"f25ed1d52a16e4153042d5ccd57cb30f0bb1d500ef1724dd6dd5c74fa1ba793b"},"properties":{"dependency":{"package":"webpki-roots","version":"1.0.6","advisory":"RUSTSEC-2026-0381","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"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":"76923174396d35820d609d63bbc594f693c334c18284ff588d95407d5cfa6c50"},"properties":{"dependency":{"package":"stdlib","version":"1.22.99","advisory":"GO-2025-4006","aliases":["BIT-golang-2025-47912","BIT-golang-2025-58183","BIT-golang-2025-58185","BIT-golang-2025-58186","BIT-golang-2025-58187","BIT-golang-2025-58188","BIT-golang-2025-58189","BIT-golang-2025-61723","BIT-golang-2025-61724","BIT-golang-2025-61725","BIT-golang-2025-61726","BIT-golang-2025-61727","BIT-golang-2025-61728","BIT-golang-2025-61729","BIT-golang-2025-61730","BIT-golang-2025-68121","BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2025-4007","GO-2025-4008","GO-2025-4009","GO-2025-4010","GO-2025-4011","GO-2025-4012","GO-2025-4013","GO-2025-4014","GO-2025-4015","GO-2025-4155","GO-2025-4175","GO-2026-4337","GO-2026-4340","GO-2026-4341","GO-2026-4342","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"sdks/go/client.go","line":379,"symbol":"http.NewRequestWithContext"}}}},{"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":"fe5277cfd313bf961ec94fd646d2a62f18dc9cc86f9645fe487da84c23fe0d77"},"properties":{"dependency":{"package":"h2","version":"0.4.13","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d83cde37c48a5c2f7c7986e71d3dd70308ad8642254c958b6fbe5ab1f835dc25"},"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":"43d38a59d989a8567f6566daca5e6f976f24d636e3332150817ead65b462e1a9"},"properties":{"dependency":{"package":"rand","version":"0.9.2","advisory":"RUSTSEC-2026-0097","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":"5ed6211fedddd34ff55ddf03e3f2b483ece8fb5df276786f605dac7a6bdf50ea"},"properties":{"dependency":{"package":"rkyv","version":"0.8.15","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2026-0122","RUSTSEC-2026-0233","RUSTSEC-2026-0234","RUSTSEC-2026-0235"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7d579125563a805d3e9977e5805e361b5057ae09f0b90bb888d848e1c0180cd"},"properties":{"dependency":{"package":"rustls","version":"0.23.37","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"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":"d1e2f6684516fa41171b69e3b25593ce37ceffcf600d05270139b07d9ca3e0b4"},"properties":{"dependency":{"package":"tokio","version":"1.50.0","advisory":"RUSTSEC-2026-0386","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":"aa7e354a2c78fc1863d8674feb8524346a00263cbce861e2e4b25b920ca6b3ed"},"properties":{"dependency":{"package":"webpki-root-certs","version":"1.0.6","advisory":"RUSTSEC-2026-0383","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0382"],"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":"53c1507192fe5eff6e4f2c83a14c66f2292b9dc68c6ca668cd62c98dd40c3161"},"properties":{"dependency":{"package":"h2","version":"0.4.14","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"984594dd754097a756b109a5f468a7e4fd1866f91fa5d7281cd0dfa774344800"},"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":"cfd3f9d8405d30c1f5808b63c568067334ab0f43d5d1a4739d2afe0f1dbb2d8f"},"properties":{"dependency":{"package":"rkyv","version":"0.8.15","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2026-0122","RUSTSEC-2026-0233","RUSTSEC-2026-0234","RUSTSEC-2026-0235"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3814dd29ead6e428f78a617a3c7ef1129b73e2c2c7e9452d1de90c5f4c89a2ed"},"properties":{"dependency":{"package":"rustls","version":"0.23.40","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"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":"2143b31ac709dba706745d18331db5ed19e292efcf11792ea10fdf33a570080e"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.13","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"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":"5ebd4ff08f7b2a207107530cb30c62343688a260c120ff8e80adb484bf5e77cf"},"properties":{"dependency":{"package":"tokio","version":"1.52.3","advisory":"RUSTSEC-2026-0386","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":"ce6094b8ffd3fa9c8783568f5d7643237c0197bf11ecc5f6a88f1d62440c1ba5"},"properties":{"dependency":{"package":"webpki-root-certs","version":"1.0.7","advisory":"RUSTSEC-2026-0383","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0382"],"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":"7f216c5bb94e555fd53ada675049b81e1e4d7c29d9405e4ba0f717bcf4e7c729"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"f5ab8a1959a6addb7a86d41873e6218f34dbc9575445424d7e71c62045809924"}},{"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":"19d8fec7e73d1061f0763c877bdf06eb558906f1ea471c83b36d5fd7c3aabf11"}},{"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":"a7b16e8f95ceef218fc3483bf3c73d925c714ed9293a82c9b8d25c3299278bc7"}},{"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":"f8e6dadf3199d59442986a7da1f6b1bcb8936b7ff2e011857651a331edb1cb65"}},{"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":"3cefb669d133d6fd09187d7297c51c22fd5938c9e99a12b7fde22ce866dc9dc6"}},{"ruleId":"D31","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":"bfef4dce318a38e626316269e58f0db5d8bfa407fb05d90ba944cd8f23f781c1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"78204a3ec64bf50033065f1ce381fe0fc2d3e5ac07a6289e8939f502b2111a6c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"578dc7578adda68402dba6d7e1f9b877acc4a784ff589985839c03af87027d27"}},{"ruleId":"D31","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":"9a2b404ddd8cde202f471a6ddf12b7040b055df668ee1b5c160127fe7f82672c"}},{"ruleId":"D31","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":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D31","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":"dfadb1638219a2dfc14a025683cb4d993ad290ed18ccf54074b74f407c51fe4b"}},{"ruleId":"D31","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":"48a674668bee897046b3f6099994ee60d114b000dc6090dcefb0c71ff4a65bd7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 967 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; 967 of the 1495 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: crates/db/src/search/vector/access/read_view.rs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/search/vector/access/read_view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b48ffaf2702716cf63f2da4967ea9433451d58ff54fb5efccc73c2c2e0d4048"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Rust 1.97: rust-toolchain.toml declares Rust 1.97 as this project\u0027s toolchain file, and Rust 1.97, superseded by 1.98 on 2026-08-20 (the Rust project patches only the current stable). An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2026-08-20 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rust-toolchain.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf7e9d4c69a9ce8ce9aef71946a22fd4bc9a108d597e8635468e94e0aa93368"}},{"ruleId":"C2","level":"note","message":{"text":"Thin authorization enforcement: Authorization rules exist but no route guard, auth middleware or handler that refuses a caller was found."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1240e406e864a89e38d5e3fa370dee11971db94808c3db2fda9b41bf2e5b8efb"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 3/9 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060bindings/uniffi\u0060, \u0060bindings/uniffi-bindgen\u0060, \u0060crates/cli\u0060, \u0060sdks/go\u0060 and 1 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060docs/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6698eb8153a71468b04a82fa3b13ea83ca8eee87a1183c9dd1ddc54743514738"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/cypher.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"216714f90a6a49710b35659bf3e51643613d71ba1f1275e9f659265c63975fd1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cli/src/commands/query.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d0f109a0568f4eab35e1a279ab95efaa474d129b9a5ea275457529cc2b6d53"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/python/src/helixdb/client.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7f45f7d8c8ef186a3178fd2aa98406fda6225dcccea13c3b10a1a3b99f6a71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:2601 \u00B7 sdks/typescript/src/dsl.ts:2670 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23484b46b7dabe2f28922d2871add113b23e5d11154e17610f1e1d48be0c713"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): sdks/typescript/scripts/parity/compare-json.ts:33 \u00B7 sdks/typescript/scripts/parity/run-helix.ts:339 \u2014 the two spans are one implementation copied and then locally edited \u2014 414 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/compare-json.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"112c60c7dad9edeb5cdca7729e9a926ef39600d109e6b599d530007ab783e69e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): sdks/typescript/scripts/parity/run-embedded-client.ts:93 \u00B7 sdks/typescript/scripts/parity/run-helix.ts:260 \u2014 the two spans are one implementation copied and then locally edited \u2014 456 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/run-embedded-client.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdb8841999ba4e51fdd644b0519cd2df29e7e6f05de332aa34475e3bc038068"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:2099 \u00B7 sdks/typescript/src/dsl.ts:2137 \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":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc39c79bd66f51761d07957c55447dbb08bb751a8593627cf8901cc77c39c3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:495 \u00B7 sdks/typescript/src/dsl.ts:526 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"97254c8062e1ae9a039236221ebbe2c8f2fd5f33ec68473ea13c837c57079f38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:2000 \u00B7 sdks/typescript/src/dsl.ts:2028 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4cf6299276bc8fee8e3a1d248afa9e8e9b6f9870ff48e33b902e487b0b2a6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:2579 \u00B7 sdks/typescript/src/dsl.ts:2646 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fbd6dde9b28f65331fed8988a03b194e17947eb2d009f15ac28f9fd492d05c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): sdks/typescript/src/index.ts:376 \u00B7 sdks/typescript/src/index.ts:392 \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":"sdks/typescript/src/index.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2ad901478de6eaba7386a067cc8ae1687f0f7d6a94a7bb188ec7a1fac0e855"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:2062 \u00B7 sdks/typescript/src/dsl.ts:2172 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3df5cac904d39d7d766595641715f00c34e1cc6184762f4c186405d4e0c0355"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:1106 \u00B7 sdks/typescript/src/dsl.ts:1121 \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":"sdks/typescript/src/dsl.ts"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec63f72f7d8d8b1914d0f43e220300113b32eb610b90d2ee328601c242c61d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:2923 \u00B7 sdks/typescript/src/dsl.ts:2988 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2923}}}],"partialFingerprints":{"codehealthFindingId/v1":"451b1a983fec8680574512260faa4aa827d225838ab2e0d9a9d42ba9aab36f20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): bindings/uniffi/smoke-node.mjs:154 \u00B7 bindings/uniffi/smoke-node.mjs:174 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/uniffi/smoke-node.mjs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a62460001a37a5eb9154e50c505d0e24b433db596384a5621e98e9ffd50dcb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): sdks/typescript/scripts/parity/run-embedded-parity.ts:317 \u00B7 sdks/typescript/scripts/parity/run-helix.ts:391 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/run-embedded-parity.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca3713fab23af658c04ba5790139d301e87224fba2a2a14884a1cda56ae0b52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:521 \u00B7 sdks/typescript/src/dsl.ts:551 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"18efd459d617e9c9294b95fefad0a5a9db11000df55fe675736d844f49745b0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:1086 \u00B7 sdks/typescript/src/dsl.ts:1098 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a6b8982d9b813568d29cf61e86c599e6b2bb42ce9839266198f7b35c19982a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): sdks/typescript/scripts/parity/generate-fixtures.ts:492 \u00B7 sdks/typescript/scripts/parity/generate-fixtures.ts:522 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/generate-fixtures.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"3890eb792a0bb5f3b0cf5f3b36cfd90cf7e687e619a7ea56571d56c81585d189"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): sdks/typescript/scripts/edge-drop-regression.ts:23 \u00B7 sdks/typescript/scripts/edge-drop-regression.ts:38 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/edge-drop-regression.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a1ceb7376cc71fba9cf610e6b1425077c471ea6d0b2a784c170a6cf076ccee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): sdks/typescript/src/dsl.ts:717 \u00B7 sdks/typescript/src/dsl.ts:724 \u00B7 sdks/typescript/src/dsl.ts:734 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"632f9e4423ab4bb0c3a4bde646c46beccbc319bd4ae1839148746d75801c9031"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): sdks/typescript/scripts/parity/generate-fixtures.ts:669 \u00B7 sdks/typescript/scripts/parity/generate-fixtures.ts:691 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/generate-fixtures.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7472e9249aca7bad2c9a0a70c82607dc65c0f471a6af9230d972c926868b437"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): sdks/typescript/scripts/parity/run-embedded-parity.ts:310 \u00B7 sdks/typescript/scripts/parity/run-helix.ts:386 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/run-embedded-parity.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"712a0ea51b2a40062143d57ae8f4d412ac79fa266605cd3be6c3887889e94c70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:2192 \u00B7 sdks/typescript/src/dsl.ts:2199 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd23a4f91cc7a4b8f684a5007bbb248b86e1a85c02087a0eef7720f6d0c91d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:2240 \u00B7 sdks/typescript/src/dsl.ts:2246 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"92621f8358624a01d3714783a1f82d280ffd916f8b8b59ab757a58f7e73b548f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10 locations): sdks/typescript/src/dsl.ts:2261 \u00B7 sdks/typescript/src/dsl.ts:2267 \u00B7 sdks/typescript/src/dsl.ts:2273 \u00B7 sdks/typescript/src/dsl.ts:2282 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4168b565ee42964b749d99aab7090bef1cca1a5cb8bb8d3449e092e074fb073b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): sdks/typescript/src/dsl.ts:2270 \u00B7 sdks/typescript/src/dsl.ts:2372 \u00B7 sdks/typescript/src/dsl.ts:2378 \u00B7 sdks/typescript/src/dsl.ts:2390 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2270}}}],"partialFingerprints":{"codehealthFindingId/v1":"786a8028ac75743c302e00d2fd0d06daa1f50f704665386af7a253a24fb6e269"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): sdks/typescript/src/dsl.ts:2312 \u00B7 sdks/typescript/src/dsl.ts:2318 \u00B7 sdks/typescript/src/dsl.ts:2336 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2312}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c8cb876bb8b7d071ba263d085593f1468e2a0c79c2d90b8f20e08516ed8166"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): sdks/typescript/src/dsl.ts:2369 \u00B7 sdks/typescript/src/dsl.ts:2375 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"205738d0f59f2d35160b87a0b388741956585762058b3941d3040e414d29ef93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): sdks/typescript/src/index.ts:585 \u00B7 sdks/typescript/src/index.ts:687 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/index.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"246e066c8bd820d04f3961128bfd3bbc6739ea129e7680c30eda78c961d00ca5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): sdks/typescript/scripts/parity/generate-fixtures.ts:758 \u00B7 sdks/typescript/scripts/parity/generate-fixtures.ts:778 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/generate-fixtures.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"6916189b431b3cc741c0fa7bfc490412d537378fb6786059f68fb0ff02571e57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remote (cyclomatic 25, cognitive 31): remote has cyclomatic complexity 25 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/index.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"73065419af6735d28473c2b7203d3a66ab7210518b1e424954b9024b45ff006b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertParamValue (cyclomatic 23, cognitive 22): convertParamValue has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2917}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93cf3b7fa81639914cf62789505ebb1097bd91379197bdfb3641acb44eee07d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTypedQueryValue (cyclomatic 22, cognitive 20): normalizeTypedQueryValue has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2981}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12efaa0e1e58e3052d810c1abca4b67ebe52273d9c0ebf17af6175a6ae204bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function from (cyclomatic 19, cognitive 22): from has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcc803d03322fab37a0315b8429a4be837277aefd81cc04bfd1dfcc629d0681"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quoteUnsafeIntegerTokens (cyclomatic 16, cognitive 29): quoteUnsafeIntegerTokens has cyclomatic complexity 16 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2cb46dd26c89f0d1e099e48fb7f3257dcdca3490ef218a063b6394a6d80dce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stringifyEncoded (cyclomatic 16, cognitive 19): stringifyEncoded has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9715aa4ba926b83b8e876a531ee27b081d54cbfdcdbbc209cd762e6cdcf100fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseIndexOperationStatus (cyclomatic 16, cognitive 16): parseIndexOperationStatus has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba323b1244cca398e737a7c6630a4d826061519516007ee4b13b8db81b86c149"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 14, cognitive 16): constructor has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/graph.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b985b550093ed2a5d997217491dae9807aee81839ec91506c14c84d5eed70fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 12, cognitive 14): encode has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2665cc536cef35558550724a9f8fdb2180b4216f5e99c14fcfac458107517256"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 12, cognitive 14): execute has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/index.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7512707ddcd34d4a7166ab28136cba83ac45de594fd8f547c034c5d5af548cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/cypher-results.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"07deb23fcbb33a17ada311d9c0bb4ab8a57bec3d4cfadf6f45ce5a23c50d60b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 11, cognitive 16): (top-level) has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/package-smoke.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba8665becb21a93eb50615993ce86c8e9b42df883f80f27e172557452b36257"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/dsl.ts: 3144 lines of code: sdks/typescript/src/dsl.ts has 3144 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9791d6d411132c638f6b335e60aacc190b9d749dbb37545f91d63af74b0e1c2f"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/scripts/parity/generate-fixtures.ts: 1286 lines of code: sdks/typescript/scripts/parity/generate-fixtures.ts has 1286 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/generate-fixtures.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6786e67e6f3d5600ab27a9b9d2f9a2db89b293d50683b25ea7cd6513f7ea776b"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/index.ts: 666 lines of code: sdks/typescript/src/index.ts has 666 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b6d94a7de983a8ee958bb320f73015d6db69407d3d7f87255f87b96e204a91"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/generate-fixtures.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe2678545fd8b319c0da3671119f2c94626f060246d6267dc7221117906a495"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/run-helix.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c25e1c573111ab2de62734d73eeae790db015a1fa4b3d94f2351bdc72b526eb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/run-embedded-parity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9487bec9cad1502c9d06f643bd28e1863c948a29bffc9895019b126995f6119"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/run-embedded-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f701a4c6b8cbab403f16b8a5d11f589998fc7cea80483d0fb4ecd9f27fae5e45"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/compare-json.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d273b6c55e60aa3449173bf46e9767318e0a877d99ba653b7da2aea1431443d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/uniffi/scripts/finalize-node-package.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62f294d1cbd162c4bb38df34a20ab486bac3b2485ef53d72ab5ea6b9e056765"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/cypher-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca95c4d0dbf05dd20d792ce0dfe3310c3354377d30aa6920b6f7c933036b48a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/edge-drop-regression.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"474d33a084a60a850215ba248b25eca454a0b4f5e667d022489aa5743c4452c2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/run-python-generator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bb686e55f023a37df863cfe45f2d1b1ebfbf77a1618ab328a954e9320dc5ea"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/progress.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06139da6a86d96c7add8038cf7a3832938793f497bab21aa6e6885f761c13cf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~145 LoC): no import path from any entry point (16 application, 4 tooling, 11 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/run-embedded-client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"365ae4cd39292ab808977546e561f5732a008f29d807011f7f8b06f17e14b876"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~53 LoC): no import path from any entry point (16 application, 4 tooling, 11 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/edge-drop-regression.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0c3eafc46268e628c214354213c976063d365deccb19f276c83aaec78a1016"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027workspacesRoot\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/scripts/parity/paths.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8552798fe193575718772938166239c238e1f2e5fe8eb1280e161b274a389be"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027__readBatchBrand\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"995d34ddd3c01974bf03f1042b06b6369d9a9069fccf7fbf72c7395d9d909a28"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027__writeBatchBrand\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/dsl.ts"},"region":{"startLine":2651}}}],"partialFingerprints":{"codehealthFindingId/v1":"da03c3a851a85ae581409188081a011e5c8c284c69bb2a68a9f563dc8130f1d9"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027koffi\u0027: Declared in sdks/typescript/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c1489c424cadfa78a6bf3138541ebff7f82b7970b62858cb27ee6be4194e171"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository starts an HTTP server and nothing in its Rust source or committed \u0060Rocket.toml\u0060 secures the transport: no TLS served (actix-web \u0060bind_rustls\u0060/\u0060bind_openssl\u0060, axum-server \u0060bind_rustls\u0060 with a \u0060RustlsConfig\u0060, tonic \u0060ServerTlsConfig\u0060, a \u0060TlsAcceptor\u0060, Rocket\u0027s \u0060[default.tls]\u0060), no \u0060Strict-Transport-Security\u0060 header, no \u0060X-Forwarded-Proto\u0060 read from a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: \u0060Server::builder()\u0060 (crates/server/src/grpc.rs:29)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Rust server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: \u0060Server::builder()\u0060 (crates/server/src/grpc.rs:29)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(normalized.kind === \u0022accepted\u0022 || normalized.kind === \u0022existing_operation\u0022) \u0026\u0026 \u0022operation_id\u0022 in normalized\u0060 appears character-identically in 2 files \u2014 sdks/typescript/scripts/parity/run-embedded-client.ts, sdks/typescript/scripts/parity/run-helix.ts. 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":"sdks/typescript/scripts/parity/run-embedded-client.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8944028d9c91003da6fa05770e1322652d4fd7fd68b43f175e603b55714df9b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(object.kind === \u0022accepted\u0022 || object.kind === \u0022existing_operation\u0022) \u0026\u0026 typeof object.operation_id === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 sdks/typescript/scripts/parity/run-embedded-client.ts, sdks/typescript/scripts/parity/run-helix.ts. 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":"sdks/typescript/scripts/parity/run-embedded-client.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6017e21f43fb08b4215e2752aec7b0acf332e7ff1a0f8fe8adaeb085f18923"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isFile() \u0026\u0026 entry.name.endsWith(\u0022.json\u0022)\u0060 appears character-identically in 4 files \u2014 sdks/typescript/scripts/parity/compare-json.ts, sdks/typescript/scripts/parity/cypher-results.ts, sdks/typescript/scripts/parity/run-embedded-parity.ts, sdks/typescript/scripts/parity/run-helix.ts. 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":"sdks/typescript/scripts/parity/compare-json.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a553350cb35bada333213fe9e552fb088a2fb578e09a47d51d7b108e8846e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060missingInCandidate.length || extraInCandidate.length\u0060 appears character-identically in 2 files \u2014 sdks/typescript/scripts/parity/compare-json.ts, sdks/typescript/scripts/parity/run-helix.ts. 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":"sdks/typescript/scripts/parity/compare-json.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed933a88cbabbf4633228f59b6f24905cd74921c82cbd61ea1d16af1e730988"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.error === undefined \u0026\u0026 result.status === 0\u0060 appears character-identically in 2 files \u2014 sdks/typescript/scripts/parity/run-embedded-parity.ts, sdks/typescript/scripts/parity/run-helix.ts. 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":"sdks/typescript/scripts/parity/run-embedded-parity.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb1adbb31984651b01bd03647811629fa898b11168ef4e930aaf1aa7948c6cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status !== \u0022queued\u0022 \u0026\u0026 status !== \u0022running\u0022\u0060 appears character-identically in 2 files \u2014 sdks/typescript/scripts/parity/run-embedded-client.ts, sdks/typescript/scripts/parity/run-helix.ts. 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":"sdks/typescript/scripts/parity/run-embedded-client.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b221acc0cedfc819a010c54281c27dfaf615bc5b7882fd0c8b9dae30763cddb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== null \u0026\u0026 typeof value === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 sdks/typescript/scripts/parity/run-embedded-client.ts, sdks/typescript/scripts/parity/run-helix.ts. 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":"sdks/typescript/scripts/parity/run-embedded-client.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0127a99fff0e6f013b0d426edcb7eb6dec5fd2271ba0a5ac5bcfe8225051b169"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || typeof value !== \u0022object\u0022\u0060 appears character-identically in 4 files \u2014 sdks/typescript/scripts/parity/cypher-results.ts, sdks/typescript/scripts/parity/run-embedded-client.ts, sdks/typescript/scripts/parity/run-helix.ts, sdks/typescript/src/dsl.ts. 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":"sdks/typescript/scripts/parity/cypher-results.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40e8c51e5362a2640abf98a349214284db7f5384f0c2acf634dd9b4e162408c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || typeof value !== \u0022object\u0022 || !(field in value)\u0060 appears character-identically in 2 files \u2014 sdks/typescript/scripts/parity/run-embedded-client.ts, sdks/typescript/scripts/parity/run-helix.ts. 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":"sdks/typescript/scripts/parity/run-embedded-client.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbe58961ba3a0de3ca3f45c7751bd12872e904828f667079c6fd370f657a59c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!aggregate \u0026\u0026 !distinct \u0026\u0026 ordering.is_empty()\u0060 appears character-identically in 2 files \u2014 crates/db/src/execution/interpreter/rows/projection_chain.rs, crates/planner/src/relational/pipeline.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/db/src/execution/interpreter/rows/projection_chain.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1979e858ecff856ec0ff22d2870b4a86f19d58a4bd2b6c5d80c5c2c927aa852"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060applied.index_id != operation.index_id() || applied.generation != operation.generation() || entity.kind != definition.element_kind()\u0060 appears character-identically in 2 files \u2014 crates/db/src/index_lifecycle/secondary.rs, crates/db/src/index_lifecycle/vector/driver.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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddef9c7f2b748eb3a93b6271e0d22897c5a5b0d082b538fbf665f1e8548f6bf4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.key.label == key.label \u0026\u0026 entry.key.property == key.property \u0026\u0026 entry.range.contains_secondary_literal(value)\u0060 appears character-identically in 2 files \u2014 crates/planner/src/rules/access/sets/equality_range/range_union/edge.rs, crates/planner/src/rules/access/sets/equality_range/range_union/node.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/planner/src/rules/access/sets/equality_range/range_union/edge.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf72b690205d37d1f73695efe61ab1fd6917a82967d859112acab1f6ae82ec84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060equality_key.label != range_key.label || equality_key.property != range_key.property\u0060 appears character-identically in 2 files \u2014 crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs, crates/planner/src/rules/access/sets/equality_range/intersection/node.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/planner/src/rules/access/sets/equality_range/intersection/edge.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f7985cd55f41692ef1d82b62ba4a44aa8373d87e1162087e46e9d211900c08"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060equality_key.label == range_key.label \u0026\u0026 equality_key.property == range_key.property \u0026\u0026 (range.contains_secondary_literal(value) || range.ex\u2026\u0060 appears character-identically in 2 files \u2014 crates/planner/src/rules/access/sets/equality_range/intersection/edge.rs, crates/planner/src/rules/access/sets/equality_range/intersection/node.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/planner/src/rules/access/sets/equality_range/intersection/edge.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"287524143e06d90ff8ac2a10829cee66b7c4fd5f46a8097c46a6e448f8de44e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_statically_empty(left) || is_statically_empty(right)\u0060 appears character-identically in 2 files \u2014 crates/planner/src/rules/access/sets/contradiction/edge.rs, crates/planner/src/rules/access/sets/contradiction/node.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/planner/src/rules/access/sets/contradiction/edge.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a927d99898526c87c574f293d16da6defb44f88f0f934c8b8423686345d5d914"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key.index_id != value.index_id || key.generation != value.generation || key.entity.kind != value.entity_kind || key.entity.id != value.entit\u2026\u0060 appears character-identically in 2 files \u2014 crates/db/src/index_lifecycle/secondary.rs, crates/db/src/index_lifecycle/vector/driver.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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":5084}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae80b77bcb4838606ea2051c98f5df546613dd556600c0ce815ddc6f0f39f402"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left_key == right_key \u0026\u0026 left_value != right_value\u0060 appears character-identically in 2 files \u2014 crates/planner/src/rules/access/sets/contradiction/edge.rs, crates/planner/src/rules/access/sets/contradiction/node.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/planner/src/rules/access/sets/contradiction/edge.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae217b1449010fffa9b482f02c5758ef03fd5f3294c5d70124a912bc6ce9bc0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060literal_equalities_conflict(left, right) || literal_equality_range_conflict(left, right) || literal_equality_range_conflict(right, left)\u0060 appears character-identically in 2 files \u2014 crates/planner/src/rules/access/sets/contradiction/edge.rs, crates/planner/src/rules/access/sets/contradiction/node.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/planner/src/rules/access/sets/contradiction/edge.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acd498d2482953afb6457f05350e20755f343ceb190f923cd77271b03629ac8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lookup.key != verification.key || lookup.value != verification.value\u0060 appears character-identically in 2 files \u2014 crates/db/src/execution/interpreter/count.rs, crates/planner/src/exec/count.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/db/src/execution/interpreter/count.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1e51301c966b807cf81e873e720dbfb8577a517ec41b25709d8de41db151d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newly_admitted_neighbors.len() \u003C LAYER0_NEIGHBOR_PREFETCH_MIN_TARGETS || remaining_prefetch_budget == 0\u0060 appears character-identically in 2 files \u2014 crates/db/src/search/vector/hnsw/mutation/mod.rs, crates/db/src/search/vector/hnsw/search.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/db/src/search/vector/hnsw/mutation/mod.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d1f6dff98f0b9dea82b9c255b7b9e39345edb7060f5dd6b2186ca660511ad9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.cache_on_flush \u0026\u0026 options.cache_on_compaction\u0060 appears character-identically in 2 files \u2014 crates/db/src/config/tests.rs, crates/server/src/config.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/db/src/config/tests.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe43a9c9018343dfaef2bfb75f53dfeecdd17b370363b30bb1dfcf13f16da6e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060property.name == \u0022$label\u0022 \u0026\u0026 property.value.as_str() == Some(definition.label().as_str())\u0060 appears character-identically in 3 files \u2014 crates/db/src/index_lifecycle/secondary.rs, crates/db/src/index_lifecycle/text/projection.rs, crates/db/src/index_lifecycle/vector.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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":4174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ccc9b139776c61a0b307bf87b275009485ded36a816763d90e29b5340b730d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060range_key.label == equality_key.label \u0026\u0026 range_key.property == equality_key.property \u0026\u0026 range.contains_secondary_literal(value)\u0060 appears character-identically in 2 files \u2014 crates/planner/src/ir/access/edge/analysis.rs, crates/planner/src/ir/access/node/analysis.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/planner/src/ir/access/edge/analysis.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7b803c8fbc4af8752fb01102b8e44bd6e319dccdb6197ee3f5bf17b7d58a55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060range_key.label == equality_key.label \u0026\u0026 range_key.property == equality_key.property \u0026\u0026 range.excludes_secondary_literal(value)\u0060 appears character-identically in 2 files \u2014 crates/planner/src/rules/access/sets/contradiction/edge.rs, crates/planner/src/rules/access/sets/contradiction/node.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/planner/src/rules/access/sets/contradiction/edge.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"896259a6571511ba5d5c55b39a678f33732d88cbe1f4d4d44d79b693535e1995"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.index_id() != operation.index_id() || record.identity() != operation.identity() || record.revision() != operation.index_record_revisi\u2026\u0060 appears character-identically in 3 files \u2014 crates/db/src/index_lifecycle/secondary.rs, crates/db/src/index_lifecycle/text/driver.rs, crates/db/src/index_lifecycle/vector/driver.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/db/src/index_lifecycle/secondary.rs"},"region":{"startLine":5160}}}],"partialFingerprints":{"codehealthFindingId/v1":"426dda622ed31fc3e4512cc11c45c46c543701a3d5454e808ee3d7f10054d5a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requested == limit \u002B 1 \u0026\u0026 refused_at == limit\u0060 appears character-identically in 2 files \u2014 crates/db/src/index_lifecycle/queue/backlog/tests.rs, crates/db/src/index_lifecycle/queue/tests.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/db/src/index_lifecycle/queue/backlog/tests.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"90086c4896da5e79f49cd20dd936c8e68111a97f40240df73db55220e8b0f92e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root.revision().get() \u003E= u64::from(root.page_count()).saturating_add(1) \u0026\u0026 root.split_count() != 0\u0060 appears character-identically in 2 files \u2014 crates/db/src/index_lifecycle/text/serving.rs, crates/db/src/index_lifecycle/text/validation.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/db/src/index_lifecycle/text/serving.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa1e0e99727bc1744c5d2d132c7b3b10dc7ecb2f653b8a6a22ae048112b5484"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.key != expected_key || row.value != expected_value\u0060 appears character-identically in 2 files \u2014 crates/db/src/index_lifecycle/text/manifest.rs, crates/db/src/index_lifecycle/text/validation.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/db/src/index_lifecycle/text/manifest.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc63ce517470029064f290c6fb858c3b240e1a30d2fb197b07e75bd94d51de5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060superset == subset || structurally_subsumes(superset, subset)\u0060 appears character-identically in 2 files \u2014 crates/planner/src/ir/access/edge/analysis.rs, crates/planner/src/ir/access/node/analysis.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/planner/src/ir/access/edge/analysis.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f81534e35c389547deeca1be352a247b3f249376100cc8a95bedb3afc2b6f29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060superset_key.label == subset_key.label \u0026\u0026 superset_key.property == subset_key.property \u0026\u0026 superset_range.contains_range(subset_range)\u0060 appears character-identically in 2 files \u2014 crates/planner/src/ir/access/edge/analysis.rs, crates/planner/src/ir/access/node/analysis.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/planner/src/ir/access/edge/analysis.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"779d0a320537d64e50fdedf7f6e035431c41fb13742776fc7bb2ca863f875a30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tenant_envelope_ready \u0026\u0026 is_legacy_tenant\u0060 appears character-identically in 2 files \u2014 crates/db/src/index_lifecycle/repository.rs, crates/db/src/migrations/startup/bootstrap.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/db/src/index_lifecycle/repository.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7741a7d4d296abfe8659a46a70bb48798a0dd8a2ab72d39a1cadd6898e21d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.is_finite() \u0026\u0026 value \u003E= f64::from(f32::MIN) \u0026\u0026 value \u003C= f64::from(f32::MAX)\u0060 appears character-identically in 2 files \u2014 crates/ast/src/query.rs, crates/ast/src/query/validation_oracle.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/ast/src/query.rs"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0a722d321b687bf60e89293589ba5d41c09a8110801e97252e78662f14c6db"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context or an AbortSignal: Only 4/6 functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http; net/http, net.Dial) accept a context.Context or an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a \u0060signal\u0060 (Go: \u0060ctx context.Context\u0060) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"577196fe89725f9b0e6c2faf89eceb8eb245919bd44e4439e0b0d649c1ee1c53"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: execute: \u0060execute\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/index.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a99453f63fed9f0a455210385cc3478d9825df6c74602cb99e6da5c4d1336e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: execute: \u0060execute\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/index.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f174f6fc4c500eabbd81e33061946584fe7c65685106e27a1bf472b2e457f3"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~1.7 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 10 assertion(s) across the 5872 source line(s) of the 13 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: sdks/typescript/scripts/parity/run-helix.ts (6), sdks/typescript/src/dsl.ts (3), sdks/typescript/src/graph.ts (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/check-docs.mjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e54282c3ac76e2f207366ef497ea3f64fc500513397addb8315eca68a9a40f"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/check-docs.mjs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb22cc72d7e3c20dc430d6c629321351347cbdb17144badda4d7888c3ab3dc1"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scripts/check-docs.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff92716f4d417211d35b71418420e0f60ebf052f50ef3bfe31f1fee238865b9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060index_record_candidates\u0060 turns every \u0060Err\u0060 into \u0060Ok(Vec::new())\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/db/src/migrations/indexes/equality_bitmap.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"211f33149a35acc06b790d6c9faf94c76166bf698247315941772ff409d83b89"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.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-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.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-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_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/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"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"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":284,"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."]}]}