{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"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":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"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":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"lore_fuse::dispatch::dispatch_request (cyclomatic 66): lore_fuse::dispatch::dispatch_request has cyclomatic complexity 66 (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":"lore-fuse/src/dispatch.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"811f4a6157f56a1160055bc6830b58761f6806387a7ebf92352e5cb312cba07b"}},{"ruleId":"D1","level":"warning","message":{"text":"State::reattach (cyclomatic 63): State::reattach has cyclomatic complexity 63 (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":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fa7280f170fdd19defb9e8980b16d1fdc214a31975959e4f18214975440a34"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::stage::stage_node_from_metadata (cyclomatic 60): lore_revision::stage::stage_node_from_metadata has cyclomatic complexity 60 (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":"lore-revision/src/stage.rs"},"region":{"startLine":3269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46b06edcca9d55f53048c87e1e9f5e0409846b51a9d989b39876411af9eb9bf"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::revision::sync::sync (cyclomatic 59): lore_revision::revision::sync::sync has cyclomatic complexity 59 (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":"lore-revision/src/revision/sync.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8a8807d8dbf2dccf8b251f2536f8a4c1439fa0af72fb74085f3cbee8e05214"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::fs::realize::verify_filesystem (cyclomatic 47): lore_revision::fs::realize::verify_filesystem has cyclomatic complexity 47 (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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60581aa90352b4a7baccc23595e5e00b93b396fe613ab4f751ae3db2fb345e5"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::repository::open_repository (cyclomatic 47): lore_revision::repository::open_repository has cyclomatic complexity 47 (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":"lore-revision/src/repository.rs"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c2d061f870fb4e479bac4b2d62d79ab7f710747481a2f9db5fea081856df1b"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::repository::status::status (cyclomatic 46): lore_revision::repository::status::status has cyclomatic complexity 46 (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":"lore-revision/src/repository/status.rs"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ada0078b9db6b0804f1ab85e45777ce3ae619d4d1f94bd9f7907ed0460796c"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_client::cli::commands::repository::handle_repository_status (cyclomatic 42): lore_client::cli::commands::repository::handle_repository_status has cyclomatic complexity 42 (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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"43551565b76181e30e9376b821c997ce7d03739dac6337fb23aba74735baef8b"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalMutableStore::flush_all (cyclomatic 42): LocalMutableStore::flush_all has cyclomatic complexity 42 (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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"239ae3e296f5ba8a8f86533f071f0b9df3db0c0235a8451e5f2578510d3f95c9"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_storage::local::immutable_store::flush_locked_group (cyclomatic 41): lore_storage::local::immutable_store::flush_locked_group 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6806}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bc7d0a7466fe281aef323295fff38731299b72fee1b64487a533dd24c14d4a"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::state::diff::add_change_for_paired_nodes (cyclomatic 40): lore_revision::state::diff::add_change_for_paired_nodes 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":"lore-revision/src/state/diff.rs"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c6ac96796b0f20a280ea9b777849229509fb60acdf13475b6c6ba589e62167"}},{"ruleId":"D1","level":"warning","message":{"text":"State::served_mark_from (cyclomatic 39): State::served_mark_from has cyclomatic complexity 39 (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":"lore-revision/src/state/node/mark.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ae5dd570a9949c88b9e485ea173b634f7ec2a4bc58ce98e750fb808125670f"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::file::unstage::unstage_node (cyclomatic 39): lore_revision::file::unstage::unstage_node has cyclomatic complexity 39 (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":"lore-revision/src/file/unstage.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1527285085c984b7d2b97d1f728e1133ac158d22e3acbd2f989235b1d8ac4d"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalImmutableStore::verify_fragment_held (cyclomatic 39): LocalImmutableStore::verify_fragment_held has cyclomatic complexity 39 (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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6383}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da40f3169942ae12edd3b62bc09071b15bd595f2b0c27d9906f182e198f31db"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::revision::diff3_with_source_cap (cyclomatic 37): lore_revision::revision::diff3_with_source_cap has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b4bd2418df59e83b596d879d2fb3faf217468eb2362d13c82737d5c005ce89"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_server::server::async_main (cyclomatic 37): lore_server::server::async_main has cyclomatic complexity 37 (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":"lore-server/src/server.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0f6f0a68ff2a85be4386deac4af8c27e378d9b006d8519e63a448499f02020"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::commit::commit_staged_with_layers (cyclomatic 36): lore_revision::commit::commit_staged_with_layers has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"e473425bdf4cb87639d9b0473ed2bab9bc832e6d662b235e4e0a16e4f1e40c01"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::projfs::serve::get_directory_enumeration_async (cyclomatic 35): lore_revision::projfs::serve::get_directory_enumeration_async 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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cf34362925108d27c0c2cbfb7c261797b6cb3a779b15d176c9c5cfbfc67dde"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalImmutableStore::store_entry (cyclomatic 35): LocalImmutableStore::store_entry 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":3113}}}],"partialFingerprints":{"codehealthFindingId/v1":"676329319991dd64bb1349eaaa3d23c8a22b7fd273ac7aa25ea126ed297110c3"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_storage::write::leader_body (cyclomatic 35): lore_storage::write::leader_body 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":"lore-storage/src/write.rs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3f121a051a9fecc609cda03646cadf37d337bc20f560254993f8ef30ac6b1d"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::fs::fuse::swap::swap_through (cyclomatic 34): lore_revision::fs::fuse::swap::swap_through 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":"lore-revision/src/fs/fuse/swap.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f456f79723e59f33ec5a80d4e90c4299d47e766ef9ea36df0dedb2f7db2d55a2"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::link::classify_link_pin (cyclomatic 34): lore_revision::link::classify_link_pin has cyclomatic complexity 34 (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":"lore-revision/src/link.rs"},"region":{"startLine":3079}}}],"partialFingerprints":{"codehealthFindingId/v1":"229f79fe8f7db1f17dac06d93c4dd64fec683d2153ae0f90b77d0beda82bdbe5"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::stage::stage_directory (cyclomatic 33): lore_revision::stage::stage_directory 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":"lore-revision/src/stage.rs"},"region":{"startLine":2583}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8817f5af514f028a3620a527ce515537c52a639fb27022b40f0e1d45b6a258"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::stage::stage_from_parent_revision_in_operation (cyclomatic 33): lore_revision::stage::stage_from_parent_revision_in_operation 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":"lore-revision/src/stage.rs"},"region":{"startLine":4473}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b36ff9568a906448f7a48a5f31558100d03e3d4acd86061c9a5a37103034b5"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_client::cli::commands::branch::handle_branch_push (cyclomatic 31): lore_client::cli::commands::branch::handle_branch_push has cyclomatic complexity 31 (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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"830d006f0694fc60b3a9470ad925fa41e55c3ff102fe6ae0e033eb3c01f5ab6e"}},{"ruleId":"D1","level":"warning","message":{"text":"State::detach_child (cyclomatic 31): State::detach_child has cyclomatic complexity 31 (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":"lore-revision/src/state/node/detach.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c877ab739c79b810f2c5133cd07c57e028e077a7259ef1a11e58528dbba87c6b"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::immutable::cache_through (cyclomatic 31): lore_revision::immutable::cache_through has cyclomatic complexity 31 (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":"lore-revision/src/immutable.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb589889673d8293e1aaf86c7832aa18f51b275eff5712966367bbf3494b38fd"}},{"ruleId":"D1","level":"warning","message":{"text":"lore::revision_tree::move_node::plan_entries (cyclomatic 30): lore::revision_tree::move_node::plan_entries 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":"lore/src/revision_tree/move_node.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7bec1654a022fdf6a9e7f78b647595680218d7f5e81ccc229a8768c7a41a3d"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::file::reset::reset_walk_directory (cyclomatic 29): lore_revision::file::reset::reset_walk_directory 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":"lore-revision/src/file/reset.rs"},"region":{"startLine":2921}}}],"partialFingerprints":{"codehealthFindingId/v1":"356b51d34746f8b8384a7faacf55fdd7a78f8e07e2a2059b67d4ddbd93a005e1"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::fs::realize::realize_change_modify_add (cyclomatic 29): lore_revision::fs::realize::realize_change_modify_add 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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":3944}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacd8c3849848d5526d3d87b1b057d355051e00ae37bb57a21d500807c1b233f"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::stage::stage_filesystem_path (cyclomatic 29): lore_revision::stage::stage_filesystem_path 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":"lore-revision/src/stage.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"973cbb1381c143215441e511994f6714529ede21f83e096287bca4adbe2eac27"}},{"ruleId":"D1","level":"warning","message":{"text":"State::node_move_staged (cyclomatic 28): State::node_move_staged 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":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54579117664d8ef769208b8c644a20ad5087eff77d7c4ca74b22915ec3d3382"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::file::dirty::dirty_path (cyclomatic 28): lore_revision::file::dirty::dirty_path 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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"367cf5b9905df9bcf376b811e9d52776ed55997c05a4b34b5daa71ee91bf3e97"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageServiceV4::run_request_handler (cyclomatic 28): StorageServiceV4::run_request_handler has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/storage_service_v4.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdb912105f28a5192c18a6e0b2061f261e9ab30698cad64c80b2c7cae0d57c2"}},{"ruleId":"D1","level":"warning","message":{"text":"FuseFilesystem::lookup_in (cyclomatic 27): FuseFilesystem::lookup_in 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":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5411d79f314b4f0a294e4c11680e72c65ad1805c6d73865354b9677b95ace932"}},{"ruleId":"D1","level":"warning","message":{"text":"State::attach_child (cyclomatic 27): State::attach_child 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":"lore-revision/src/state/node/attach.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8973dde499ee4a8548b6ca5a3e7f497cc57fd55a14fede046d5e8336a45725"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::repository::clone::process_block_item (cyclomatic 27): lore_revision::repository::clone::process_block_item 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":"lore-revision/src/repository/clone.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d49f92ec161e692deb2adb32f9ceb138554901a9d2a51dbe7bc0f11a7ee1b7"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::repository::branch_switch_target (cyclomatic 26): lore_revision::repository::branch_switch_target 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":"lore-revision/src/repository.rs"},"region":{"startLine":4226}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b51e0d214e6d498665e0d23667db8815d770840adc786ae260dad51373cc24"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::state::os_diff::diff_filesystem_directory_walk (cyclomatic 26): lore_revision::state::os_diff::diff_filesystem_directory_walk 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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccc64edf39bdcde7a505f3dd6e9be5e25b3d8c72b500311a8e4d8b2a97ba4eb"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalImmutableStore::verify (cyclomatic 26): LocalImmutableStore::verify 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":5958}}}],"partialFingerprints":{"codehealthFindingId/v1":"3116fc10aed361f520e8ed8601822b0c4405feaad0e0f517092c1b1c90a21763"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_transport::connection::connect_impl (cyclomatic 26): lore_transport::connection::connect_impl 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":"lore-transport/src/connection.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"036daff3d74db2784c43d218fb6435de1675ee8c32cc787aab368c8150a899ee"}},{"ruleId":"D1","level":"warning","message":{"text":"FuseFilesystem::rename_onto (cyclomatic 25): FuseFilesystem::rename_onto has cyclomatic complexity 25 (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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":3046}}}],"partialFingerprints":{"codehealthFindingId/v1":"114807cd0a360bc7edf4b35fd117d6af817d7e5d8ab42c37396c4f8823afb3a7"}},{"ruleId":"D1","level":"warning","message":{"text":"FuseMountManager::unmount_all (cyclomatic 24): FuseMountManager::unmount_all 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":"lore-revision/src/fs/fuse/mount_manager.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"e232638ea752972c770e99cdd8833872863a6a9dcee1401640a7b98ffaa51f31"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::file::stage::stage (cyclomatic 24): lore_revision::file::stage::stage 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":"lore-revision/src/file/stage.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ca7016d3eed7be3313f3467b3d2210f69c01ad525ed9ffc78eec494e36825f"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalImmutableStore::evict_oldest (cyclomatic 24): LocalImmutableStore::evict_oldest 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":4090}}}],"partialFingerprints":{"codehealthFindingId/v1":"467dd0efbfaedcec28d62d3ee38f61dda1e5cf34f46cb26e70da282eb62adb5c"}},{"ruleId":"D1","level":"warning","message":{"text":"content_tabs._render_group (cyclomatic 24): content_tabs._render_group 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":"docs/assets/hooks/content_tabs.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc288101602a689789e761a5b88955f5ecc3a5161734ab10664d4f3dec973847"}},{"ruleId":"D1","level":"warning","message":{"text":"Directories::place (cyclomatic 23): Directories::place 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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ac56a641488a8a68ea95d19799512c7f3cfd4df3311b3ba67d3317dc24a686"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::fs::realize::realize_changes_delete (cyclomatic 23): lore_revision::fs::realize::realize_changes_delete 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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":3200}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b8a36c788a4ab08efb22df3d96314fa9e522f64b674ddf89762a816bcf1654"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::repository::layer_branch_switch (cyclomatic 23): lore_revision::repository::layer_branch_switch 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":"lore-revision/src/repository.rs"},"region":{"startLine":4493}}}],"partialFingerprints":{"codehealthFindingId/v1":"8243236bfdbd55cdf7798bd5f9542828880464719f50397c4781753074653687"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::state::collect_fragments (cyclomatic 23): lore_revision::state::collect_fragments 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":"lore-revision/src/state.rs"},"region":{"startLine":11237}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bcfb91a0bea260499b299d4547f54ffd78658226aa65615adc968e603faf93"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalImmutableStore::put (cyclomatic 23): LocalImmutableStore::put has cyclomatic complexity 23 (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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":5592}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b60bf6a3ab8990e0c509b7421fa5283de864f5b4f41e43a0200708be4bbf0e"}},{"ruleId":"D1","level":"warning","message":{"text":"lore::revision_tree::add::plan_entries (cyclomatic 22): lore::revision_tree::add::plan_entries 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":"lore/src/revision_tree/add.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cb55e7dcf8ac72d2458d417e92a1cde385820d914de27b028a3f1c4b8788b0"}},{"ruleId":"D1","level":"warning","message":{"text":"FuseFilesystem::added_child (cyclomatic 22): FuseFilesystem::added_child 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":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edc9b7cb426288bf985fbaf9871be2db907674bf436ea0be44c27f219755ac2"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::commit::commit_gone (cyclomatic 22): lore_revision::commit::commit_gone has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":2900}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd927e65ec02023477d5028f864ce6b82d036d6ddf21b561e49559d308ff41e"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::commit::gone_directories (cyclomatic 22): lore_revision::commit::gone_directories 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":"lore-revision/src/commit.rs"},"region":{"startLine":3626}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e6b08559176d5381ad0dbb7009c18c0ce77f409b389ed9c2e3cdfcf06db552"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::file::stage::stage_move (cyclomatic 22): lore_revision::file::stage::stage_move has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/stage.rs"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"f831af1156b87428893305d435036caddabdafccb5d559ccfa82684227553029"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::lock::file::release::release (cyclomatic 22): lore_revision::lock::file::release::release 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":"lore-revision/src/lock/file/release.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6487f2f6326a201417c890383623dca7307b2e4d83c3c7e393a2d7f58194aa9d"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::repository::create::create_with_metadata (cyclomatic 22): lore_revision::repository::create::create_with_metadata has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/create.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03579c2132c28d4eea249e6a1d20d49e6c54320b54acd63574b07e217e3cc45"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalLockStore::query_locks (cyclomatic 22): LocalLockStore::query_locks has cyclomatic complexity 22 (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":"lore-server/src/lock/store.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"371053add9c193b35e5c7bf0028fc3e8887186ea3f1adfc61bd515f3ef6e834b"}},{"ruleId":"D1","level":"warning","message":{"text":"FuseFilesystem::setattr_node (cyclomatic 21): FuseFilesystem::setattr_node 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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb93a7aa901c8588066ba206c7ee2adccf441367e293ed42d6e22a5dd0aa233"}},{"ruleId":"D1","level":"warning","message":{"text":"State::node_clear (cyclomatic 21): State::node_clear 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":"lore-revision/src/state/node/clear.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd17cbf86b50c8eec798afcce7e600e16ca4bc6a5d4ccbc4bf98501bf98d070f"}},{"ruleId":"D1","level":"warning","message":{"text":"State::block_deserialize (cyclomatic 21): State::block_deserialize 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":"lore-revision/src/state.rs"},"region":{"startLine":3065}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3969cf170c0e84fcdda41b5250917bce7db77cc710fc054a39bd2a11bdf66ee"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::file::diff::emit_diff3_changes (cyclomatic 21): lore_revision::file::diff::emit_diff3_changes 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":"lore-revision/src/file/diff.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"343f879bf13fb78377666863646d112354d76fb5420183e1643e7cf6307c0d7f"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::revision::restore::restore (cyclomatic 21): lore_revision::revision::restore::restore 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":"lore-revision/src/revision/restore.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0038d80c7acd2a464b40622de3b804129fca80fecf710f7421f7f2c78714da06"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalImmutableStore::compact_group_packfiles (cyclomatic 21): LocalImmutableStore::compact_group_packfiles 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":4509}}}],"partialFingerprints":{"codehealthFindingId/v1":"5915b04d657d35e55d3a9577d021fcfcd39b77f449c9d2786bfa27e2cb11b25d"}},{"ruleId":"D1","level":"warning","message":{"text":"SerialChunking::resolve_into (cyclomatic 21): SerialChunking::resolve_into 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":"lore-transport/src/quic/chunking.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef2cccd0da2598b9656aa801a673ee2a51b444f9f6f09e70faf957db160867c"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_client::cli::commands::revision::handle_revision_info (cyclomatic 20): lore_client::cli::commands::revision::handle_revision_info 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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"513fb2a85b57e3888e77be6d90bc59d2ea84e9d236c6bacc1a270ea9343a6265"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_client::cli::commands::revision::handle_revision_commit (cyclomatic 20): lore_client::cli::commands::revision::handle_revision_commit 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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5241f49b8d2d0f3b8bffbbd57ff22ed0b49a846cd7d5fbf4646a60b2f0364270"}},{"ruleId":"D1","level":"warning","message":{"text":"Directories::remove_node (cyclomatic 20): Directories::remove_node 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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"6354c1b0ad3795c2e922670a7b8612c514a558c13f66b86d78d6b33629f6a8ac"}},{"ruleId":"D1","level":"warning","message":{"text":"State::node_discard_pending (cyclomatic 20): State::node_discard_pending 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":"lore-revision/src/state/node/pending.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d337bd507bf5a4aa7a35508da115bb1fc42821baca676df444fbce65911dbe"}},{"ruleId":"D1","level":"warning","message":{"text":"State::collect_dirty_paths_linked (cyclomatic 20): State::collect_dirty_paths_linked 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":"lore-revision/src/state.rs"},"region":{"startLine":5131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef10399ed17472a1e9fd3dba9132d50771f36251e69c7472deede1528ef7579e"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::commit::rehash_directory (cyclomatic 20): lore_revision::commit::rehash_directory 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":"lore-revision/src/commit.rs"},"region":{"startLine":5287}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e63c10d857a9f28ed393cc4f48f6fd8762e6e0004e24c98fd7d9cc70fd4b0f"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::commit::prune_dirty_leave (cyclomatic 20): lore_revision::commit::prune_dirty_leave has cyclomatic complexity 20 (threshold 15). 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":"lore-revision/src/commit.rs"},"region":{"startLine":6494}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bc9eea3ed9a21bd888215bbe37f5f2709a4cec172934dc6a315bd525cf3474"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::file::diff::emit_unified_diffs (cyclomatic 20): lore_revision::file::diff::emit_unified_diffs 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":"lore-revision/src/file/diff.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c81df5e4d33a2134bf0813a64cae9a1715a0066809d112baf0fce96095381f5"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::file::reset::purge_untracked_children (cyclomatic 20): lore_revision::file::reset::purge_untracked_children 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":"lore-revision/src/file/reset.rs"},"region":{"startLine":3223}}}],"partialFingerprints":{"codehealthFindingId/v1":"757ef645a94c3317816c891e08556c2f1134792f0b6b7ef5ec5c98dc4199d997"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::fs::hold::fill_in (cyclomatic 20): lore_revision::fs::hold::fill_in 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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c077a903228ffdbccb2bcb6e08f3cb3c52ee74bd3904c7148bdee6b4fbac767"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::link::add::add (cyclomatic 20): lore_revision::link::add::add 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":"lore-revision/src/link/add.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf0a748e5b7bc76a27d4f606cac7455e88dccea38f29f826b2806d2ac131db3"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::state::scoped_roots (cyclomatic 20): lore_revision::state::scoped_roots 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":"lore-revision/src/state.rs"},"region":{"startLine":8540}}}],"partialFingerprints":{"codehealthFindingId/v1":"748cc15ce464e64cc0e543933c11fd0fa4265e423cb47adb277b8408e3e89c21"}},{"ruleId":"D1","level":"warning","message":{"text":"FuseFilesystem::create_node (cyclomatic 19): FuseFilesystem::create_node 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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6b97acddbac46b78a9366c075ddddd035275c4aebc72951e8eaabfbf8e4866"}},{"ruleId":"D1","level":"warning","message":{"text":"MountWalk::weigh (cyclomatic 19): MountWalk::weigh 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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"78548e9b633f86647df3f691d61f98baa21c2a4025f355cd223de0db4d18939d"}},{"ruleId":"D1","level":"warning","message":{"text":"MovePairing::pair_target_moves (cyclomatic 19): MovePairing::pair_target_moves 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":"lore-revision/src/revision.rs"},"region":{"startLine":2064}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3be7fb8dcd14b59c67fd5f75f6f356182f427584a507c4e5124369dbec0969"}},{"ruleId":"D1","level":"warning","message":{"text":"StageDescent::descend (cyclomatic 19): StageDescent::descend 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":"lore-revision/src/stage.rs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea8af25ba428dbad9b03797e3a6dc3c4da91feda802d3fb54ff33d8da6003c0"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::branch::check_restore (cyclomatic 19): lore_revision::branch::check_restore 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":"lore-revision/src/branch.rs"},"region":{"startLine":2606}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30b99e271f51b1c77a9e3539f1a76c5b5f8a1986f5e60aa5e7ab6b84eabc23e"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::branch::create::create (cyclomatic 19): lore_revision::branch::create::create 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":"lore-revision/src/branch/create.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"444e7a87c522636e36ccc66bebb4f6f89de043deddc170d6864a0598f05c18f4"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::branch::merge::merge_into (cyclomatic 19): lore_revision::branch::merge::merge_into 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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":5951}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa0e5b5b3e79a44dcb6ab4ebef16e2f835133a71d14bc24a9611ed115d8d206"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::commit::settle_below_returned (cyclomatic 19): lore_revision::commit::settle_below_returned has cyclomatic complexity 19 (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":"lore-revision/src/commit.rs"},"region":{"startLine":3917}}}],"partialFingerprints":{"codehealthFindingId/v1":"d216de9d469adba924b539bed9ffe58680c0033cd9ef53c017daa6bf610d9d40"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::commit::weave_history (cyclomatic 19): lore_revision::commit::weave_history 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":"lore-revision/src/commit.rs"},"region":{"startLine":5630}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40db9bf9e0bf28b6535bb469f2ff1f30219f20a39bdc3067eaa234eaee0e950"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::file::history::find_start_revision (cyclomatic 19): lore_revision::file::history::find_start_revision 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":"lore-revision/src/file/history.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"5190e7cc90ac1ff1ed5de5e625fea62e1f21a8808c638328b39ebf5a0844ac9a"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::file::reset::reset_walk_named_path (cyclomatic 19): lore_revision::file::reset::reset_walk_named_path 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":"lore-revision/src/file/reset.rs"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d816dd0a7c4156d254b3f5da4f09ce12c8c15684bc18c58f64a5a90a1b5bd07"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::fs::fuse::swap::plan_path (cyclomatic 19): lore_revision::fs::fuse::swap::plan_path 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":"lore-revision/src/fs/fuse/swap.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41ff8dfda9c48810c174405516812a138e5e57306aac9be6e49651f319b455c"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::fs::hold::add_reset_paths (cyclomatic 19): lore_revision::fs::hold::add_reset_paths 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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"34eb5f6cb9d9625418e3be981bb20a6eb600117b2cf4077e98167e268cbe4854"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::fs::realize::stage_merged_file (cyclomatic 19): lore_revision::fs::realize::stage_merged_file 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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4718}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34937abfdde30bf49772e85504acbb36e4cd2cb8755171b01b920920efffe30"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::projfs::serve::serve (cyclomatic 19): lore_revision::projfs::serve::serve 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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a451c4c4a5a57c0bdd992f630efd1521608117b63dc7df93ed7b9388da65336d"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::repository::store::immutable_query_address (cyclomatic 19): lore_revision::repository::store::immutable_query_address 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":"lore-revision/src/repository/store.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f023d2533e7a50b4df8cecfea6e939394b9aac34013ee6addbf5a7f752882ba"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::revision::info::info (cyclomatic 19): lore_revision::revision::info::info 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":"lore-revision/src/revision/info.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"230db9dff0f47aca3fa856e31bc72307136e049db3c263fe05a34acc961e8d50"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::stage::resolve_case_variant_collisions (cyclomatic 19): lore_revision::stage::resolve_case_variant_collisions 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":"lore-revision/src/stage.rs"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdadd797a154e5a3c9cd09906d8adb628ed6d23373e01e3a0388cc8579d7aedf"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::state::os_diff::handle_single_file_compare_result (cyclomatic 19): lore_revision::state::os_diff::handle_single_file_compare_result 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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc2ceb4c06fee0c4957203316b20a635944c80ee91b5ddd361b759c2a82873d"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_server::grpc::revision::v1::revision_list::walk_revisions (cyclomatic 19): lore_server::grpc::revision::v1::revision_list::walk_revisions 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":"lore-server/src/grpc/revision/v1/revision_list.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5268af27fdcf0650ef62d14e7b1213019e7d1fe6a8675393489ed1ded11f8d"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalImmutableStore::new_claimed (cyclomatic 19): LocalImmutableStore::new_claimed 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":2274}}}],"partialFingerprints":{"codehealthFindingId/v1":"866a48972be2aeffd20db776e0eb0a43b3f99dc9f8d03ba73f87e0e0ea0fe21a"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalImmutableStore::compact_packfiles (cyclomatic 19): LocalImmutableStore::compact_packfiles 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":4301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced59d6255e42e0942b24f16b9e191020945a5be12febc516824f0fd44e866aa"}},{"ruleId":"D1","level":"warning","message":{"text":"StoreLock::acquire_at_gate (cyclomatic 19): StoreLock::acquire_at_gate 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":"lore-storage/src/local/store_lock.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ab79bdbf79cb03b492fb06e12c96282bf957d25ca972e084ebec0d465b2584"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_storage::read::write_root_to_file (cyclomatic 19): lore_storage::read::write_root_to_file 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":"lore-storage/src/read.rs"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be44ceeb356bab29095f98bd44f867374f4c7f598c00854e6fbb97ae8198191"}},{"ruleId":"D1","level":"warning","message":{"text":"FuseFilesystem::committed (cyclomatic 18): FuseFilesystem::committed has cyclomatic complexity 18 (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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":3750}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1431e10c71046f1cd08fa52f605d882490212c15a909a5e67a7212846d88da"}},{"ruleId":"D1","level":"warning","message":{"text":"Directories::restore_directories (cyclomatic 18): Directories::restore_directories has cyclomatic complexity 18 (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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0392fbcb809d47921d556da503a25a49f1378d5ef9df520a6a0037936b6a6fc1"}},{"ruleId":"D1","level":"warning","message":{"text":"RevisionMetadata::from_metadata (cyclomatic 18): RevisionMetadata::from_metadata 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":"lore-revision/src/revision.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d5e057ff62f7f86d94f2b11c8487103ddc21d5f1d0cafc8f682204ae8f275e"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordedModifiedTimes::store (cyclomatic 18): RecordedModifiedTimes::store 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":"lore-revision/src/state.rs"},"region":{"startLine":10353}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6320faadfd3fa85128e4e27b32e2905e1871db65be4bf80c473eeb3a1fdc97"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::branch::delete (cyclomatic 18): lore_revision::branch::delete 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":"lore-revision/src/branch.rs"},"region":{"startLine":3949}}}],"partialFingerprints":{"codehealthFindingId/v1":"a885a8c1e4adf057482beb3d3e285985375667741e3fd6c088426203878a9dc1"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::branch::merge::merge_start_all (cyclomatic 18): lore_revision::branch::merge::merge_start_all 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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"628f8bb52c27d520b9a760d85a8cc744c7b972b81f429e6116df27a84c9d3abd"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::instance::instance_delete_with (cyclomatic 18): lore_revision::instance::instance_delete_with 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":"lore-revision/src/instance.rs"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"1272c7391dfffb9596c342a1bc67b85e2d2bc68da881745b639cf7d6b266f22e"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::lock::file::acquire::acquire (cyclomatic 18): lore_revision::lock::file::acquire::acquire 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":"lore-revision/src/lock/file/acquire.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c0346eeb6280c0623c90e1167bb23a709cbf196f5e5f573c8332584d5f7a66"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::revision::join_target_walk (cyclomatic 18): lore_revision::revision::join_target_walk 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":"lore-revision/src/revision.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfac2421bf1d90ee503b9ecd7774bbf52922ac5aee72a97921312e37a20ae2b"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::revision::find_last_merged_revision (cyclomatic 18): lore_revision::revision::find_last_merged_revision 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":"lore-revision/src/revision.rs"},"region":{"startLine":2509}}}],"partialFingerprints":{"codehealthFindingId/v1":"8872df3771faa470072927dbcd7c9e5a916c81aadabfac387892c9e89c641a67"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::stage::stage_single_node (cyclomatic 18): lore_revision::stage::stage_single_node 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":"lore-revision/src/stage.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8757b08dfab1590c0e16ba880e06544705edcc702480e2e11d793ff652e316"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::stage::collect_link_groups (cyclomatic 18): lore_revision::stage::collect_link_groups 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":"lore-revision/src/stage.rs"},"region":{"startLine":5004}}}],"partialFingerprints":{"codehealthFindingId/v1":"d263cee371a38238f25752712b874c58151e5854de3097db0d457464533ee658"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::state::gather_tree_paths_node (cyclomatic 18): lore_revision::state::gather_tree_paths_node 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":"lore-revision/src/state.rs"},"region":{"startLine":7761}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd04250099398b757be4c5b8f9573bc738f48369c2c0459951924ca7eadc6e98"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::state::verify_node_name_case_impl (cyclomatic 18): lore_revision::state::verify_node_name_case_impl 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":"lore-revision/src/state.rs"},"region":{"startLine":10866}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c0209ca24f29f0da2afe9171c981d6f2aad22b5ef56b996e7a71871979d2b8"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::state::node::discard::free_below (cyclomatic 18): lore_revision::state::node::discard::free_below 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":"lore-revision/src/state/node/discard.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"8390181945ab79349c06213f21984a7c6ca918459eb2d931119c350dae840816"}},{"ruleId":"D1","level":"warning","message":{"text":"lore::revision_tree::delete::plan (cyclomatic 17): lore::revision_tree::delete::plan 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":"lore/src/revision_tree/delete.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9eeca17e00aa0576172c30a50dcc7fbfafcaa91a818a1e890ecff4335743df"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_client::cli::commands::repository::handle_repository_instance_clone (cyclomatic 17): lore_client::cli::commands::repository::handle_repository_instance_clone 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. This is NOT this file\u0027s highest cyclomatic complexity: lore_client::cli::commands::repository::handle_repository_commands (cyclomatic 18) 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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"02539956626450f49456c1322dcc1b26369ce419f2ae952f01e4f6b118493ccb"}},{"ruleId":"D1","level":"warning","message":{"text":"FuseFilesystem::push_dirents_plus (cyclomatic 17): FuseFilesystem::push_dirents_plus 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":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":3081}}}],"partialFingerprints":{"codehealthFindingId/v1":"e570ee6efdce81b8d7a98863916acdeca9a9aadf27b129ab431d4eb20cbefef0"}},{"ruleId":"D1","level":"warning","message":{"text":"State::move_named (cyclomatic 17): State::move_named 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":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dffa2ad1efa9ecc9425d6bf3009b61bd48427dbea7595f23c39c5605c41049"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::branch::diff::diff (cyclomatic 17): lore_revision::branch::diff::diff 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":"lore-revision/src/branch/diff.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"19064e68f9a0613f9276363fb4ffa0b9ff674656cba3ae8dfa6c2b52c0de6f75"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::branch::merge::resolve_merge_source (cyclomatic 17): lore_revision::branch::merge::resolve_merge_source 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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f76da561ac21da844179da51f235d9eb454405720cb2a5619ca92c94b86c439"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::branch::push::collect_unpushed_history (cyclomatic 17): lore_revision::branch::push::collect_unpushed_history 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":"lore-revision/src/branch/push.rs"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"013596f03e06354b99f24555b6dd526c7415714601b21e7977f08ecca120e1be"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::branch::push::push_query (cyclomatic 17): lore_revision::branch::push::push_query has cyclomatic complexity 17 (threshold 15). Of this number, 15 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":"lore-revision/src/branch/push.rs"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7982f409de6a3544c06ce57a53ce7b64fe43d287191171cf900bc2d99371663b"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::fs::realize::realize_file_merge (cyclomatic 17): lore_revision::fs::realize::realize_file_merge 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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4332}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbc25baf338bbbafcc32b7b3d87b2bfead46fc4eb1548a60603ff81fb7b49ff"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::layer::find_revision_match (cyclomatic 17): lore_revision::layer::find_revision_match 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":"lore-revision/src/layer.rs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fd9047e1872bad9834c3164c2ba1ed0da1c522c05be4f7583356becf777e6a"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::repository::clone::clone (cyclomatic 17): lore_revision::repository::clone::clone 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":"lore-revision/src/repository/clone.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"30673343e589b70d1c6a7e43939f0450096d6c9ce889c66f8b827bc3e3e3c2f9"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::state::os_diff::diff_filesystem_missing_nodes (cyclomatic 17): lore_revision::state::os_diff::diff_filesystem_missing_nodes 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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5ebff98f00fab21f6d63ab2ce1966834ede38f1dbbe1f585815de80aa9203b"}},{"ruleId":"D1","level":"warning","message":{"text":"ImmutableStoreBucket::deserialize_file_content (cyclomatic 17): ImmutableStoreBucket::deserialize_file_content 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd451a2c01ade1d7d07c5dc305a042ebdec5ad1d90e2044464c4ea62c798a389"}},{"ruleId":"D1","level":"warning","message":{"text":"ImmutableStoreGroup::flush_delayed (cyclomatic 17): ImmutableStoreGroup::flush_delayed 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb66d7ff54f3e33d73ef86f49cfa0771f93a48771a5df2d7d0d267202fd333a"}},{"ruleId":"D1","level":"warning","message":{"text":"server.verifySubjectToken (cyclomatic 17): server.verifySubjectToken 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":"contrib/oidc/exchange/server.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9f8ee8d7da641bcd04ded5cff8f13ecd573cebc7d43e00e0d92aca7609114a"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataMigrator::process_fragment (cyclomatic 16): MetadataMigrator::process_fragment 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":"lore-aws/src/store/immutable_store/metadata_migrator.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa50604ba476c219beed73563566b10f60930593a292f7cbe03f0700748d85cc"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataMigrator::fragment_stream_consumer (cyclomatic 16): MetadataMigrator::fragment_stream_consumer 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":"lore-aws/src/store/immutable_store/metadata_migrator.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d07a2a6e2464e970fbd50cde841ac1c63a68ae8a724008bd4adc69cce4e3eed"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_client::cli::commands::auth::handle_info_command (cyclomatic 16): lore_client::cli::commands::auth::handle_info_command 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":"lore-client/src/cli/commands/auth.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a20c6318d701ba4ed33b47f63a5e2d09319aeb4e131280b488f4964861549b"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_fuse::dispatch::answer_deferred (cyclomatic 16): lore_fuse::dispatch::answer_deferred 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":"lore-fuse/src/dispatch.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfda570db3892a20b1670484aa77533ee4c214215fe8080f38fb70e15f6bfb0d"}},{"ruleId":"D1","level":"warning","message":{"text":"State::serialize_keeping (cyclomatic 16): State::serialize_keeping 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":"lore-revision/src/state.rs"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3a8feaf232437f96ef265bf095e783cf6ce68132eaea647f20571ce91e974f"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::branch::try_auto_resolve_conflict (cyclomatic 16): lore_revision::branch::try_auto_resolve_conflict 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":"lore-revision/src/branch.rs"},"region":{"startLine":4929}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c871801218927f1556fc37b0c883fac2bda9229643e1bd8ceec2ccd2f0fc4e"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::branch::find_ancestor_walker (cyclomatic 16): lore_revision::branch::find_ancestor_walker 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":"lore-revision/src/branch.rs"},"region":{"startLine":5820}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa665c7c0c148e5a0c88071e5461a03c21a476ed2de36ae16511ba6d17f0920d"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::commit::prepare_commit_metadata (cyclomatic 16): lore_revision::commit::prepare_commit_metadata 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":"lore-revision/src/commit.rs"},"region":{"startLine":6115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fe57c6ee903262d98a7e94cce4b91c71f5cfe54be8af80b2c36bc654773ee5"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::file::obliterate::impact::snapshot_affected (cyclomatic 16): lore_revision::file::obliterate::impact::snapshot_affected 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":"lore-revision/src/file/obliterate/impact.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a74ab86c7c1a3039d00fd8a418213aa80596203248dc03be0fdc23a6b546a1"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::fs::hold::removal_loses (cyclomatic 16): lore_revision::fs::hold::removal_loses 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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df9c3757cfd175bf16ad9cd44a5045f26c1a1ad5e5782aee3daa91614e0af68"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::repository::verify::verify_node_single (cyclomatic 16): lore_revision::repository::verify::verify_node_single 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":"lore-revision/src/repository/verify.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"512ab33b6bc8a54f3e908aa6fca63b36c649a848e19876fa36a69d88fe7493ff"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::revision::resolve_revision (cyclomatic 16): lore_revision::revision::resolve_revision 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":"lore-revision/src/revision.rs"},"region":{"startLine":3226}}}],"partialFingerprints":{"codehealthFindingId/v1":"2689e89bf46602686e2f63dc893654791ca923a86ada9eec7af1c4fd975c4fae"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::stage::stage_from_parent_state (cyclomatic 16): lore_revision::stage::stage_from_parent_state 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":"lore-revision/src/stage.rs"},"region":{"startLine":5453}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09ae18cf377a9de6d48a2166a7e9004fc9bd84a17ba2ba28cdf70cc3fb65b52"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::state::collect_dirty_paths_linked (cyclomatic 16): lore_revision::state::collect_dirty_paths_linked 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":"lore-revision/src/state.rs"},"region":{"startLine":7229}}}],"partialFingerprints":{"codehealthFindingId/v1":"119687e5d34ca27b8cdec3e00e8fd956e5c3887dce94f4c2588e968fb7b77c62"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_revision::state::apply_tree_changes (cyclomatic 16): lore_revision::state::apply_tree_changes 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":"lore-revision/src/state.rs"},"region":{"startLine":12081}}}],"partialFingerprints":{"codehealthFindingId/v1":"add265363645d3cb6a335a7ee709ae5a7313250dd4dc3715bb2fe8594afb0c1b"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_server::grpc::thinclient::v1::revision_diff::run_three_way (cyclomatic 16): lore_server::grpc::thinclient::v1::revision_diff::run_three_way 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":"lore-server/src/grpc/thinclient/v1/revision_diff.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"004748ffec37e892b74f27ed71526f3d3834b3c2dd024a1f66dfb67f60327e4e"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_storage::defragment::walk_intermediate_level (cyclomatic 16): lore_storage::defragment::walk_intermediate_level 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":"lore-storage/src/defragment.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"32df5938a049976caacb1e1da5f8693c7d2d8c27bfd124b666a71095d1bdaca3"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_storage::read::read_into (cyclomatic 16): lore_storage::read::read_into 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":"lore-storage/src/read.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23be0b4565f6b2cb1eaca957a6a1270ba3f87da4ec59cf8e3cd1f56ddf4c8b0"}},{"ruleId":"D1","level":"warning","message":{"text":"lore_storage::write::file_matches (cyclomatic 16): lore_storage::write::file_matches 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":"lore-storage/src/write.rs"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b975401750a29b556a65f64d843fa77eaa3ded5d121d59f591739d23a93e8e0"}},{"ruleId":"D2","level":"warning","message":{"text":"State::reattach (cognitive 132): State::reattach has cognitive complexity 132 (threshold 15). Drivers by points: if/else 36 (95 pts), match/switch 8 (20 pts), boolean chains 16, loops 1 (nesting depth added 71). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"0055399c846401642c245cf3a7057d34bcec4c0d9e40fd11174abedae3441cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMutableStore::flush_all (cognitive 117): LocalMutableStore::flush_all has cognitive complexity 117 (threshold 15). Drivers by points: if/else 24 (81 pts), loops 5 (14 pts), match/switch 3 (12 pts), boolean chains 10 (nesting depth added 75). 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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5318b30bcd94c3de3eb3276f0716be2ca844d38920e0a0686ad9e96636e67e1"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::realize::verify_filesystem (cognitive 107): lore_revision::fs::realize::verify_filesystem has cognitive complexity 107 (threshold 15). Drivers by points: if/else 39 (92 pts), boolean chains 8, match/switch 2 (4 pts), loops 1 (3 pts) (nesting depth added 57). 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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d532890a3f67c85993a510cab4e7cde2b5696b011d2254d5edee99de526458c"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::stage::stage_node_from_metadata (cognitive 103): lore_revision::stage::stage_node_from_metadata has cognitive complexity 103 (threshold 15). Drivers by points: if/else 49 (85 pts), boolean chains 9, match/switch 6 (9 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/stage.rs"},"region":{"startLine":3269}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cf481909ba346ec9c1eb202548e1353a11573149057b39eb4ed851a2c67e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::projfs::serve::get_directory_enumeration_async (cognitive 95): lore_revision::projfs::serve::get_directory_enumeration_async has cognitive complexity 95 (threshold 15). Drivers by points: if/else 30 (77 pts), loops 5 (13 pts), boolean chains 5 (nesting depth added 55). 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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b7403beaf5aaa2ef0fc4e011f6135fde403e9ac38f411ccae08fa4bbab0e5b"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::diff::add_change_for_paired_nodes (cognitive 94): lore_revision::state::diff::add_change_for_paired_nodes has cognitive complexity 94 (threshold 15). Drivers by points: if/else 30 (71 pts), boolean chains 16, match/switch 2 (7 pts) (nesting depth added 46). 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":"lore-revision/src/state/diff.rs"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cb86190e59fd72989fba33a062efd8eafeb19dcc06a01dfc3ac9fa24b204bb"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::local::immutable_store::flush_locked_group (cognitive 90): lore_storage::local::immutable_store::flush_locked_group has cognitive complexity 90 (threshold 15). Drivers by points: if/else 24 (61 pts), boolean chains 11, loops 3 (9 pts), match/switch 3 (9 pts) (nesting depth added 49). 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6806}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8664b8329e9422430e5f4e0d058dd35a84c998c89762a54888a3bf0b34c9856"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::status::status (cognitive 88): lore_revision::repository::status::status has cognitive complexity 88 (threshold 15). Drivers by points: if/else 33 (62 pts), loops 5 (11 pts), boolean chains 10, match/switch 3 (5 pts) (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":"lore-revision/src/repository/status.rs"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b3e2b0fcdc7540236762547528e5d9dbff8921487d22af1716915766b83d4f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::revision::sync::sync (cognitive 87): lore_revision::revision::sync::sync has cognitive complexity 87 (threshold 15). Drivers by points: if/else 43 (64 pts), boolean chains 16, match/switch 5 (7 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":"lore-revision/src/revision/sync.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ad91d02cd561c23add0955bc01f45fc33eb2a727285274aec4a8b2a5a4710d"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::stage::stage_directory (cognitive 85): lore_revision::stage::stage_directory has cognitive complexity 85 (threshold 15). Drivers by points: if/else 17 (45 pts), match/switch 10 (31 pts), loops 6 (9 pts) (nesting depth added 52). 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":"lore-revision/src/stage.rs"},"region":{"startLine":2583}}}],"partialFingerprints":{"codehealthFindingId/v1":"de98b1ab668c9facf662934ceb2dd3a4cc9605612cd316f4c45ee2315ca0b372"}},{"ruleId":"D2","level":"warning","message":{"text":"State::served_mark_from (cognitive 83): State::served_mark_from has cognitive complexity 83 (threshold 15). Drivers by points: if/else 23 (59 pts), match/switch 5 (15 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/node/mark.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"c528156b9dde113fdebb51eaf9dacb4d0e14b6dabc299ce6627c4134bc4673ad"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::verify (cognitive 75): LocalImmutableStore::verify has cognitive complexity 75 (threshold 15). Drivers by points: if/else 17 (53 pts), loops 7 (19 pts), boolean chains 3 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":5958}}}],"partialFingerprints":{"codehealthFindingId/v1":"a150e270eb7e67cd1c6d0f2c020ba6cbbda546176e3f061524869b73850a70d6"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::repository::handle_repository_status (cognitive 74): lore_client::cli::commands::repository::handle_repository_status has cognitive complexity 74 (threshold 15). Drivers by points: if/else 37 (60 pts), loops 5 (9 pts), boolean chains 4, match/switch 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3e69ba0ddac346f66bf563cfc0e2598d49128f5c132302fb576eba42b0bfc4"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::branch_switch_target (cognitive 72): lore_revision::repository::branch_switch_target has cognitive complexity 72 (threshold 15). Drivers by points: if/else 33 (64 pts), match/switch 2 (5 pts), boolean chains 3 (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":"lore-revision/src/repository.rs"},"region":{"startLine":4226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41e4abae53562dfc2773d0a4600c566a3fbca33c6e33498e9a050270dda3c83"}},{"ruleId":"D2","level":"warning","message":{"text":"SerialChunking::resolve_into (cognitive 72): SerialChunking::resolve_into has cognitive complexity 72 (threshold 15). Drivers by points: if/else 19 (62 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 46). 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":"lore-transport/src/quic/chunking.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e30a09dff4761ad5aac26fce98892266f4b34ba7a2da40dcc7012d7067403d"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::realize::realize_changes_delete (cognitive 66): lore_revision::fs::realize::realize_changes_delete has cognitive complexity 66 (threshold 15). Drivers by points: if/else 21 (53 pts), match/switch 2 (8 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 40). 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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":3200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7b7ce02d27837de80484734766c7c7bd8db086c36254d83c4963cad7ee29d8"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::store_entry (cognitive 66): LocalImmutableStore::store_entry has cognitive complexity 66 (threshold 15). Drivers by points: if/else 24 (51 pts), boolean chains 11, loops 2 (4 pts) (nesting depth added 29). 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":3113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd98bbe53b80511b4e0148bde4089d3662c88c853c6ac6f8af7c62155b6e7ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::verify_fragment_held (cognitive 66): LocalImmutableStore::verify_fragment_held has cognitive complexity 66 (threshold 15). Drivers by points: if/else 20 (44 pts), boolean chains 11, loops 4 (6 pts), match/switch 3 (5 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6383}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f47045151e04b19f796d6f3b53227c4442ab2a7c51c0deaa8b8b0e5ff2ea60e"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::open_repository (cognitive 63): lore_revision::repository::open_repository has cognitive complexity 63 (threshold 15). Drivers by points: if/else 35 (45 pts), boolean chains 10, match/switch 7 (8 pts) (nesting depth added 11). 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":"lore-revision/src/repository.rs"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"4870e4ee5cedf0d2beda64d5d3337d12c967a06ec251f28edaa0f7d20efee67c"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::stage::stage_from_parent_revision_in_operation (cognitive 62): lore_revision::stage::stage_from_parent_revision_in_operation has cognitive complexity 62 (threshold 15). Drivers by points: if/else 33 (52 pts), loops 4, boolean chains 3, match/switch 1 (3 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":"lore-revision/src/stage.rs"},"region":{"startLine":4473}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b8078d6c3865b5d7a2019e6cb514a53c716dbd8eba6b7be5609bed073c5991"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::layer_branch_switch (cognitive 61): lore_revision::repository::layer_branch_switch has cognitive complexity 61 (threshold 15). Drivers by points: if/else 14 (35 pts), match/switch 4 (16 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 38). 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":"lore-revision/src/repository.rs"},"region":{"startLine":4493}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f81af1928ece396f67378068d586ab2a7e85c23d0ef5330cd2b399690de623"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::unstage::unstage_node (cognitive 58): lore_revision::file::unstage::unstage_node has cognitive complexity 58 (threshold 15). Drivers by points: if/else 31 (48 pts), boolean chains 10 (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":"lore-revision/src/file/unstage.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"892a9ef3b3c2c1a4ed909d4da2a1e5348bdacef2a38194eb1c628f6438807042"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::immutable::cache_through (cognitive 58): lore_revision::immutable::cache_through has cognitive complexity 58 (threshold 15). Drivers by points: loops 10 (27 pts), if/else 9 (20 pts), boolean chains 6, match/switch 2 (5 pts) (nesting depth added 31). 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":"lore-revision/src/immutable.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc6ac7736f8bb7ab2f7257676b8106011f3a2d883095b2cfb71fdca5f08748e"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::clone::process_block_item (cognitive 58): lore_revision::repository::clone::process_block_item has cognitive complexity 58 (threshold 15). Drivers by points: if/else 13 (45 pts), boolean chains 6, match/switch 2 (6 pts), loops 1 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/clone.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4bcf5f92090d0b8dbdb7b86a1b2f38f6038b0d9dfffc8436aa52cc55abdaab"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::revision::find_last_merged_revision (cognitive 55): lore_revision::revision::find_last_merged_revision has cognitive complexity 55 (threshold 15). Drivers by points: if/else 21 (50 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 30). 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":"lore-revision/src/revision.rs"},"region":{"startLine":2509}}}],"partialFingerprints":{"codehealthFindingId/v1":"479d80df2db5d1afe9dbb56c04d40881d23eae7c4da53098cebf8dd392d6c2c4"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_fuse::dispatch::dispatch_request (cognitive 53): lore_fuse::dispatch::dispatch_request has cognitive complexity 53 (threshold 15). Drivers by points: match/switch 24 (47 pts), if/else 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 25). 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":"lore-fuse/src/dispatch.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd3d3c7e138a94207f944f06361277d51ee5d8fc1257d96e0fda0863cfbeb56"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::revision::diff3_with_source_cap (cognitive 53): lore_revision::revision::diff3_with_source_cap has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (28 pts), loops 11 (14 pts), match/switch 3 (6 pts), boolean chains 5 (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":"lore-revision/src/revision.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94e0c3fe21497add278bdd470ae6879acb3ba0b7896b0a06bc5c22cc3f53877"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::revision::info::info (cognitive 53): lore_revision::revision::info::info has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (42 pts), boolean chains 4, match/switch 1 (4 pts), loops 1 (3 pts) (nesting depth added 32). 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":"lore-revision/src/revision/info.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff65691b859d56b8e8da244e0f635b268a5bb3983e99a2280b28d415eefa6c2f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::write::leader_body (cognitive 53): lore_storage::write::leader_body has cognitive complexity 53 (threshold 15). Drivers by points: if/else 27 (40 pts), boolean chains 9, match/switch 2 (4 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":"lore-storage/src/write.rs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e19d046b081e51a431dc518a41d08bfa6ed049700a3cf0b4964f65bdc29a41"}},{"ruleId":"D2","level":"warning","message":{"text":"lore::revision_tree::move_node::plan_entries (cognitive 52): lore::revision_tree::move_node::plan_entries has cognitive complexity 52 (threshold 15). Drivers by points: if/else 17 (31 pts), match/switch 4 (13 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/revision_tree/move_node.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66cd792135263ef040582a2a2a4582efd2b673803467e676d179b6d7e1ebcee"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::realize::realize_change_modify_add (cognitive 51): lore_revision::fs::realize::realize_change_modify_add has cognitive complexity 51 (threshold 15). Drivers by points: if/else 19 (38 pts), boolean chains 11, 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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":3944}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae557dbfa07249a823214257419f46f5e3c7a44cb3b6db80d3d8d66f44d3bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::stage::stage_filesystem_path (cognitive 49): lore_revision::stage::stage_filesystem_path has cognitive complexity 49 (threshold 15). Drivers by points: if/else 26 (41 pts), boolean chains 6, match/switch 1 (2 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":"lore-revision/src/stage.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d2f965d8ffc21bf1530b8f03358a91c375374bc719f073e853f16001dead35"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::server::async_main (cognitive 49): lore_server::server::async_main has cognitive complexity 49 (threshold 15). Drivers by points: if/else 27 (35 pts), boolean chains 8, loops 2 (3 pts), match/switch 3 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb6dabeeb7c6568f8c1aebcc82b36b15c26d746a0cfeb534162dab80cb368c4"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::weave_history (cognitive 48): lore_revision::commit::weave_history has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (40 pts), loops 3 (7 pts), boolean chains 1 (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":"lore-revision/src/commit.rs"},"region":{"startLine":5630}}}],"partialFingerprints":{"codehealthFindingId/v1":"032c6f42367bef62adf9006ae68fd3cee2dbfd06bcad9a97930483b91f8b093d"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_transport::connection::connect_impl (cognitive 48): lore_transport::connection::connect_impl has cognitive complexity 48 (threshold 15). Drivers by points: if/else 21 (36 pts), match/switch 5 (8 pts), boolean chains 3, loops 1 (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":"lore-transport/src/connection.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"d131e80603e3f4e342ea798c29f82911a798f80f7585daa0b4992dcdf131d3e3"}},{"ruleId":"D2","level":"warning","message":{"text":"lore::revision_tree::add::plan_entries (cognitive 47): lore::revision_tree::add::plan_entries has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (28 pts), match/switch 5 (17 pts), boolean chains 1, loops 1 (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":"lore/src/revision_tree/add.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"c975a45d811a4cb7221912e3ba62d5e024769c0b508ce6558cda7005b71db1d9"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::fuse::swap::swap_through (cognitive 47): lore_revision::fs::fuse::swap::swap_through has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (24 pts), loops 10 (14 pts), match/switch 4 (6 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":"lore-revision/src/fs/fuse/swap.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"546636288208c916319e2ef48183a201aa56f6fff429ca8ed18a034ceb4def6e"}},{"ruleId":"D2","level":"warning","message":{"text":"State::attach_child (cognitive 45): State::attach_child has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (27 pts), match/switch 6 (15 pts), boolean chains 2, loops 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":"lore-revision/src/state/node/attach.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"7379b78726d2cb47e78a15785a42cdf91eec4b3cdc415dc94b7fcd854e4fd849"}},{"ruleId":"D2","level":"warning","message":{"text":"State::node_discard_pending (cognitive 45): State::node_discard_pending has cognitive complexity 45 (threshold 15). Drivers by points: if/else 8 (21 pts), match/switch 5 (14 pts), loops 3 (6 pts), boolean chains 4 (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":"lore-revision/src/state/node/pending.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f7d9ec1f7d424f9c41e94a003336fbd81b702f33f2fc0e11761d3708655387"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::commit_staged_with_layers (cognitive 45): lore_revision::commit::commit_staged_with_layers has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 14, match/switch 3 (5 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"918633d30863c631d183b169fc19bb96c47cbbae5cda1c845e515914e3a74b5b"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::diff::emit_diff3_changes (cognitive 45): lore_revision::file::diff::emit_diff3_changes has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (35 pts), match/switch 2 (5 pts), boolean chains 4, 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":"lore-revision/src/file/diff.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fedff02bdabc7d6286ce12111f83d6624e56a946691eb56d5473ea4d7b7af60"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::reset::reset_walk_directory (cognitive 45): lore_revision::file::reset::reset_walk_directory has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (29 pts), match/switch 7 (11 pts), boolean chains 3, loops 2 (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":"lore-revision/src/file/reset.rs"},"region":{"startLine":2921}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1df9a26d8f01aeb13b5a4f7cc8f3bc3b5396f43588adb1b611fedbb12b3523"}},{"ruleId":"D2","level":"warning","message":{"text":"State::collect_dirty_paths_linked (cognitive 44): State::collect_dirty_paths_linked has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (36 pts), boolean chains 5, loops 2 (3 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":"lore-revision/src/state.rs"},"region":{"startLine":5131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9143de114e057f8fed3375c71881a623aa1e4a1257143bc1d685e7bfcd521d87"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::os_diff::diff_filesystem_directory_walk (cognitive 44): lore_revision::state::os_diff::diff_filesystem_directory_walk has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (27 pts), match/switch 4 (9 pts), boolean chains 6, loops 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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"08697e299ea6ecba3da4a6646a45726e77c1addf85374e1543aa59e19032722a"}},{"ruleId":"D2","level":"warning","message":{"text":"StageDescent::descend (cognitive 43): StageDescent::descend has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (33 pts), match/switch 2 (7 pts), boolean chains 2, loops 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":"lore-revision/src/stage.rs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"7829f99caaf2a17fb11fbcbd6cf540c5b1e476153c4676ea08e7c4e248fa0701"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::obliterate::impact::snapshot_affected (cognitive 42): lore_revision::file::obliterate::impact::snapshot_affected has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (36 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 25). 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":"lore-revision/src/file/obliterate/impact.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee865e913480124ef64a9d386716acfd58b48a26a66ec390b18620dca0dc59c"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::link::classify_link_pin (cognitive 41): lore_revision::link::classify_link_pin has cognitive complexity 41 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 11, match/switch 5 (8 pts) (nesting depth added 7). 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":"lore-revision/src/link.rs"},"region":{"startLine":3079}}}],"partialFingerprints":{"codehealthFindingId/v1":"55926684f56a5bee1c46b48e204cb7d21ae73373f5a4d55f77b26c36347f6946"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::group_verify_store (cognitive 41): LocalImmutableStore::group_verify_store has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (29 pts), match/switch 2 (8 pts), loops 2 (3 pts), boolean chains 1 (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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":4660}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ef3e7763134500e68f0f1446be1702cb3fdc90d0f51c82521beb1826fb50d3"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::read::write_root_to_file (cognitive 41): lore_storage::read::write_root_to_file has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (29 pts), match/switch 2 (6 pts), loops 2 (4 pts), boolean chains 2 (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":"lore-storage/src/read.rs"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"c306635dc5a6b807eb745b89e74592237412a722642cc9ed6f5840117e6d51eb"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::revision::handle_revision_info (cognitive 40): lore_client::cli::commands::revision::handle_revision_info has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 4 (12 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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bc1a0712c8804376f9673df367c41ccf56804df1f13f5919539612512798b7"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::lookup_in (cognitive 40): FuseFilesystem::lookup_in has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (21 pts), match/switch 4 (12 pts), boolean chains 6, loops 1 (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":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fbd5eb1fbd39102fdff305ebdde286b4b9dedd3948230a52bf456af215dc20"}},{"ruleId":"D2","level":"warning","message":{"text":"State::detach_child (cognitive 40): State::detach_child has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 6, match/switch 3 (6 pts), loops 1 (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":"lore-revision/src/state/node/detach.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8d10c86c3523e72b556560ca986fce26f5b9dc5583625347434498a4576087"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::stage::resolve_case_variant_collisions (cognitive 40): lore_revision::stage::resolve_case_variant_collisions has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 6 (13 pts), match/switch 1 (2 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":"lore-revision/src/stage.rs"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f94376551fb8674931c573f7c4d11139d1d1e08a15ceefaa02fcd55bfe7a9de"}},{"ruleId":"D2","level":"warning","message":{"text":"content_tabs._render_group (cognitive 40): content_tabs._render_group has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 5 (7 pts), boolean chains 5, ternaries 1 (2 pts) (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":"docs/assets/hooks/content_tabs.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5510f2f175028cfafe8360885198f8ef64f34010c66957a9d34b43941df535a"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::dirty::dirty_path (cognitive 39): lore_revision::file::dirty::dirty_path has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 11, match/switch 1 (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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a334ed72737490e83bf57503329579ef9517bbc730070d9acf82de1c53098f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::stage::collect_link_groups (cognitive 39): lore_revision::stage::collect_link_groups has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (29 pts), match/switch 2 (6 pts), loops 3 (4 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":"lore-revision/src/stage.rs"},"region":{"startLine":5004}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd497d638e5ef2f967f91d6b6ce6a0793d853613a53367a3a6b064945c96e105"}},{"ruleId":"D2","level":"warning","message":{"text":"State::block_deserialize (cognitive 38): State::block_deserialize has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20 (36 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":"lore-revision/src/state.rs"},"region":{"startLine":3065}}}],"partialFingerprints":{"codehealthFindingId/v1":"9867786a45d2a12de7248027b0fb800d746a47c00e1e8464a29449e1b765fb1d"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::find_ancestor_walker (cognitive 38): lore_revision::branch::find_ancestor_walker has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (31 pts), match/switch 2 (4 pts), loops 2, 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":"lore-revision/src/branch.rs"},"region":{"startLine":5820}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4c756a442620cc81199f50d4705ef13045908d11199cb65181a977011ea567"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::gone_directories (cognitive 38): lore_revision::commit::gone_directories has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 6 (9 pts), boolean chains 5, match/switch 1 (3 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":"lore-revision/src/commit.rs"},"region":{"startLine":3626}}}],"partialFingerprints":{"codehealthFindingId/v1":"09276ab2d64596c43d2f2774f652a4e8893e0643d3875b810f6284cfeb1c5ac5"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::lock::file::release::release (cognitive 38): lore_revision::lock::file::release::release has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (27 pts), loops 6 (10 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":"lore-revision/src/lock/file/release.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"31995ea46d91c09dcc75de5509a49a7a8aca964f9e211288ac66091dc5ec850b"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::evict_oldest (cognitive 38): LocalImmutableStore::evict_oldest has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (26 pts), loops 3 (5 pts), boolean chains 4, 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":4090}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5e7a91bcd2e8ca04a4e8d32879905159a1e5e0bcfef8b15436f70cbfae1219"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::push_dirents_plus (cognitive 37): FuseFilesystem::push_dirents_plus has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (27 pts), match/switch 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":3081}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d25d6d12da7aa45ed08dcb9c87086b0a48ed6113b77670fd7c5a49196cf00c"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::push::collect_unpushed_history (cognitive 37): lore_revision::branch::push::collect_unpushed_history has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (3 pts) (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":"lore-revision/src/branch/push.rs"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df1cbdf68ece46dd52e8a7ad1a6c444ba6d0bd0a464b1cd3ca8143f693836c2"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::diff::emit_unified_diffs (cognitive 37): lore_revision::file::diff::emit_unified_diffs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 4, 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":"lore-revision/src/file/diff.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"916293830ec477f58d6b5e79574d8908016db3099d2c524777822bc1d6970ec8"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::reset::reset_walk_named_path (cognitive 37): lore_revision::file::reset::reset_walk_named_path has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (28 pts), match/switch 4 (8 pts), boolean chains 1 (nesting depth added 18). 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":"lore-revision/src/file/reset.rs"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fba97fa99484ad50c150e4df5378feba5f2334a20a7a18241ba04a0ad3453e5"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::create::create_with_metadata (cognitive 37): lore_revision::repository::create::create_with_metadata has cognitive complexity 37 (threshold 15). Drivers by points: if/else 27 (34 pts), boolean chains 3 (nesting depth added 7). 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":"lore-revision/src/repository/create.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"525578e3bfca57bcb685389c182d701275382ed51b35e88ec1b06b26868fb530"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::verify_node_name_case_impl (cognitive 37): lore_revision::state::verify_node_name_case_impl has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 3 (4 pts), boolean chains 3, match/switch 1 (3 pts) (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":"lore-revision/src/state.rs"},"region":{"startLine":10866}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f6d9808b19bab93ab3ec85a3953e403265283bd0948de3fb9f42f5b799d2fb"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::os_diff::diff_filesystem_new_entries (cognitive 37): lore_revision::state::os_diff::diff_filesystem_new_entries has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (35 pts), boolean chains 1, loops 1 (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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":2949}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c730b0dfe7d75fd5846d6063086c7d2f2e025c883ca4841815173abdaeb5725"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::grpc::revision::v1::revision_list::walk_revisions (cognitive 37): lore_server::grpc::revision::v1::revision_list::walk_revisions has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 4, loops 2 (4 pts) (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":"lore-server/src/grpc/revision/v1/revision_list.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a8e921687e3c18edf3479b0a35c8d8c2e63e49085cf0bb584e450b3086961e"}},{"ruleId":"D2","level":"warning","message":{"text":"State::serialize_keeping (cognitive 36): State::serialize_keeping has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 2 (7 pts), loops 2 (4 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":"lore-revision/src/state.rs"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d745383450dea6d60b70df7915f317ae52cef9621cf750a1db88e2f3d08e404"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::layer::find_revision_match (cognitive 36): lore_revision::layer::find_revision_match has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/layer.rs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6ad5db3f68e58df2907eeb3446ad8f1fd10c1b1d2ef9bf5c5ee82053751672"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::hold::add_reset_paths (cognitive 35): lore_revision::fs::hold::add_reset_paths has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (25 pts), boolean chains 6, loops 3 (4 pts) (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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"20937ba2db5d61e14c0813376e82dac123ef80a7654779fc1f22d45a0482e612"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::node::discard::free_below (cognitive 35): lore_revision::state::node::discard::free_below has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 4 (11 pts), loops 4 (7 pts), boolean chains 1 (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":"lore-revision/src/state/node/discard.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"437539e088a04e8791424540d3c4f3c6f8b702423d6006fab157857c1e16437d"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::revision::resolve_layer_messages (cognitive 34): lore_client::cli::commands::revision::resolve_layer_messages has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (8 pts), match/switch 1 (4 pts), boolean chains 2 (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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ee907598c30ad4a34b524bd94c61a70c8ed0eb80acf13cd553cca32f3807a6"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseMountManager::unmount_all (cognitive 34): FuseMountManager::unmount_all has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 5, match/switch 3 (5 pts), 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":"lore-revision/src/fs/fuse/mount_manager.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0c75ef4223e24a5b881de4a1c2749247f0235359059bce2eca61307cef3d24"}},{"ruleId":"D2","level":"warning","message":{"text":"State::node_clear (cognitive 34): State::node_clear has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (22 pts), match/switch 4 (8 pts), boolean chains 3, 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":"lore-revision/src/state/node/clear.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"7740b6f7259467960e662c1554777d785d1c470c82cfae221848077d9126a9fd"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::revision::restore::restore (cognitive 34): lore_revision::revision::restore::restore has cognitive complexity 34 (threshold 15). Drivers by points: if/else 22 (27 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision/restore.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f70b15443df6ee706047b0d30bac9a51944db7178bdef56468b36417c20fc55"}},{"ruleId":"D2","level":"warning","message":{"text":"ImmutableStoreGroup::flush_delayed (cognitive 34): ImmutableStoreGroup::flush_delayed has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (28 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 19). 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c9828c0ebc91e4a4b13669efe0a54f15a3f45304fedf3a3b3d793ee3f2c41e"}},{"ruleId":"D2","level":"warning","message":{"text":"MutableStoreBucket::send_keys (cognitive 34): MutableStoreBucket::send_keys has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (9 pts), boolean chains 2 (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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4609574257be2acdde3fe1f53358242a069ed4ef945e53b946a2d2127013eef"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::read::fetch_single_flight (cognitive 34): lore_storage::read::fetch_single_flight has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (28 pts), match/switch 2 (5 pts), loops 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":"lore-storage/src/read.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2374679f870a8581ffb4d00b33fb1a870014d5847c91b376de9f327b4095dd5"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::branch::handle_branch_push (cognitive 33): lore_client::cli::commands::branch::handle_branch_push has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 4, match/switch 1 (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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb70e8af01507c8e86c692f9ebbbfa8cc1f2d7d9e911cf4aec8ddc4115d0ee4"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::rename_onto (cognitive 33): FuseFilesystem::rename_onto has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (19 pts), match/switch 5 (8 pts), boolean chains 6 (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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":3046}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d340ca1e1b7fb54c80b38d5892e430847091648065175fd61258c0ffb153116"}},{"ruleId":"D2","level":"warning","message":{"text":"Directories::place (cognitive 33): Directories::place has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 4, match/switch 3 (4 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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d9b688fc13e5e1eec5ffc2b504f8dac871c2186a62957a14650b1b8e15f003"}},{"ruleId":"D2","level":"warning","message":{"text":"State::node_free_pending (cognitive 33): State::node_free_pending has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 3 (6 pts), match/switch 1 (4 pts), boolean chains 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":"lore-revision/src/state/node/pending.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c39fdfea013224a1962b67d6f347bd32ffbebe18a9bc09a1815edf7757f43c"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::create::create (cognitive 33): lore_revision::branch::create::create has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 4 (9 pts), boolean chains 3 (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":"lore-revision/src/branch/create.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e196a2cefb3f264815fb9f9b38e96d4923f4950278a5743a224129fda86b10"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::freeze_directory (cognitive 33): lore_revision::commit::freeze_directory has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 2 (3 pts), boolean chains 2 (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":"lore-revision/src/commit.rs"},"region":{"startLine":7278}}}],"partialFingerprints":{"codehealthFindingId/v1":"318cbabce2b2f8d4e95af07a306d70a878f9b9c79fbadd0ad725432f02ac2609"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::realize::merge_file_in_view (cognitive 33): lore_revision::fs::realize::merge_file_in_view has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (29 pts), match/switch 1 (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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4514}}}],"partialFingerprints":{"codehealthFindingId/v1":"293a2ad26303ab29d3fb1066d91ac578f416c36a1036050f8b20a954e3ce252c"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::projfs::serve::serve (cognitive 33): lore_revision::projfs::serve::serve has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 1, 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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fca57ab4702c65f12dba2875b135ab6c9ce8ce360a34623a588d53c058e95d"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::collect_fragments (cognitive 33): lore_revision::state::collect_fragments has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 11 (12 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":"lore-revision/src/state.rs"},"region":{"startLine":11237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37e3b352e59c990049fa60ef59e9716a459e84df550fbe80ded69aed260b9ae"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_transport::quic::response_reader::read_response (cognitive 33): lore_transport::quic::response_reader::read_response has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 2 (3 pts), match/switch 1 (2 pts), boolean chains 1 (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":"lore-transport/src/quic/response_reader.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edc936f338273f5b1478be4bbfbda8dccaeaba8f310908d2098bbcc07b7dd1f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::reset::purge_untracked_children (cognitive 32): lore_revision::file::reset::purge_untracked_children has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 3 (6 pts), boolean chains 5, loops 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/reset.rs"},"region":{"startLine":3223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7b9de69199c308623d32ddd5bc2d80a9f1c395566447a7fe5d0fdfdcd9cbf4"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalLockStore::query_locks (cognitive 32): LocalLockStore::query_locks has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 5 (10 pts), boolean chains 4, match/switch 1 (nesting depth added 16). 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":"lore-server/src/lock/store.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64a683bfe8de6f3828b9c8be68f7234018e7017c5823bf729b80936e397c7c5"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::write::compare_previous_chunks (cognitive 32): lore_storage::write::compare_previous_chunks has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (26 pts), match/switch 2 (5 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":"lore-storage/src/write.rs"},"region":{"startLine":2468}}}],"partialFingerprints":{"codehealthFindingId/v1":"63eb30ecf098122f8b3fba685bce5571750545f684be2bfdc0f72d406aea209c"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDbLockStore::unlock_resources (cognitive 31): DynamoDbLockStore::unlock_resources has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 2 (4 pts), match/switch 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":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71a3f439f9f92264189df781587dcec07339cdb4c463155d0f47fc35d27d170"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::try_auto_resolve_conflict (cognitive 31): lore_revision::branch::try_auto_resolve_conflict has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20 (30 pts), match/switch 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":"lore-revision/src/branch.rs"},"region":{"startLine":4929}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f82313dfef85615bbfa3648fb858dd29a166c8d84e6703cd9b251c9a1b7ac0f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::commit_gone (cognitive 31): lore_revision::commit::commit_gone has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (15 pts), loops 5 (7 pts), match/switch 3 (6 pts), boolean chains 3 (nesting depth added 6). 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":"lore-revision/src/commit.rs"},"region":{"startLine":2900}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4ec9e5e8fea565335ae5866e1238ea52ee1d0a84a6b5673cb96364617ba762"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::hold::fill_in (cognitive 31): lore_revision::fs::hold::fill_in has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 2 (5 pts), boolean chains 3, loops 2 (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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99f1238b0a203e348fbbb9718207399daf386966993018d248415dcd73f6d7f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::link::add::add (cognitive 31): lore_revision::link::add::add has cognitive complexity 31 (threshold 15). Drivers by points: if/else 21 (27 pts), boolean chains 3, match/switch 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/link/add.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af5951b40fe13082a71e2cbf6300d08a034d7c527951038fe630f2f05415322"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::os_diff::handle_single_file_compare_result (cognitive 31): lore_revision::state::os_diff::handle_single_file_compare_result has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 4, match/switch 1 (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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b20824f583ade5db8e069ee1f26c1d9402f4b1043cb01f0b88f6b8343bf57a"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::os_diff::diff_filesystem_missing_nodes (cognitive 31): lore_revision::state::os_diff::diff_filesystem_missing_nodes has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 4, 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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a25ca20494a807781510b00a38e276c44a1059a9a22c90e15fef3f45a855a95"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::fragment_engine::write_fragmentlist_impl (cognitive 31): lore_storage::fragment_engine::write_fragmentlist_impl has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 3 (10 pts), loops 2 (4 pts), boolean chains 2 (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":"lore-storage/src/fragment_engine.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7c82971fcf99df8e4bb5aa44d16708c1b41ae28fc6fd140de269a1e4ae9a76"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::file::handle_file_history (cognitive 30): lore_client::cli::commands::file::handle_file_history has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 2, 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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c6c64e04811055fd548ba74a45f6ce8ed33b4d3c31ec63b78d1be744626860"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::diff::diff (cognitive 30): lore_revision::branch::diff::diff has cognitive complexity 30 (threshold 15). Drivers by points: if/else 19 (27 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":"lore-revision/src/branch/diff.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"867a71a1439532077813e39a946aed673fd697365f119e00eeaaa022f23db166"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::settle_below_returned (cognitive 30): lore_revision::commit::settle_below_returned has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 7 (9 pts), match/switch 3 (8 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":"lore-revision/src/commit.rs"},"region":{"startLine":3917}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3523410d37cc44bd80a235fb0bb189efe1e4f91143e898f67b5c356a41bf29"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::stage::stage (cognitive 30): lore_revision::file::stage::stage has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 8, loops 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":"lore-revision/src/file/stage.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f8d8e94a0328544ba0bfd5e540de31608372e609a50d9e8f5c67d4a4846998"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::hold::removal_loses (cognitive 30): lore_revision::fs::hold::removal_loses has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 5, 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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdececeee07aa3e30d841517ca0a4539f7bdb4380fb2782f8ac928a858ee3f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::instance::instance_delete_with (cognitive 30): lore_revision::instance::instance_delete_with has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 3 (7 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/instance.rs"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e40a671a79dd05be33dfa08d2c2a84a057dd9fdd3d60e926613ebd69bff9cd"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::apply_tree_changes (cognitive 30): lore_revision::state::apply_tree_changes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (21 pts), match/switch 2 (5 pts), boolean chains 2, loops 2 (nesting depth added 16). 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":"lore-revision/src/state.rs"},"region":{"startLine":12081}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b63c236e15d9a7c50c9a7c6b0b73f91237f7ecd1528018b59c3de6773c1216"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::node::discard::detach_exclusive (cognitive 30): lore_revision::state::node::discard::detach_exclusive has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (25 pts), match/switch 2 (3 pts), loops 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":"lore-revision/src/state/node/discard.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdeaae36d146e6645ac9351118ade699740db09003cad5cf70f8d5b79eba91eb"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::setattr_node (cognitive 29): FuseFilesystem::setattr_node has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 5, match/switch 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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b293ce1b09c64c1761a883947dc206c64e7e874a6e9dd53b5d1b796a73bc35"}},{"ruleId":"D2","level":"warning","message":{"text":"MovePairing::pair_source_moves (cognitive 29): MovePairing::pair_source_moves has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 3, 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":"lore-revision/src/revision.rs"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25a73cb9b3e5a08621b9cb55a5a495a861348fce6808234489ffedbbe76b4e9"}},{"ruleId":"D2","level":"warning","message":{"text":"State::move_named (cognitive 29): State::move_named has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (22 pts), match/switch 2 (4 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":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"751bf4a0be58624d1be94561382ec693c35a87131979601999a0946a6523ec8f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::merge::resolve_merge_source (cognitive 29): lore_revision::branch::merge::resolve_merge_source has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 4, 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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d890f9bc63a8e5b5325026661936a6348206ec1ade99c158135f0339fe99a84"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::info::info_path (cognitive 29): lore_revision::file::info::info_path has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 3, 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":"lore-revision/src/file/info.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ee09131fa390fa672236226cc7ba4daa98d086006950ce0146a83f38d552fa"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::realize::realize_file_merge (cognitive 29): lore_revision::fs::realize::realize_file_merge has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (25 pts), match/switch 1 (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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4332}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5d227138ec33265e2cc3bc03c8df09e65516989458426abc2e6b07fdc6af11"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::projfs::serve::get_file_data_async (cognitive 29): lore_revision::projfs::serve::get_file_data_async has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (25 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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f3c74cbae6c74a06439579bc70ee8a941faeb49223b2bd27d00921a98ae464"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::stage::stage_single_node (cognitive 29): lore_revision::stage::stage_single_node has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 1, match/switch 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":"lore-revision/src/stage.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cc3e90975ca6417cfa70ddb92094902b65f4a0a4b8cd93262bf0c0aaecacb9"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::collect_dirty_paths_linked (cognitive 29): lore_revision::state::collect_dirty_paths_linked has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 3, 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":"lore-revision/src/state.rs"},"region":{"startLine":7229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e871bf1ea06f95ea2bf44730a4d3bdab5325fa208e1288a608205a5b697925f3"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::walk_hierarchy (cognitive 29): lore_revision::state::walk_hierarchy has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (20 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 2 (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":"lore-revision/src/state.rs"},"region":{"startLine":12509}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad804622c8addab95642c83c25bfc042a3bccd82160b5d45562ac7ad6efc83c4"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::grpc::thinclient::v1::revision_tree::emit_tree_stream (cognitive 29): lore_server::grpc::thinclient::v1::revision_tree::emit_tree_stream has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 3 (7 pts), loops 2 (3 pts) (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":"lore-server/src/grpc/thinclient/v1/revision_tree.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce1048b8765055b6e55c187e1303882716d2778c4ab06ff0027d6d2bd2177f8"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::lookup (cognitive 29): LocalImmutableStore::lookup has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 1 (nesting depth added 19). 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce277237ba20e9b0c7ae757d767b79e39fec7ebeb6350dd480cfd11c11c71602"}},{"ruleId":"D2","level":"warning","message":{"text":"Directories::restore_directories (cognitive 28): Directories::restore_directories has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 4 (11 pts), loops 2 (3 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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c748ca0ce295cb04031e27835a092ae72e8a9fe71023bc91752a46c00fad07a9"}},{"ruleId":"D2","level":"warning","message":{"text":"State::node_move_staged (cognitive 28): State::node_move_staged has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19, boolean chains 9. 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":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f4e16c00dc672bf2978d020eaf0bcdd786068acfaea4d095794ed2a6941184"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordedModifiedTimes::store (cognitive 28): RecordedModifiedTimes::store has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 6 (11 pts), boolean chains 2, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state.rs"},"region":{"startLine":10353}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b3123407db57ec2ec897cb27f66716a8b20698a9bc51d1240c28aa11b50ee7"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::merge::merge_start_all (cognitive 28): lore_revision::branch::merge::merge_start_all has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 3, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch/merge.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8bc4bd3af22627f2cfc15ccda7f8687ecf275a4bfd864e20a3c079da3afa92"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::rehash_directory (cognitive 28): lore_revision::commit::rehash_directory has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 2 (4 pts), boolean chains 3, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":5287}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9a57822867259925b3db1e6595e098f81e0398efa2960e28634db2176f8bf5"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::stage::stage_move (cognitive 28): lore_revision::file::stage::stage_move has cognitive complexity 28 (threshold 15). Drivers by points: if/else 22 (24 pts), boolean chains 4 (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":"lore-revision/src/file/stage.rs"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b1115e5fac5548907f685db45893287b4b3f65c864e5a1cea7ccf6db6b1c83"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::revision::resolve_revision (cognitive 28): lore_revision::revision::resolve_revision has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 4 (9 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision.rs"},"region":{"startLine":3226}}}],"partialFingerprints":{"codehealthFindingId/v1":"835f5227e81861f6d7c6c5ea7fd2b8a981784acdd7be97d17db3b8b57165b160"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::revision::history::history (cognitive 28): lore_revision::revision::history::history has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 3, loops 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":"lore-revision/src/revision/history.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8127d7f6524195c6df5c2409503a3cb2288bbb404c338f7b1d552c97204c019"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::gather_tree_paths_node (cognitive 28): lore_revision::state::gather_tree_paths_node has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (19 pts), match/switch 3 (6 pts), boolean chains 3 (nesting depth added 7). 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":"lore-revision/src/state.rs"},"region":{"startLine":7761}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc506b008e4879b47fcc169c0a79e6c8a6190747d08c57dc7da45114e1c5dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::util::fs::filesystem_path_and_info (cognitive 28): lore_revision::util::fs::filesystem_path_and_info has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (24 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":"lore-revision/src/util/fs.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d805cf8ecf945bf153f1aaa2f35a4a66ae26b861a46410046a2aaa71928ae417"}},{"ruleId":"D2","level":"warning","message":{"text":"ServedTree::children (cognitive 27): ServedTree::children has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 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":"lore-revision/src/fs/swfs/served_tree.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba0807ff3f3585747dd2930344da20c9079024e1704830c7aa7dbe8dab39fb5"}},{"ruleId":"D2","level":"warning","message":{"text":"MovePairing::pair_target_moves (cognitive 27): MovePairing::pair_target_moves has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 6, match/switch 2 (5 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision.rs"},"region":{"startLine":2064}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b3697fb2a4381e457ceed1b71547b0d249fb1fe5d80d19db60654c72aea767"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::delete (cognitive 27): lore_revision::branch::delete has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 2 (4 pts), boolean chains 3, 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":"lore-revision/src/branch.rs"},"region":{"startLine":3949}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a2f7d00b62c57a81715b5b03f3811c9cd2ec29409493ba8be06a4faa9728d3"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_error_set_macro::codegen::to_snake_case (cognitive 27): lore_error_set_macro::codegen::to_snake_case has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-error-set-macro/src/codegen.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcea1629eceb895c44c559258d6cbc61bc41647fa744e415755fa03fcbfe4840"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::revision::handle_revision_history (cognitive 26): lore_client::cli::commands::revision::handle_revision_history has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (5 pts), boolean chains 2, 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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd655aaa9724211f8c4ab351408036df57944b656259af8d32e9596ce7a05b7"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::revision::resolve_link_messages (cognitive 26): lore_client::cli::commands::revision::resolve_link_messages has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (6 pts), match/switch 1 (4 pts), boolean chains 2 (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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ed27a7b11e9602a59840b3b48d3c41326b7aaf4ea6ada64385d3798d88dd05"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::merge::merge_into (cognitive 26): lore_revision::branch::merge::merge_into has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (18 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch/merge.rs"},"region":{"startLine":5951}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4adebde2e420d21cdcff74deb820db7a83df5067206f3357fd645fe9371404d"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::push::push_query (cognitive 26): lore_revision::branch::push::push_query has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (8 pts), boolean chains 4, match/switch 1 (nesting depth added 10). Of this number, 25 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":"lore-revision/src/branch/push.rs"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41c5a53aa1d25a5b210cd3d4ed33681fa5564480ef0db39121d2c60537d83da"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::obliterate::impact::check (cognitive 26): lore_revision::file::obliterate::impact::check has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 4 (7 pts), loops 2 (5 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/obliterate/impact.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbbfb6c048f8eed82236c0bbddf95b5a592c6e7e10e1c983e05e2e8537f9306"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::clone::clone (cognitive 26): lore_revision::repository::clone::clone has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 4, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/clone.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0c32140dfc224124b708e1d4945f77fc817e33a72c422c6c28534efe800bbb"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::store::immutable_query_address (cognitive 26): lore_revision::repository::store::immutable_query_address has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, match/switch 2 (4 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":"lore-revision/src/repository/store.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b16f26bac49a5dc7a623ac31756f344dfe6a1d424a650568bb0dfca46b4e7d"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::stage::stage_link_groups (cognitive 26): lore_revision::stage::stage_link_groups has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 1 (4 pts), loops 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":"lore-revision/src/stage.rs"},"region":{"startLine":5206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3702182fd12b1c631704e236f5d5aba956025cee79b97f4ca87e530451ab74"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::scoped_roots (cognitive 26): lore_revision::state::scoped_roots has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 4 (9 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state.rs"},"region":{"startLine":8540}}}],"partialFingerprints":{"codehealthFindingId/v1":"356393d8d5ce97ed8a051291174be053c2d7dfc4792d6890de440ccd1363c9fc"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::put (cognitive 26): LocalImmutableStore::put has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 9, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":5592}}}],"partialFingerprints":{"codehealthFindingId/v1":"c081dd568a0841fed9a6a775b7f882f540e89a1413a74067a8ef4c5382e431b8"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::read (cognitive 25): FuseFilesystem::read has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 4 (11 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":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":3358}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb3bd2f0f0cb8d6b2df946c24a76ba12831503e3b85ae2e4a7cab90e154cfd1"}},{"ruleId":"D2","level":"warning","message":{"text":"State::node_mark (cognitive 25): State::node_mark has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 2 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/node/mark.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f875f3921b65b244071130df9d0f5a10d2424aad82de15059564432c8cbd364"}},{"ruleId":"D2","level":"warning","message":{"text":"State::walk_children (cognitive 25): State::walk_children has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (3 pts), match/switch 1 (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":"lore-revision/src/state.rs"},"region":{"startLine":4453}}}],"partialFingerprints":{"codehealthFindingId/v1":"120b58dd4c0976bc44acecf65e3f6ee4bb21d6ef0b37f9567d0517b43f8fd18a"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskQueue::new (cognitive 25): TaskQueue::new has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 2 (6 pts), 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":"lore-revision/src/util/task_queue.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0e1fa073c023f9b8330131171e793708be9e16a6656adb27a1ad34d9c9f4ba"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::diff::emit_diff3_conflicts (cognitive 25): lore_revision::file::diff::emit_diff3_conflicts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, match/switch 2 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/diff.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bb38174e1633d141babfcdc0e2b434bb8bd2bac3192bf4dba1ef2cbb6dd29b"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::fuse::fragment_cache::prefetch::serve_stream (cognitive 25): lore_revision::fs::fuse::fragment_cache::prefetch::serve_stream has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 1 (3 pts), boolean chains 1, 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":"lore-revision/src/fs/fuse/fragment_cache/prefetch.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"3988a34b2764155b14175efd7321ae6391ad447deee4584883ccc5c810fe3885"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::lock::file::acquire::acquire (cognitive 25): lore_revision::lock::file::acquire::acquire has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 6 (7 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/lock/file/acquire.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e583e97430ef382d72a53274e00dee81068ecf6abccb783c7ed195bd647f2f71"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::clone::process_block_item_dependency (cognitive 25): lore_revision::repository::clone::process_block_item_dependency has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 3, loops 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":"lore-revision/src/repository/clone.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3f82eb237ab5845891abc80e7017129e07d21502d5f9bfe932276ef5b26b12"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::revision::sync::sync_load_layer_list (cognitive 25): lore_revision::revision::sync::sync_load_layer_list has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 2, 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":"lore-revision/src/revision/sync.rs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8e6a1bb357fc8aa090848f69c48b0eefa4333d3cff2d426f63cb4f99a3e6ed"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::stage::stage_from_parent_state (cognitive 25): lore_revision::stage::stage_from_parent_state has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, loops 3, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/stage.rs"},"region":{"startLine":5453}}}],"partialFingerprints":{"codehealthFindingId/v1":"1187c6065f85bd1b72e1ba45afd72a3d91918a984f17b133dd1daf818cabd841"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::node::clear::walk_stretch (cognitive 25): lore_revision::state::node::clear::walk_stretch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 3 (8 pts), loops 2 (3 pts), boolean chains 2 (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":"lore-revision/src/state/node/clear.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a30e521e9a5bbbca0febb5e5ff7c854b9ff4801c93c95fecb41d719697eabc"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageServiceV4::run_request_handler (cognitive 25): StorageServiceV4::run_request_handler has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 5 (9 pts), boolean chains 2 (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":"lore-server/src/quic/storage_service_v4.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"df759d9364c3677b208525d6508aa4214fe26ed070ee47ffa25bfb67dfc8cff0"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::new_claimed (cognitive 25): LocalImmutableStore::new_claimed has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5, loops 1 (2 pts), match/switch 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":2274}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5ea76ba5a979a6f1439b70791896e8fcaef72d4c0f5192480dca5f23848948"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::find (cognitive 25): LocalImmutableStore::find has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (4 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":3328}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a79150d642bcffb78644b6fc69bd87bd4ae490fc77f3aa762d22e118de096b"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::defragment::walk_intermediate_level (cognitive 25): lore_storage::defragment::walk_intermediate_level has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 2 (4 pts), loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/defragment.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefd3673b4797abf1ce5e7ecebdc7514c62adc3b5a5d3b58d4ca5462b22d6803"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_transport::quic::client::connect_happy_eyeballs (cognitive 25): lore_transport::quic::client::connect_happy_eyeballs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (4 pts), match/switch 1 (2 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":"lore-transport/src/quic/client.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"0808c944c4d655885309bb28a7bb22ad4e57ea0f76372e51def8589dde6745b2"}},{"ruleId":"D2","level":"warning","message":{"text":"lore::revision_tree::delete::plan (cognitive 24): lore::revision_tree::delete::plan has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 3 (4 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":"lore/src/revision_tree/delete.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c7e9180b653902042d27598a3b7aa1b97482e1644e981ff156045bbd4c95c7"}},{"ruleId":"D2","level":"warning","message":{"text":"DependencyData::deserialize (cognitive 24): DependencyData::deserialize has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (3 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":"lore-revision/src/dependency/mod.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fb87a56d7d986c21e2c7842d44ba88ca069c38bbaac2cd6283e314266d287e"}},{"ruleId":"D2","level":"warning","message":{"text":"Directories::remove_node (cognitive 24): Directories::remove_node has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, 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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3971797e2eb2e08801beb041025334e1e9d40caaf82a8c0944585c5490292d9"}},{"ruleId":"D2","level":"warning","message":{"text":"State::restore_below (cognitive 24): State::restore_below has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 2 (4 pts), boolean chains 2, 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":"lore-revision/src/state/node/rewrite.rs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"383081a4c9f042e2e6740ac231adfc4f97d42e302ba8452fde0ce4463479e060"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositeStore::query (cognitive 24): CompositeStore::query has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), match/switch 2 (4 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":"lore-revision/src/store/composite.rs"},"region":{"startLine":1598}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecafb0a7eee9777faf8ca51d885e5c2dce0c205cf78c79866edce5b1145dfa2"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::merge::merge_start (cognitive 24): lore_revision::branch::merge::merge_start has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 1, match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch/merge.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbca8bae41d6a22e955791c063d7bba426c42b9894eac8e649d2ada46b58f44"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::history::find_start_revision (cognitive 24): lore_revision::file::history::find_start_revision has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 2, match/switch 1 (2 pts), loops 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":"lore-revision/src/file/history.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f90e4be131c18122fc163480527805f1fc09acfe961a061c073483ba85c1578"}},{"ruleId":"D2","level":"warning","message":{"text":"Connect::handle_auth (cognitive 24): Connect::handle_auth has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/connect.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f45cc10db8ff15715ad89239e23eb113b0d621a16348ea12c8769ca74c9429a"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::survey_groups (cognitive 24): LocalImmutableStore::survey_groups has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (4 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"232011821f651444a8c0997a1a35b14ae971e894d98bb849acbf83d1950b2ad8"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::compact_packfiles (cognitive 24): LocalImmutableStore::compact_packfiles has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (21 pts), loops 2, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":4301}}}],"partialFingerprints":{"codehealthFindingId/v1":"077d5df9dddc5216db9e9443a7ea9a2f9191849177787e99685dece9eb8e587f"}},{"ruleId":"D2","level":"warning","message":{"text":"SocketWriter::drain (cognitive 24): SocketWriter::drain has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (6 pts), match/switch 1 (3 pts), boolean chains 2 (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":"lore-transport/src/uds/io.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c54852414d8fab5f755d0371e4a637573c13e25f14772644db4fc7913a56f56"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataMigrator::discover_legacy_fragments (cognitive 23): MetadataMigrator::discover_legacy_fragments has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (5 pts), match/switch 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":"lore-aws/src/store/immutable_store/metadata_migrator.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe388193ab1dc5196ba3570a25e7f38bb6a8a642aa8dc5c89d77981951ff212"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::dependency::list::list_file_dependencies (cognitive 23): lore_revision::dependency::list::list_file_dependencies has cognitive complexity 23 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 6 (10 pts), boolean chains 2 (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/dependency/list.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bc472d15c75080c7b7db6ae6f986dd80b3ca36c6f8082e080df158a29a9994"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::create_local (cognitive 23): lore_revision::repository::create_local has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (21 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":"lore-revision/src/repository.rs"},"region":{"startLine":3650}}}],"partialFingerprints":{"codehealthFindingId/v1":"932dcffa750da7b400dc7f47a3b9bb7a970f9580a7a042fbc1808564d2049d0b"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::verify::verify_node_single (cognitive 23): lore_revision::repository::verify::verify_node_single has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 3 (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":"lore-revision/src/repository/verify.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"203fe1f957ee7123422aa504a4519ef62a38e32bc1afecaeafaf4da8f3809e82"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::revision::join_target_walk (cognitive 23): lore_revision::revision::join_target_walk has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, match/switch 2 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3619819c27828aa0a3e921e3a8c06c5e236c6b7c007ce360f1559f6dcf4ce76"}},{"ruleId":"D2","level":"warning","message":{"text":"JwkServiceImpl::fetch_and_publish (cognitive 23): JwkServiceImpl::fetch_and_publish has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 2 (4 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3b6f1525f4616c59e7670c1018cdeaa5261f2cf8d89cc32b34817ca9588862"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositeTopology::refresh_loop (cognitive 23): CompositeTopology::refresh_loop has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 3 (7 pts), loops 4 (6 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":"lore-server/src/topology/composite.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9eae049f81b6412a32dba125e61298f1d7174226aa1540014540249264284e"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::grpc::thinclient::v1::revision_diff::run_three_way (cognitive 23): lore_server::grpc::thinclient::v1::revision_diff::run_three_way has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 3 (5 pts), boolean chains 1, 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":"lore-server/src/grpc/thinclient/v1/revision_diff.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43aa1611b0c86fbeed65d2149556209acee83f887ba5bbff925e416e24ab298"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::deserialize_all_buckets (cognitive 23): LocalImmutableStore::deserialize_all_buckets has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 5 (11 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":2663}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace54c3cfaafeb36585bfd71f918aee7da4f39ccfc7d98392ff645853292d917"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMutableStore::flush_delayed (cognitive 23): LocalMutableStore::flush_delayed has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b4da8d62c9bcbac88c6b60bf3bf453069d0b42cfff6a5c5934b0f694ad597f"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreLock::acquire_at_gate (cognitive 23): StoreLock::acquire_at_gate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, match/switch 3 (5 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/store_lock.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aac5c637c31dc66f06cbb9df32cf2753e3f9926f59bc6c4f7bfb404d39a82b"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::local::immutable_store::detect_any_older_immutable_bucket (cognitive 23): lore_storage::local::immutable_store::detect_any_older_immutable_bucket has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"b873efa73df7f818d8e7106cc31ad4252b3b70e5d552d8bbf74ac84f1a3acdfd"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::local::immutable_store::oodle_migration::migrate_bucket (cognitive 23): lore_storage::local::immutable_store::oodle_migration::migrate_bucket has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/immutable_store/oodle_migration.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d076e9b67a860f9584146c6b6a9cbdba80f8a06d7afe3b679d74e41e898365e3"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataMigrator::fragment_stream_consumer (cognitive 22): MetadataMigrator::fragment_stream_consumer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 2 (5 pts), loops 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":"lore-aws/src/store/immutable_store/metadata_migrator.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5832b67726ac6ef03d91d13aa6eb1e0a6473ca1ee9740b06450e5c5f8e0e022"}},{"ruleId":"D2","level":"warning","message":{"text":"MovePairing::follow_target_directory_moves (cognitive 22): MovePairing::follow_target_directory_moves has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, match/switch 1 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision.rs"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"831c2fdb37de1a3cdce608fa8a74cf66b46da78b4963fc5789f7f5a857ab1032"}},{"ruleId":"D2","level":"warning","message":{"text":"Halves::apply (cognitive 22): Halves::apply has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 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":"lore-revision/src/state/node/mark.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5c40152a77a1d448adbc64cee471bc015cf7ff696b9237f16d9f4e056995ab"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositeStore::get_metadata_from_remotes (cognitive 22): CompositeStore::get_metadata_from_remotes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/store/composite.rs"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c0195d5c1f1032e56ed34548c1142a7935f61c1ebcc4ff26303e29df75a7b4"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::commit_file (cognitive 22): lore_revision::commit::commit_file has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (19 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":"lore-revision/src/commit.rs"},"region":{"startLine":4708}}}],"partialFingerprints":{"codehealthFindingId/v1":"b217be717320a060bf5168198c471f8d604e9d283a4c8a4bcfb44da9180e1a73"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::diff::diff_filesystem_paths_in (cognitive 22): lore_revision::diff::diff_filesystem_paths_in has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 1 (3 pts), boolean chains 2, loops 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":"lore-revision/src/diff.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c3b2dae0cfaafed054bf4237068a43d8d088e6e5297c0cc6536f6950e55b86"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::reset::resolve_last_merged_target (cognitive 22): lore_revision::file::reset::resolve_last_merged_target has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (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":"lore-revision/src/file/reset.rs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa5fbc3de8225a934ddf821a5f86da806324316cef374e24b39e7982dcd49b6"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::history::find_branch_point (cognitive 22): lore_revision::history::find_branch_point has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, 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":"lore-revision/src/history.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb6bdedb023e4d8908c52b26c8d17e6c59559882c58469d397539863717587a"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::link::resolve_link_chain (cognitive 22): lore_revision::link::resolve_link_chain has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 pts), match/switch 1 (3 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":"lore-revision/src/link.rs"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d601062ed3328b174f5c783d1533dae76754732765eb7c7e35b0353b69d193"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::clone::clone_into (cognitive 22): lore_revision::repository::clone::clone_into has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17 (21 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/clone.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d88004938937f94ac0a0b3fa9e43cef6e6d20e7b83a79a338b1376f89f8991"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::revision::find_last_modified_revision (cognitive 22): lore_revision::revision::find_last_modified_revision has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision.rs"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e04b50ef5017bcbd98bde4ff9362c80cb98cfefa0dc90406a7bd7a9d68ed699"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::evict_group_sized (cognitive 22): LocalImmutableStore::evict_group_sized has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 3 (4 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":3786}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a337ee22ec08af47a304a3fa79a8e845bd492dc3a45747bbb992797da190c52"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::compact_group_packfiles (cognitive 22): LocalImmutableStore::compact_group_packfiles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, match/switch 3 (4 pts), loops 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":4509}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd74e860678f881e05103e004c2363e147d697a6827d91c5e61819106f520b3b"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMutableStore::load (cognitive 22): LocalMutableStore::load has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2, 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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"502c3f6a4f5b5ffc2c95a899be14f03799d7baea9e8d5bdaee1e7f6eaf187e57"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::fs_util::unlink_recursive (cognitive 22): lore_storage::fs_util::unlink_recursive has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/fs_util.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42f4721af6905d0f2483f6a1a768026e4ebc0d70ec17b91479aceb5231a9e30"}},{"ruleId":"D2","level":"warning","message":{"text":"ProgressBar::spawn_render_thread (cognitive 21): ProgressBar::spawn_render_thread has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 1 (2 pts), boolean chains 1, loops 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":"lore-client/src/cli/progress_bar.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5af647e84acac82bf8cba8222c4d2222cdb3d7f98812ffd757809b9af9dce7"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::settle_directory (cognitive 21): FuseFilesystem::settle_directory has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 4 (5 pts), loops 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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":4273}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9d8e7fd9c056a89fb1279bbfe94aaadaf89329f3745b938689886aed0e8d03"}},{"ruleId":"D2","level":"warning","message":{"text":"Walk::plan (cognitive 21): Walk::plan has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 1 (4 pts), loops 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":"lore-revision/src/fs/fuse/fragment_cache/prefetch.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"092531426e852af4450eea9e457a0591c6f4c1a070a9547ec58d9d21c85b072e"}},{"ruleId":"D2","level":"warning","message":{"text":"InodeTable::insert_child_if (cognitive 21): InodeTable::insert_child_if has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 3 (10 pts), if/else 5 (8 pts), loops 2 (3 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":"lore-revision/src/fs/fuse/inode.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"7025365a4ed0225a40ad3b605b5ab396f3ae555373864a5d9424b221c2a58c9c"}},{"ruleId":"D2","level":"warning","message":{"text":"MountWalk::weigh (cognitive 21): MountWalk::weigh has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4, match/switch 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, 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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc9362cd7bec80431b8f869988f2005bcf5fb1fe0781e780d5564f5177e9c3b"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositeStore::topology_peers_refreshed (cognitive 21): CompositeStore::topology_peers_refreshed has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/store/composite.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d5536500647cb59739f64a875db3893a020c571cfba11d9c287ba6e187b4f5"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositeStore::copy_implementation (cognitive 21): CompositeStore::copy_implementation has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 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":"lore-revision/src/store/composite.rs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"a119a54e08afd6b004db411ccb943645ad30fa32b151a1107ca48aabea7e4093"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::check_restore (cognitive 21): lore_revision::branch::check_restore has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, match/switch 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":"lore-revision/src/branch.rs"},"region":{"startLine":2606}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5cb906671c05f0814b8e280de9360709d9ce8498b5cbba9d60dd1ea3767a10"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::held_in_other_cases (cognitive 21): lore_revision::commit::held_in_other_cases has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), match/switch 1 (2 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":"lore-revision/src/commit.rs"},"region":{"startLine":4033}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5e6316993562943d0b6ac5b2cdc33192a40ae4a11a4dce1cefc8c57a2653ab"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::fuse::discover::lore_mount_for_path (cognitive 21): lore_revision::fs::fuse::discover::lore_mount_for_path has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (2 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":"lore-revision/src/fs/fuse/discover.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69fc84f993bddb7f491c6ad45ad42f99d98532495e50b6e92ed3f4a512bb62a"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::fuse::filesystem::identity_refresh (cognitive 21): lore_revision::fs::fuse::filesystem::identity_refresh has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, match/switch 2 (3 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":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":3833}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd573f58701d29d0fde930e94e4699b56231dbdd6725d4388944a1a1bf1e6f5"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::status::report_staged_changes (cognitive 21): lore_revision::repository::status::report_staged_changes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 2, 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":"lore-revision/src/repository/status.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f47f0b82902c69e72730562bf63a9909754b92819e391e43419b520df842962"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMutableStore::survey_groups (cognitive 21): LocalMutableStore::survey_groups has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cafb987b9b060a18c55d6d947d2d191e340cb146aad56f109bb79c85ee2607"}},{"ruleId":"D2","level":"warning","message":{"text":"PackStore::store (cognitive 21): PackStore::store has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (20 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":"lore-storage/src/packstore.rs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daac167a6f9ac92716eebfea91680cf6c148c6a8ae03ea8a88daf7cb6ad9c93"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::read::read_into (cognitive 21): lore_storage::read::read_into has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/read.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecf006f5f04571d1732ab448beae14f142b6828a5b43dee82746869e07a2fd5"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameReader::next (cognitive 21): FrameReader::next has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 1 (2 pts), boolean chains 1, loops 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":"lore-transport/src/uds/io.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"017e675a3820912b17daf1e5099c40805eac050ff350aeb95fce3ef1d99f7104"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_transport::quic::client::reconnect (cognitive 21): lore_transport::quic::client::reconnect has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (5 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":"lore-transport/src/quic/client.rs"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4142df15fa12b6454baad43c5a6b77f82543a725c6f9d7a404c727a543192880"}},{"ruleId":"D2","level":"warning","message":{"text":"Staging::evict (cognitive 20): Staging::evict has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3, 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":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0e8f07e562636dbae4a1196f3e26431419bd2d2b85814f725066c0d951efec"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::repository::handle_repository_instance_clone (cognitive 20): lore_client::cli::commands::repository::handle_repository_instance_clone has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 3 (5 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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa6f7664d07507b79aa05ce291224ee834c24c3999ddd3ffb57da61db7d4649"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::revision::handle_revision_commit (cognitive 20): lore_client::cli::commands::revision::handle_revision_commit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 3, boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"867ca4b57044e6d7f93132c1ed4c6cbcb2d0e842f309e41501617cc94aebb0fa"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_io::uring::reaper_loop (cognitive 20): lore_io::uring::reaper_loop has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 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":"lore-io/src/uring.rs"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b06b150f6325801eb5554608ab3b6a0fc869f145bba3a2b5b83c96fd5708a6"}},{"ruleId":"D2","level":"warning","message":{"text":"MountManager::mounts_of_entries (cognitive 20): MountManager::mounts_of_entries has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 5 (13 pts), if/else 1 (4 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/mount_manager.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"318ab23ce97a6b215892b49afeab6f55974f27ac151fa82f1e537c2a262153d2"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositeOperation::next (cognitive 20): CompositeOperation::next has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/store/composite.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82d36c965b1b8d936db9370f4c0ca08e672a7d6bdc755e07fafe220d91d9784"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::prune_dirty_leave (cognitive 20): lore_revision::commit::prune_dirty_leave has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 8 (9 pts), loops 1 (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":"lore-revision/src/commit.rs"},"region":{"startLine":6494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bba83ef6262a6b98a87ab0646a58f618f7e958d0039fb9ce8c2d1cb2ee56ea"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::instance::remove_leftover_clones (cognitive 20): lore_revision::instance::remove_leftover_clones has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 2, 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":"lore-revision/src/instance.rs"},"region":{"startLine":2712}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0dd78a1ef835dc693898b6d99497bca479c816d4d29702def30c5e3d7ce4b7"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::branch_switch (cognitive 20): lore_revision::repository::branch_switch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (18 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":"lore-revision/src/repository.rs"},"region":{"startLine":4057}}}],"partialFingerprints":{"codehealthFindingId/v1":"946c17a5c6378f2ab1a2fe1a444b82f4e1ccf17f88d4a985b75fa2c265cdebb2"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::collect_new_file_fragments (cognitive 20): lore_revision::state::collect_new_file_fragments has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (4 pts), 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":"lore-revision/src/state.rs"},"region":{"startLine":11655}}}],"partialFingerprints":{"codehealthFindingId/v1":"381245a939bf338520b1cd9af635a005c78e5640bf10ad7c10bc0263a443a38b"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalMutableStore::new_claimed (cognitive 20): LocalMutableStore::new_claimed has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 3 (7 pts), loops 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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e1082131b524ebda1e177b9cafef3cfa71633b4cfce778853e5dd26ad8eadc"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::local::mutable_store::maybe_fan_out_mutable_group (cognitive 20): lore_storage::local::mutable_store::maybe_fan_out_mutable_group has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":2337}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65ea9e67aa1dea88c344baa858b34638083acf31c0a2f9cf22e21c6da7e5388"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::write::file_matches (cognitive 20): lore_storage::write::file_matches has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/write.rs"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d22efeccf1cbb8aed2ff259a1b3c5741246fb0e9cb4f49102b1ec0a0ea72b1"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_transport::auth::exchange::auth_exchange_for_identity (cognitive 20): lore_transport::auth::exchange::auth_exchange_for_identity has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 2 (3 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":"lore-transport/src/auth/exchange.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"033a9af7ec415892cd07d8a3d6705328f3f83c0cc32e8b32c06f4c0ad23027cd"}},{"ruleId":"D2","level":"warning","message":{"text":"CasService::get_tree (cognitive 19): CasService::get_tree has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (6 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":"contrib/bazel/crates/rbe-server/src/cas.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0d05c7e2288e8d6305f1240a97231f6a07905f67f974d8e31205a9792702e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataMigrator::process_fragment (cognitive 19): MetadataMigrator::process_fragment has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (5 pts), boolean chains 2, loops 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":"lore-aws/src/store/immutable_store/metadata_migrator.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9ad898fcc6fc5ebaf8fc23034e337363efdb33683541e648d84bb4f4c2248c"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::committed (cognitive 19): FuseFilesystem::committed has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 3 (6 pts), loops 4, 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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":3750}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f296f714fe08569fb5762165f974254b5454fc3c7574668a1a6abdcfd47214"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseDirectoryListing::next_with_untracked (cognitive 19): FuseDirectoryListing::next_with_untracked has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 1 (3 pts), boolean chains 1, loops 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":"lore-revision/src/fs/fuse/operation.rs"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0af3a87e6f439b1a664017f6cb674e1129377b5e4d18b57f67e1650476441b"}},{"ruleId":"D2","level":"warning","message":{"text":"ModifiedTree::rebuild (cognitive 19): ModifiedTree::rebuild has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/swfs/modified_tree.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bff8a1354124f7d67ce70b1c1157a4c874009985a18304e933edebe9dbd34b"}},{"ruleId":"D2","level":"warning","message":{"text":"State::grab_node_slot (cognitive 19): State::grab_node_slot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 1, 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":"lore-revision/src/state/node/slots.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7767f43a25e1e4d585302e5d80c0015fedc4718097517a8546b22754f95037a1"}},{"ruleId":"D2","level":"warning","message":{"text":"State::node_return_to (cognitive 19): State::node_return_to has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, 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":"lore-revision/src/state.rs"},"region":{"startLine":4049}}}],"partialFingerprints":{"codehealthFindingId/v1":"b494d5ce4c2eee09c39a3cc54872a283ac9d808aa054333e64ce26b62b54c6e3"}},{"ruleId":"D2","level":"warning","message":{"text":"State::find_subnode_in (cognitive 19): State::find_subnode_in has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1, loops 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":"lore-revision/src/state.rs"},"region":{"startLine":5305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73bc1c43c90e392bee0ebc47d4613265e8ba98e17b0a6eefdb698770ea29451"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::merge::finalize_main_merge (cognitive 19): lore_revision::branch::merge::finalize_main_merge has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55a7eb0d51034b258de2ab6a57377961734838f19522a54f63e567d55e11559"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::prune_dirty_for_commit (cognitive 19): lore_revision::commit::prune_dirty_for_commit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2, loops 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":"lore-revision/src/commit.rs"},"region":{"startLine":6292}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83ba23821ac0e2b112e11638c170883b05cf534c8b792b10de7f03ee4c47410"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::dependency::store_dependency_data (cognitive 19): lore_revision::dependency::store_dependency_data has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 pts), 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":"lore-revision/src/dependency/mod.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"0584e25fa0db991b14f48ed8c399fe51a08399ea0268e3aed34298d1e9110335"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::dirty::leave_added_directory (cognitive 19): lore_revision::file::dirty::leave_added_directory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (3 pts), match/switch 1 (3 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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"c840a31bd7b1112f91916a86bae85f9864849d2b9541224268128b6712eef8b8"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::realize::stage_merged_file (cognitive 19): lore_revision::fs::realize::stage_merged_file has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 3, match/switch 1 (2 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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4718}}}],"partialFingerprints":{"codehealthFindingId/v1":"9856a3036df5bd97ae476465d7752728ac9a43a43fae62b23a47ebf4bb0945d7"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::history::ask_remote (cognitive 19): lore_revision::history::ask_remote has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, match/switch 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, 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":"lore-revision/src/history.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71f6ac55ea6ad5cf2ca452cdc211034a1851d16c36443e853ced24c46f0321d"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::infer::holds_conflict_markers (cognitive 19): lore_revision::infer::holds_conflict_markers has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). Of this number, 18 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":"lore-revision/src/infer.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3f44f4707dad270f6c98b4a8d844521c159a162a113a6c730f83f0d3f8074f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::link::drain_link_tracker (cognitive 19): lore_revision::link::drain_link_tracker has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3, 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":"lore-revision/src/link.rs"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"8701cdc63edbfdaf483898267dd1f90522f37301f773f118cff0d2591d87e182"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::clone::clone_file (cognitive 19): lore_revision::repository::clone::clone_file has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (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":"lore-revision/src/repository/clone.rs"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f5ce874b9b41d759bb955520129558b6b742597f58f30bb6b71e0e951a2165"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::detect_and_coalesce_moves (cognitive 19): lore_revision::state::detect_and_coalesce_moves has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (5 pts), boolean chains 1, 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":"lore-revision/src/state.rs"},"region":{"startLine":8199}}}],"partialFingerprints":{"codehealthFindingId/v1":"743ddbcef53849896d7d52508c67171d1df2eafac97d592a77ea1fab663b669f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::clear_propagation (cognitive 19): lore_revision::state::clear_propagation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, 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":"lore-revision/src/state.rs"},"region":{"startLine":9388}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee78143f0f4de48bd83b307fb0fff47b73028bf7ff486e2278ae2d82f3e11f8"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::os_diff::diff_filesystem_matched_directory (cognitive 19): lore_revision::state::os_diff::diff_filesystem_matched_directory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eef1bf06754e8815a624a18bce75b8968f54924e25ba2b6e84b28626aa196f7"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::util::fs::resolve_prefixes (cognitive 19): lore_revision::util::fs::resolve_prefixes has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (13 pts), if/else 2 (4 pts), boolean chains 2 (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"lore-revision/src/util/fs.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c87f13714cbb62ebfde307ce5e5c55c51d0995d008095d7f6260f4562dc0d76"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::grpc::handlers::revision_list::walk_revisions (cognitive 19): lore_server::grpc::handlers::revision_list::walk_revisions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), boolean chains 2, 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":"lore-server/src/grpc/handlers/revision_list.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8187e37a81842365c79c4d4d8135bdd349058c3d5c12eda1f5fe92818c9ad50"}},{"ruleId":"D2","level":"warning","message":{"text":"LoreBlobStore::get_batch (cognitive 18): LoreBlobStore::get_batch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 4 (6 pts), 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":"contrib/bazel/crates/rbe-lore/src/lib.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"312e7d19f48591391964eff0432432cb3710ec9878cbd5913fdd868adf11162d"}},{"ruleId":"D2","level":"warning","message":{"text":"lore::auth::emit_local_user_info (cognitive 18): lore::auth::emit_local_user_info has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, 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":"lore/src/auth.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f522f8f3164b25bb79cef024e8ed5b5165283bb2423c18f4fd97f47186fb1e0"}},{"ruleId":"D2","level":"warning","message":{"text":"lore::storage::copy::copy_local (cognitive 18): lore::storage::copy::copy_local has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 4 (8 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":"lore/src/storage/copy.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9926248520f4153e70d5355ca02f37dd19a08713e1238837f60a32f1a0631d48"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_aws::observe_aws_operation_callback (cognitive 18): lore_aws::observe_aws_operation_callback has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 2 (5 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":"lore-aws/src/lib.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c865328f25b32e6d3f04e9a5ff24195e430c5a02453d11bc4c5a08f9b94e2915"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::auth::handle_info_command (cognitive 18): lore_client::cli::commands::auth::handle_info_command has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 7). 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":"lore-client/src/cli/commands/auth.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99aa1fc24de2e2d423aca084ded6263a5d1ee5c2c4b8301fa8319d9a2de9363"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::branch::handle_branch_info (cognitive 18): lore_client::cli::commands::branch::handle_branch_info has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3f164b37b3304f2715cf91f07e04c50e7ffd3f82b842cfdb26a4cbbf047e71"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_credential::token_store::refresh_user_token (cognitive 18): lore_credential::token_store::refresh_user_token has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 3 (6 pts), 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":"lore-credential/src/token_store.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc82ad4d49e7f2a6ca209eef6f326071011665c1086686ec52cb270a7f7f7600"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_fuse::mount::unmount_path (cognitive 18): lore_fuse::mount::unmount_path has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-fuse/src/mount.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f46cf877f4c92dedc5b22972dc6ad0bb35997776f3684810f76fb20e50a063"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::warm_recording (cognitive 18): FuseFilesystem::warm_recording has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 3 (8 pts), loops 3 (5 pts), if/else 1 (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":"lore-revision/src/fs/fuse/prefetch.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0591a437938fca4bfc2a90179ad9dde454b56f668fd7850406c79d6aa1893d"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::create_node (cognitive 18): FuseFilesystem::create_node has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), match/switch 6, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c2fc967c4a53bacfec499406acb181f672c9afaf13ca3ae5448bf54dc58134"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::resident_dir_is_empty (cognitive 18): FuseFilesystem::resident_dir_is_empty has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, 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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":3512}}}],"partialFingerprints":{"codehealthFindingId/v1":"9229fa2942fbf1630be3dc845e453dc6c447f3fc72d8552590d31a2d7d9735cc"}},{"ruleId":"D2","level":"warning","message":{"text":"Settling::settle_file (cognitive 18): Settling::settle_file has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4 (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":"lore-revision/src/state/diff.rs"},"region":{"startLine":2454}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b8d3065447fc209fcff0069c282f12f597676998b2be86001405f562f7c1ee"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeAttribution::finish (cognitive 18): TreeAttribution::finish has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 pts), match/switch 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":"lore-revision/src/state.rs"},"region":{"startLine":7537}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f63b6afc3aae8e97a78613097a45b480217eb39c26531496d11c57ee71552da"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::repin_links (cognitive 18): lore_revision::branch::repin_links has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), match/switch 1 (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":"lore-revision/src/branch.rs"},"region":{"startLine":3673}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff29587aad038e5ccd4d5dc801afe02afb02de272dc6efe22cab166e4847142"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::list_revisions (cognitive 18): lore_revision::branch::list_revisions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, 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":"lore-revision/src/branch.rs"},"region":{"startLine":4643}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f905295b0567e52e44bb58802c55c187ccd4ee645ce72a4db16939e540e6e41"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::find_common_revision_in_history_lines (cognitive 18): lore_revision::branch::find_common_revision_in_history_lines has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch.rs"},"region":{"startLine":5622}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a566fa228681fd4a484d4f75f4b19516c804ddc9d62a39ecd467112e688926b"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::info::calculate_local_size_recurse (cognitive 18): lore_revision::file::info::calculate_local_size_recurse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (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":"lore-revision/src/file/info.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a039a42ace58a645fd4968c17a4ecd0e170d1ffb15b9e535d2752fcf15cf3b"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::reset::reset_walk_node (cognitive 18): lore_revision::file::reset::reset_walk_node has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), 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":"lore-revision/src/file/reset.rs"},"region":{"startLine":2667}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b2264c75468b09b5dfd61835a880db0209ce9e169cd88fd6706bcb76e2a2c6"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::stage::classify_stage_path (cognitive 18): lore_revision::file::stage::classify_stage_path has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, loops 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":"lore-revision/src/file/stage.rs"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"74996ed74802883291c3037e559277ecf0cceb88d194e4556c6dd228c1877ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::fuse::swap::plan_view_change (cognitive 18): lore_revision::fs::fuse::swap::plan_view_change has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2, 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":"lore-revision/src/fs/fuse/swap.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c37eb71248cdc1d24a3114a87e9c1fb71de21105dc27aa731a2c9d5efebc2ff"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::fuse::swap::kept_directories (cognitive 18): lore_revision::fs::fuse::swap::kept_directories has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 3 (6 pts), boolean chains 2, loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/fuse/swap.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f70086414adfac94e664b405f92b2fd7079f69a0c50f53ef8b565c5ad980af3"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::os::unify_refused_rename (cognitive 18): lore_revision::fs::os::unify_refused_rename has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 2, 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":"lore-revision/src/fs/os/mod.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b1830259f57cb85b1340ddce64cf11d2c638ac1ca0e37446335d90093fe743"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::layer::walk_layer_subtree (cognitive 18): lore_revision::layer::walk_layer_subtree has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 1 (3 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":"lore-revision/src/layer.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20d70550a1de27782b14a64ef54b526a9c3c7d2d632cf116f1525348012a253"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::node::attach::publish_private (cognitive 18): lore_revision::state::node::attach::publish_private has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, match/switch 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"lore-revision/src/state/node/attach.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b31ef1a2900093539cd0f7e7d95135a558d4408ffbef654ee6cbaf010b105c"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::os_diff::ensure_scan_dir_chain (cognitive 18): lore_revision::state::os_diff::ensure_scan_dir_chain has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"98071f866454d695442ce2c926d5ca19bc60b9d49dde2f8b586d7f454a3c4295"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::store::mutable::migrate_bucket_initial_to_typed (cognitive 18): lore_revision::store::mutable::migrate_bucket_initial_to_typed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 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":"lore-revision/src/store/mutable.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2394cc4b0322d43ab1482f3f97aff50bbd7ee27d0f5360304f45cb07939c98a4"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamHandler::handle_stream (cognitive 18): StreamHandler::handle_stream has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (5 pts), match/switch 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/stream_handler.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b298a7acb0c7d18d2f5c97f7a56dd46073cc3256a2eb1527d21deae69538bf"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::grpc::handlers::repository_create::repository_create (cognitive 18): lore_server::grpc::handlers::repository_create::repository_create 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":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"552a4e3ddbf705ab4d4559532f2c6da7d9cfbbc209ed4a80c6d912f46cfbb492"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::uds::serve_storage (cognitive 18): lore_server::uds::serve_storage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/uds/mod.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f74a3b47ebe184d60bbe718e53d031aa2f96c44258f1e6f72621bf309ba5fee"}},{"ruleId":"D2","level":"warning","message":{"text":"ImmutableStoreBucket::deserialize_file_content (cognitive 18): ImmutableStoreBucket::deserialize_file_content has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 4, loops 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dfc9567d18194858a920f7c3e35a57c63aaa4beea6554698098e5313ba41df"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::compress::decompress_into (cognitive 18): lore_storage::compress::decompress_into has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 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. This shape REPEATS in the file: one other method here (lore_storage::compress::decompress_into_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":"lore-storage/src/compress.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef04bdd0dec0139b4e1c5146911af41f00ab949e981fd06733094bffa16e6a3"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::compress::decompress_into_slice (cognitive 18): lore_storage::compress::decompress_into_slice has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 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. This shape REPEATS in the file: one other method here (lore_storage::compress::decompress_into) 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":"lore-storage/src/compress.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"f419f24103ffc837fa5d186158ecea785d60a172f2b196afc145c354d505fcfc"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::defragment::read_defragment (cognitive 18): lore_storage::defragment::read_defragment has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3 (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":"lore-storage/src/defragment.rs"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c159db08f5c59f4c4765a34cb9398574d8ed6623a5ec343df2543da0fe06e175"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::local::immutable_store::maybe_fan_out_immutable_group (cognitive 18): lore_storage::local::immutable_store::maybe_fan_out_immutable_group has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 7 (9 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":7075}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df994727aaf82e078048c623ede15ee4b4dbb46ac98fecf8f0b9bc7515535f7"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_storage::read::resolve_root (cognitive 18): lore_storage::read::resolve_root has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (4 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":"lore-storage/src/read.rs"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a98bbbd924b8588ca8d3b28c8cbe4d1f28d90bf014c8953e2b5cda5f6fe746"}},{"ruleId":"D2","level":"warning","message":{"text":"RepositoryService::list (cognitive 18): RepositoryService::list has cognitive complexity 18 (threshold 15). Drivers by points: if/else 2 (8 pts), match/switch 2 (6 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-transport/src/grpc/repository_client.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbafa0b26888287f4bcf1d8da81266fd5cc20fabc743df50348b1db5916fefeb"}},{"ruleId":"D2","level":"warning","message":{"text":"ThresholdSerialChunking::frame_chunk (cognitive 18): ThresholdSerialChunking::frame_chunk has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), boolean chains 3 (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":"lore-transport/src/quic/chunking.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"b665deb87188336f5a92ce4df0a55342de00ba74e70541b246dcc2a09e2f02ad"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsMutableStore::compare_and_swap_typed (cognitive 17): AwsMutableStore::compare_and_swap_typed has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7 (15 pts), if/else 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":"lore-aws/src/store/mutable_store.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d21914e2ca02f30d773e60901ea88c2fded6dc9848f1a4edf5facf5cad0f285"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::branch::handle_branch_list (cognitive 17): lore_client::cli::commands::branch::handle_branch_list has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, match/switch 2 (4 pts) (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c19d68891bfb2f7a68f206afe334b467b4930fcab1767e180e6de3613063d0f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::file::handle_file_diff (cognitive 17): lore_client::cli::commands::file::handle_file_diff has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 2 (5 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cdbad4ba1953e804f92b48005e6b6129da75452cf3bc7e16c99223d83edc59"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_fuse::dispatch::answer_deferred (cognitive 17): lore_fuse::dispatch::answer_deferred has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 9 (17 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":"lore-fuse/src/dispatch.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1287f70eb00633b7fc8f24229cc0d85b9b582c4ecd87bdad1f593ca58786ab"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_io::iocp::reaper_loop (cognitive 17): lore_io::iocp::reaper_loop has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-io/src/iocp.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b3eb6413c5663aa9c57739b20dd0e78466d9635eb41de9367530207c50b219"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterInstance::compile (cognitive 17): FilterInstance::compile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 5, match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/filter.rs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d51e82f292b023db7e241324db7e4376d2aec4ede302ecdd3d39cefcf796a7"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::added_child (cognitive 17): FuseFilesystem::added_child has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, match/switch 6, boolean chains 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":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fa7a44d38f8f934e354ebd551fe7aa1efd1559e55a2185b9e6ba97a97e14dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Listing::build_with (cognitive 17): Listing::build_with has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4, 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":"lore-revision/src/fs/fuse/listing.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"9609be782b25c246ae9585ebcfab37d81ac0ece956b313f2e4a4352f7c599c55"}},{"ruleId":"D2","level":"warning","message":{"text":"Resolver::holds_local_change (cognitive 17): Resolver::holds_local_change has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, loops 2 (3 pts) (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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"402e6241e01ffd6de0ca283a849aa5761ed784ddd9f4118c628bfaa54f0b0593"}},{"ruleId":"D2","level":"warning","message":{"text":"ServedTree::walk (cognitive 17): ServedTree::walk 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":"lore-revision/src/fs/swfs/served_tree.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3cc4dec95bc38614f0ad2974d0cb014debcae5019103ca10476dc1e4d305fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Joined::join (cognitive 17): Joined::join has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 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":"lore-revision/src/revision.rs"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"716c85fc6c95b0fb36bfd1b8b64e9697367f5880e2171c238bdf2cba6e416edd"}},{"ruleId":"D2","level":"warning","message":{"text":"ServedNodes::node_rewrite (cognitive 17): ServedNodes::node_rewrite has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 2 (3 pts), 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":"lore-revision/src/state/node/rewrite.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"23caa705a443b22fe61b6a0f447e84257885977c6a107ae4736bf4106252dff8"}},{"ruleId":"D2","level":"warning","message":{"text":"CompositeStore::get_from_remotes (cognitive 17): CompositeStore::get_from_remotes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/store/composite.rs"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5547bc1ad5ff15326f458436e6469d47d44de5f5449e8c5d14d1acd6aa05b9"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::push::push_local_revision (cognitive 17): lore_revision::branch::push::push_local_revision has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3 (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":"lore-revision/src/branch/push.rs"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c8e0839849d302aef74ce05a8554a271667e1c4023dac0d526047c26d18997"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::finalize_commit (cognitive 17): lore_revision::commit::finalize_commit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2394554bb3be40473a250c74b447a930e3a298635a5ee1ecd40bdb8f50aae9"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::dirty::dirty_relative_paths_in_operation (cognitive 17): lore_revision::file::dirty::dirty_relative_paths_in_operation has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, loops 2, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/dirty.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc7c44a399c3ba8f49d614823d5fc552f02ed20b3b3b1657db00a724e5f8808"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::obliterate::impact::check_branches (cognitive 17): lore_revision::file::obliterate::impact::check_branches has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 1 (3 pts), boolean chains 1, 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":"lore-revision/src/file/obliterate/impact.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"292ba8fbfdd3682acaac3b8aa26e09b0d7e950d4ff3696eca35c05a36c98b78d"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::stage::stage_directory_move (cognitive 17): lore_revision::file::stage::stage_directory_move has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/stage.rs"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5b620774eccdbfed28ae3c8280bdb1136bd9b89e2a192337d05456dcebde59"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::unstage::unstage_directory (cognitive 17): lore_revision::file::unstage::unstage_directory has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 1 (3 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":"lore-revision/src/file/unstage.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7f8ddeadeec99e484210a0f86b4fdc9edfb0f67bef236d7c33df5067ae1761"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::find::find_revision (cognitive 17): lore_revision::find::find_revision 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":"lore-revision/src/find.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bbaff1e9b724cb1af7316395f77d79118527277d789b32c89eb219704a5074"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::hold::apply_passes (cognitive 17): lore_revision::fs::hold::apply_passes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), match/switch 3 (6 pts), boolean chains 2, loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/hold.rs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc89e0330576da512e0dc45ffb6a2fd64ad345d73ef28d9c2c237b9a932f37e"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::instance::reconcile_instances (cognitive 17): lore_revision::instance::reconcile_instances has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, match/switch 1 (2 pts), 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":"lore-revision/src/instance.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"937a4187946b1fa673615cee589d2ad8bc59dd55ae10a676f141abab9e7a01c9"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::projfs::serve::get_placeholder_info_async (cognitive 17): lore_revision::projfs::serve::get_placeholder_info_async has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), 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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea94af9b7ac0eaec3b4e040f552dc13946b53009c239b014d5e2893bc32f5a5a"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::repository::register_instance_and_migrate_anchors (cognitive 17): lore_revision::repository::register_instance_and_migrate_anchors has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository.rs"},"region":{"startLine":3512}}}],"partialFingerprints":{"codehealthFindingId/v1":"88395227e5db16bc10d3859b3677049b515e07347d7bd7e233083c13abce7eaa"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::state::link_mount_work (cognitive 17): lore_revision::state::link_mount_work has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 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":"lore-revision/src/state.rs"},"region":{"startLine":9559}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cd57b51136d8b1bd4141829ea2ba947470a90216f8ebb92de7c308a4096401"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::copy_source_slot (cognitive 17): LocalImmutableStore::copy_source_slot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":2847}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbe9ceb85ac48487403aa1cbcd3eabe514d4e763948264764f22fbbf84d7cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageService::spawn_copy_stream (cognitive 17): StorageService::spawn_copy_stream has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (3 pts), loops 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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea00c1a8638a3fc2e4a4f5b2d639e48bceb81957daa21da7473d3c0c70c1636e"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_transport::auth::exchange::exchange_custom_resource (cognitive 17): lore_transport::auth::exchange::exchange_custom_resource has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (17 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, 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":"lore-transport/src/auth/exchange.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"4432a45265caa0db394d41034f7f22647b3c2369aed80c1c9194a42b509b7c91"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteStreamService::write (cognitive 16): ByteStreamService::write has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, loops 1, 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":"contrib/bazel/crates/rbe-server/src/cas.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc9eadf09b3bb828da7cebbc2c06258555e5a3d0724f708bd651f6cb6f6a824"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_client::cli::commands::repository::handle_repository_verify_fragment (cognitive 16): lore_client::cli::commands::repository::handle_repository_verify_fragment has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (4 pts), loops 1 (2 pts) (nesting depth added 7). 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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2820fee0822d786d0110002b8eddb91ebc718ab0ba602dfef49eb607ab4207"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::remove_held (cognitive 16): FuseFilesystem::remove_held has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":2669}}}],"partialFingerprints":{"codehealthFindingId/v1":"309418d29a70004b6dfe000a9bc620a11ea4f5c88f00a97ecb8f1588f5f81594"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseFilesystem::settle_swapped_node (cognitive 16): FuseFilesystem::settle_swapped_node has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":4748}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5c6d64ab80bf1d32cc4dabfe1cadd26777aab0e783764cb9f1b6d4018f2a26"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalTree::read_dir (cognitive 16): LocalTree::read_dir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), match/switch 3 (6 pts), boolean chains 2, loops 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":"lore-revision/src/fs/fuse/local_tree.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8a2640d28a25ecb6d74f6110d71e633f2bae097d5472258bb475a02659e4e1"}},{"ruleId":"D2","level":"warning","message":{"text":"FuseMount::drain_kernel_lookups (cognitive 16): FuseMount::drain_kernel_lookups has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 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":"lore-revision/src/fs/fuse/mount.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28a5c354ecd9b64bf6d6a270ecd98f8e9c75009a75c60490582038484f30802"}},{"ruleId":"D2","level":"warning","message":{"text":"Directories::copy (cognitive 16): Directories::copy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 1 (2 pts), boolean chains 1, 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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb288a1ea91706d0ee08a6109baebef662975285f52296e1034513d06bc5da9b"}},{"ruleId":"D2","level":"warning","message":{"text":"State::node_delete_level (cognitive 16): State::node_delete_level has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, match/switch 2, 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":"lore-revision/src/state/node/rewrite.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed413d52989a39ceec824f6259bb696ad3c331d8ecbf0858927a99f3c893783"}},{"ruleId":"D2","level":"warning","message":{"text":"State::sweep_detached (cognitive 16): State::sweep_detached has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4, 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":"lore-revision/src/state/node/sweep.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"00380df959b071f98221b5b569285bb0c0a0e145207951c5e54e92ab78a560a6"}},{"ruleId":"D2","level":"warning","message":{"text":"State::sweep_subtree (cognitive 16): State::sweep_subtree 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":"lore-revision/src/state/node/sweep.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e240bd868de65eb63e33eecf6ca2147769b98def426b2494e72098d8ea21a561"}},{"ruleId":"D2","level":"warning","message":{"text":"State::thread_unused_blocks (cognitive 16): State::thread_unused_blocks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, 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":"lore-revision/src/state.rs"},"region":{"startLine":2519}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec356ad4d7ae72332f952a2ccf07abc8178650ef900eb4fba0aadf71521f64fb"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::branch::create_linked_branches (cognitive 16): lore_revision::branch::create_linked_branches has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (6 pts), if/else 3 (5 pts), loops 3 (4 pts), 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":"lore-revision/src/branch.rs"},"region":{"startLine":3316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d6c039d9a3cf5565cf8a2d0795db3633755cc57489c985af31aa51383cac02"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::commit_staged_revision (cognitive 16): lore_revision::commit::commit_staged_revision has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bd4d16e51c954d5d9d3cf33138046e6a103d1c309cc591299097609fa491c7"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::commit_child (cognitive 16): lore_revision::commit::commit_child has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 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":"lore-revision/src/commit.rs"},"region":{"startLine":2683}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c205306c93e998c76eb776027c54a2fcfba40e47b83f0e2bd150140c63112b4"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::listed_files (cognitive 16): lore_revision::commit::listed_files has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (6 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":3501}}}],"partialFingerprints":{"codehealthFindingId/v1":"4879deb2545ebabd5187927b09a75898e0560534900675a3fd1ca175b30fa66e"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::commit::prepare_commit_metadata (cognitive 16): lore_revision::commit::prepare_commit_metadata has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 2 (5 pts), loops 1 (2 pts), 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":"lore-revision/src/commit.rs"},"region":{"startLine":6115}}}],"partialFingerprints":{"codehealthFindingId/v1":"091d269a3c77b671f946fd1aa7832931d5a640c60d7a7e3ecd3cf29a965dbb5c"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::dependency::resolve::resolve_dependency_file_set (cognitive 16): lore_revision::dependency::resolve::resolve_dependency_file_set has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 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":"lore-revision/src/dependency/resolve.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"029aaa6e73417142026fa97a27e3bc8df8be452c788248bee5f33df7e09ecdc6"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::dirty::dirty_directory (cognitive 16): lore_revision::file::dirty::dirty_directory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 3, match/switch 2 (3 pts), 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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06468ffc7ae94102a393cb3b2d15f0b0f652997395285fd252e0d041aa349ae"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::info::calculate_local_filtered_size_hash (cognitive 16): lore_revision::file::info::calculate_local_filtered_size_hash has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (16 pts) (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":"lore-revision/src/file/info.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22c30325ae27acce2c8d00a62360bd6317ccc8b239f84b7e57426f6efa61834"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::file::reset::file_on_the_way (cognitive 16): lore_revision::file::reset::file_on_the_way has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), 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":"lore-revision/src/file/reset.rs"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d9369d65cb4d11d9a89079dfacab12f8d601cf714e7a90180acba65918ceea"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::fs::realize::realize_state (cognitive 16): lore_revision::fs::realize::realize_state has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 2, match/switch 1 (2 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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0429e0c4520feba2038396b053a1fcbcf179c83b027fadfb2ca8f3b882247e72"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::link::create_branches_for_merged_links (cognitive 16): lore_revision::link::create_branches_for_merged_links has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (6 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":"lore-revision/src/link.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da88c65e33c2e6b2e261f07599dc80e3362060db9d2a502daf20c80ecfcfc18"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::projfs::serve::prefetch_files (cognitive 16): lore_revision::projfs::serve::prefetch_files has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1ea38b9e72ffbbc7bc70d578841b9ac710cf3c7aaeb941742202c913f94cf8"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::revision::conflicting_replacements (cognitive 16): lore_revision::revision::conflicting_replacements has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (4 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":"lore-revision/src/revision.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3da783304eafc8d1254d7f3cf122fbfafd281ec583b6cd5edca1bdacd70593a"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_revision::util::path::reduce_parent_segments (cognitive 16): lore_revision::util::path::reduce_parent_segments has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, 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":"lore-revision/src/util/path.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ada841a904f691d8b03f627cd2e6be8846d51f1860f95bfc00069411732812"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamHandler::handle_message (cognitive 16): StreamHandler::handle_message has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 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, 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":"lore-server/src/quic/stream_handler.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c038ab97162f484621851a79b4f4808b7d5cc9ce1b60b8344b476969a656b9d"}},{"ruleId":"D2","level":"warning","message":{"text":"TelemetryInitializer::from_config (cognitive 16): TelemetryInitializer::from_config 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":"lore-server/src/telemetry/mod.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1294e5dc586b064074519411dbfa4faee389537b79b155bd83b871ceff8bba5e"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::auth::jwt_axum_middleware::jwt_axum_verify_authorization (cognitive 16): lore_server::auth::jwt_axum_middleware::jwt_axum_verify_authorization has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (3 pts) (nesting depth added 8). 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":"lore-server/src/auth/jwt_axum_middleware.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3d1bb2b2646117809161cad86751478cc78e4f58d69fcdb118936a59516be6"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::grpc::handlers::branch_diff::branch_diff_handler (cognitive 16): lore_server::grpc::handlers::branch_diff::branch_diff_handler has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 7). 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":"lore-server/src/grpc/handlers/branch_diff.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7fccc7be7b3e39d4602f5c57b3923b973509cd16856d8a90877ee9e6e0e3e2"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::grpc::handlers::branch_push::verify_fragments (cognitive 16): lore_server::grpc::handlers::branch_push::verify_fragments has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 3 (5 pts), match/switch 1 (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":"lore-server/src/grpc/handlers/branch_push.rs"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9ce854f16bca303e719b5126df407777795b6bcbeed5385f8972e60de5005f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::grpc::handlers::revision_state_history::handler (cognitive 16): lore_server::grpc::handlers::revision_state_history::handler has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 2, match/switch 1 (2 pts), 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":"lore-server/src/grpc/handlers/revision_state_history.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"50474866404ef87ed77f51e3f01f889fc6f69255f247f930bf231bcb1e1d7d23"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::grpc::repository::v1::repository_create::repository_create_inner (cognitive 16): lore_server::grpc::repository::v1::repository_create::repository_create_inner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 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":"lore-server/src/grpc/repository/v1/repository_create.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9378c23fa951e85083068cecd7c84fe9e0431f9984a424e419965b323371b76"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::protocol::storage::verify::handle_verify (cognitive 16): lore_server::protocol::storage::verify::handle_verify has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (3 pts), 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":"lore-server/src/protocol/storage/verify.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c843ef4b24bea45b4ad2f14d3d30f1df3a012f85dfc172d8f2417daadb1688b"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_server::server::log_base_address (cognitive 16): lore_server::server::log_base_address has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 1 (3 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"06706833393d31725bf677e78276920cf516299c1d6c2ba2653319b9bcf2a5c9"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalImmutableStore::compact_bucket_packfile (cognitive 16): LocalImmutableStore::compact_bucket_packfile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 2 (4 pts), loops 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":4981}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f30dda1c584359c65ae05378f74c692ed380da4aab89b5de30996566439c89b"}},{"ruleId":"D2","level":"warning","message":{"text":"EnvironmentConfig::from (cognitive 16): EnvironmentConfig::from has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-transport/src/grpc/environment_client.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d222ce46d00ec6492f39eae5102eab111192f843bed6f452931a5e33cd767f"}},{"ruleId":"D2","level":"warning","message":{"text":"lore_transport::auth::exchange::exchange (cognitive 16): lore_transport::auth::exchange::exchange has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 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, 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":"lore-transport/src/auth/exchange.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"f542cc876294cd14794e8cef78839cca76007830a1706476bbb9bf454a4a79da"}},{"ruleId":"D2","level":"warning","message":{"text":"content_tabs._transform (cognitive 16): content_tabs._transform 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":"docs/assets/hooks/content_tabs.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f748db8648c1a233d551af6d6aecdf18a24bf52527bbf03e2ccc54c182c6d225"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/state.rs: FileTooLong \u2014 7918 significant 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 116 free functions. The bar is 500 significant lines; this is 7418 over it, 15.84\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":"lore-revision/src/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a799a7b863a66ec456d1092e0e5e8bc4afbc6e4f70cd563cdc073056bcef597"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/commit.rs: FileTooLong \u2014 4921 significant 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 112 free functions. The bar is 500 significant lines; this is 4421 over it, 9.84\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":"lore-revision/src/commit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acff0aa3b19ccf003ace8e3a58154e2eb35d99c594e7a82fee1631537ab7f3ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: State: TooManyMethods \u2014 283 methods, declared across 12 files: src/state.rs (206), node/relocate.rs (16), node/slots.rs (16), node/attach.rs (12), \u002B8 more file(s). The bar is 30 methods; this is 253 over it, 9.43\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":"lore-revision/src/state.rs"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d51e21c1966346003244dbb6f013d1dae82be55f9e8a27d29e63fd10f0f3794"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: branch/merge.rs: FileTooLong \u2014 4396 significant 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 90 free functions. The bar is 500 significant lines; this is 3896 over it, 8.79\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a538194b2c195388ba2ae86145ed4ca367d4d34bba50ea5095c6c167b36b5d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: local/immutable_store.rs: FileTooLong \u2014 4367 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 70% of them inside a single declaration: LocalImmutableStore (5 blocks, 658-6661). The bar is 500 significant lines; this is 3867 over it, 8.73\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bbbbfc034239def41f7c5fbe35ab89fa0a1f52d8ebef65ab43ac302dac8e7e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FuseFilesystem: TooManyMethods \u2014 245 methods, declared across 3 files: fuse/filesystem.rs (126), fuse/write.rs (111), fuse/prefetch.rs (8). The bar is 30 methods; this is 215 over it, 8.17\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":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec82f6b75a274d91e7762751a1a09b7061509399fa826f876b7d35f865e78aed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: State: ClassTooLong \u2014 3137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 283 methods, 3 blocks, lines 1277-6649. The bar is 400 significant lines; this is 2737 over it, 7.84\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":"lore-revision/src/state.rs"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e0ee32f67229f9f3258c9f7751b501a633e66b34794c60e79bb977b0b80800"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/stage.rs: FileTooLong \u2014 3863 significant 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 53 free functions. The bar is 500 significant lines; this is 3363 over it, 7.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":"lore-revision/src/stage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f212a91d6a33dc2e3167cfc6987a8d38be2bcfb223ec58385d2a77119d5ec400"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/branch.rs: FileTooLong \u2014 3840 significant 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 157 free functions. The bar is 500 significant lines; this is 3340 over it, 7.68\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":"lore-revision/src/branch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aec720f7a9d4ddaaf457fc6e884eda2408f8c24838e757396900bc59af79391"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalImmutableStore: ClassTooLong \u2014 3063 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 73 methods, 5 blocks, lines 658-6661. The bar is 400 significant lines; this is 2663 over it, 7.66\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f63787e4cef77ece6d6984250cb0993d444044d9ceee5616407aad1529de13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fuse/write.rs: FileTooLong \u2014 3436 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 70% of them inside a single declaration: FuseFilesystem (1240-4859). The bar is 500 significant lines; this is 2936 over it, 6.87\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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9777babbc0e3281cd8e80879cb79e121aa7f954feacbf50386bed5e156b8cda"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fs/realize.rs: FileTooLong \u2014 3246 significant 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 67 free functions. The bar is 500 significant lines; this is 2746 over it, 6.49\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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73abb4fd6f7f1bc1a2249271c324fc1eea5d95f13e68018861bd11f06ff885b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/repository.rs: FileTooLong \u2014 2973 significant 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 76 free functions. The bar is 500 significant lines; this is 2473 over it, 5.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":"lore-revision/src/repository.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7818056e7c1bb767f5d23790be8809e37597a9d159f0800469b2113642032be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fuse/filesystem.rs: FileTooLong \u2014 2570 significant 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 74% of them inside a single declaration: FuseFilesystem (3 blocks, 207-3725). The bar is 500 significant lines; this is 2070 over it, 5.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64000583f84c2dd89fd33a6609fb2a7d3db9a960c2809d7c4d5d2752f0a92bba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: state/os_diff.rs: FileTooLong \u2014 2481 significant 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 52 free functions. The bar is 500 significant lines; this is 1981 over it, 4.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ac5abcf68b168c0fa288f967924540d8922c11006045719e41cefaabf90fab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file/reset.rs: FileTooLong \u2014 2456 significant 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 1956 over it, 4.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":"lore-revision/src/file/reset.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f3af5606fc28260862ef0ae095b27046bea3dc2157c513513f85ab031540fc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FuseFilesystem: ClassTooLong \u2014 1909 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 245 methods, 3 blocks, lines 207-3725. The bar is 400 significant lines; this is 1509 over it, 4.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ceb58b08c5fca9b694e249e7435ff390a1b614801bb7176a473b795f1528ac9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/interface.rs: FileTooLong \u2014 2386 significant 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 324 free functions. The bar is 500 significant lines; this is 1886 over it, 4.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2c709bce511ac62851461893cffb040e020937a9289f4cb9cc2d8b40ae0b10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: state/block.rs: FileTooLong \u2014 2342 significant 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 1842 over it, 4.68\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":"lore-revision/src/state/block.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89988052faf4e1e62ed25a641669bb55a6aec5aba5483c09abb073c18dfa570"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_server::server::async_main: FunctionTooLong \u2014 lore_server::server::async_main runs 468 significant 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 368 over it, 4.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9eec3f83086623c53ebc096afb2c415ef65aa9de1429c2ce4d81aff4a7e75b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/link.rs: FileTooLong \u2014 2277 significant 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 73 free functions. The bar is 500 significant lines; this is 1777 over it, 4.55\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":"lore-revision/src/link.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddca65ddd336419b1a8ee8c236252ec076a08ca389ad5b6951d456d35e3ef6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/revision.rs: FileTooLong \u2014 2077 significant 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 73 free functions. The bar is 500 significant lines; this is 1577 over it, 4.15\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":"lore-revision/src/revision.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab33fed8bdfc2bb0070b9440cdb97500e6bd29a3e6b38215d769f41d8d53c653"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file/dirty.rs: FileTooLong \u2014 2042 significant 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 67 free functions. The bar is 500 significant lines; this is 1542 over it, 4.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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d985da1d01b70414f7f5bf3e63b4910fc8c446029e4da7ad6b53c5831d3cc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/instance.rs: FileTooLong \u2014 2009 significant 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 103 free functions. The bar is 500 significant lines; this is 1509 over it, 4.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":"lore-revision/src/instance.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea8e2547110e4a39dd67bf404e467abec26a0f4aafb291c526c02c32c2f127e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: branch/push.rs: FileTooLong \u2014 1947 significant 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 53 free functions. The bar is 500 significant lines; this is 1447 over it, 3.89\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":"lore-revision/src/branch/push.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1a307b660967feae97b39ac10ffb64fe910b46faeb9d5f1101cd7856cb9c1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::stage::stage_node_from_metadata: FunctionTooLong \u2014 lore_revision::stage::stage_node_from_metadata runs 378 significant 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 278 over it, 3.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/stage.rs"},"region":{"startLine":3269}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e6c06e6c77f87068cef7d99b3f5a883377068b5811bda9c86ecbbce0837a17"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::revision::sync::sync: FunctionTooLong \u2014 lore_revision::revision::sync::sync runs 370 significant 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 270 over it, 3.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision/sync.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"858fa0b9ce831b707e769d41207c5e0b9afe0179b9a2bc068960e24ce1ca8d54"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: state/diff.rs: FileTooLong \u2014 1808 significant 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 1308 over it, 3.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/diff.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5813b765d6868f155761b36256e7384ba9214fcb5b34bc0b916358bcfae4384e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::stage::stage_from_parent_revision_in_operation: FunctionTooLong \u2014 lore_revision::stage::stage_from_parent_revision_in_operation runs 358 significant 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 258 over it, 3.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":"lore-revision/src/stage.rs"},"region":{"startLine":4473}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebacbcd9aaa919841f0f7bfaa925369895af4e3f28ba78e4dd11d00b31c685e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/revision.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 47 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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0d6903d605661595263451f387791341767ac9c30a33c5bda0981f319749d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/server.rs: FileTooLong \u2014 1786 significant 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 42 free functions. The bar is 500 significant lines; this is 1286 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":"lore-server/src/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b483effaae322706314a890185392454cfceac8172f986285689778785f0d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::state::diff::add_change_for_paired_nodes: FunctionTooLong \u2014 lore_revision::state::diff::add_change_for_paired_nodes runs 341 significant 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 241 over it, 3.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":"lore-revision/src/state/diff.rs"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa77a1223265f091dc7ed237fb41f4421c5e334d22ddd5680fc5f74940016f69"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repository/clone.rs: FileTooLong \u2014 1675 significant 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 1175 over it, 3.35\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":"lore-revision/src/repository/clone.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf65bbf3c5822eb69ce8be16101b97eeca6ffc595107dfe178bdb85deb94b945"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::file::unstage::unstage_node: FunctionTooLong \u2014 lore_revision::file::unstage::unstage_node runs 325 significant 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 225 over it, 3.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":"lore-revision/src/file/unstage.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"79884bc6278652e549b4d93ebd1fc9b24092822840930d8be8757fab07684604"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/write.rs: FileTooLong \u2014 1577 significant 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 48 free functions. The bar is 500 significant lines; this is 1077 over it, 3.15\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":"lore-storage/src/write.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cbae808d8d88f3b2578621eba7f82aa3284a525b972f24116627c62e7ff546"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: State.reattach: MethodTooLong \u2014 reattach runs 313 significant 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 213 over it, 3.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":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a73d68fafb22e76f3fe2217840642724917080d6363f1e79810d92a82b70d40"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_fuse::dispatch::dispatch_request: FunctionTooLong \u2014 lore_fuse::dispatch::dispatch_request runs 312 significant 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 212 over it, 3.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":"lore-fuse/src/dispatch.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db861b5c2b3bb30a52cb942f14ef347124ce91bb118f18e8706e0524cc5b8ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/read.rs: FileTooLong \u2014 1533 significant 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 52 free functions. The bar is 500 significant lines; this is 1033 over it, 3.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":"lore-storage/src/read.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bb94dc4ef863db4f1d38e7e7ef0eb8167fb69e254af469526e25eb5d3500e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: repository/status.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). 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":"lore-revision/src/repository/status.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f24cd7f6775e4b7ee29394c40c3226973513dd403d15786ea37377dc273a44"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::repository::status::status: FunctionTooLong \u2014 lore_revision::repository::status::status runs 299 significant 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 199 over it, 2.99\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":"lore-revision/src/repository/status.rs"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36835b185518185c703587bf4bc0a4e811d54585c9acf36bfc1e97d8d0aba84"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::revision::restore::restore: FunctionTooLong \u2014 lore_revision::revision::restore::restore runs 298 significant 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 198 over it, 2.98\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":"lore-revision/src/revision/restore.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa0a518e0928c8f14a444953d31e3c85c2289120db032dcd1ad1d28324f3718"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::state::collect_fragments: FunctionTooLong \u2014 lore_revision::state::collect_fragments runs 289 significant 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 189 over it, 2.89\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":"lore-revision/src/state.rs"},"region":{"startLine":11237}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e3d7799725bc20a2f16b91c049a43d024d947d54ce948ba66fef4b87a6c533"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::link::add::add: FunctionTooLong \u2014 lore_revision::link::add::add runs 288 significant 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 188 over it, 2.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/link/add.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b21a7fa5511b1b4ca6d10041693e4e58612431e8aaba66f113fc2ae7baa0fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/immutable_store.rs: FileTooLong \u2014 1439 significant 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: AwsImmutableStore (3 blocks, 583-2318). The bar is 500 significant lines; this is 939 over it, 2.88\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":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d45b6beeb8e3fd9c5b18db2520b9737fa3a773735e45fd44771c2413d62f89e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::stage::stage_directory: FunctionTooLong \u2014 lore_revision::stage::stage_directory runs 283 significant 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 183 over it, 2.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":"lore-revision/src/stage.rs"},"region":{"startLine":2583}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef36f26457341021e04da66114e91000b42131ad4be276eb6c3a9edb0b595ccd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: local/mutable_store.rs: FileTooLong \u2014 1402 significant 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 902 over it, 2.80\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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7f215c57d055f9a53c130440214d9121e15c252df2cdb3a057f07f54b37a7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/repository.rs: FileTooLong \u2014 1397 significant 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 897 over it, 2.79\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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd984b24a3a5d5f33c721dbb636a04685f0325bd69646767502172069495b5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/file.rs: FileTooLong \u2014 1388 significant 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 38 free functions. The bar is 500 significant lines; this is 888 over it, 2.78\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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3364849475518ee7dac28b98adbd47c677b9eb88b5e76e36cdc36d1cefb9afb2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AwsImmutableStore: ClassTooLong \u2014 1108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 28 methods, 3 blocks, lines 583-2318. The bar is 400 significant lines; this is 708 over it, 2.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"7502a3bfcdc70823fb6373533ff2c67734c3c211bb083f5fee77c1ba8befb25a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::fs::realize::verify_filesystem: FunctionTooLong \u2014 lore_revision::fs::realize::verify_filesystem runs 275 significant 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 175 over it, 2.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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"53513503ae9121dc487cd57eba0b5f14de1c2711114d1c3f3fa5b44a6a6fa53f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_transport::connection::connect_impl: FunctionTooLong \u2014 lore_transport::connection::connect_impl runs 269 significant 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 169 over it, 2.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":"lore-transport/src/connection.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"31575f595defaa0757834c5038f43b2493898cf27d739443c7ad98b50ca0c625"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/composite.rs: FileTooLong \u2014 1341 significant 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 841 over it, 2.68\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":"lore-revision/src/store/composite.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fde03a4e87b20d6fccc235ac3e99bbcce9ce47f55e6ecc78c1443078f7d0b49"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file/unstage.rs: FileTooLong \u2014 1332 significant 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 832 over it, 2.66\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":"lore-revision/src/file/unstage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ab747a4743970cea41be047d57107e36da1f3f42914b14bf162cb119c61bb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::merge::merge_into: FunctionTooLong \u2014 lore_revision::branch::merge::merge_into runs 264 significant 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 164 over it, 2.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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":5951}}}],"partialFingerprints":{"codehealthFindingId/v1":"3057ddb873607b341696894e91e743de0f06f4275f0189d6adee9d72830a44d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::revision::diff3_with_source_cap: FunctionTooLong \u2014 lore_revision::revision::diff3_with_source_cap runs 262 significant 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 162 over it, 2.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f469aa27c7c44524e574daeaca62d7091b5d69c4c3a50b78b64ac519ebf3ac51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grpc/mod.rs: FileTooLong \u2014 1297 significant 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 797 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":"lore-transport/src/grpc/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a44c8d8c82e8be4e65dbce39193e1d65951b95e5361de02494b0cb8dd611cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fs/filesystem_provider.rs: FileTooLong \u2014 1277 significant 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 777 over it, 2.55\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":"lore-revision/src/fs/filesystem_provider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0b9730e3ef6596eabaf690550ca0b26de9c8a7ffa380484065d05202feece2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::state::os_diff::diff_filesystem_directory_walk: FunctionTooLong \u2014 lore_revision::state::os_diff::diff_filesystem_directory_walk runs 250 significant 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 150 over it, 2.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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"054e5bedfdb620aae2bc56cc596dbf300ea075166d03a26844bd38d646121b87"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::commit::commit_staged_with_layers: FunctionTooLong \u2014 lore_revision::commit::commit_staged_with_layers 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":"lore-revision/src/commit.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3256d35c6f5da6002f7e5c3da6f0a648ecd3b015ca720d527a9db0a17b3271"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::repository::open_repository: FunctionTooLong \u2014 lore_revision::repository::open_repository 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":"lore-revision/src/repository.rs"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"a785755fe0df2cfd6e7076d4b76234c9164bbf7dccddf0b560504fe2af6fc195"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/branch.rs: FileTooLong \u2014 1237 significant 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 737 over it, 2.47\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4c3d22d72e3ab113a7a6bb0800db2749b79f3293a77af275a101c3be16c3d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/branch_push.rs: FileTooLong \u2014 1236 significant 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 736 over it, 2.47\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":"lore-server/src/grpc/handlers/branch_push.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3f7e5c6192b52ccdd437b51c87c5b375b63b85e73bfc6a05b0e8e50ab6058d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::stage::stage_filesystem_path: FunctionTooLong \u2014 lore_revision::stage::stage_filesystem_path runs 245 significant 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 145 over it, 2.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":"lore-revision/src/stage.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b11d9ef33e897c661fd28045a15e0846b5148baab8957a4e9c8abca372426c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fs/hold.rs: FileTooLong \u2014 1219 significant 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 719 over it, 2.44\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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec8b0fe6cc97109c9dff0fede43fdc3cfb97d8f8d6359af9cc45e1aea30968c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalImmutableStore: TooManyMethods \u2014 73 methods. The bar is 30 methods; this is 43 over it, 2.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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc67a1bfb05cc15df258f657e059edba81931bf2bc99cf3a4114e2c12d47b23"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file/stage.rs: FileTooLong \u2014 1212 significant 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 712 over it, 2.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/stage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43a644b2b456bd6fd1df9d79b55db8f677d954aa95c5e11563eb7db03275a29"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::commit::commit_link_only: FunctionTooLong \u2014 lore_revision::commit::commit_link_only runs 242 significant 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 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8612ba7a21860b22390cc3cf66222d0c53d209bdaac638b243361d1ef66478"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/filter.rs: FileTooLong \u2014 1200 significant 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 700 over it, 2.40\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":"lore-revision/src/filter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1591791922112024d2da8981085a0a4aed7211e02e8a465054f856b63453e449"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StorageServiceV4.run_request_handler: MethodTooLong \u2014 run_request_handler runs 238 significant 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 138 over it, 2.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":"lore-server/src/quic/storage_service_v4.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a459b18d2c3793e5b1dee3f8f577dd5bb3e8b42998b10c13f0a156bc1cdbd8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fuse/operation.rs: FileTooLong \u2014 1170 significant 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: FuseOperation (5 blocks, 80-1637). The bar is 500 significant lines; this is 670 over it, 2.34\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":"lore-revision/src/fs/fuse/operation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dec20fa4d28ddaf7a79205958c1b46ab0eda51079782618d56fd6f705811ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::fs::fuse::swap::swap_through: FunctionTooLong \u2014 lore_revision::fs::fuse::swap::swap_through runs 226 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/fuse/swap.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c95052e1b667022744a1de38c2715d2464d6b0bf5847b8420c8b8d3e708b32a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_client::cli::commands::repository::handle_repository_status: FunctionTooLong \u2014 lore_client::cli::commands::repository::handle_repository_status runs 224 significant 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 124 over it, 2.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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8af898707472d3d3d88cedfe80754296df0e470047663be8f39f4cf96f92b8b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FuseOperation: ClassTooLong \u2014 886 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 33 methods, 5 blocks, lines 80-1637. The bar is 400 significant lines; this is 486 over it, 2.22\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":"lore-revision/src/fs/fuse/operation.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3274a538322dcc4d1a4d4e078dd415794eec5203388cf99414600cdec532dda6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/token_store.rs: FileTooLong \u2014 1102 significant 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 57 free functions. The bar is 500 significant lines; this is 602 over it, 2.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":"lore-credential/src/token_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1527582226687ce03769f04ec8323043672006ca597dbc9e5d1fc9da16269bdc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RepositoryContext: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\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":"lore-revision/src/repository.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff63845b4547a24d1291e11602870cf1f5346ea89a304e1c46ade0fe0a9417f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::merge::merge_start_all: FunctionTooLong \u2014 lore_revision::branch::merge::merge_start_all runs 220 significant 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 120 over it, 2.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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"e711d29aa78e86c416280bcd2b230a6022d4d7ffad283d1c801427766ad1a276"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/connection.rs: FileTooLong \u2014 1079 significant 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 579 over it, 2.16\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":"lore-transport/src/connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa8ff43db225fc9b972c6a8a69be645020984a8d7123d8cdefd9329a99c22d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: quic/client.rs: FileTooLong \u2014 1072 significant 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 572 over it, 2.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":"lore-transport/src/quic/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4d6403d6171dbd121bf9558daa9da2615edaf03db84e1ce6baa67350412465"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NodeBlock: TooManyMethods \u2014 64 methods. The bar is 30 methods; this is 34 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":"lore-revision/src/state/block.rs"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6c57d765ceb3e01b34e721cb8bd40d92db3b10b4d85e3134f4a5e698f7f86e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalMutableStore.flush_all: MethodTooLong \u2014 flush_all runs 208 significant 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 108 over it, 2.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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bf9d9bb2dbe86679d4587882e87038174320bdacc4ec6aa6e54c47187442c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::projfs::serve::get_directory_enumeration_async: FunctionTooLong \u2014 lore_revision::projfs::serve::get_directory_enumeration_async runs 207 significant 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 107 over it, 2.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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1d08427e4bc58f3f200c25247e5b78d8da47c5b03f36db874dd6811b30d2b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node/relocate.rs: FileTooLong \u2014 1025 significant 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 81% of them inside a single declaration: State (210-1520). The bar is 500 significant lines; this is 525 over it, 2.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c782df6f8d5036c39f702691bc2a0ee50e93377d508d9e9d54c0f001f612fe93"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/defragment.rs: FileTooLong \u2014 1012 significant 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 512 over it, 2.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":"lore-storage/src/defragment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5306ee2453011b1a637231991b5886db6bce2101c34d834d7c64ec6c7a745df4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/layer.rs: FileTooLong \u2014 1002 significant 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 502 over it, 2.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":"lore-revision/src/layer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c28bbc8215a4044061335f7a8c6738dc89d08c48c480ef4d6a5b0f8e1835590"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalImmutableStore.verify_fragment_held: MethodTooLong \u2014 verify_fragment_held 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6383}}}],"partialFingerprints":{"codehealthFindingId/v1":"acce802b31bcb2c7c0fea5c15609ace34737bef03f11282715d93ba3709c8fa3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: revision/sync.rs: FileTooLong \u2014 965 significant 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 465 over it, 1.93\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":"lore-revision/src/revision/sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffba77e19d38be685961dcf790a48644440bea02ed5f88d459d109bb56ed2ee2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/repository.rs: FileTooLong \u2014 962 significant 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 56 free functions. The bar is 500 significant lines; this is 462 over it, 1.92\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":"lore/src/repository.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed246295201ec6e6587b4e8c8d2867fdf1cdad7a0292287085b0920c34cd2882"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/psync.rs: FileTooLong \u2014 958 significant 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 458 over it, 1.92\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":"lore-io/src/psync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e0c9840e9d84ef32f50b123bf0cfb1347af53c5c7593f2220991258a544384"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalMutableStore: ClassTooLong \u2014 757 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 15 methods, 4 blocks, lines 336-2327. The bar is 400 significant lines; this is 357 over it, 1.89\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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f0857240e55125965180f187010b8abe3ae17ba0c86b635f7010c1a18d5979"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::immutable::cache_through: FunctionTooLong \u2014 lore_revision::immutable::cache_through runs 189 significant 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 89 over it, 1.89\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":"lore-revision/src/immutable.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"171bf17f82853ff59499ffa28715c537ff83d8039fcd4af55ecbff1fb22d1c0d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CompositeStore: ClassTooLong \u2014 752 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 16 methods, 3 blocks, lines 605-2033. The bar is 400 significant lines; this is 352 over it, 1.88\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":"lore-revision/src/store/composite.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"a922165177b738484c3d95450d4c079fd6f04b983878f28409c474b0780aebe5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/immutable.rs: FileTooLong \u2014 915 significant 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 42 free functions. The bar is 500 significant lines; this is 415 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":"lore-revision/src/immutable.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6207bd0f9d802c5efd1c78f841a4c7faafd8f63dcd73b4df985875b77c304680"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::file::stage::stage_move: FunctionTooLong \u2014 lore_revision::file::stage::stage_move runs 183 significant 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 83 over it, 1.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":"lore-revision/src/file/stage.rs"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dfef926937030477100d748beeb0b057962d1c0a8c70251c0540a62288a1fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::repository::branch_switch_target: FunctionTooLong \u2014 lore_revision::repository::branch_switch_target runs 183 significant 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 83 over it, 1.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":"lore-revision/src/repository.rs"},"region":{"startLine":4226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a14a9aab9505af365ee36d07d18eb9274316d9d5b51977658fadf7609798f76"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GrpcServerBuilder.with_token_verification: MethodTooLong \u2014 with_token_verification runs 183 significant 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 83 over it, 1.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":"lore-server/src/grpc/server.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d1952e809c434347387a3ee95ee768341b0ca85df8fd9e392e62f860443509"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file/info.rs: FileTooLong \u2014 911 significant 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 411 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":"lore-revision/src/file/info.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be9aaf9d979d9bcfafc7cbd7676fb4dca67e6765aefc7d04ae17c84801b3256"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fuse/fragment_cache.rs: FileTooLong \u2014 911 significant 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 411 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":"lore-revision/src/fs/fuse/fragment_cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"014154d46dac1d7509216821714c40251d887ca193f69996f8e6e8a44184558d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file/diff.rs: FileTooLong \u2014 909 significant 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 409 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":"lore-revision/src/file/diff.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c038b08a9b2f4066c8badeae83950a2c24c0300bf2a404323a6ee93653536e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node/attach.rs: FileTooLong \u2014 905 significant 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 405 over it, 1.81\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":"lore-revision/src/state/node/attach.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ef149fed1ecb449b46721bbf6a5352eb792beeb00c5b75ddc1e70b34cb2415"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mutable_conformance.rs: FileTooLong \u2014 895 significant 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 40 free functions. The bar is 500 significant lines; this is 395 over it, 1.79\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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7134aa61398bad6df7c7e62b532957b17a7d2f889c04d281f5ffaf2b2d611d42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::file::stage::stage: FunctionTooLong \u2014 lore_revision::file::stage::stage runs 178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/stage.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc763bed78fd087a4d0d1fb2f818f4b1b31e81bb8b82073088d22332e8e6d4c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::stage::stage_from_parent_state: FunctionTooLong \u2014 lore_revision::stage::stage_from_parent_state runs 178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/stage.rs"},"region":{"startLine":5453}}}],"partialFingerprints":{"codehealthFindingId/v1":"216845ca1e25829c7284fc7cf7785df8875bdc5de042322309ae9c1757b13419"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::repository::clone::clone_into: FunctionTooLong \u2014 lore_revision::repository::clone::clone_into 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":"lore-revision/src/repository/clone.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c41ec022d15f4f75895b525c8646b85166ad2325e3efda513279fe131e87581"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grpc/storage_client.rs: FileTooLong \u2014 872 significant 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 67% of them inside a single declaration: StorageService (2 blocks, 486-1356). The bar is 500 significant lines; this is 372 over it, 1.74\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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b05481c2e149e10b2c078d10c8ac8c6b0adddf9cfec69dcb848fdd81af1466"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/branch.rs: FileTooLong \u2014 871 significant 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 53 free functions. The bar is 500 significant lines; this is 371 over it, 1.74\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":"lore/src/branch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9078b0bd0d7188cc277ab277592a41ad2d92ba1e1ed97c938db638009a337b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/revision.rs: FileTooLong \u2014 871 significant 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 59 free functions. The bar is 500 significant lines; this is 371 over it, 1.74\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":"lore/src/revision.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d44717f50738f8b4be4715e8920f0489356aa0122209118ba8e6d45cfd407a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_server::quic::storage_service::build_storage_protocol_request_span: FunctionTooLong \u2014 lore_server::quic::storage_service::build_storage_protocol_request_span runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/storage_service.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e3616c039f78932988fa178a995e523f47105d4f6d0b02e29f7819796b768d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_storage::local::immutable_store::flush_locked_group: FunctionTooLong \u2014 lore_storage::local::immutable_store::flush_locked_group runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6806}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a30ee119099fa60f771223b1e7a36d32151afe3d239149062b45fed879b9fb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NodeBlock: ClassTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 64 methods, 2 blocks, lines 1701-3356. The bar is 400 significant lines; this is 293 over it, 1.73\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":"lore-revision/src/state/block.rs"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"d210d824bbd0be0fa9754d5f3ff5e469a7d3de37861f459cdb13a4c426b3007a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::commit::commit_gone: FunctionTooLong \u2014 lore_revision::commit::commit_gone runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":2900}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b22ce25c413c4b854f72942bc1ea8e64a440f86be817c1c9b77d29149b8762b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::repository::create_local: FunctionTooLong \u2014 lore_revision::repository::create_local runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository.rs"},"region":{"startLine":3650}}}],"partialFingerprints":{"codehealthFindingId/v1":"c660da3e27dbc516efe232ab81d532ebded73a151c9cda03fb5a17df227f2a45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/dispatch.rs: FileTooLong \u2014 862 significant 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 362 over it, 1.72\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":"lore-fuse/src/dispatch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4c5aebdf99124403a5bdb11d6e42f97b9ca36aaf295657f6f2161220e2a9d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 859 significant 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 359 over it, 1.72\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":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53740c40e4662eb4a7526ff116d325df331996afbd29c3cd0ca39bedd70e10b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::commit::weave_history: FunctionTooLong \u2014 lore_revision::commit::weave_history 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":"lore-revision/src/commit.rs"},"region":{"startLine":5630}}}],"partialFingerprints":{"codehealthFindingId/v1":"7899315f7f0af060bb7c6853a4a8fbdec7490f6dba66878f2879f4937dfc76f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: uds/client.rs: FileTooLong \u2014 843 significant 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 343 over it, 1.69\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":"lore-transport/src/uds/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9922766eb9ada6507da9246f16a6bb08aae36280faf1ed338d291512da2f981"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::repository::layer_branch_switch: FunctionTooLong \u2014 lore_revision::repository::layer_branch_switch runs 168 significant 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 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository.rs"},"region":{"startLine":4493}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefe031741c375da26b0a6e0b5a049e6f36c0dbb8ab68b11bd6e642e1e57a5f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::merge::apply_prepared_diff: FunctionTooLong \u2014 lore_revision::branch::merge::apply_prepared_diff runs 167 significant 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 67 over it, 1.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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":3499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cad2e9a627243b4d4b4644a3b6810fb4aec5bfc89c295a055bb540026e16f7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: projfs/serve.rs: FileTooLong \u2014 818 significant 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 318 over it, 1.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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d1e0ba59c94e8f61aae57a1336c83c5a1c8c94e2fb0867f69f1dc94daa8369"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::state::os_diff::diff_filesystem_matched_directory: FunctionTooLong \u2014 lore_revision::state::os_diff::diff_filesystem_matched_directory 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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"737bdf5cf9278e1889ac53601020fad22388e9ab4881937a5b4c0d07c05bb45a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Metadata: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/metadata.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5541606b5d2f8ebf4ce02c4e2e6f2c84852add57cbb27e5186e96fd14cb88d1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/interface.rs: FileTooLong \u2014 795 significant 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 295 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":"lore-revision/src/interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48c7019bb8ead2be0f8f396f4fb0384a813e750be0c5b7745c594ef16f9d04e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::layer::add: FunctionTooLong \u2014 lore_revision::layer::add 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":"lore-revision/src/layer.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8171b15927f03c0c26e2c7a7b9f9af17cb8c08d573408fb791dad4cd60fc20c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::repository::create::create_with_metadata: FunctionTooLong \u2014 lore_revision::repository::create::create_with_metadata 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":"lore-revision/src/repository/create.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5344ba5f707706142e8516c24f470b17918f6f992a7f6812ff8315bb7ea309eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/event.rs: FileTooLong \u2014 784 significant 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 284 over it, 1.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":"lore-revision/src/event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8d5ae27c584f29e07147823d0532cfbbad6b540d717ec793336de9fb7788bf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Node: 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":"lore-revision/src/state/block.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"768f4704eb7efe270f3472b779d8ca2021ad0386a185eaafd4aa90386b1e081e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::stage::collect_link_groups: FunctionTooLong \u2014 lore_revision::stage::collect_link_groups runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/stage.rs"},"region":{"startLine":5004}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5a3b7e6a721dbd011b989f091a54bc143c619a44ddb20773ceed52de5d8bef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::stage::stage_link_groups: FunctionTooLong \u2014 lore_revision::stage::stage_link_groups runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/stage.rs"},"region":{"startLine":5206}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c97be3991aab239015e3beb35e9feefc200666299b922e4ea7886923707ca2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: State.detach_child: MethodTooLong \u2014 detach_child runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/node/detach.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"91899006a0e038de9ca626d484f6b5ba686e01142e7ac98418e3a3fe92e02484"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::projfs::serve::serve: FunctionTooLong \u2014 lore_revision::projfs::serve::serve runs 154 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd3e37192193178588a5a314548348c056c07bc1f028e2d47be55fa8270e0d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::repository::clone::clone: FunctionTooLong \u2014 lore_revision::repository::clone::clone runs 154 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/clone.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"096a4c0d820246db313499e0d6b7d2fbbf29926a6183cdd645f48c721ed6d176"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/path.rs: FileTooLong \u2014 766 significant 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 266 over it, 1.53\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":"lore-revision/src/util/path.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53169cc29de3833a348f37519fc531f6d3d2302e337a128687f4d3f23c54f080"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::try_auto_resolve_conflict: FunctionTooLong \u2014 lore_revision::branch::try_auto_resolve_conflict 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":"lore-revision/src/branch.rs"},"region":{"startLine":4929}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d598a4ff654aabffb0d4ce1b855f1202aceddd650c77e70e0df4705403c084"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_storage::defragment::walk_intermediate_level: FunctionTooLong \u2014 lore_storage::defragment::walk_intermediate_level runs 150 significant 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 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":"lore-storage/src/defragment.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df66c3924ee60d73bbdfa0476337e369df64df1a45e4d92ae557817cff1f169"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/compress.rs: FileTooLong \u2014 748 significant 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 43 free functions. The bar is 500 significant lines; this is 248 over it, 1.50\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":"lore-storage/src/compress.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a91f2c9a9eb17ff1b2cd15ddfe08009109da805e51e9f3089a2791cadcefe5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: State.served_mark_from: MethodTooLong \u2014 served_mark_from runs 149 significant 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 49 over it, 1.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":"lore-revision/src/state/node/mark.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9aae7b15dec10bc999763e7a1923fc892db473ddc33feaaf68d25333f9ff04"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::create_at: FunctionTooLong \u2014 lore_revision::branch::create_at 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":"lore-revision/src/branch.rs"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c4f1043716843a78a9e138dd294fd6e4ce3f9f598f7e0f30da8af7d40e4089"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReplicationStoreService.build_request_span: MethodTooLong \u2014 build_request_span 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":"lore-server/src/quic/replication_store_service/server.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7d3ce8d1dea41dc8fc8ab5ab3365f42d847dea0f73f63650d4dfcca77bf2d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalImmutableStore.verify: MethodTooLong \u2014 verify 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":5958}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d0599d604d23b58415698d849d013ec5b53ae4d06fd57ac6bb3d5953efa839"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_storage::fragment_engine::write_fragmentlist_impl: FunctionTooLong \u2014 lore_storage::fragment_engine::write_fragmentlist_impl runs 146 significant 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 46 over it, 1.46\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":"lore-storage/src/fragment_engine.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"118067c2d8e0582c023b590103b5feb02e8675b2b159a6fa60669e1ccc36d97a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v1/revision_list.rs: FileTooLong \u2014 728 significant 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 228 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":"lore-server/src/grpc/revision/v1/revision_list.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e34b3a0fa25590b6cf8ab8b56acce0155729ed30db9c9eedde9125c996b6c79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/metadata.rs: FileTooLong \u2014 726 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 65% of them inside a single declaration: Metadata (4 blocks, 347-1227). The bar is 500 significant lines; this is 226 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":"lore-revision/src/metadata.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7149b19793f8f5e6f9ef71582aaebde6a7e09c5c956a7de975de41547882b1e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StorageService: ClassTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 19 methods, 2 blocks, lines 486-1356. The bar is 400 significant lines; this is 180 over it, 1.45\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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"289f0ec2be3db53ff12ad98907dd08dd445960ad9a9afea32ca785ecdce00262"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::link::classify_link_pin: FunctionTooLong \u2014 lore_revision::link::classify_link_pin 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":"lore-revision/src/link.rs"},"region":{"startLine":3079}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc0571e3fd2bdc88adc674b6406e6f79c15ecd36a6b359c99ce004dfcbfc432"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::fs::realize::merge_file_in_view: FunctionTooLong \u2014 lore_revision::fs::realize::merge_file_in_view runs 144 significant 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 44 over it, 1.44\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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4514}}}],"partialFingerprints":{"codehealthFindingId/v1":"08659fee6ac087d537c8064fb20aad5afefc93a921645197f2a8cc7faf35002a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/file.rs: FileTooLong \u2014 714 significant 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 214 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/file.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9964550b0c0a9b09864a322231cd994f940a9c0eb615affef00018e803c2a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::create::create: FunctionTooLong \u2014 lore_revision::branch::create::create runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch/create.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7755f324b511c789e317b5072047598e0072571eabe7ea0a608088c6c6eb013"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::fs::realize::realize_state: FunctionTooLong \u2014 lore_revision::fs::realize::realize_state runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/realize.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edf5da17710b80591a93d370c4b6aa3e7059f2b074b76dcf40adbc68a60baf4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 709 significant 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: LoreBlobStore (2 blocks, 331-1206). The bar is 500 significant lines; this is 209 over it, 1.42\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":"contrib/bazel/crates/rbe-lore/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe739e29c0ba7de48e2852f4f93149af3c3d91c7a184a5d88cfff6ab8157d39e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::fs::realize::realize_changes_delete: FunctionTooLong \u2014 lore_revision::fs::realize::realize_changes_delete runs 141 significant 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 41 over it, 1.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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":3200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d7daafbfad632118c5f5ab093e921b5d68b94de5ad81524cdad326f90666a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_server::grpc::handlers::branch_push::try_fast_forward_merge: FunctionTooLong \u2014 lore_server::grpc::handlers::branch_push::try_fast_forward_merge runs 141 significant 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 41 over it, 1.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":"lore-server/src/grpc/handlers/branch_push.rs"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2658a698c2e0ad325e4904db93a09dd7d7be5fa22783d30d07047bc218c93ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::file::dirty::dirty_path: FunctionTooLong \u2014 lore_revision::file::dirty::dirty_path 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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7f0f360b2f50bfc1ec791121b132d8b6339e746ae73cdd8cb9221624d4e978"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::stage::stage_single_node: FunctionTooLong \u2014 lore_revision::stage::stage_single_node 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":"lore-revision/src/stage.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d05ccfae090150c75963c80937972b4a36da3ccb9aa1f2b1de00633ea27359a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grpc/server.rs: FileTooLong \u2014 695 significant 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 195 over it, 1.39\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":"lore-server/src/grpc/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab8a7e1d2b495d42342d8fc58cfe98734df586ca41aaa7be675e33c47dddbc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::file::reset::reset: FunctionTooLong \u2014 lore_revision::file::reset::reset runs 139 significant 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 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/reset.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f5eec25941b7543d5c22d669e2d3d98d8cb78b0668a005a672e51798699999"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_server::grpc::revision::v1::branch_push::handler: FunctionTooLong \u2014 lore_server::grpc::revision::v1::branch_push::handler runs 139 significant 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 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/revision/v1/branch_push.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6095c221c981ff46dec2bd408e39f9cad00698b232841b9ebea7990fe033aea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::push::push_local_revision: FunctionTooLong \u2014 lore_revision::branch::push::push_local_revision 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":"lore-revision/src/branch/push.rs"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e0dbabf8d27c150b9f4f0c2df6db92f555c2a0bb26621df70499e840aeef66"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::lock::file::release::release: FunctionTooLong \u2014 lore_revision::lock::file::release::release 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":"lore-revision/src/lock/file/release.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf2e680a3dbf6fde6aaaddcd4a794315b0609eed85ce016fa941f2363f27992"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalImmutableStore.store_entry: MethodTooLong \u2014 store_entry 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":3113}}}],"partialFingerprints":{"codehealthFindingId/v1":"06798eccf197d928824782f90c3778f79d7d3e52d50211e8bb27f7399bfeb71a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/packstore.rs: FileTooLong \u2014 687 significant 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 79% of them inside a single declaration: PackStore (2 blocks, 212-1122). The bar is 500 significant lines; this is 187 over it, 1.37\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":"lore-storage/src/packstore.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e4e706cec55df2bb269e19ba899900fddbac56021d9ba703d8ee81cbbd288f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/conformance.rs: FileTooLong \u2014 684 significant 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 184 over it, 1.37\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":"lore-storage/src/conformance.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6e35980a6b202f0d4929ca0abe3d9921d5041cdae3d42b2e86845cce98df21"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FragmentCache: TooManyMethods \u2014 41 methods, declared across 2 files: fuse/fragment_cache.rs (25), fragment_cache/prefetch.rs (16). The bar is 30 methods; this is 11 over it, 1.37\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":"lore-revision/src/fs/fuse/fragment_cache.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62ca640b5a03c391ed7e3112ba7de2b573864fa33f6878fac53b40564c29a38"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Connection: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-transport/src/connection.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c29a261022d0040c7691406cfadb2e9c3656bf5e385c600cd4706009f29388e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/dynamodb.rs: FileTooLong \u2014 682 significant 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: DynamoDbImpl (2 blocks, 237-817). The bar is 500 significant lines; this is 182 over it, 1.36\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":"lore-aws/src/dynamodb.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae51a3116846c16c2a6f5d374610f968194a34c36d997fae7229c8445bb1928"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PackStore: ClassTooLong \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), 38 methods, 2 blocks, lines 212-1122. The bar is 400 significant lines; this is 144 over it, 1.36\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":"lore-storage/src/packstore.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfefe804076ce24073b8f7dbcb259a9ce20836db718810845b019e512b15dee0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::merge::finalize_main_merge: FunctionTooLong \u2014 lore_revision::branch::merge::finalize_main_merge 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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edb42b736bbdcc8041cbc2df698b87f0911111a4d10f46f6b8fd3bbfd4acd6b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LoreBlobStore: ClassTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 27 methods, 2 blocks, lines 331-1206. The bar is 400 significant lines; this is 141 over it, 1.35\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":"contrib/bazel/crates/rbe-lore/src/lib.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ddff53342b9445e8f63079abbbdb2d580af70a64421de3578f9738429853bb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: FuseFilesystem: TooManyFields \u2014 40 stored fields beside 245 methods. The bar is 30 stored fields; this is 10 over it, 1.33\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":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26af2d66a193faa054dbb4c813b761824a0b87d30d987ba3f37f0a84c8e8f88"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: OtelTokioRuntimeMetrics: TooManyFields \u2014 40 stored fields beside 2 methods. The bar is 30 stored fields; this is 10 over it, 1.33\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":"lore-server/src/telemetry/tokio_bridge.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"32429c26d8e8b4919667a09dc123558f85daf840d2666c3255314136c7cdfbf6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LoreStorageService: ClassTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 5 methods, 4 blocks, lines 75-861. The bar is 400 significant lines; this is 132 over it, 1.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":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ab5d523969666d312723659b80636210fef6f8bcd48b7bf32fd05984caef0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_client::cli::commands::branch::handle_branch_push: FunctionTooLong \u2014 lore_client::cli::commands::branch::handle_branch_push 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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09f41ea86db2ea0c5ccbd3369943d6fa923b21a5888159db6a84b58bd493c79"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rbe_worker::run_lease: FunctionTooLong \u2014 rbe_worker::run_lease 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":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"4453655b80666c7b4af41dfa7e41787d50955e99ac44f22ad9adae5b94dfb712"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fuse/swap.rs: FileTooLong \u2014 652 significant 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 152 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/fuse/swap.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"108fc859772be9207bf29750b2a1b570785775b2cae80003ea22daa8f5d684d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_client::cli::commands::repository::handle_repository_verify_fragment: FunctionTooLong \u2014 lore_client::cli::commands::repository::handle_repository_verify_fragment 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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9e31914497c46230e6dae8f3c8c103ea9c07395f8ae1fa5cbcae466757f21b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::file::info::info_path: FunctionTooLong \u2014 lore_revision::file::info::info_path 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":"lore-revision/src/file/info.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccffe26fb50296c520084c5a77d07695e7b79b1430c1670175742bbcd3270e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore::revision_tree::move_node::plan_entries: FunctionTooLong \u2014 lore::revision_tree::move_node::plan_entries 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":"lore/src/revision_tree/move_node.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fb09875b66507c8f42bda101647b7dc22e15c2fdb358d645f8421ad17d2c82"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::commit::rehash_directory: FunctionTooLong \u2014 lore_revision::commit::rehash_directory 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":"lore-revision/src/commit.rs"},"region":{"startLine":5287}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcc2aed28bcf47ec50a10e5669d39ce453021ab4e3a3846499a2c23b089484f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::link::update::update: FunctionTooLong \u2014 lore_revision::link::update::update 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":"lore-revision/src/link/update.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff5d088880a6c92dddf02889583cbbb5684b3ee8351806c9cbd982641203dac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: State.block_deserialize: MethodTooLong \u2014 block_deserialize 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":"lore-revision/src/state.rs"},"region":{"startLine":3065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dfae8c456db49c666c1c4111d2b22925c22e7284c82d094a7b0fe2946a17c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::state::os_diff::handle_single_file_compare_result: FunctionTooLong \u2014 lore_revision::state::os_diff::handle_single_file_compare_result 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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c58e95fb73b8cbd300c32d468078f89bf7d8029388f7915b99e09262a0fb05"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: local/store_lock.rs: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/store_lock.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaded38d51cf45caef7cfabf9b63f763b4a25b235f616b78ed7c579395f30478"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::revision::find_last_merged_revision: FunctionTooLong \u2014 lore_revision::revision::find_last_merged_revision 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":"lore-revision/src/revision.rs"},"region":{"startLine":2509}}}],"partialFingerprints":{"codehealthFindingId/v1":"c225819a9f89f893e5256766767b1fa2c206dbd30ab5b339b139db32e6317fb2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RepositoryContext: ClassTooLong \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), 66 methods, 3 blocks, lines 694-1724. The bar is 400 significant lines; this is 111 over it, 1.28\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":"lore-revision/src/repository.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a77d864c7cc149294490b544782ab98c8f07d1f226460c320cfb531d9c06c4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::repository::clone::process_block_item: FunctionTooLong \u2014 lore_revision::repository::clone::process_block_item 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":"lore-revision/src/repository/clone.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d593937bcb521ff1dd44613d6bc75fd1dd6bae4be5be52039caac58e082768c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IoDriver: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"lore-io/src/driver.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cdab89530c8680ecd07ce88ed64ce2e61e744fda8d07f2d73b1b986860f51e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PackStore: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"lore-storage/src/packstore.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"79532d67d17479dca26ded4037c9f0cdc8a77a370832e71d7d3b0c67143339cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth/exchange.rs: FileTooLong \u2014 631 significant 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 131 over it, 1.26\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":"lore-transport/src/auth/exchange.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7878789ac4fd72c381ede82caf097c7c98d1782e16f7bf6d8a204d8547e5c584"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: State.serialize_keeping: MethodTooLong \u2014 serialize_keeping 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":"lore-revision/src/state.rs"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e28bc596d4a115da79f49e7c8980873f97afc39c521220b34e05fac1f4c163c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::state::os_diff::diff_filesystem_missing_nodes: FunctionTooLong \u2014 lore_revision::state::os_diff::diff_filesystem_missing_nodes 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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"d243b882bcff27782d4009b3798cc6197f02324431a2075cad8b660f1a0df593"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::lock::file::acquire::acquire: FunctionTooLong \u2014 lore_revision::lock::file::acquire::acquire 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":"lore-revision/src/lock/file/acquire.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6204a96d58d6cddca233c2eac97f14e5478af818fb8a66caf29461016c77f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_server::grpc::handlers::repository_create::repository_create: FunctionTooLong \u2014 lore_server::grpc::handlers::repository_create::repository_create 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":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9079f666ef9a52419653557b2b76027ee2dd3ed3733b2feb19c72a0caaa887"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/settings.rs: FileTooLong \u2014 621 significant 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 121 over it, 1.24\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":"lore-server/src/settings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7845cb2980da3a0f2bbb5f332d505ace62f38e31ab77104e1476f2342ba2a850"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::state::gather_tree_paths_node: FunctionTooLong \u2014 lore_revision::state::gather_tree_paths_node 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":"lore-revision/src/state.rs"},"region":{"startLine":7761}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9434767a0af82befd7a03a9b2326da3463105da4aca65bb118e08a157253e7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_server::grpc::thinclient::v1::revision_diff::run_three_way: FunctionTooLong \u2014 lore_server::grpc::thinclient::v1::revision_diff::run_three_way 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":"lore-server/src/grpc/thinclient/v1/revision_diff.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1790375293b939434991f89127ba22a744974d6c5e859776c298bfe5b4bce7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InstanceOperationImpl: ClassTooLong \u2014 494 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 24 methods, 3 blocks, lines 1163-1923. The bar is 400 significant lines; this is 94 over it, 1.24\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":"lore-revision/src/fs/filesystem_provider.rs"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac8de47b35925648075dd90588527d3846675e5a7321921794c3d5ad82e19aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalFiles: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ba73434625a64474215eff793268c26a039724559dbab78cf69316987ca789"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::list_output: FunctionTooLong \u2014 lore_revision::branch::list_output runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch.rs"},"region":{"startLine":4298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d78b17c749db1b5eeee3ab0bd069257104a452d90fc20a55af9ed7c07eb9db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: quic/chunking.rs: FileTooLong \u2014 610 significant 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 110 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":"lore-transport/src/quic/chunking.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2279c3c0a3272030f145120efd2912364eea56fcbb89de4ee7736f3770ad71e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grpc/storage_service.rs: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: LoreStorageService (4 blocks, 75-861). The bar is 500 significant lines; this is 104 over it, 1.21\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":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8b23e904986664f616f4787ace63a8c69724898a2f0149693f52fb57fd4ae6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: swfs/api_interface.rs: FileTooLong \u2014 601 significant 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 101 over it, 1.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":"lore-revision/src/fs/swfs/api_interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94648baa2d4b319430a885ccd76d86cf06e87ac4a35ba101f3bc9dac86f2c377"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RelativePath: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"lore-revision/src/util/path.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44736566deb0e1c1c4ded6ea50b9c070c2a8b195fb9f25f0fae22408c7241c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::commit::commit_staged_revision: FunctionTooLong \u2014 lore_revision::commit::commit_staged_revision 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":"lore-revision/src/commit.rs"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"feab5a948225f83e90072e0f84a4b1751ca7147de8118978b123169c1922ee13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fragment_cache/prefetch.rs: FileTooLong \u2014 597 significant 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 97 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":"lore-revision/src/fs/fuse/fragment_cache/prefetch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9257dc4eb219aa7577c3cdcf7b6d454cffdac8eadbe24726c12232438621de08"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::diff::diff: FunctionTooLong \u2014 lore_revision::branch::diff::diff 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":"lore-revision/src/branch/diff.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b732a9da9145ac240ab8b86a079bd7972a2e001b6ed408f3929841f0740c8e9c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Listing.build_with: MethodTooLong \u2014 build_with 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":"lore-revision/src/fs/fuse/listing.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"286e9fd9c7577b3b4a29902081e8f2e3f525a3268bbf69f536569fef48e60d20"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: State.node_move_staged: MethodTooLong \u2014 node_move_staged 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":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0079f35e0cea6fc174162ba716d7e3f1a99a9c9bc7c4921929b95ac9e3f211"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalImmutableStore.compact_packfiles: MethodTooLong \u2014 compact_packfiles 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":4301}}}],"partialFingerprints":{"codehealthFindingId/v1":"572bbe2a7a0a1472ccc7d402ae29a5a8e234229694a78ac70a899528fa007143"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file/audit.rs: FileTooLong \u2014 592 significant 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 92 over it, 1.18\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":"lore-revision/src/file/audit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c050db76d374024582d1ea8780885ffddde70230cf37cfa481747b5b1f5e5a7b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Metadata: ClassTooLong \u2014 472 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 48 methods, 4 blocks, lines 347-1227. The bar is 400 significant lines; this is 72 over it, 1.18\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":"lore-revision/src/metadata.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adfccca4dcb8333b883e342533049ff38f14aa2f6554432b0e76977543a5d67"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: types/mod.rs: FileTooLong \u2014 590 significant 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 90 over it, 1.18\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":"lore-base/src/types/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe0208c6b2b55601463a312a83e6f71fad29ed4ad5ec3ba4601c28e95ce9c65"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FuseFilesystem.lookup_in: MethodTooLong \u2014 lookup_in runs 118 significant 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 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7554412826178115d4d511fddac3f7487722d9a12852e4b8bc492d374a9ae49"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node/discard.rs: FileTooLong \u2014 586 significant 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 86 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/node/discard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9091654e261843b7d25a6e1e6632a593520c1045ec0bbae21a8240f422761b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/runtime.rs: FileTooLong \u2014 585 significant 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 85 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-base/src/runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb113e1b6655bdcd15937fea69cc231bb550ff6b724fa82f044f3a590ea3a39"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: revision_tree/delete.rs: FileTooLong \u2014 583 significant 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 83 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/revision_tree/delete.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"014a937fe784479568ae47823211c426cf536713af758bbc7e9d7852e020d8f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: clone/walk.rs: FileTooLong \u2014 580 significant 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 80 over it, 1.16\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":"lore-io/src/clone/walk.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85757f4ed4433c02d34e3f0b849d78a3b9951c6289ea587be4aa397d475113f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FuseFilesystem.create_node: MethodTooLong \u2014 create_node runs 116 significant 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 16 over it, 1.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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aff737945ae523aa98a29d824d85f881b3b42f1519deb86d3875328981e46d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::revision::info::info: FunctionTooLong \u2014 lore_revision::revision::info::info runs 116 significant 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 16 over it, 1.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":"lore-revision/src/revision/info.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bb02a9756c2caa02371fefd9129680039b5c864114b6916eb0670e545403e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::state::verify_node_name_case_impl: FunctionTooLong \u2014 lore_revision::state::verify_node_name_case_impl runs 116 significant 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 16 over it, 1.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":"lore-revision/src/state.rs"},"region":{"startLine":10866}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4513ade3d736b3cc0ac0ffe679ec0e014fe8aaf2177cadc56e9f786e478207"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_storage::local::immutable_store::oodle_migration::migrate_bucket: FunctionTooLong \u2014 lore_storage::local::immutable_store::oodle_migration::migrate_bucket runs 116 significant 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 16 over it, 1.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":"lore-storage/src/local/immutable_store/oodle_migration.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4382cfcc9d38bf4c702fcf76098dfd5c1eccbcd78986b32e345a7e853c1bc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node/rewrite.rs: FileTooLong \u2014 576 significant 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 76 over it, 1.15\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":"lore-revision/src/state/node/rewrite.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ac73976ed150958a69d02dd775cad15b10e30e57983f927e76af175ce94904"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::repository::branch_switch: FunctionTooLong \u2014 lore_revision::repository::branch_switch 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":"lore-revision/src/repository.rs"},"region":{"startLine":4057}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a29803293f2bc11b17ce56e13168dd5ebfaf791c645918a305d6993a88fa5e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_server::grpc::handlers::branch_push::handler: FunctionTooLong \u2014 lore_server::grpc::handlers::branch_push::handler 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":"lore-server/src/grpc/handlers/branch_push.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cfe04b53da2c37dab5029bb47cfe426d3cc4ebbb34c1887682f58226b2407b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: revision_tree/add.rs: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 70 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":"lore/src/revision_tree/add.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"134dce8040f1671a048a7f1f03bb864b513667febafd849e8a0e83e7f51f48e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::commit::commit_layer_only: FunctionTooLong \u2014 lore_revision::commit::commit_layer_only 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":"lore-revision/src/commit.rs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf62ba3053f2274d7095bbbacf0fca94e3311aa482b57926b4de0400ef9573c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: State.move_named: MethodTooLong \u2014 move_named 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":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d28dc7050d3e83ebee85e3f6db9778d9154cc44cb6420776bcbc9ba755f4066"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LoreStorageService.copy: MethodTooLong \u2014 copy 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":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37e36a30d621a3d42cf056752fbb0d8f36866ea017b032ce2a0fce6c159dd75"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalImmutableStore.put: MethodTooLong \u2014 put 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":5592}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac208a6ac5daa7967c2f5dcf7053ffa0ccc009c07016a96a8002613200dd71a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IocpDriver: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 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":"lore-io/src/iocp.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ab9326b178900bb5bd5432dbcc8f4bd37b2da2e0097ec7f34c11bafcd85051"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: lore_storage::local::fan_out: TooManyFunctions \u2014 34 free functions. The bar is 30 free functions; this is 4 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":"lore-storage/src/local/fan_out.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db141b115f2aafc8a97f1d6e8fa8913bbeba92946c64d1c9b3ba4128d7c2d40"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: LoreCli: TooManyFields \u2014 34 stored fields. The bar is 30 stored fields; this is 4 over it, 1.13\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":"lore-client/src/cli/cli.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2662b7daa75b83967c4a1440aa261b4b29bb41da96f765b95e583de71bfb2b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FuseFilesystem.rename_onto: MethodTooLong \u2014 rename_onto 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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":3046}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab7ba233a70cafa02cea0e49805ed354655fc67147c11a9591da7f7ec0728bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StageDescent.descend: MethodTooLong \u2014 descend 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":"lore-revision/src/stage.rs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8c95eca360d97a02f61cd46cd723b8ccb19b5a7a744ad03628241b64371c6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/cas.rs: FileTooLong \u2014 557 significant 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 57 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/cas.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec3e5d127d2464262f60cdfdfd6dc3a450a8da5e09701a114883a41f21ff26b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::file::info::calculate_local_filtered_size_hash: FunctionTooLong \u2014 lore_revision::file::info::calculate_local_filtered_size_hash 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":"lore-revision/src/file/info.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"30987711245738254820b76694130a4753b207f399514952eff4e10851dc32c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::state::scoped_roots: FunctionTooLong \u2014 lore_revision::state::scoped_roots 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":"lore-revision/src/state.rs"},"region":{"startLine":8540}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9d97bef729b62f86adb5b1d1b0a2219859152515df693751f8e240ec217b99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/uring.rs: FileTooLong \u2014 554 significant 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 54 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-io/src/uring.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc49a7c747fb4f1674105d925f12e52413cbac3b3aef0296e73e80aaa44a8068"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node/mark.rs: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 52 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/node/mark.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d930a551f13f5062dab73bf34799e6ba9b7489a46883a19ae6f572fd8c5f3b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FuseOperation: 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":"lore-revision/src/fs/fuse/operation.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a1e37d03f2560311795ac19b31c4f36d4664bf4efae2373e31e7bc594d5631"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SwfsInterface: 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":"lore-revision/src/fs/swfs/api_interface.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d89d7e1125211dcd6ca12d5c9f64445dea1778aaaa6b61c2fcbf81fa0946c6c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: lore::remote::service_process: TooManyFunctions \u2014 33 free functions. The bar is 30 free functions; 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":"lore/src/remote/service_process.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"085d24eb11a7b7b4bf5a7eb1c4d3a613e20723189ead83484060bf8678a93401"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::merge::merge_start: FunctionTooLong \u2014 lore_revision::branch::merge::merge_start 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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf616a1807b7340dfa253bd00232107af2840f6975514b2ef631ebe995b90e8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalImmutableStore.compact_group_packfiles: MethodTooLong \u2014 compact_group_packfiles 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":4509}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d868588d34351f6284e0cc2fc9fb02adc40f6d025723e91c3ea90b527ebcf9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DynamoDbImpl: ClassTooLong \u2014 437 significant 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 237-817. The bar is 400 significant lines; this is 37 over it, 1.09\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":"lore-aws/src/dynamodb.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a62a5b790054aee1dc98f3a9084c0bcc78312d8fc2fd2e2d998eeeada5a4758"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::layer::find_revision_match: FunctionTooLong \u2014 lore_revision::layer::find_revision_match 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":"lore-revision/src/layer.rs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9c37feb9478cc643106fcb4e0c67710b0b91de6d45b795f614ef8023cd2fc9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_client::cli::commands::revision::handle_revision_commit: FunctionTooLong \u2014 lore_client::cli::commands::revision::handle_revision_commit 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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0194f88e0f3bfd4b6a71eb5f0b5a23c91f5d48691c4cef2dfbffb31774c4bd67"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::commit::commit_link: FunctionTooLong \u2014 lore_revision::commit::commit_link 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":"lore-revision/src/commit.rs"},"region":{"startLine":5106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b09511edb40eeeb3bc0d8c4e557ec55f160518cfd03df8a0323488647ed3c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::instance::instance_clone_with: FunctionTooLong \u2014 lore_revision::instance::instance_clone_with 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":"lore-revision/src/instance.rs"},"region":{"startLine":2999}}}],"partialFingerprints":{"codehealthFindingId/v1":"79eae5e482eb5180ecdf4473af22bfc27cc18eead25715d8532d30940a1517e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/auth.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":"lore/src/auth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4983e883f6052b77ac26389ef5ee23a442186244f50aa213457deebce09e6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_client::cli::commands::revision::handle_revision_info: FunctionTooLong \u2014 lore_client::cli::commands::revision::handle_revision_info 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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"86418593191ebaecbd740d5d0b6458cf6647003edd2ee1273b9399bfbdedddc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_server::grpc::repository::v1::repository_create::repository_create_inner: FunctionTooLong \u2014 lore_server::grpc::repository::v1::repository_create::repository_create_inner 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":"lore-server/src/grpc/repository/v1/repository_create.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3f47a739c75434faf469577be2251a57296f1e8b889c9acaa8cc5e356490b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/iocp.rs: FileTooLong \u2014 534 significant 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 62% of them inside a single declaration: IocpDriver (3 blocks, 294-854). The bar is 500 significant lines; this is 34 over it, 1.07\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":"lore-io/src/iocp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffca74cff069efb39838895c45ebc68f73dcf1ed58cb17890ca5dead245c1ef5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v1/revision_diff.rs: FileTooLong \u2014 534 significant 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 34 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/thinclient/v1/revision_diff.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e0527b9df3afec69cda00956204ce003081d6df23ec30bb82990a639eb7be0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/replicated_store.rs: FileTooLong \u2014 534 significant 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: ReplicatedStore (3 blocks, 77-545). The bar is 500 significant lines; this is 34 over it, 1.07\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":"lore-server/src/store/replicated_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"077dd332853df34e9ed260d4d1133d5cee03894a5d8a6daa8b9fb18b043a6327"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grpc/mod.rs: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 34 free functions. The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc244c32a74460ff8650d49ca798dba64b745c6324c94b6504b643ca3afd64b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: uds/mod.rs: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 32 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/uds/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93725408bc50516f9f704f8c9a7a6e1ba4edd4149d5dcb37c2dbc31f51ca01eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::fs::hold::fill_in: FunctionTooLong \u2014 lore_revision::fs::hold::fill_in runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0dc445f621aa7c90ed9d02eb108648f8f1875fd54b9fca3154abe469084252"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImmutableStoreBucket.deserialize_file_content: MethodTooLong \u2014 deserialize_file_content runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf305b6b2ed9f46e64dcad2b495fefdb4a659bf2c06c9e60313ee67e442fe5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_storage::mutable_conformance::verify_mutable_store: FunctionTooLong \u2014 lore_storage::mutable_conformance::verify_mutable_store runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8544d90bda1921226a850cae3eada6b2bcdc0d42c3ca92aa54e945d48224597e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_storage::write::compare_previous_chunks: FunctionTooLong \u2014 lore_storage::write::compare_previous_chunks runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/write.rs"},"region":{"startLine":2468}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f443c93f71ccba7991baec7ea700b394a4b321a5eaf4678585e8c28b707e5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_transport::quic::client::reconnect: FunctionTooLong \u2014 lore_transport::quic::client::reconnect runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-transport/src/quic/client.rs"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb83f6be53da245fd476168e26c7f5d7c2ccdec17ce9ebcc703cc1af101c752"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynamoDbLockStore.unlock_resources: MethodTooLong \u2014 unlock_resources 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":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d30db3661d0d5131141cb6bf8138c37d36dbdd936724a9d77ad0c6e260c691"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::revision::resolve_revision: FunctionTooLong \u2014 lore_revision::revision::resolve_revision 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":"lore-revision/src/revision.rs"},"region":{"startLine":3226}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cda8cf105c232c2752ba89fe8c4a61d0ed62de8d5be3c168800fa616def186"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_transport::auth::exchange::exchange_custom_resource: FunctionTooLong \u2014 lore_transport::auth::exchange::exchange_custom_resource 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":"lore-transport/src/auth/exchange.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"c557432438d3ca150104570dc3e6d438e1545afe88935bea9b93f5be51ae89b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::merge::merge_start_link: FunctionTooLong \u2014 lore_revision::branch::merge::merge_start_link 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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"14aea4f02cd7d9b90112247ba2d37dfe965a0e4de3f9da6f995699b076674b46"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::merge::merge_unresolve: FunctionTooLong \u2014 lore_revision::branch::merge::merge_unresolve 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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":4569}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d66ad6235ad0d1be22a2cd7a9e31de3581df1132160605f4f43dbe1d1b896e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::file::diff::emit_diff3_changes: FunctionTooLong \u2014 lore_revision::file::diff::emit_diff3_changes 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":"lore-revision/src/file/diff.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"008a3c64bbd7385516f7d2024d3cc0a702d1dc3684db4e0bf737a5fa65cf0355"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::instance::instance_clone_plan_with: FunctionTooLong \u2014 lore_revision::instance::instance_clone_plan_with 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":"lore-revision/src/instance.rs"},"region":{"startLine":2840}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a571e20095a4d050d9333563a98464a806cb121e7a8cfd9c9d5a86675d242a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalImmutableStore.evict_group_sized: MethodTooLong \u2014 evict_group_sized 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":3786}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cbc7b79d009f6ef073aa7a6fcde36e8ecec4e987bf736769aa090368087e7f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PsyncDriver: 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":"lore-io/src/psync.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2f0e3099b2f834861f25fb35c293d21dade1e772e4cb27120f42b7c316e7b2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModifiedTree: 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":"lore-revision/src/fs/swfs/modified_tree.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b73dc37d54d790e4cd262ed3e6404aeea28d8f7342caac58c71b33f32b74184"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::layer::sync_in_operation: FunctionTooLong \u2014 lore_revision::layer::sync_in_operation 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":"lore-revision/src/layer.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab12d641b68f1d69df1246dad8b8fff6b39e08fe0cd3ca74a2f00e831794268"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::branch::reset::reset: FunctionTooLong \u2014 lore_revision::branch::reset::reset 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":"lore-revision/src/branch/reset.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1684cfa2aa754bac84db72269f655e50dc195c789a8bc326069f6b38c36ae69"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::commit::commit_link_node: FunctionTooLong \u2014 lore_revision::commit::commit_link_node 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":"lore-revision/src/commit.rs"},"region":{"startLine":4939}}}],"partialFingerprints":{"codehealthFindingId/v1":"d480976d26194f0c1e053de1e10715a8955ee2d7e4d8ac42f03d77289e4c6b6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_revision::state::diff::find_sorted_children: FunctionTooLong \u2014 lore_revision::state::diff::find_sorted_children 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":"lore-revision/src/state/diff.rs"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7afacece2bdbfec7dc05ca56fa89316beb930751434b2dd3b8cfeff42aa77bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LoreStorageService.put: MethodTooLong \u2014 put 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":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"507f666befae8d9f43c45ee04b0cc826504090c92a4ccdff665102be9c20d879"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore_transport::auth::exchange::exchange: FunctionTooLong \u2014 lore_transport::auth::exchange::exchange 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":"lore-transport/src/auth/exchange.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbdcba6509b3453a6aa72f6beb11903b5cace808e56114ba5ed439f43df2867"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SerialChunking.resolve_into: MethodTooLong \u2014 resolve_into 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":"lore-transport/src/quic/chunking.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d1daa8542d8617c21b556aaa0d4223b18e49e7738944caa011e444251486e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lore::revision_tree::add::plan_entries: FunctionTooLong \u2014 lore::revision_tree::add::plan_entries 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":"lore/src/revision_tree/add.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"965ddcfde16ec169d4d83feaeedc36e5a41bfd76b7ffcc61ae51e6af5e837e9f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FuseMountManager: ClassTooLong \u2014 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), 20 methods, 2 blocks, lines 125-745. The bar is 400 significant lines; this is 3 over it, 1.01\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":"lore-revision/src/fs/fuse/mount_manager.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1376dc35ebf87145672c37691874431638f1a311a863d32f8d6107362aeefe79"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 26 shared lines): lore-server/src/grpc/storage/v1/copy.rs:148-230 | lore-server/src/grpc/storage/v1/get.rs:111-186 | lore-server/src/grpc/storage/v1/get_metadata.rs:110-185 | lore-server/src/grpc/storage/v1/get_resolved.rs:135-262 | lore-server/src/grpc/storage/v1/put.rs:116-188 | lore-server/src/grpc/storage/v1/put_resolved.rs:175-303 \u2014 These 6 members are variants of one another: a block of 26 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":"lore-server/src/grpc/storage/v1/copy.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcd766c03048fa621500c5cbea6648e69dea145e11b00d6d78b5af88935546a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 30 shared lines): lore-client/src/cli/commands/branch.rs:1762-1812 | lore-client/src/cli/commands/file.rs:1069-1122 | lore-client/src/cli/commands/repository.rs:1680-1729 | lore-client/src/cli/commands/revision.rs:2322-2367 \u2014 These 4 members are variants of one another: a block of 30 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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f88dff23f48135cf05e68bcf3dea92bf1164acb7af899c5401e49b6adce460"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (115 shared lines): lore-transport/src/auth/exchange.rs:297-432 | lore-transport/src/auth/exchange.rs:450-588 \u2014 These two members are variants of one another: 115 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":"lore-transport/src/auth/exchange.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"72886fcd9bcc8f242629c4dbf56d047fbd718a03ae515d3459676dee49eec3a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (111 shared lines): lore-storage/src/local/immutable_store.rs:6811-7069 | lore-storage/src/local/mutable_store.rs:1625-1941 \u2014 These two members are variants of one another: 111 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6811}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e1ecc32cfae6d96f37dae5a7e41a2b53583e54cb9aa073cce9c66c55bf80c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (80 shared lines): lore-server/src/grpc/handlers/repository_create.rs:159-326 | lore-server/src/grpc/repository/v1/repository_create.rs:240-377 \u2014 These two members are variants of one another: 80 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":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bbf93e822fe829fb527d9fce7cd973f7cb7cf52970ea39f6d81a15698bc5ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (60 shared lines): lore-revision/src/state.rs:2373-2489 | lore-revision/src/state.rs:2630-2730 \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":"lore-revision/src/state.rs"},"region":{"startLine":2373}}}],"partialFingerprints":{"codehealthFindingId/v1":"277dfb0b64da12a2a5a3f97e5dbb5dab93bdeabf0924ca1e5a6652356a11ada7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (60 shared lines): lore-storage/src/local/immutable_store.rs:1991-2145 | lore-storage/src/local/mutable_store.rs:1013-1137 \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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8bf94f938917cf39afe9c01b0f0a791a89f9e94937fbacc466532e24429848"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (55 shared lines): lore-storage/src/local/immutable_store.rs:7079-7152 | lore-storage/src/local/mutable_store.rs:2342-2428 \u2014 These two members are variants of one another: 55 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":7079}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf0d06485cfc6ef2581190bcbec36326e22002af80bf6672367d266910d4c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): lore-revision/src/revision/cherry_pick.rs:147-268 | lore-revision/src/revision/revert.rs:143-255 \u2014 These two members are variants of one another: 54 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":"lore-revision/src/revision/cherry_pick.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9d3b7c38a4e39440514fb55532612090ce160de9da4baba93cce7d47c4ae94"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): lore-server/src/grpc/storage_service.rs:131-254 | lore-server/src/grpc/storage_service.rs:276-427 \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":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e44834f4ff10f76f66250bf2f2584c58ba2febe4453b8520c293e57ab39390"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (49 shared lines): lore-server/src/grpc/handlers/branch_push.rs:613-750 | lore-server/src/grpc/revision/v1/branch_push.rs:77-244 \u2014 These two members are variants of one another: 49 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":"lore-server/src/grpc/handlers/branch_push.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf6aa78609a68f64ddd804941eac7e22b7e60f60fab236b123b59cc48feee86"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): lore/src/dependency.rs:78-145 | lore/src/dependency.rs:190-253 \u2014 These two members are variants of one another: 43 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":"lore/src/dependency.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a73409fd1614c2eadc28197f66648bec1c1a54c317ef5b4f118012a0137154"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): lore-server/src/grpc/thinclient/v1/helpers.rs:173-224 | lore-server/src/grpc/thinclient/v1/revision_info.rs:86-158 \u2014 These two members are variants of one another: 36 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":"lore-server/src/grpc/thinclient/v1/helpers.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d13fcaf63e9e8fe1308ca5c38be84c5f2a90596479e21a074d2b74185d7c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (32 shared lines): lore-server/src/grpc/handlers/revision_list.rs:216-326 | lore-server/src/grpc/revision/v1/revision_list.rs:558-689 \u2014 These two members are variants of one another: 32 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":"lore-server/src/grpc/handlers/revision_list.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b040e545af305b7289af2f6c1f3bc018015b7f5e58522f2671f2ec3a3061f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): lore/src/storage/get.rs:136-165 | lore/src/storage/get_file.rs:116-141 | lore/src/storage/get_file_resolved.rs:124-149 | lore/src/storage/get_resolved.rs:151-180 | lore/src/storage/put.rs:117-148 | lore/src/storage/put_file.rs:118-147 | lore/src/storage/put_file_resolved.rs:130-159 | lore/src/storage/put_resolved.rs:146-177 \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":"lore/src/storage/get.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bef1b6515cc4aacd93c43bc1b0bd9154805493c37b2d90c73b80c0212fbebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lore-client/src/cli/commands/branch.rs:649-753 | lore-client/src/cli/commands/link.rs:283-337 | lore-client/src/cli/commands/link.rs:339-383 | lore-client/src/cli/commands/revision.rs:570-674 | lore-client/src/cli/commands/revision.rs:676-824 \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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d6678b686ca91f040ec078053cc7f84e868972c5ab084ae63b949a8301210a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lore-client/src/cli/commands/file.rs:1834-1876 | lore-client/src/cli/commands/file.rs:1878-1926 | lore-client/src/cli/commands/file.rs:1928-1994 | lore-client/src/cli/commands/link.rs:116-186 | lore-client/src/cli/commands/link.rs:188-219 \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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":1834}}}],"partialFingerprints":{"codehealthFindingId/v1":"1573a28b16eebcfc03777e62d708c82b17033525fa8f95e7d09149f3ec15844b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lore/src/revision_tree/add.rs:490-625 | lore/src/revision_tree/delete.rs:209-294 | lore/src/revision_tree/metadata_clear.rs:127-139 | lore/src/revision_tree/metadata_set.rs:158-191 | lore/src/revision_tree/modify.rs:174-228 \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":"lore/src/revision_tree/add.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea1586fbb8f4d40bf861679033de0425ff0d5ef26e4cf38118e8b607e740aa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore-client/src/cli/commands/branch.rs:1091-1162 | lore-client/src/cli/commands/branch.rs:1164-1228 | lore-client/src/cli/commands/revision.rs:1622-1680 | lore-client/src/cli/commands/revision.rs:1682-1758 \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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f2bca6d8e91e8fdf8bca93fa34a2b3506d061d31965b116fcd6b15b3261d20"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore-client/src/cli/commands/file.rs:1177-1244 | lore-client/src/cli/commands/file.rs:1246-1294 | lore-client/src/cli/commands/file.rs:1308-1348 | lore-client/src/cli/commands/file.rs:1369-1426 \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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d445995d5665ee1bb7c42e5a24c82590bddaba2b05998b3e0d8dfa835b3126bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore-revision/src/branch/merge.rs:4410-4454 | lore-revision/src/branch/merge.rs:5185-5279 | lore-revision/src/revision/cherry_pick.rs:297-341 | lore-revision/src/revision/revert.rs:277-317 \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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":4410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b36754fc0e1f19bbab40d02d5da73b35c3d4c841ac9fdb640cc451d3317d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore-revision/src/fs/fuse/write.rs:1400-1418 | lore-revision/src/fs/fuse/write.rs:1427-1442 | lore-revision/src/fs/fuse/write.rs:1543-1563 | lore-revision/src/fs/fuse/write.rs:1566-1579 \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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba31da1ab41323afce08ee48d9e0d545791af7fcce132d3dde9bd55ce8bfeebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore-revision/src/metadata.rs:727-763 | lore-revision/src/metadata.rs:765-803 | lore-revision/src/metadata.rs:962-1086 | lore-revision/src/metadata.rs:1190-1222 \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":"lore-revision/src/metadata.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"7982c58ae6ac530c5b49ff3fe88cb6d34868e9b33f348dcfb076d3db793a97cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore-revision/src/metadata/get.rs:19-44 | lore-revision/src/metadata/get.rs:60-90 | lore-revision/src/metadata/list.rs:18-43 | lore-revision/src/metadata/list.rs:49-79 \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":"lore-revision/src/metadata/get.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"376cd721ede20e320dbda531f0c2b663a78235ba960814d46667834e8fff3d88"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore-server/src/grpc/handlers/branch_metadata_set.rs:114-219 | lore-server/src/grpc/handlers/branch_protect.rs:31-69 | lore-server/src/grpc/handlers/branch_unprotect.rs:31-73 | lore-server/src/grpc/revision/v1/branch_metadata_set.rs:58-181 \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":"lore-server/src/grpc/handlers/branch_metadata_set.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9db7dc605c8a5fb09345bcbbd125ffd3397ad25c4dc16faadc19c6be7ca1a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore-server/src/grpc/handlers/repository_query.rs:103-157 | lore-server/src/grpc/handlers/repository_query.rs:165-215 | lore-server/src/grpc/repository/v1/repository_get.rs:181-229 | lore-server/src/grpc/repository/v1/repository_get.rs:241-286 \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":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc02f8b8fd1f75a833e14475a97e95751118fda978c8665e3daae53395063656"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore-server/src/protocol/replication_store/get.rs:53-62 | lore-server/src/protocol/replication_store/get_metadata.rs:49-58 | lore-server/src/protocol/replication_store/obliterate.rs:48-57 | lore-server/src/protocol/replication_store/put.rs:74-103 \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":"lore-server/src/protocol/replication_store/get.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f97882b86d491c2e0cc92b0286debd63a778bf2925748efa7e427fb6db3a212"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore-storage/src/conformance.rs:500-565 | lore-storage/src/conformance.rs:697-732 | lore-storage/src/conformance.rs:744-788 | lore-storage/src/conformance.rs:969-1016 \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":"lore-storage/src/conformance.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c30785fa3d2d87cddc242b8bd834a6963bbe967496e2688170e47d26f955e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore-storage/src/local/immutable_store.rs:3120-3323 | lore-storage/src/local/immutable_store.rs:3509-3581 | lore-storage/src/local/immutable_store.rs:5254-5275 | lore-storage/src/local/immutable_store.rs:6270-6354 \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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":3120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7d66264e96bd26911f535f5ce408c3d15e5e9a83fa28b4ec201362afd91a94"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore-transport/src/grpc/storage_client.rs:988-1066 | lore-transport/src/grpc/storage_client.rs:1072-1150 | lore-transport/src/grpc/storage_client.rs:1155-1192 | lore-transport/src/grpc/storage_client.rs:1200-1237 \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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0208dfa7121710e1e729dada5d60d631974d51f847def8fdea1c63b4212a573"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lore/src/storage/put.rs:164-222 | lore/src/storage/put_file.rs:161-192 | lore/src/storage/put_file_resolved.rs:176-213 | lore/src/storage/put_resolved.rs:192-245 \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":"lore/src/storage/put.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec1377c3b0a0e054ff863efc48a5168297eff559beec3d1b30d792081324b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (121 corresponding lines): lore-storage/src/compress.rs:709-836 | lore-storage/src/compress.rs:842-962 \u2014 These two members are one piece of code written twice and then edited apart: 121 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/compress.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"be240ee6861c02e968654ef4de5c628f496f7c502fd6fc13f985ce19ee9223b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (95 corresponding lines): lore-client/src/cli/commands/revision.rs:926-1020 | lore-client/src/cli/commands/revision.rs:1025-1152 \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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"087033fd39be9be5708fec15117ddb9202ab2380dee0213783dfb6933bb8f507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (94 corresponding lines): lore-server/src/grpc/handlers/repository_metadata_set.rs:98-199 | lore-server/src/grpc/repository/v1/repository_metadata_set.rs:50-143 \u2014 These two members are one piece of code written twice and then edited apart: 94 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_metadata_set.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3657ee0ea050137025d476e75fd5c036555b55cd38901586ce8357aeeafaf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): contrib/bazel/crates/rbe-lore/src/lib.rs:874-951 | contrib/bazel/crates/rbe-lore/src/lib.rs:987-1062 \u2014 These two members are one piece of code written twice and then edited apart: 76 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-lore/src/lib.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe634da5b2549f42cb85799eb3dda6730c800cdf25787bdf244e8ef04be9fd83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): lore-storage/src/local/immutable_store.rs:1652-1780 | lore-storage/src/local/mutable_store.rs:1519-1611 \u2014 These two members are one piece of code written twice and then edited apart: 93 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"180d401a6f05b275692578493896093734b21fd5aee410600617c9f946233fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): lore-revision/src/metadata/branch.rs:323-387 | lore-revision/src/metadata/repository.rs:294-358 \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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"15805e88ff96006bd418a546e008033dc27856d7d7486a81bb158065bd58d616"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): lore-revision/src/state.rs:5847-5921 | lore-revision/src/state.rs:5929-5999 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state.rs"},"region":{"startLine":5847}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffe33a9369c7badc865bf300ab2921e7705e9dd85afdf8d684309855a684d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): lore-revision/src/repository.rs:2752-2814 | lore-revision/src/repository.rs:2852-2910 \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":"lore-revision/src/repository.rs"},"region":{"startLine":2752}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c58447a8aeee3e443c67dd9c383d7f43adda20ec61f59e4f254adffa4215150"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): lore-client/src/cli/commands/lock.rs:138-195 | lore-client/src/cli/commands/lock.rs:197-245 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/lock.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce04c81e5f44d6823c81f44d760e2084a3d95a850dd536448c741cae60096f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lore-client/src/cli/commands/file.rs:2010-2057 | lore-client/src/cli/commands/file.rs:2062-2104 \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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e82cf8edc30fd410b18e557270126f8672148d27a27dbc192fbd8ed0a69ee99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): lore-server/src/plugins/aws.rs:399-467 | lore-server/src/plugins/aws.rs:494-555 \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":"lore-server/src/plugins/aws.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82b2090054e69367c59c7933d5545229f18c7e46ff4f9a3794fce5c60d6ba12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): lore-revision/src/state.rs:934-985 | lore-revision/src/state.rs:999-1049 | lore-revision/src/state.rs:1174-1211 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 38 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":"lore-revision/src/state.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"606a51aedd50c6405ec66fe9031a034baa04bdf389ba8c17ad0b4cf4b7cb7d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): lore-server/src/grpc/storage/v1/query.rs:31-80 | lore-server/src/grpc/storage_service.rs:433-487 \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":"lore-server/src/grpc/storage/v1/query.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b11bd7219fb97755eb85da0ded917ca00bced1e9a8409210bb71ffeb11e8521"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): lore-revision/src/link/list.rs:47-107 | lore-revision/src/link/list.rs:167-235 \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":"lore-revision/src/link/list.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26a78aec0dcc97773434fee3f7a7e0da2abf6ae1bbeb9941f92367183cd78bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): lore-revision/src/commit.rs:3504-3539 | lore-revision/src/commit.rs:4037-4073 \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":"lore-revision/src/commit.rs"},"region":{"startLine":3504}}}],"partialFingerprints":{"codehealthFindingId/v1":"1332810220e250bacec52fb36278fa59fa95c952cfc0d9fde84c59f16883e9b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lore-revision/src/branch.rs:4605-4630 | lore-server/src/grpc/thinclient/v1/revision_info.rs:167-191 \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":"lore-revision/src/branch.rs"},"region":{"startLine":4605}}}],"partialFingerprints":{"codehealthFindingId/v1":"278a8643f428b061d8770d1250ae5ee6347926c51838fd2807c446f4b88076fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): lore-revision/src/metadata/branch.rs:408-455 | lore-revision/src/metadata/repository.rs:377-424 \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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"7347e097d7f3363c490e5a1c4547c3d33f3f9df9e3519bb2ed1745094ffea666"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): lore-client/src/cli/commands/file.rs:1026-1067 | lore-client/src/cli/commands/revision.rs:2281-2320 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7cc7f904cfdb570663a370541d8e8d825a5e91f91682b0dec4bc5d58fa49c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): lore/src/branch.rs:1636-1671 | lore/src/repository.rs:1333-1365 | lore/src/revision.rs:524-553 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 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":"lore/src/branch.rs"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"6199cb66f31f369843b0d2d0c4db687e4138a0b896226fb36a305c306338e19f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lore-storage/src/local/fan_out.rs:592-629 | lore-storage/src/local/immutable_store/info.rs:64-100 \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":"lore-storage/src/local/fan_out.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55043c4c8ebb90c2be90d357b59329981b707025ea7dff4b4c42dbff10e82e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): lore-aws/src/store/immutable_store.rs:760-799 | lore-aws/src/store/immutable_store.rs:1192-1234 | lore-aws/src/store/immutable_store.rs:1246-1299 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 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":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"726f4c71a1d2106c3cd672fcd08e892d4621c29bb67084b2691ca229c26ee4d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lore-server/src/grpc/storage/v1/get.rs:63-104 | lore-server/src/grpc/storage/v1/get_metadata.rs:58-99 \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":"lore-server/src/grpc/storage/v1/get.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9d51d2ecaee1e2bdaa954e469e713327a29a966008c8fb1beea378f25e999d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): lore-server/src/grpc/lock_service.rs:295-342 | lore-server/src/grpc/lock_service.rs:347-400 \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":"lore-server/src/grpc/lock_service.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d042be65b70b112acd28529cc63e0449ed624189c53ae38f2184897097ba016"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): lore-storage/src/local/mutable_store.rs:2068-2105 | lore-storage/src/local/mutable_store.rs:2182-2220 \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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bf6d73e95cfcb86a2b880505ffefce9f388e66511c89041e902cb2d17d86b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 35\u002B corresponding lines): lore-client/src/cli/commands/branch.rs:1046-1089 | lore-client/src/cli/commands/branch.rs:1254-1297 | lore-client/src/cli/commands/revision.rs:1798-1841 | lore-client/src/cli/commands/revision.rs:1892-1930 | lore-client/src/cli/commands/revision.rs:2094-2133 | lore-client/src/cli/commands/revision.rs:2178-2212 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 35 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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fa180c27fe187ae3a72e8ff14a4816ebdf352964ea754c8f6ad4411d0b6796"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): lore-revision/src/file/dirty.rs:2063-2112 | lore-revision/src/file/stage.rs:1272-1321 \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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b6aa9680a8cf926bc05d323c9e86420fb77ac5711546fa15e492392c7a16c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): lore/src/storage/mutable_compare_and_swap.rs:123-174 | lore/src/storage/mutable_load.rs:117-159 \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":"lore/src/storage/mutable_compare_and_swap.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecf8172f3c245f9da3dee0a7f61896608e3226718ab11cc8de012f2a549e388"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): lore-server/src/grpc/storage/v1/verify.rs:31-81 | lore-server/src/grpc/storage_service.rs:667-718 \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":"lore-server/src/grpc/storage/v1/verify.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e38c666ed181bbd9c20dc032d24d2ff97b0f19189cf1118602070bd6540cff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): lore-server/src/grpc/storage_service.rs:724-763 | lore-server/src/grpc/storage_service.rs:769-802 | lore-server/src/grpc/storage_service.rs:808-854 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66b94080e28436e7c19b615bd9cd85d3c454bcd1114d61559055c8ae60ba183"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lore-revision/src/metadata/branch.rs:233-273 | lore-revision/src/metadata/repository.rs:207-247 \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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f90850a4b27a05c174d37975c1389e083d3207533b3d6f9fbc6e7beb8185e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): lore-server/src/hooks/dispatch.rs:237-289 | lore-server/src/hooks/dispatch.rs:353-406 \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":"lore-server/src/hooks/dispatch.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efe4f281610c439c93373bd6340543c3d011a9b4d6f4a3787e805b796a03697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lore-io/src/psync.rs:1365-1401 | lore-io/src/psync.rs:1409-1449 \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":"lore-io/src/psync.rs"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8e8fa8a73b071b247abf1da85bf702f64a3b39dc720cfad4b91f901a475433"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lore/src/repository.rs:548-580 | lore/src/repository.rs:615-655 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/repository.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"af94efeb0db8f7c58964affb3388bde693a6123a8ec40d437d7c310e99b25807"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): lore-storage/src/local/immutable_store.rs:1089-1141 | lore-storage/src/local/mutable_store.rs:463-512 \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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0874d9a8f665bad13d3d4b4629288b971b00f92557bbf9a37ee74a96ded439"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): lore-revision/src/state/node/in_place.rs:336-372 | lore-revision/src/state/node/in_place.rs:382-428 \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":"lore-revision/src/state/node/in_place.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccf247174edac2b63fa72dd19563c3254e8862d9076c28b20f1a4601b45869b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): lore/src/call.rs:96-128 | lore/src/call.rs:307-339 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/call.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"215fa35259b66bd5827709274f1ab444fcf5d7a508e9e87ace7c20c6b1b690f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lore-server/src/quic/replication_store_service.rs:104-121 | lore-transport/src/quic/storage_service/mod.rs:98-115 \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":"lore-server/src/quic/replication_store_service.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20f98321a01102bff35569d23298939c2d98af7fc2f7228748ce163ba33a405"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lore-storage/src/read.rs:141-178 | lore-storage/src/read.rs:2494-2523 \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":"lore-storage/src/read.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"270853bd86977c2ca3675f7133013b3a9a2a6feda41f4d311736f0ea71e8d96b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lore-server/src/grpc/revision/v1/branch_get.rs:116-144 | lore-server/src/grpc/revision/v1/branch_get.rs:149-174 \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":"lore-server/src/grpc/revision/v1/branch_get.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d51d2523785ce85aa03cd54c0bcc0dd12c6b1ba1f2990764caf2f73d9936ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): lore-client/src/cli/commands/lock.rs:98-129 | lore-client/src/cli/commands/lock.rs:247-288 \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":"lore-client/src/cli/commands/lock.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa7033d71d1e7717e16aa55fb57c020b96ab0fad7fb0544cd0b320411571d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): lore-server/src/grpc/storage/v1/mutable_compare_and_swap.rs:30-71 | lore-server/src/grpc/storage/v1/mutable_load.rs:27-68 | lore-server/src/grpc/storage/v1/mutable_store.rs:29-61 \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":"lore-server/src/grpc/storage/v1/mutable_compare_and_swap.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9a1de0e791475ff50a74582e7212f165aabfa97f6704f36cf2a1f861208311"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): lore-client/src/cli/commands/branch.rs:1362-1398 | lore-client/src/cli/commands/revision.rs:1760-1793 | lore-client/src/cli/commands/revision.rs:2056-2089 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"982cf4603397926c120553e290ae54700004cb626f146320f81c9b6955be96f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lore-server/src/protocol/storage/get.rs:118-162 | lore-server/src/protocol/storage/get.rs:170-211 \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":"lore-server/src/protocol/storage/get.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0491ba657e3ec1436d0fa2fcc8b14856962e5e8574e1d0f323af96c415c9dfb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lore-client/src/cli/commands/repository.rs:1924-1954 | lore-client/src/cli/commands/repository.rs:1956-1988 \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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c1ef4679ee277b8bb3fe2fa5b239c45ca6e66a289b59e52ebbb588243b3d25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lore-revision/src/link.rs:477-518 | lore-revision/src/link.rs:554-578 \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":"lore-revision/src/link.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ede7cbd3592511425d73ed83e75f63aa3039a8fed68ced352fc131660cb888"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): lore-server/src/server.rs:929-982 | lore-server/src/server.rs:1676-1726 \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":"lore-server/src/server.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df1e42448e6d4593a4a2d4aeb0b56d77ef271f8277f7bbb636006b0d788489b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 32\u002B corresponding lines): lore/src/storage/mutable_compare_and_swap.rs:82-114 | lore/src/storage/mutable_load.rs:77-108 | lore/src/storage/mutable_store.rs:78-109 | lore/src/storage/upload.rs:83-121 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 32 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":"lore/src/storage/mutable_compare_and_swap.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2711c4c8c730f88d10e5953176278ce7e12be626934006ceef844298c7f05e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): lore-server/src/store/replica.rs:230-263 | lore-server/src/store/replicated_store.rs:271-305 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/store/replica.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ef2b22ef72dea1049678233e16578423bc8ad19bccc4d593ba45f7f5d2176e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lore-server/src/grpc/lock_service.rs:245-274 | lore-server/src/grpc/lock_service.rs:405-443 \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":"lore-server/src/grpc/lock_service.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"71edd8a76c1d4b757f0fbea380285ee6e995b99434f093f77f5590e8f93343e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): lore-revision/src/metadata/branch.rs:187-218 | lore-revision/src/metadata/repository.rs:162-193 \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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"72819777f34c05d704689b6e051a83686e61546776da59c87cd618dc779e2143"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lore-storage/src/mutable_conformance.rs:1191-1221 | lore-storage/src/mutable_conformance.rs:1225-1254 \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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc5acc2d8665f5306b96daa84d17f6ef5366f43a0e8b3a5b4dbc3ea0ccd9a9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): lore-server/src/grpc/handlers/branch_metadata_get.rs:27-60 | lore-server/src/grpc/handlers/repository_metadata_get.rs:31-72 | lore-server/src/grpc/repository/v1/repository_metadata_get.rs:35-73 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_metadata_get.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"356bdb7cd9d3b50300d768b3fa4aa6f02af605261b37c554b8ea2835104f5638"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): lore-transport/src/grpc/mod.rs:108-149 | lore-transport/src/grpc/mod.rs:160-204 \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":"lore-transport/src/grpc/mod.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cf8e921fae3883f02c75613c5facc70744ebb818afc5e333a6336fe8e1e45e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lore-revision/src/util/path.rs:836-857 | lore-revision/src/util/path.rs:864-895 \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":"lore-revision/src/util/path.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11df8c1377c3fdc37b4ba2d5231d5c34b1689b1f86288500b94978adc17f882"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lore-client/src/cli/commands/file.rs:1736-1762 | lore-client/src/cli/commands/revision.rs:2615-2646 \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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb092d01e202d423dc8e01b14b84c7f288f81220324e8ae407d226d33182ad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): lore-revision/src/branch/merge.rs:2621-2653 | lore-revision/src/commit.rs:5963-5994 \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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":2621}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be08d864e7c721b86cf0d7fb596726832e58c467a8bbad053f4edcbf90aba01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lore-io/src/iocp.rs:520-552 | lore-io/src/iocp.rs:561-588 \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":"lore-io/src/iocp.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"50263991b9ecd1938afcabf31a81a3f09b1ec4b3ae4dfbe7cf18a7f1b28f2a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): lore/src/revision_tree/add.rs:433-473 | lore/src/revision_tree/move_node.rs:224-268 \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":"lore/src/revision_tree/add.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd6c8163da3a05f0f3358a3da054119a14662aeeee28eb0f5415e60ba34ad08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lore-client/src/cli/commands/branch.rs:1814-1837 | lore-client/src/cli/commands/repository.rs:1734-1756 \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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd774f4218dd954b6fc26468ccc419fbe8716fc21d7f58afa631146480f872a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lore/src/branch.rs:366-405 | lore/src/branch.rs:592-626 \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":"lore/src/branch.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"3669deec44d01f5fec353c763f576dc3b062e2bccab2b72bb35fa871013b2d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lore-revision/src/state.rs:11061-11086 | lore-revision/src/state.rs:11091-11116 \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":"lore-revision/src/state.rs"},"region":{"startLine":11061}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acd82fea48ad16bac046231b7e449421d6d514e0ec0848b474e88b96de17221"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lore-io/src/psync.rs:139-175 | lore-io/src/psync.rs:207-230 \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":"lore-io/src/psync.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f540e4471d45c3ef0ac55954ebd24f0987a9c6dd9e997557c82b47ea312a3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): lore-client/src/cli/commands/auth.rs:574-606 | lore-client/src/cli/commands/lock.rs:306-337 | lore-client/src/cli/commands/revision.rs:2648-2674 \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":"lore-client/src/cli/commands/auth.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3e1d2d0d13b0e88f0d6b55fa2d6d183cc7ff5d2ff6cc8e29e107c6adcabf7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 31\u002B corresponding lines): lore-server/src/store/replicated_store.rs:204-234 | lore-server/src/store/replicated_store.rs:312-342 | lore-server/src/store/replicated_store.rs:349-379 | lore-server/src/store/replicated_store.rs:422-460 | lore-server/src/store/replicated_store.rs:506-544 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/store/replicated_store.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddc45929d680dfca720d64e7e4f352518930c5c80aec5b3eacb17daf7833032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lore-revision/src/state.rs:10768-10798 | lore-revision/src/state.rs:10829-10848 \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":"lore-revision/src/state.rs"},"region":{"startLine":10768}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b3297986eb3ea8712b90a5f3791c20aae2e08ec87249902297b7a5ddb79e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): lore-transport/src/quic/chunking.rs:292-323 | lore-transport/src/quic/chunking.rs:749-783 \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":"lore-transport/src/quic/chunking.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"445c4d383e76b9b24347ef1d300f74c7b63be054ad1cf487d5b12a572a4931b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lore/src/revision_tree/call.rs:117-145 | lore/src/storage/call.rs:90-117 \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":"lore/src/revision_tree/call.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a865fa5c67bec285924c8f6cdf589539052b8dd84b9d3fbbeff23e3c29abca7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lore-server/src/http/presigned/repository/redeem.rs:68-95 | lore-server/src/http/repositories/repository/contents/content/get_repository_content.rs:62-84 \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":"lore-server/src/http/presigned/repository/redeem.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e316ac5f0b3c193314ce7f9493930551bc5df9cb0b275878e4dc060f9c74e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lore/src/revision_graph/branch_list.rs:91-116 | lore/src/revision_graph/revision_resolve.rs:93-119 \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":"lore/src/revision_graph/branch_list.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"10393e1948320516a963b6571f5acacf4f217417afb018948b04ef8655f1d787"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lore-io/src/rename.rs:12-38 | lore-io/src/rename.rs:43-60 \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":"lore-io/src/rename.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18f5d3137446e4a472fc9b71d5f97dd5ab76121e7114a98e56afd43dbab24f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): lore-aws/src/store/immutable_store.rs:719-749 | lore-aws/src/store/immutable_store.rs:1156-1183 | lore-aws/src/store/immutable_store.rs:1354-1381 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"730abd52bb48ec5803668b40cdf7608fd8d3eaa9cd622428753adf0263551611"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): lore-server/src/grpc/handlers/branch_metadata_set.rs:39-66 | lore-server/src/grpc/handlers/repository_metadata_set.rs:35-57 | lore-server/src/grpc/repository/v1/repository_metadata_set.rs:147-169 \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":"lore-server/src/grpc/handlers/branch_metadata_set.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f16dfb70c280415d53cdfd01674055018d0f811ce40e79e0635db91308a8560"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lore-transport/src/grpc/revision_client.rs:62-92 | lore-transport/src/grpc/revision_client.rs:358-390 \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":"lore-transport/src/grpc/revision_client.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"785cbc97babf2b55a266ea0812ff9aae404d20987e29784fecd84019a38cfadc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lore-io/src/psync.rs:1461-1485 | lore-io/src/psync.rs:1493-1517 \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":"lore-io/src/psync.rs"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67ab172be2bbc441f2a2b1d53070e57d0ad2d3b5236ce76fe0caff092fac6f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lore-io/src/uring.rs:337-358 | lore-io/src/uring.rs:389-414 \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":"lore-io/src/uring.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"d995129a3a518b6e592f8227fc07e609d5fed768fbd345a49806aaa89b4ef588"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lore-io/src/uring.rs:427-447 | lore-io/src/uring.rs:457-477 \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":"lore-io/src/uring.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a16a6a5213bb34a95a576dce28dd981762b60f762a52c315084f9fe9c4368c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lore-server/src/protocol/replication_store/get.rs:82-108 | lore-server/src/protocol/replication_store/get_metadata.rs:71-93 \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":"lore-server/src/protocol/replication_store/get.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d6c8cf77274ca9f05d3a998dcc47cc3d213ca3cd5baf7bb64022a3ff19f47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): lore-transport/src/grpc/lock_client.rs:93-116 | lore-transport/src/grpc/lock_client.rs:118-140 | lore-transport/src/grpc/lock_client.rs:145-172 \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":"lore-transport/src/grpc/lock_client.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e820ee0f93e842bf53e0a7dde87d998b072276e39975d1ae0f9b5597f44c8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): lore-transport/src/grpc/storage_client.rs:575-613 | lore-transport/src/grpc/storage_client.rs:628-658 \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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"239565cc7ff402f4ab50863dda234a7240b6fd7007697e04cbbd4422e6f7ff6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lore-revision/src/file/obliterate/impact.rs:129-154 | lore-revision/src/file/obliterate/impact.rs:161-189 \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":"lore-revision/src/file/obliterate/impact.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"197fe6717c39ca80c8c0509f8bf59dfe8c8610c3d92956287aea1c6520ecae3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): lore-client/src/cli/commands/branch.rs:1619-1644 | lore-client/src/cli/commands/branch.rs:1646-1671 | lore-client/src/cli/commands/branch.rs:1704-1733 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d293225cd09c5ef66ae8d9117b5197a8cbd9bf85f9d33522f25261d22beda99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lore-io/src/clone/copy.rs:18-36 | lore-io/src/clone/refs.rs:39-58 \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":"lore-io/src/clone/copy.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"84793605af8b326588d6ba21e1436bd809a9a8cc6149f238a8d8b13216274b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lore-transport/src/grpc/storage_client.rs:721-744 | lore-transport/src/grpc/storage_client.rs:785-806 \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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a2bc75c4d00224d65d4b05e872b8c79f76c437be6e615f48ca0bbfeb3856a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): lore-server/src/store/replica.rs:171-199 | lore-server/src/store/replica.rs:274-306 | lore-server/src/store/replica.rs:314-346 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 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":"lore-server/src/store/replica.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc92e2550eb04753828bd9e843f80b0a59ced73831ec5b7c18675bdab06b05a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-io/src/driver.rs:248-259 | lore-io/src/driver.rs:287-302 \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":"lore-io/src/driver.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5825874dd4a5d8d701e4756b4c56b4ed0c71b9e9208f3f260f47e853b3c94fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): lore-storage/src/conformance.rs:899-928 | lore-storage/src/conformance.rs:1026-1064 \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":"lore-storage/src/conformance.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"31abca8029f74b76b5c8c27c8d8e3cf79ce67579ecb33ba4df5f2917e658a4a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lore-client/src/cli/commands/branch.rs:1739-1760 | lore-client/src/cli/commands/repository.rs:1655-1675 \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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"d981511c7b5fbec537eb95f93bf807f25ac676216255ac2dc3823cc94e15353c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lore-revision/src/file/dirty.rs:1861-1888 | lore-revision/src/file/dirty.rs:1898-1922 \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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a9db953c20d4692ae255d78dffb9d79d0361b8e8141491172e9c8da1926fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lore-server/src/protocol/storage/mutable_cas.rs:37-54 | lore-server/src/protocol/storage/mutable_store_handler.rs:34-49 \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":"lore-server/src/protocol/storage/mutable_cas.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada287083f79aa74de26d41e21f3858248f99fe84c2fa0e8a27e5cc4b42512c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lore-revision/src/metadata.rs:513-541 | lore-revision/src/metadata.rs:547-575 \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":"lore-revision/src/metadata.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acd33b2323ddb614b4a3cd1ab6edf7c5cef6d18ff5d0bd69f1f8a8c3c3eb565"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): lore-base/src/allocator/growvec.rs:50-71 | lore-base/src/allocator/growvec.rs:76-96 | lore-base/src/allocator/growvec.rs:141-166 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-base/src/allocator/growvec.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5eee38d6cf16e3d24b5adf1c69bff4d30fc4ae1b2981ffc8822bf9713801621"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lore-io/src/file.rs:233-255 | lore-io/src/file.rs:263-282 \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":"lore-io/src/file.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc55a1dc55daa32a34c6d5e22e1f77b0bde2f7b01749ee08839035b2fdeee520"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lore-revision/src/commit.rs:144-162 | lore-revision/src/revision/sync.rs:1390-1407 \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":"lore-revision/src/commit.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d180ff21c3cd4e38da290ddd482fc7fa0abe1e8ea7253ac53105a89dbd6bde87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lore/src/call_delegation.rs:114-142 | lore/src/call_delegation.rs:169-198 \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":"lore/src/call_delegation.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ce6dcc5169da5fa7e01ff7ba0cebc77e5a4ffab1a592be98e92a0a33be662a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lore-io/src/iocp.rs:974-996 | lore-io/src/uring.rs:928-945 \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":"lore-io/src/iocp.rs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ca5e16fa9737fd4be54e8434e31fd580afa054526d4b2d90bb938d804536aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lore-revision/src/state/diff.rs:1996-2014 | lore-revision/src/state/diff.rs:2020-2038 \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":"lore-revision/src/state/diff.rs"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb216238eeccf818e8b56c27d9f26d9ee04a6ceefc37e767bf3284a0212e787"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lore-revision/src/projfs/serve.rs:926-949 | lore-revision/src/projfs/serve.rs:972-998 \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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16828f00126859ae89678cde0492e45483cadb22df1e1c8c0e3de1178ad3bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lore-io/src/iocp.rs:205-224 | lore-io/src/uring.rs:108-127 \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":"lore-io/src/iocp.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"985b6e6b896d15e99125f1997eb1097c111fcbc1441c15ff5fd3c54d0cef171d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 28\u002B corresponding lines): lore-server/src/plugins/registry.rs:142-169 | lore-server/src/plugins/registry.rs:264-291 | lore-server/src/plugins/registry.rs:387-414 | lore-server/src/plugins/registry.rs:509-536 | lore-server/src/plugins/registry.rs:620-647 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 28 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":"lore-server/src/plugins/registry.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e90afd2a000dbcdabda26ad409b11f7e622c9372f25579f667f3004c3a2a9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): lore-server/src/plugins/registry.rs:188-215 | lore-server/src/plugins/registry.rs:433-460 | lore-server/src/plugins/registry.rs:555-582 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"lore-server/src/plugins/registry.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0cedf607f30845af2b71d419684b4cfd1171b54d57df3c9e66c8efe3a4fb0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): lore-server/src/protocol/storage/mutable_cas.rs:67-97 | lore-server/src/protocol/storage/mutable_load.rs:55-82 | lore-server/src/protocol/storage/mutable_store_handler.rs:82-107 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"lore-server/src/protocol/storage/mutable_cas.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"41923d740050e0e463456d2c6e62636f7c77366560f1df1bacc86979f94f4daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lore-storage/src/local/immutable_store.rs:537-552 | lore-storage/src/local/mutable_store.rs:268-283 \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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdb90c1289eff484e33eadbcc2bc82729cd4e3d542f39fb3f36911ef6332465"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lore-client/src/cli/commands/revision.rs:1846-1863 | lore-client/src/cli/commands/revision.rs:2135-2152 \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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ec15c8fe30d1550081e286df8bd62e0b843f3a7283db86dd358f9dffe40a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lore-storage/src/compress.rs:391-409 | lore-storage/src/compress.rs:426-444 \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":"lore-storage/src/compress.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"803a27da6ed017410058f5e68328708d431dab115118803571d389d81470cfcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore-server/src/protocol/storage/copy.rs:45-59 | lore-server/src/protocol/storage/copy.rs:64-79 \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":"lore-server/src/protocol/storage/copy.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b66583f7740a1d5cca0a7fb90885b7c8af8f3d290a56861658dcb911bb13b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lore-transport/src/grpc/storage_client.rs:814-831 | lore-transport/src/grpc/storage_client.rs:840-860 \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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"06abe8afd00cf113d0862b12a9b696aad9cc1707b71e959e2e7768f8955cb7c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lore/src/layer/add.rs:21-53 | lore/src/layer/remove.rs:20-46 \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":"lore/src/layer/add.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e694d6e58d9e514db585fad0f7a52e68aafab9f10496cd8b1c6931a21f98b65f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): lore-transport/src/auth/ucs_auth.rs:163-189 | lore-transport/src/auth/ucs_auth.rs:197-225 \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":"lore-transport/src/auth/ucs_auth.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ecf91664dc292435c6d42fb1182db05d2f36bce300e3a9f0602767f6e979e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lore-aws/src/store/immutable_store.rs:1528-1553 | lore-aws/src/store/immutable_store.rs:1768-1797 \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":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"38377705ecc351fe8bb25ba56f1cd85227a22a0071fd7b81f833d611766f2633"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): lore-transport/src/grpc/mod.rs:504-528 | lore-transport/src/grpc/mod.rs:540-564 \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":"lore-transport/src/grpc/mod.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba0030d4bf45aaf71c81a39845005ce3f4d6e4cdafbee13982a689be95fee5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): lore-client/src/cli/commands/revision.rs:1935-1952 | lore-client/src/cli/commands/revision.rs:1957-1975 | lore-client/src/cli/commands/revision.rs:2217-2234 | lore-client/src/cli/commands/revision.rs:2239-2256 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d498716e91511e2f1a0a5191fdcd53567cbef58fa7ea3142aa2dc5f0a4418db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lore-storage/src/compress.rs:620-643 | lore-storage/src/compress.rs:660-682 \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":"lore-storage/src/compress.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"f001615e956edacacd942726d9249ace733387973b433dcb939c558624437ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lore/src/revision.rs:1115-1145 | lore/src/revision.rs:1405-1428 \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":"lore/src/revision.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba05b3c551cf4bc9b460dfd584e5ec7d79c552655d86dcdd615acd650bb74b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lore-client/src/cli/commands/auth.rs:389-410 | lore-client/src/cli/commands/auth.rs:412-433 \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":"lore-client/src/cli/commands/auth.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"773db64c6a05e3248732cab50909170042a5e4a1c7bb6794e2627c27c18096b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lore-io/src/uring.rs:152-172 | lore-io/src/uring.rs:174-198 \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":"lore-io/src/uring.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca83f223f4d11a16d36d5c866dc5595533669c63d872e5ec9b44bd58294de64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lore-aws/src/dynamodb.rs:456-475 | lore-aws/src/dynamodb.rs:511-530 \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":"lore-aws/src/dynamodb.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2c4f181fb0134c069052a912f3982a3a49501972f9166cba45071ac2f193a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 20\u002B corresponding lines): lore-revision/src/fs/filesystem_provider.rs:1653-1672 | lore-revision/src/fs/filesystem_provider.rs:1784-1805 | lore-revision/src/fs/filesystem_provider.rs:1812-1834 | lore-revision/src/fs/filesystem_provider.rs:1840-1859 | lore-revision/src/fs/filesystem_provider.rs:1901-1922 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/filesystem_provider.rs"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66f6a7600f408d8c6955f4b0b833698ac541d246388f9d4aba2c5566d80af9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): lore-server/src/grpc/revision/v1/service.rs:100-136 | lore-server/src/grpc/revision_service.rs:77-111 \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":"lore-server/src/grpc/revision/v1/service.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28f4d74f5f4cbf89e66909c8e8bf35e3296d5237deeb2057ed0b2e2dba62275"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore-transport/src/quic/command_header.rs:71-85 | lore-transport/src/quic/command_header.rs:123-137 \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":"lore-transport/src/quic/command_header.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e11c335cc535bcadcc71a89ba9951891aa45c6c567856114150e3f6a6ad5e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore/src/branch.rs:1697-1715 | lore/src/repository.rs:1389-1403 \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":"lore/src/branch.rs"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18145c3a1a4e3cc6109aa2aaa68a1990481a9df495c5fefae5c49cdcb0d7126"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore-revision/src/fs/filesystem_provider.rs:1413-1428 | lore-revision/src/fs/filesystem_provider.rs:1764-1777 \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":"lore-revision/src/fs/filesystem_provider.rs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f03173d37c65f78864146c6b6449b505b03283ec2213b3d64f0fe90ffa8f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lore-revision/src/state.rs:4810-4831 | lore-revision/src/state.rs:5065-5083 \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":"lore-revision/src/state.rs"},"region":{"startLine":4810}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7ef4130d9f6ea5fbcb3c6e46ad7219f4911e4c6b92d22c1b44a30b4402408d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lore-server/src/authnz/repository_authorizer.rs:356-373 | lore-server/src/authnz/repository_catalog.rs:222-243 \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":"lore-server/src/authnz/repository_authorizer.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9102cd034e7f60be9df70fa222b6d3f7dbfd5491e133dd474ee5e500dccf6ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lore-client/src/cli/progress_bar.rs:103-123 | lore-client/src/cli/progress_bar.rs:125-145 \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":"lore-client/src/cli/progress_bar.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"280183175bd7a090ac10118056c1d1f346505b8dba952a5d504d87ad3bb2f0b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): lore-revision/src/immutable.rs:1423-1457 | lore-revision/src/immutable.rs:1481-1509 \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":"lore-revision/src/immutable.rs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3d98255c50b5a47833124e9bfd0c885e051ec347910c5c810fa2d72a698bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lore-revision/src/state/os_diff.rs:3239-3256 | lore-revision/src/state/os_diff.rs:3269-3286 \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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":3239}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bd69d84a305d6606d2aa7fb6c7d75e3655c25a52b0ffbb4ece61e2921b7499"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore-server/src/grpc/environment/v1/service.rs:29-50 | lore-server/src/grpc/environment_service.rs:30-44 \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":"lore-server/src/grpc/environment/v1/service.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda064179fdbeb2b12585a931669d5f6307b08c1bb26c39477616926d73e5e76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): lore-storage/src/mutable_conformance.rs:478-498 | lore-storage/src/mutable_conformance.rs:501-524 | lore-storage/src/mutable_conformance.rs:576-611 | lore-storage/src/mutable_conformance.rs:660-689 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bf23a85da3c52f50df84d9a63c4e4ce8d1347f6a2fb56d066b39f33519d42c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lore-aws/src/clients.rs:280-305 | lore-aws/src/clients.rs:322-340 \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":"lore-aws/src/clients.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3203c7ee3a6e291487fae14b0d6aa58e5eb00ab779a54b20a03b50dda45395a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lore-server/src/grpc/environment/v1/service.rs:17-27 | lore-server/src/grpc/environment_service.rs:15-26 \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":"lore-server/src/grpc/environment/v1/service.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f739a42f4f0171f20c7bf994fdd7f9173d475411abe048c576398d52c890296"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lore-transport/src/uds/client.rs:381-404 | lore-transport/src/uds/client.rs:447-472 \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":"lore-transport/src/uds/client.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"0809f8f95935ecbdd13a56efe7f772f137cd79f29bbe94857837d807f01714bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lore-revision/src/event/metadata.rs:8-24 | lore-revision/src/event/metadata.rs:26-44 \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":"lore-revision/src/event/metadata.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"991b42d297e9c9694d2f99b1eeb5fcc5f3426d0d7655d6ab743e4cc5952d49a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore-storage/src/local/immutable_store.rs:1508-1522 | lore-storage/src/local/mutable_store.rs:760-774 \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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"672da0607fd9c2730fcf5253986e39cd20dc99cd2e66ed757744e0c47b05056c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): lore-transport/src/connection.rs:1620-1638 | lore-transport/src/connection.rs:1654-1671 | lore-transport/src/connection.rs:1676-1694 \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":"lore-transport/src/connection.rs"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8ac1c3ca4d9190bf5aaa48501f4ac2f3e24b395b759ac449b02ae3ea5424ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lore-storage/src/local/immutable_store.rs:1460-1490 | lore-storage/src/local/mutable_store.rs:719-740 \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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"14676da4eda2a8e6123b162571573732e95ae8d6872140a743d4c942d7ceaf55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lore-io/src/iocp.rs:393-414 | lore-io/src/iocp.rs:441-460 \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":"lore-io/src/iocp.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7cf6ddb336d805495932be0f1830ca42d7654ff84e5e71a33a239df64350fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore-revision/src/state/block.rs:2574-2588 | lore-revision/src/state/block.rs:2595-2609 \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":"lore-revision/src/state/block.rs"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d6b844a51dac842dea31ea4100edab2f4840d1d3e706bb60335d6c9aac5a2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): lore-transport/src/grpc/mod.rs:245-269 | lore-transport/src/grpc/mod.rs:280-303 \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":"lore-transport/src/grpc/mod.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a44d48c9d3e17f25cef79b14a9c0e022c63594217821f36c2f1b24bad8ce622"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): lore-client/src/cli/commands/repository.rs:1823-1848 | lore-client/src/cli/commands/repository.rs:1885-1905 | lore-client/src/cli/commands/repository.rs:1907-1922 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":1823}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3934d79b17a387a9f4b796fc4b5b513753faacbe0e53cbb6ee09890aa06219a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore-revision/src/layer.rs:1330-1347 | lore-revision/src/layer.rs:1385-1399 \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":"lore-revision/src/layer.rs"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af89a5b6fd56bdc7e17356ee7a7557466e5d0c8fb676fce39643cf43fa0a9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lore-revision/src/metadata/branch.rs:284-301 | lore-revision/src/metadata/repository.rs:257-274 \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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"437ea7ed5bd4546b7d0189cc54a30d8741cbf87ba4bb5588939eaf3e3e7729e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): lore-server/src/telemetry/log.rs:30-56 | lore-server/src/telemetry/metrics.rs:35-60 \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":"lore-server/src/telemetry/log.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff882c147804cbc790a4d5dc175e4c0dbb6e001ab6168bd1e877728344940fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): lore-revision/src/fs/filesystem_provider.rs:1548-1557 | lore-revision/src/fs/filesystem_provider.rs:1585-1594 | lore-revision/src/fs/filesystem_provider.rs:1689-1702 | lore-revision/src/fs/filesystem_provider.rs:1704-1717 | lore-revision/src/fs/filesystem_provider.rs:1723-1732 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/filesystem_provider.rs"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"34df2b71a28dbb0bfb3ec3564e9131f4081574074b2db267bfe4dd4eb5a5744a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): lore-storage/src/mutable_conformance.rs:757-776 | lore-storage/src/mutable_conformance.rs:781-802 | lore-storage/src/mutable_conformance.rs:840-854 | lore-storage/src/mutable_conformance.rs:857-869 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bd176fb9c89c348aab699d0f98ee9fcc411fec6155d898f26daeef36e213bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lore/src/repository.rs:365-390 | lore/src/repository.rs:884-905 \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":"lore/src/repository.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadcb841748f7a9592b118188c2a639a64202ca74ccb8c06d5466146dcba7f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lore-io/src/driver.rs:815-835 | lore-io/src/driver.rs:843-855 | lore-io/src/driver.rs:863-877 \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":"lore-io/src/driver.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dac2f547fab9fe228b1d2141805b7dbf534ccf90e2e5668737fa732d110c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): lore-transport/src/grpc/mod.rs:857-880 | lore-transport/src/grpc/mod.rs:888-911 | lore-transport/src/grpc/mod.rs:918-944 | lore-transport/src/grpc/mod.rs:952-975 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 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":"lore-transport/src/grpc/mod.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3654fab8f31b88e6a9d4bd7ce656971567f42f88b0fdcdba76a00290b128c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lore-transport/src/uds/client.rs:195-214 | lore-transport/src/uds/client.rs:217-232 \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":"lore-transport/src/uds/client.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51d66cf0109845bf431e084f8f0f95cd1fff6a5a34f338287af0d8d09d6e084"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): lore-base/src/allocator/rpmalloc.rs:138-151 | lore-base/src/allocator/rpmalloc.rs:165-178 | lore-base/src/allocator/rpmalloc.rs:180-200 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"lore-base/src/allocator/rpmalloc.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"720e2ec24e6eafbd2cfe9f05600ec53faa345b5a0d871cfee8c7bffec78b26b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore-client/src/cli/commands/revision.rs:2261-2279 | lore-client/src/cli/commands/service.rs:285-299 \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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"624888db34e5c0fa8034f3327320f2afc8d01cd625c3053abe291600ffe1413b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lore-io/src/psync.rs:1335-1351 | lore-storage/src/fs_util.rs:6-22 \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":"lore-io/src/psync.rs"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e466ea982c3e0c9fbfac41ae6d9cc6c39b0eeefe5d6261c7eb737bcfc90fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lore-io/src/uring.rs:306-325 | lore-io/src/uring.rs:367-379 \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":"lore-io/src/uring.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"805b108109837fc1446c7ab1bb2f31acf5e6e866b9ea042a15bca97dc2aac523"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): lore-transport/src/grpc/admin_client.rs:38-62 | lore-transport/src/grpc/repository_client.rs:96-114 | lore-transport/src/grpc/repository_client.rs:205-223 | lore-transport/src/grpc/revision_client.rs:94-115 | lore-transport/src/grpc/revision_client.rs:330-351 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-transport/src/grpc/admin_client.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1e78672bd61d6218a9a36f7f44a58967178ceb62074e250b3666fb8f515cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lore-io/src/psync.rs:73-93 | lore-io/src/psync.rs:102-120 \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":"lore-io/src/psync.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5802ad4254165ca582c1096ebe86ae708bba91927f955728f7222b50cfb9d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lore/src/revision_graph/branch_list.rs:256-274 | lore/src/revision_graph/record.rs:98-113 \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":"lore/src/revision_graph/branch_list.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acff21585a875fe084b5c31cd2c2c0910ffe12eb754333697da5b605e99c294"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): contrib/aws-migrate-0.9.0/src/main.rs:294-308 | contrib/aws-migrate-0.9.0/src/main.rs:311-327 \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":"contrib/aws-migrate-0.9.0/src/main.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1fcc87346131913d3b682f49956c9bbe4e503b6fde1da9c0735c44e0a659e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): lore-server/src/protocol/replication_store/get.rs:141-162 | lore-server/src/protocol/replication_store/get_metadata.rs:126-148 \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":"lore-server/src/protocol/replication_store/get.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3e99d29c51763a1761f06f3622a6940b14c836abe06149716b454042b5cec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): lore-storage/src/mutable_conformance.rs:409-431 | lore-storage/src/mutable_conformance.rs:434-452 | lore-storage/src/mutable_conformance.rs:527-549 | lore-storage/src/mutable_conformance.rs:553-570 | lore-storage/src/mutable_conformance.rs:695-724 \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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b146cf6f89babd1ebfaac5cb749c54f2af109795cc125aeb3f445fec333ce9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): lore-base/src/allocator/mod.rs:287-303 | lore-base/src/allocator/mod.rs:322-338 | lore-base/src/allocator/mod.rs:340-357 \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":"lore-base/src/allocator/mod.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c302967275135934843843c28cfb52de8f3a254dda9eace16f58bb87d1adc472"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): lore-io/src/driver.rs:505-514 | lore-io/src/driver.rs:529-538 | lore-io/src/driver.rs:546-555 | lore-io/src/driver.rs:597-606 | lore-io/src/driver.rs:620-629 | lore-io/src/driver.rs:724-733 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-io/src/driver.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e015e1e69951eaebea8e1922239dda888d4bceaaa46b7ca4e6c5a90e0092fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 20\u002B corresponding lines): lore/src/revision_tree/add.rs:988-1007 | lore/src/revision_tree/delete.rs:1024-1043 | lore/src/revision_tree/metadata_clear.rs:227-248 | lore/src/revision_tree/metadata_get.rs:351-370 | lore/src/revision_tree/metadata_set.rs:310-330 | lore/src/revision_tree/modify.rs:404-423 | lore/src/revision_tree/move_node.rs:761-780 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/revision_tree/add.rs"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"736644d49b34513f25757c29082245bbe74438badd3baab3ec34f9924982c49e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lore-server/src/notification/local.rs:114-129 | lore-server/src/notification/local.rs:137-152 \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":"lore-server/src/notification/local.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca59519c05b4b2f63cbc06214e4ffd9d6376cb3c9af73e2839eca8da344c23e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): lore-storage/src/write.rs:64-85 | lore-storage/src/write.rs:510-526 | lore-storage/src/write.rs:534-547 \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":"lore-storage/src/write.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9578ce13f377562036f9c4c309bd81b9342fbb7769dd5277f32d048d3f71bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): lore-client/src/cli/commands/revision.rs:1868-1887 | lore-client/src/cli/commands/revision.rs:2154-2173 \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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"868b511915f1eba04c98fc2f6aae0274e7aaefdacb56bacc2622e88cdc61153f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lore-revision/src/interface.rs:88-104 | lore-revision/src/interface.rs:246-261 \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":"lore-revision/src/interface.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e71b1b0dc586d576385ff46982c63a57683718b90d3443068fc05036ef2d001"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore-revision/src/metadata/branch.rs:145-158 | lore-revision/src/metadata/repository.rs:119-132 \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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d94334fbb2146108771eb2223f314bff804655606ce69387422e859c8c2816"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore-storage/src/mutable_conformance.rs:392-406 | lore-storage/src/mutable_conformance.rs:456-473 \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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc61cb5db175bc4607a913362aaa8ba2432d7c16fb79cc239c17f3daa8d80bcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore-storage/src/mutable_conformance.rs:805-819 | lore-storage/src/mutable_conformance.rs:823-837 \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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab89687672cd1e8b3783a1df89056969473da11320999d8685dd15c3313b108"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): lore-storage/src/read.rs:2230-2257 | lore-storage/src/read.rs:2450-2484 \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":"lore-storage/src/read.rs"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63735a00b7ea6980116aa042870265b64e5a32e36e67c77a6ebd8c62d0fa084"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore/src/revision_tree/handle.rs:232-245 | lore/src/storage/store.rs:329-348 \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":"lore/src/revision_tree/handle.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f9ddee3dc6c2ab805b1eb70f57bad7e01c3d34f84a3ffa1e059333ec6b2686"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore-revision/src/state.rs:4865-4878 | lore-revision/src/state.rs:4887-4900 \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":"lore-revision/src/state.rs"},"region":{"startLine":4865}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bb2c3619fc3cb276f2c15c5e5fdef315612a326bee53c7f62ae754cc416495"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lore-storage/src/local/fan_out.rs:655-677 | lore-storage/src/local/immutable_store/info.rs:104-121 \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":"lore-storage/src/local/fan_out.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fec752cabe60a4786de9ace30fdf969ba37181e74ec12993902cfe896dae9ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): lore/src/branch.rs:1564-1591 | lore/src/repository.rs:1270-1292 \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":"lore/src/branch.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"51da3fb62a8bb57ba4705cd91c4fca021b77d5a935bf1ebf0101262e556f4fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): lore-io/src/driver.rs:376-385 | lore-io/src/driver.rs:401-410 | lore-io/src/driver.rs:432-441 | lore-io/src/driver.rs:460-469 | lore-io/src/driver.rs:586-595 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-io/src/driver.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a3d3288ec068a13b44e5d8d9a3cc3749517256984f65a45abb472716c2540e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-revision/src/fs/realize.rs:1717-1725 | lore-revision/src/fs/realize.rs:1728-1738 \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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d3374de66f3cf8b1e7cfe163e9eb97010732d76e5bd26b4c3042c8899ec28d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore-storage/src/maintenance.rs:272-286 | lore-storage/src/maintenance.rs:314-328 \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":"lore-storage/src/maintenance.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee664cc404a6480dcfe69c72cf8b5460cc54667bedfbec9ec94fefb670a71c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): lore-transport/src/grpc/storage_client.rs:667-687 | lore-transport/src/grpc/storage_client.rs:753-778 \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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"90be59828937c6ee7672657bd9773845476588473be94cc873eff5b1f4e9644e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lore-fuse/src/dispatch.rs:777-789 | lore-fuse/src/dispatch.rs:797-811 \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":"lore-fuse/src/dispatch.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5aa88c7a8393bdebfe9826cee589779acfa93ef15032c67973959128e2edd18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore-revision/src/branch.rs:684-697 | lore-revision/src/branch.rs:703-716 \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":"lore-revision/src/branch.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fe05c38039861b0eaabd198cb10999c00fa27bdc3cf5373def8585a348f803"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): lore-revision/src/immutable.rs:510-533 | lore-revision/src/immutable.rs:563-585 | lore-revision/src/immutable.rs:598-620 | lore-revision/src/immutable.rs:647-668 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/immutable.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fa07d9d98f9d299f108f3ead5bbcddf815e4c63bfabba892ed5f021fa10866"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 9\u002B corresponding lines): lore-io/src/driver.rs:493-503 | lore-io/src/driver.rs:565-574 | lore-io/src/driver.rs:608-618 | lore-io/src/driver.rs:750-760 | lore-io/src/driver.rs:767-775 | lore-io/src/driver.rs:782-790 | lore-io/src/driver.rs:798-806 | lore-io/src/driver.rs:879-887 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-io/src/driver.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae3469e7ead03ad69e23ec0c5b98070aa65cc96116fc556e6edf03290d29395"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lore-server/src/authnz/auth.rs:37-47 | lore-server/src/authnz/rebac.rs:49-59 \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":"lore-server/src/authnz/auth.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5088d369a8fa44750b7a10e106c2de1d30eb31be885ee63187b610d666402a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): lore-transport/src/auth/ucs_auth.rs:320-343 | lore-transport/src/auth/ucs_auth.rs:352-370 | lore-transport/src/auth/user_service_v1.rs:72-86 \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":"lore-transport/src/auth/ucs_auth.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c8ddb9acf3321f6235ac7f6973f4f2015d3af11c926f3f717862239e5887a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore/src/remote/service_process.rs:344-357 | lore/src/remote/service_process.rs:366-379 \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":"lore/src/remote/service_process.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d378445afa0d576f4d9fcd38ffc2e4bf68d1b4ca0f1a62173c2274fa250e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lore-chaos-client/src/probability.rs:158-165 | lore-chaos-client/src/probability.rs:167-179 \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":"lore-chaos-client/src/probability.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fab6a0dd02f1e1342175bb1d73f7e3158634d89b14d14b85f2039b53515f2e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore-revision/src/branch.rs:1224-1237 | lore-revision/src/branch.rs:1789-1809 \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":"lore-revision/src/branch.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8907c4d28ec379a161c7168e5121d454bd2e140b896a8f3e6562d5d58a3836e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore-revision/src/state.rs:9779-9796 | lore-revision/src/state/diff.rs:2645-2659 \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":"lore-revision/src/state.rs"},"region":{"startLine":9779}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a253e99d3bc0a8100cd3b769482d86aac8b06812d2d0ff3ff37e9aaa73a14ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lore-server/src/auth/jwk.rs:260-270 | lore-server/src/auth/jwk.rs:278-291 \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":"lore-server/src/auth/jwk.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"974bbf6b28a98a5604ba46176c1100b2b753c7a6431baf7337d9200ee3bc7a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lore-io/src/iocp.rs:602-618 | lore-io/src/iocp.rs:628-645 \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":"lore-io/src/iocp.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba86dc1014702da42b93dbe336cef36bf1d151bb5a9d37afefa7b0ea54c0a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore/src/revision_tree/add.rs:973-982 | lore/src/revision_tree/modify.rs:390-398 \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":"lore/src/revision_tree/add.rs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11a11a054292875b468e3d756f7f80b004ab86114753c96fb172e5e2ab831ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): lore-base/src/allocator/growvec.rs:194-211 | lore-base/src/allocator/growvec.rs:226-244 \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":"lore-base/src/allocator/growvec.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"809d12c3d438461c59e9033bf367c80fe2b6c5a782f2f6f64f36788bd1d84c7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): lore-transport/src/grpc/mod.rs:1093-1111 | lore-transport/src/grpc/mod.rs:1410-1428 | lore-transport/src/grpc/mod.rs:1587-1604 | lore-transport/src/grpc/mod.rs:1760-1778 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-transport/src/grpc/mod.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"889728b3e941e8b5f55a75a937d66e21395a8bfd7841926ac33b155cc25fc88b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): lore-storage/src/read.rs:977-1000 | lore-storage/src/read.rs:1434-1460 | lore-storage/src/read.rs:1701-1732 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"lore-storage/src/read.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e35e9ea9b48a051dbfaafb5ff253be0acbccdd82c9b7190d47c35aec86e9bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lore/src/revision_tree/mod.rs:97-109 | lore/src/storage/mod.rs:143-158 \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":"lore/src/revision_tree/mod.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d5b674f0d15c89a5008328b3373a8da51ecd1854977c6a0a86c78dda9e380d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): lore-base/src/fs/lock.rs:208-226 | lore-base/src/fs/lock.rs:240-258 \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":"lore-base/src/fs/lock.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bab91aa521622ef0007e9b3933206601d5f91b2052ffdf130cbc07b7eec1215"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-revision/src/state/block.rs:3052-3061 | lore-revision/src/state/block.rs:3070-3078 \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":"lore-revision/src/state/block.rs"},"region":{"startLine":3052}}}],"partialFingerprints":{"codehealthFindingId/v1":"470945d92dbe537bbb1ae31631d394d958f4ddd2405be53df05233b5b1cc5def"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-revision/src/state/node/discard.rs:288-300 | lore-revision/src/state/node/discard.rs:357-368 \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":"lore-revision/src/state/node/discard.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf47136278b9b253abf63320b42e2d0997ea8a49ad1f52e0e77816bfb6457a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lore-base/src/allocator/growvec.rs:428-438 | lore-base/src/allocator/growvec.rs:442-455 \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":"lore-base/src/allocator/growvec.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a2849de42fbef71e19247e1e44eb43ce9b517fc05ac327ed039f983a206116"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-storage/src/local/immutable_store.rs:3686-3697 | lore-storage/src/local/mutable_store.rs:1480-1498 \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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":3686}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a30ee0b63d871c7fa3ecfb8c1edd77f328a70b9b477386beae475c62dc73777"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lore-error-set-macro/src/codegen.rs:195-210 | lore-error-set-macro/src/codegen.rs:850-865 \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":"lore-error-set-macro/src/codegen.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f488e937f6b84652e951de0e40f0049ec72b63509a8dbc2f8e4f7cf2b482f420"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-revision/src/fs/filesystem_provider.rs:1041-1052 | lore-revision/src/fs/filesystem_provider.rs:1065-1079 \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":"lore-revision/src/fs/filesystem_provider.rs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d197ca8469e4d37ad4c044586765e78350af083f5dad6017caa21c2fe8a5d81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lore-server/src/grpc/grpc_internal_server.rs:287-302 | lore-server/src/grpc/server.rs:944-959 \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":"lore-server/src/grpc/grpc_internal_server.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"8381f8dd4212a3d9b380faaabaa9a7fbcaaee3ebb9e91c2d3e79079a739b930a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore/src/file.rs:1366-1379 | lore/src/file.rs:1444-1459 \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":"lore/src/file.rs"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09801b63962482451ae356035937874f1735dedceefc3886ee35a2c22a96651"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): lore/src/repository.rs:190-210 | lore/src/repository.rs:531-546 | lore/src/repository.rs:595-610 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/repository.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc552c1d21170ac0f334af8a90df6b79cb3a9a1ca8dc6803e3c7f19ea468434d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lore-aws/src/dynamodb.rs:429-445 | lore-aws/src/dynamodb.rs:482-497 \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":"lore-aws/src/dynamodb.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b8025bb7d273d55f6ff206a64062370154aed6b55f20cb9e428f48681aebdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): lore-revision/src/instance.rs:875-883 | lore-revision/src/instance.rs:892-904 | lore-revision/src/instance.rs:910-918 \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":"lore-revision/src/instance.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86ef9b05419e06e350e0abf76c8d05dae2a9a6838859bb2ae6f4f68d189e683"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-storage/src/local/fan_out.rs:317-325 | lore-storage/src/local/fan_out.rs:465-474 \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":"lore-storage/src/local/fan_out.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb78effc5087a86a9cd62a9a2d427860b4eef2baaf2a714885c110fc98c4f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): lore-transport/src/grpc/mod.rs:1673-1685 | lore-transport/src/grpc/mod.rs:1709-1721 | lore-transport/src/grpc/mod.rs:1728-1746 \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":"lore-transport/src/grpc/mod.rs"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca652f23788756da84425e29e5cd465e53c913ce8b90b6a8457b3f17d0cac44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lore-revision/src/state.rs:4906-4916 | lore-revision/src/state.rs:4928-4940 \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":"lore-revision/src/state.rs"},"region":{"startLine":4906}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d04f10766a8e0941948529d9170d1f9b37ca757bf48af4b497c91e64a5b160"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-server/src/protocol/storage/get.rs:77-88 | lore-server/src/protocol/storage/put.rs:127-138 \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":"lore-server/src/protocol/storage/get.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e425cc8afcda47fda8ccc47e74452d2b08301270d32913a65814e9a83d1e2d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore/src/revision_tree/add.rs:250-261 | lore/src/revision_tree/move_node.rs:166-177 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/revision_tree/add.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7f2bb014d09369fbd7646ae76cce24ad62547463cf8c8c7d0e81c4bb4e3590"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lore/src/storage/get.rs:356-368 | lore/src/storage/get_resolved.rs:386-398 \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":"lore/src/storage/get.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c38bc806d64ff483544932ca753f67bbb8b5f3ae86f5e612706e821aa629ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): lore-revision/src/immutable.rs:378-391 | lore-revision/src/immutable.rs:405-414 | lore-revision/src/immutable.rs:427-437 | lore-revision/src/immutable.rs:451-463 \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":"lore-revision/src/immutable.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"78882498b4051a492bd87ece86e0155cc35ea805edcae1d4c3fd2479f31be680"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lore/src/lock.rs:211-227 | lore/src/lock.rs:277-294 \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":"lore/src/lock.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"77df858cd6ac0c9e8aef3d7210ab3c1825092f9f772ef5818ba51d9c95f1c0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lore-revision/src/fs/fuse/write.rs:880-892 | lore-revision/src/fs/fuse/write.rs:959-973 \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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a7f8020c9767457a8fad2b66010b14fc0badf7d434256c9bc9bf2ca1523124"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 14\u002B corresponding lines): lore-server/src/protocol/storage/get.rs:221-234 | lore-server/src/protocol/storage/get.rs:263-276 | lore-server/src/protocol/storage/mutable_cas.rs:105-121 | lore-server/src/protocol/storage/mutable_load.rs:90-104 | lore-server/src/protocol/storage/mutable_store_handler.rs:115-130 | lore-server/src/protocol/storage/put.rs:324-337 | lore-server/src/protocol/storage/verify.rs:174-189 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/get.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8441bfe24832b01e2267e0f4ab762b1d2540517fef60bc480c9aab98e013e858"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): lore-storage/src/local/immutable_store.rs:1305-1319 | lore-storage/src/local/mutable_store.rs:597-611 \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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a9a2e234bbed20f9c9e249cff3a5bd505d473b01c6a6731618c9404278ddde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): lore-revision/src/fs/fuse/operation.rs:1385-1394 | lore-revision/src/fs/fuse/operation.rs:1396-1403 | lore-revision/src/fs/fuse/operation.rs:1422-1429 | lore-revision/src/fs/fuse/operation.rs:1431-1438 | lore-revision/src/fs/fuse/operation.rs:1440-1447 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/fuse/operation.rs"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"7705f7a9e7b819927dc863d058a29596930d72ef41b45e621eece31ce3bcc3d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lore-revision/src/state.rs:8809-8818 | lore-revision/src/state.rs:8831-8850 \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":"lore-revision/src/state.rs"},"region":{"startLine":8809}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7c7de74d9050b1c621a1c7682627b3de996eef42d22e6d178b13a10f6391e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lore-server/src/grpc/handlers/revision_list.rs:194-208 | lore-server/src/grpc/revision/v1/revision_list.rs:529-539 \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":"lore-server/src/grpc/handlers/revision_list.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"87191bd6c11bcf21ea996d352bb7815f80c46803e10d8d4f3042e7e9f3484ad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): lore/src/lock.rs:60-76 | lore/src/lock.rs:83-100 \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":"lore/src/lock.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9859a23900000b5071c22afb7a1a2b57c377e62df8918a6ad8f78ad30ac76d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lore-io/src/iocp.rs:1000-1010 | lore-io/src/uring.rs:949-959 \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":"lore-io/src/iocp.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f5f4d2fc262402c028a2a068654f9a82072afaeef98efc3d1aafe2f4a1d158"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): lore-revision/src/repository.rs:4847-4856 | lore-revision/src/repository.rs:4896-4911 | lore-revision/src/repository.rs:4916-4925 \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":"lore-revision/src/repository.rs"},"region":{"startLine":4847}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c3d4f360afddabaeb55b8cbe11593f9acd2739040c8414665b6ea7448c1d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lore-revision/src/state.rs:4346-4356 | lore-revision/src/state.rs:4423-4432 \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":"lore-revision/src/state.rs"},"region":{"startLine":4346}}}],"partialFingerprints":{"codehealthFindingId/v1":"885623204b5b1bb059cbbf536fff7238246576218ee506201a001c2e937a9258"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-storage/src/local/immutable_store.rs:1819-1833 | lore-storage/src/local/mutable_store.rs:1396-1404 \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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb33b0457bb8e27b84b06a42ffe0c343a733ef6cfeb5319596dbd1673cab1c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): lore-aws/src/s3.rs:121-140 | lore-aws/src/s3.rs:210-228 | lore-aws/src/s3.rs:234-250 | lore-aws/src/s3.rs:258-275 \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":"lore-aws/src/s3.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1125c1f3da1677c56c162c6a170f339b7032f0c60df2e4b85e9c37dcac8e67e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-fuse/src/dispatch.rs:734-742 | lore-fuse/src/dispatch.rs:819-827 \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":"lore-fuse/src/dispatch.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"395be1cb72e698c5bb014c902cf14e52952c7e39e73915d65c02de38bf5678e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lore-revision/src/state.rs:5719-5728 | lore-revision/src/state.rs:5730-5742 \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":"lore-revision/src/state.rs"},"region":{"startLine":5719}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59870f1afd50ea89a51cb0b65d9ff2202520060a835c797bb5d88459693b8b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore-revision/src/state.rs:9742-9755 | lore-revision/src/state.rs:9758-9771 \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":"lore-revision/src/state.rs"},"region":{"startLine":9742}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbdae587e0d8cc3a71181382a5ec9dabdc29ed2b7452827ef6dea0ba99fb997"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): lore-server/src/plugins/aws.rs:228-241 | lore-server/src/plugins/aws.rs:380-393 | lore-server/src/plugins/aws.rs:480-492 | lore-server/src/plugins/hashicorp.rs:53-65 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/plugins/aws.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc4ff29ae38cf6ce18534c9e137d60f52e692b780b5198083ec8598f175c372"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): lore-aws/src/store/mutable_store.rs:604-614 | lore-aws/src/store/mutable_store.rs:624-634 | lore-aws/src/store/mutable_store.rs:645-659 \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":"lore-aws/src/store/mutable_store.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b3f53d356a83098b1071f5f12c7e30c1cc96bb54896d9e07217fdbb219f1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-server/src/grpc/server.rs:404-415 | lore-server/src/grpc/server.rs:433-445 \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":"lore-server/src/grpc/server.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9ba807152fc9702da0c7769a8e46e6ceb576a34ed4fda58451d3193346f918"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): lore-revision/src/fs/fuse/operation.rs:439-445 | lore-revision/src/util/config.rs:96-103 | lore-storage/src/local/fan_out.rs:579-588 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/fuse/operation.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5e10346088b99c6e3ccf8e22456045c3ba8aca2b63b78158e9205ad24fd631"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-revision/src/fs/fuse/operation.rs:1652-1661 | lore-revision/src/fs/os/mod.rs:144-152 \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":"lore-revision/src/fs/fuse/operation.rs"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed034942017b76369e533075e46ffb6d1c6686af928a4a9aaa36559b783b2763"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lore-revision/src/fs/fuse/write.rs:856-861 | lore-revision/src/fs/fuse/write.rs:864-877 \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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8022f6d820a740425c9ae3f1eeb75bb133a71f5be0f10b41f951ffa55794f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lore-revision/src/repository.rs:1448-1455 | lore-revision/src/repository.rs:1459-1466 \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":"lore-revision/src/repository.rs"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a468dda400ee1bfe91ebd7b5ccbfb7b007701ace8d51b1e5ccbf5785cda334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-revision/src/state.rs:2988-2999 | lore-revision/src/state.rs:3024-3035 \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":"lore-revision/src/state.rs"},"region":{"startLine":2988}}}],"partialFingerprints":{"codehealthFindingId/v1":"8679e89482193ac68e541f175d8f02b921af876a8a1d7a837919b25614542070"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore-revision/src/store/composite.rs:373-386 | lore-revision/src/store/composite.rs:393-406 \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":"lore-revision/src/store/composite.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7000ceb2f69f78c466b7e5c27bf4dd7027ca7d4d82d3861df0803f7e0cb7ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lore-transport/src/uds/client.rs:1135-1144 | lore-transport/src/uds/client.rs:1153-1163 \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":"lore-transport/src/uds/client.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d64336683dd57d9c2e7baa642f5a2c8ef40054cbbc5e4e578d965f74c8618c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lore/src/branch.rs:1049-1061 | lore/src/branch.rs:1104-1116 \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":"lore/src/branch.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0f473490a84e6d0d619caa9cf5f8d221aee8e864e8ffb428a2cee73ad6882e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-io/src/iocp.rs:480-488 | lore-io/src/iocp.rs:498-506 \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":"lore-io/src/iocp.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef840a56b33cf0f615905c2b41bd524466d03395e302e997a237cf813a971db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lore-revision/src/state.rs:1887-1894 | lore-revision/src/state.rs:1905-1912 \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":"lore-revision/src/state.rs"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"969af5f22aecdb7476464942f96d1298cc72377d64321976d63b89d32f9727ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-revision/src/state/node/attach.rs:690-702 | lore-revision/src/state/node/mark.rs:103-114 \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":"lore-revision/src/state/node/attach.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f41de04ee09cca77264a6f509297ff5c3bdbf0a31740242a4a258d9de585f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): lore-server/src/grpc/revision/v1/branch_create.rs:84-104 | lore-server/src/grpc/revision/v1/branch_delete.rs:58-78 | lore-server/src/grpc/revision/v1/branch_get.rs:40-50 | lore-server/src/grpc/revision/v1/branch_list.rs:81-97 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/revision/v1/branch_create.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cd3cca217ce91c04a750eb2da32344136c368d9ce18a80e707e300dfe8b35a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-transport/src/quic/storage_service/client.rs:383-391 | lore-transport/src/quic/storage_service/client.rs:435-443 \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":"lore-transport/src/quic/storage_service/client.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"281fb64b4965f86596d5aaa8f5ef6e18db0f742a84c23133d4ee8f01f424243d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): lore/src/file.rs:914-929 | lore/src/file.rs:984-1005 \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":"lore/src/file.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea782378d108c8b35ede7c115c7ed34fd479dd2d58ea16d884ba85f396b271f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): lore-chaos-client/src/lore/interface.rs:145-157 | lore-chaos-client/src/lore/interface.rs:159-170 | lore-chaos-client/src/lore/interface.rs:172-183 | lore-chaos-client/src/lore/interface.rs:237-248 | lore-chaos-client/src/lore/interface.rs:268-278 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-chaos-client/src/lore/interface.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd767f56e34941a051f66d8e649178615321d4ac743b31cc47088341728cdc3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lore-server/src/quic/storage_service.rs:328-340 | lore-server/src/quic/storage_service_v4.rs:83-97 \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":"lore-server/src/quic/storage_service.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"758e5eec042bb62952e8bf1a4c823232dfcc1ecc3215cc0e3ac24a892e520de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lore-revision/src/fs/fuse/filesystem.rs:2942-2949 | lore-revision/src/fs/fuse/filesystem.rs:2959-2967 \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":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":2942}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bf499950ce96d54973cc7b5e669d854dfee459add310bff249c661931de96c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lore-revision/src/fs/fuse/operation.rs:1026-1035 | lore-storage/src/mutable_conformance.rs:361-372 \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":"lore-revision/src/fs/fuse/operation.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"0326794947a40e287c9803ec8ad1fdcfd4d2cf6b17d80d2929614ea00694b1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lore-revision/src/fs/fuse/write.rs:1084-1091 | lore-storage/src/read.rs:1665-1675 \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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e65618bc91a91a3f7d2e7102036f7ee750722a9221e368e607c247c0ef802c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lore-revision/src/util/fan_out.rs:30-39 | lore-revision/src/util/fs.rs:191-200 \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":"lore-revision/src/util/fan_out.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d216d5a8a76b93cba146b2f998845dbc3b7561245513f8967c6c5be2bf110f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-server/src/auth/jwt_axum_middleware.rs:110-122 | lore-server/src/auth/jwt_interceptor.rs:100-111 \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":"lore-server/src/auth/jwt_axum_middleware.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0529c153b6e4c0e9e1ce33085550b6495235235bd7259abc89afd338ad24600e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lore-storage/src/hash.rs:39-46 | lore-storage/src/hash.rs:64-72 \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":"lore-storage/src/hash.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7fb7ae4bed5caecb06d568a0a01f7e6e7f8bb8c8360dbdf4191f91f3c77245"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore-transport/src/quic/chunking.rs:398-411 | lore-transport/src/quic/chunking.rs:919-932 \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":"lore-transport/src/quic/chunking.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a6d1e617f6bcee8ddcd3c994ca0d93458e15c87452e0af20423cbfae19ac35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore/src/revision_tree/handle.rs:308-319 | lore/src/storage/handle.rs:111-122 \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":"lore/src/revision_tree/handle.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29a3e4956634bdebf888bb02a4f65e7e9ed5131cacaab68c1b3b6271d755d43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-revision/src/branch.rs:4209-4217 | lore-revision/src/repository.rs:4781-4789 \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":"lore-revision/src/branch.rs"},"region":{"startLine":4209}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eadf564ec7a03218d4dc37980dde05333e9312217ecdfd1438e286a16e4d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore-revision/src/change.rs:189-202 | lore-revision/src/state.rs:9726-9739 \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":"lore-revision/src/change.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"386b70dfcb372d9a6b0a840fa88a924959c19015a239a634aa025a780d8138e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): lore-server/src/grpc/repository/v1/repository_get.rs:90-102 | lore-server/src/grpc/revision/v1/branch_get.rs:58-70 \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":"lore-server/src/grpc/repository/v1/repository_get.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cb12e96a6851db92d2e2e0cb0144a647e2689f6d48e6db69f736412abbffcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-transport/src/uds/client.rs:1103-1114 | lore-transport/src/uds/client.rs:1245-1256 \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":"lore-transport/src/uds/client.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da5586c8ba1e9e37bded269fe0282b3d61418008a92a03e7e0521ae483c67ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lore-revision/src/branch.rs:2432-2438 | lore-revision/src/file/unstage.rs:721-730 \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":"lore-revision/src/branch.rs"},"region":{"startLine":2432}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbedf8aba30b56d6ec7e760c8ac55ffc416bc518f9446dfcc35c20eac9a8445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lore-revision/src/fs/fuse/filesystem.rs:1994-2000 | lore-revision/src/fs/fuse/swap.rs:328-334 \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":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"1865c6afe80a0c872682fc4fbe405ed3ac26768f5f76ba1d440fab2bc34bd781"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): lore-server/src/grpc/admin_service.rs:132-146 | lore-server/src/grpc/revision/v1/service.rs:164-179 | lore-server/src/grpc/revision/v1/service.rs:184-199 | lore-server/src/grpc/revision_service.rs:119-133 \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":"lore-server/src/grpc/admin_service.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef6b0f010b31b5f22f26f8c670395cf94aa3ffeb62b0a7d84a9b11932c3e6c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lore-io/src/uring.rs:588-595 | lore-io/src/iocp.rs:824-830 \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":"lore-io/src/uring.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"68653c31dfaed11b09622627625938d59be6ed3ac3d1c955b34f9c43cafffe6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-revision/src/fs/fuse/fragment_cache.rs:252-263 | lore-revision/src/fs/fuse/fragment_cache/prefetch.rs:113-125 \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":"lore-revision/src/fs/fuse/fragment_cache.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"8133d61ae54ee788afee7a61669fe308456e016f7d6a6ae65dab51487f60d94e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-storage/src/write.rs:1106-1120 | lore-revision/src/store/composite.rs:252-263 \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":"lore-storage/src/write.rs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"173df2320da5a4ebc10f80fa334c3fe5673765928a69acf3175c6059d9dc25a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore/src/storage/get.rs:100-109 | lore/src/storage/get_file_resolved.rs:88-96 \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":"lore/src/storage/get.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"594dee55fc28282ceaf98fb0a4a7aff39faaecfe0aba00fecf43decbdf39b557"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): lore/src/storage/put.rs:82-90 | lore/src/storage/put_file.rs:83-91 | lore/src/storage/put_file_resolved.rs:94-103 | lore/src/storage/put_resolved.rs:110-118 \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":"lore/src/storage/put.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f382a630851c1907fce3f887c78db2c7c57d110fd9fc54ff8a509cbeb78eccae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): lore-revision/src/state/block.rs:2525-2536 | lore-revision/src/state/block.rs:2614-2623 | lore-revision/src/state/block.rs:2627-2636 \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":"lore-revision/src/state/block.rs"},"region":{"startLine":2525}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd5d41d75dc6e450a8bbb22e5dd2d7bda8d98470915299e39d61916c276e9ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lore-server/src/authnz/common.rs:13-20 | lore-transport/src/auth/ucs_auth.rs:109-116 \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":"lore-server/src/authnz/common.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"81689735840b5f8930b5e5877475fa4731d1d45b212880a049bb3e839ba2ba53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lore-revision/src/store/write_discarding.rs:71-77 | lore-storage/src/mutable_conformance.rs:748-754 \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":"lore-revision/src/store/write_discarding.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8339aab3d154ca9327c6f642381a6c6a4389bd7c4d4e953c026ea780c8d8c02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore-server/src/grpc/forwarded_revision/v1/service.rs:96-109 | lore-server/src/grpc/revision_service.rs:138-152 \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":"lore-server/src/grpc/forwarded_revision/v1/service.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3f99ec3f67171e2530b9cdeab5fd8ed20f45e9498397d09fd02ce49b480e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lore-revision/src/branch.rs:5301-5318 | lore-revision/src/revision.rs:2287-2293 \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":"lore-revision/src/branch.rs"},"region":{"startLine":5301}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e9ee33578c8b755a936b1769c9928fc1e5f5be8434cebe7eaf6becc2634441"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): lore/src/storage/get.rs:374-387 | lore/src/storage/get_file.rs:148-162 | lore/src/storage/mutable_compare_and_swap.rs:181-196 | lore/src/storage/mutable_load.rs:166-179 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/storage/get.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9444e9a68846df3a12defc86895d2ce1786e9d463ff63fa9a96dd1c741e934"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lore-revision/src/fs/fuse/listing.rs:150-157 | lore-revision/src/fs/fuse/filesystem.rs:3934-3940 \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":"lore-revision/src/fs/fuse/listing.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5535cd9c67cb91584adfb268f39881316d47277bae3d338983a68412d8ef22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore-server/src/grpc/repository/v1/service.rs:121-134 | lore-server/src/grpc/repository_service.rs:87-100 \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":"lore-server/src/grpc/repository/v1/service.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5bfe6baeb4affa81dc7867e334497dfcaeaca0c364fb965e0d2407f2097c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lore-server/src/quic/storage_service_v4.rs:517-529 | lore-server/src/quic/storage_service.rs:568-577 \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":"lore-server/src/quic/storage_service_v4.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb79c41d97bbeb1c1d00780e0bba012e71492da16f81b5765a4f44b261fa50b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lore-revision/src/revision/cherry_pick.rs:390-396 | lore-revision/src/revision/revert.rs:358-366 \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":"lore-revision/src/revision/cherry_pick.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3eaac19aad47b5dfcb4eb8953317b9247da6acd05958de562e72b081d02c5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lore/src/revision_tree/handle.rs:381-388 | lore/src/storage/store.rs:403-411 \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":"lore/src/revision_tree/handle.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"116eb2ef382eb398115e6fcd9e49ad0fc733889fbf931185e69f1949bf3f4c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lore-revision/src/revision/cherry_pick.rs:411-418 | lore-revision/src/revision/revert.rs:372-381 \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":"lore-revision/src/revision/cherry_pick.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"030ea7db76b4ff84a30ead429e7d5af5b430d012a71db21ed246abfa7b91c007"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-revision/src/state/node/in_place.rs:440-451 | lore-revision/src/state/node/rewrite.rs:824-835 \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":"lore-revision/src/state/node/in_place.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc65eb604ff5b8b683988ad9d561e1e12802c15531e45e0499ec96b0944f642"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-server/src/grpc/handlers/branch_push.rs:148-156 | lore-telemetry/src/lib.rs:73-81 \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":"lore-server/src/grpc/handlers/branch_push.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d7486cfc99bf1d07bb32edf7704da553596c15d5e5251459b349716012d8d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-server/src/hooks/dispatch.rs:568-576 | lore-revision/src/fs/swfs/panic_guard.rs:45-53 \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":"lore-server/src/hooks/dispatch.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d9293ba278c1020b596ed52c4159b74f85850320a286a2f2f56ceae840e7fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lore-server/src/telemetry/trace.rs:42-49 | lore-telemetry/src/metrics/mod.rs:42-49 \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":"lore-server/src/telemetry/trace.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"df918e30372e0211e412ca6d6abf22d2642c913f123fc605fdc7d11dd7756aff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lore-revision/src/dependency/mod.rs:104-110 | lore-revision/src/metadata/set.rs:67-73 \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":"lore-revision/src/dependency/mod.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30b9ec32aba895875a3db6175bb0f73697f2d0a9f82ef09b6d2e9f9689798a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lore-server/src/grpc/forwarded_repository/v1/service.rs:95-107 | lore-server/src/grpc/repository_service.rs:105-116 \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":"lore-server/src/grpc/forwarded_repository/v1/service.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa92e6cd49611c613c86be879f35f8e46f390f32d4fd46f68cd1dc37841249a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lore-base/src/version.rs:70-76 | lore-io/src/clone/volume.rs:215-218 \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":"lore-base/src/version.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ead4881a496223374389889527ca3ef8cc48b78e4f1d4465d418f9f906b5998"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lore-revision/src/instance.rs:1621-1629 | lore-storage/src/fs_util.rs:135-142 \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":"lore-revision/src/instance.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e9b001cf0d5088c372510428702184602a35ae472ae6495f749a6b5338e4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lore-server/src/grpc/repository/v1/service.rs:158-167 | lore-server/src/grpc/repository_service.rs:121-133 \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":"lore-server/src/grpc/repository/v1/service.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f256c0a5885ee360175d7af23e9f8de68fc9aa200313b324a0dd172301101f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): lore-server/src/grpc/forwarded_repository/v1/service.rs:77-90 | lore-server/src/grpc/repository/v1/service.rs:102-116 | lore-server/src/grpc/repository_service.rs:69-82 | lore-server/src/grpc/revision/v1/service.rs:204-215 \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":"lore-server/src/grpc/forwarded_repository/v1/service.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e883c6ee3e4557b535faa57bf660817226224b7f767fd2f8a2f86b7a57a44115"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): lore/src/file.rs:239-249 | lore/src/revision.rs:347-357 \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":"lore/src/file.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7282dfb26af7da7d93f41261b7129e833f8a59b38b3545a070037a8dd400c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-transport/src/grpc/admin_client.rs:28-36 | lore-transport/src/grpc/lock_client.rs:35-44 \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":"lore-transport/src/grpc/admin_client.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8bf026e531ebeeae0769ca4dc6756cb53e6c6ae90000344895fa4cf13049e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lore-fuse/src/mount.rs:78-81 | lore-fuse/src/test_support.rs:54-57 \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":"lore-fuse/src/mount.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"69daaebe6a8583dda743ba985242357b3f5e47da696baf00762014129b3bd81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lore-revision/src/branch.rs:535-539 | lore-revision/src/repository.rs:4767-4771 \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":"lore-revision/src/branch.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cb24e237851cd74146250d132b4722cd34676700b27bfb7257599c59992215"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lore-revision/src/revision/history.rs:53-59 | lore-revision/src/revision/info.rs:47-54 \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":"lore-revision/src/revision/history.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b744b21d407c4e67aac6e9db5a40e65d787acaa6bf6812912a50e2968baf2d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 5\u002B corresponding lines): lore-server/src/protocol/replication_store/copy.rs:119-123 | lore-server/src/protocol/replication_store/get.rs:134-139 | lore-server/src/protocol/replication_store/get_metadata.rs:119-124 | lore-server/src/protocol/replication_store/obliterate.rs:116-120 | lore-server/src/protocol/replication_store/put.rs:129-134 | lore-server/src/protocol/replication_store/query.rs:159-164 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 5 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":"lore-server/src/protocol/replication_store/copy.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5bdb3020e2939ba7c1379d11710b6e3b7c601491efc70d1686193f7549a57b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lore-io/src/clone/entry.rs:338-342 | lore-transport/src/local_socket.rs:206-210 \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":"lore-io/src/clone/entry.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"53135074ef3c92037935119dcab6a1fb936602afbc55ac37a88855ae26b23384"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lore-revision/src/fs/filesystem_provider.rs:125-131 | lore-revision/src/fs/fuse/operation.rs:500-510 \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":"lore-revision/src/fs/filesystem_provider.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c69f721ffcfdda335846d2c6cdf9ce4778f91711696e3ba9de0c73a31e6632f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lore-storage/src/local/immutable_store.rs:353-358 | lore-storage/src/local/mutable_store.rs:242-247 \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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc65971d300633cc750f3701c4ec7dff18611b243594088cc78aa9d25079dc50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lore-io/src/clone/apfs.rs:63-67 | lore-io/src/clone/source.rs:65-69 \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":"lore-io/src/clone/apfs.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6be2ecfdca19545f04697735d1f70d979620aa0dc6cc5299a850857fb8fa38c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): lore-server/src/grpc/forwarded_revision/v1/service.rs:131-139 | lore-server/src/grpc/revision/v1/service.rs:222-231 \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":"lore-server/src/grpc/forwarded_revision/v1/service.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbb91802f1a001fcd4fe392586faf49953d960137a99b8a9f6f2327a6bab34d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): lore-revision/src/stage.rs:1949-1962 | lore-storage/src/fragment_engine.rs:699-712 \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":"lore-revision/src/stage.rs"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"8feab21ae163042e259adc47c381c6de491ad0fb903094eca3d8ffa65b4f1662"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lore-revision/src/state/node/hooks.rs:532-538 | lore-storage/src/test_util.rs:280-286 \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":"lore-revision/src/state/node/hooks.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0d772dd58c7bf68a65214fb574f6d1bf3a167fee893cd84cd378bdb37b1845"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): lore-server/src/authnz/global_grants_authorizer.rs:109-114 | lore-server/src/authnz/resource_grants_authorizer.rs:171-176 \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":"lore-server/src/authnz/global_grants_authorizer.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7190a58c8efc8bc55cc929c562f0de5d872821ddf7a7e1cf74596c0a3e81bd88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lore/src/revision_tree/add.rs:271-274 | lore/src/revision_tree/move_node.rs:187-190 \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":"lore/src/revision_tree/add.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1ac69e4e718b09fad0ec9deccd1a7cbed31dd71426acf658e61c676f574632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (92 lines \u00D7 2): lore-storage/src/compress.rs:732-823 | lore-storage/src/compress.rs:864-955 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/compress.rs:732\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":"lore-storage/src/compress.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"70940558068a2f1f920d4bfd8ba3784b574167e5d140312d8f3f38ee4d68d0dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54\u201356 lines \u00D7 2): lore-server/src/grpc/handlers/repository_create.rs:264-319 | lore-server/src/grpc/repository/v1/repository_create.rs:321-374 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/repository_create.rs\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_create.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 133 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 \u0060lore-server/src/grpc/handlers/repository_create.rs:264\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":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"36abd6b1c7e533d55cb1413027316060afc905d53ce3e572362f141d7147ce1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201348 lines \u00D7 2): lore-transport/src/auth/exchange.rs:337-384 | lore-transport/src/auth/exchange.rs:495-540 \u2014 both copies are in the same file, so extract the block 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":"lore-transport/src/auth/exchange.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc40e11d4309622cd9370f815e8cfb0f486f4cf21abffc316bbe8deb1088c91e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): lore-server/src/grpc/storage/v1/get_resolved.rs:201-245 | lore-server/src/grpc/storage/v1/put_resolved.rs:242-286 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/get_resolved.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/put_resolved.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 123 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 \u0060lore-server/src/grpc/storage/v1/get_resolved.rs:201\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":"lore-server/src/grpc/storage/v1/get_resolved.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4522d0b9c459e0e7092290fd85b20b3a7276fce1e129d85c42702eec8a3702"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): lore-transport/src/auth/exchange.rs:389-432 | lore-transport/src/auth/exchange.rs:545-588 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-transport/src/auth/exchange.rs:389\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-transport/src/auth/exchange.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"295995c807667581c063d6f6c8a76d2328277ef2a3c44cf08db1a59020a6ef06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201339 lines \u00D7 2): lore-server/src/grpc/handlers/repository_metadata_set.rs:146-184 | lore-server/src/grpc/repository/v1/repository_metadata_set.rs:97-131 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/repository_metadata_set.rs\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_metadata_set.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 152 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 \u0060lore-server/src/grpc/handlers/repository_metadata_set.rs:146\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":"lore-server/src/grpc/handlers/repository_metadata_set.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e46bc111d4a75524c0931ac8223b8939c6bcc69efb649df4a664ec7ec2748a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): lore-server/src/grpc/handlers/repository_query.rs:111-149 | lore-server/src/grpc/repository/v1/repository_get.rs:189-226 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/repository_query.rs\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_get.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 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 \u0060lore-server/src/grpc/handlers/repository_query.rs:111\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":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd38966e63a3b10252528310c3764d473416236ca22b36d4cb67d89a01ebce13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:1732-1768 | lore-storage/src/local/mutable_store.rs:1561-1597 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:1732\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"c883003de07154c180d6192f9e78008a13fa9dec22ad459ce050140b1d89f4f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201333 lines \u00D7 2): lore-server/src/grpc/handlers/branch_metadata_set.rs:163-195 | lore-server/src/grpc/revision/v1/branch_metadata_set.rs:129-152 \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 \u0060lore-server/src/grpc/handlers/branch_metadata_set.rs:163\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":"lore-server/src/grpc/handlers/branch_metadata_set.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02906f84df1afcdbf5b2aaaf750389027ec2efd20349bd10b65f0b1a01f40f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): lore-server/src/grpc/revision/v1/service.rs:102-132 | lore-server/src/grpc/revision_service.rs:79-109 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/revision/v1/service.rs\u0060 and \u0060lore-server/src/grpc/revision_service.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 84 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 \u0060lore-server/src/grpc/revision/v1/service.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":"lore-server/src/grpc/revision/v1/service.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cfc3b4c597b6f49367a0e9dd0c1cab8206e40dcf7c785a95c393135cc418c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201329 lines \u00D7 2): lore-revision/src/stage.rs:2678-2706 | lore-revision/src/stage.rs:2847-2870 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/stage.rs:2678\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":"lore-revision/src/stage.rs"},"region":{"startLine":2678}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b29eb60088dd9c4905aa809eebb1178730b13475665bc31fb77da1b76eb0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): lore-server/src/grpc/handlers/repository_metadata_set.rs:111-139 | lore-server/src/grpc/repository/v1/repository_metadata_set.rs:63-90 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/repository_metadata_set.rs\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_metadata_set.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 152 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 \u0060lore-server/src/grpc/handlers/repository_metadata_set.rs:111\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":"lore-server/src/grpc/handlers/repository_metadata_set.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72b330d332c9047d44182c116b3f35f4789065cab00ea7d45f6375088b8f578"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 3): lore-server/src/grpc/handlers/branch_metadata_set.rs:140-167 | lore-server/src/grpc/handlers/repository_metadata_set.rs:130-157 | lore-server/src/grpc/repository/v1/repository_metadata_set.rs:81-107 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/branch_metadata_set.rs\u0060 and \u0060lore-server/src/grpc/handlers/repository_metadata_set.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 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":"lore-server/src/grpc/handlers/branch_metadata_set.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b40a61d2e1e08204ed4a1fc048a19edffac456ef4c0f05f5168365c2b132dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lore-revision/src/link/remove.rs:50-77 | lore-revision/src/link/update.rs:43-70 \u2014 before extracting anything, compare \u0060lore-revision/src/link/remove.rs\u0060 and \u0060lore-revision/src/link/update.rs\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060lore-revision/src/link/remove.rs:50\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":"lore-revision/src/link/remove.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d524d5ac92d70f14e669465f550e5e6a5c1fc553c216d5cbd9178c806bf71a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): lore-server/src/grpc/handlers/repository_delete.rs:114-141 | lore-server/src/grpc/repository/v1/repository_delete.rs:80-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_delete.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd646efce91ae5165625f34e88de38d5a9c733bf0c1141b935191fcfb285bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 3): lore-client/src/cli/commands/branch.rs:1063-1089 | lore-client/src/cli/commands/revision.rs:1815-1841 | lore-client/src/cli/commands/revision.rs:2109-2133 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060lore-client/src/cli/commands/branch.rs:1063\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c630c96b7cb681c6123defc990b92ca13a8db60722a264f9c725614a4699cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 3): lore-revision/src/state.rs:11341-11366 | lore-revision/src/state.rs:11404-11429 | lore-revision/src/state.rs:11440-11466 \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":"lore-revision/src/state.rs"},"region":{"startLine":11341}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4172cdacca8842036c390836af6e876b5820603c962ce84fdb3eb5d1b531e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): lore-server/src/grpc/handlers/repository_query.rs:181-207 | lore-server/src/grpc/repository/v1/repository_get.rs:258-283 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/repository_query.rs\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_get.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 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 \u0060lore-server/src/grpc/handlers/repository_query.rs:181\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":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18b5cb8cf5ea5dc2b09a71875714a99a9567858601234cd7cdeb4dbc7e51e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): lore-server/src/grpc/handlers/branch_metadata_set.rs:81-106 | lore-server/src/grpc/handlers/repository_metadata_set.rs:65-90 | lore-server/src/grpc/repository/v1/repository_metadata_set.rs:177-202 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/branch_metadata_set.rs\u0060 and \u0060lore-server/src/grpc/handlers/repository_metadata_set.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_metadata_set.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2b6a25876fcf20a5446fce364798117b771d6d5d894410e6aca7b0a7c5a935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lore-revision/src/branch.rs:4957-4982 | lore-revision/src/branch.rs:5041-5066 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/branch.rs:4957\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":"lore-revision/src/branch.rs"},"region":{"startLine":4957}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe7dd43f2ac98f16e274e52f97dbf857dfbe0c589ca09035761b82902d4ec0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): lore-server/src/grpc/handlers/repository_create.rs:121-146 | lore-server/src/grpc/repository/v1/repository_create.rs:202-227 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/repository_create.rs\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_create.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 133 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":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae9b1efb01a6e1ccb9e642c7136a6cc2f1300a841b85cfcdec1b5986e978881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 4): lore-client/src/cli/commands/branch.rs:1767-1789 | lore-client/src/cli/commands/file.rs:1073-1097 | lore-client/src/cli/commands/repository.rs:1685-1707 | lore-client/src/cli/commands/revision.rs:2325-2347 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/file.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lore-client/src/cli/commands/branch.rs:1767\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 \u0060args\u0060 to \u0060\u0026BranchMetadataSetArgs\u0060 in one and \u0060\u0026FileMetadataSetArgs\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore-client/src/cli/commands/branch.rs:1792\u0060 calls \u0060resolve_branch_arg\u0060 and \u0060lore-client/src/cli/commands/repository.rs:1710\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cd54aabceb8d319a8c31413c86362589aa293e189a894dc8f21d5c1f6bbd4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): lore-revision/src/dependency/mod.rs:703-724 | lore-revision/src/metadata/set.rs:229-253 \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 \u0060lore-revision/src/dependency/mod.rs:703\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore-revision/src/metadata/set.rs:256\u0060 calls \u0060send\u0060 and \u0060lore-revision/src/dependency/mod.rs:726\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":"lore-revision/src/dependency/mod.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bbae2c375565fbac68c97d8c1159a4f532be431d2a6ad98d253a970d22b868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:6900-6924 | lore-storage/src/local/mutable_store.rs:1743-1767 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:6900\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6900}}}],"partialFingerprints":{"codehealthFindingId/v1":"940ebeaa3ce570aa36b3f94315f59295b389ed34c3fe95428cd32b2fc9144a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 2): lore-revision/src/revision/cherry_pick.rs:164-183 | lore-revision/src/revision/revert.rs:155-178 \u2014 before extracting anything, compare \u0060lore-revision/src/revision/cherry_pick.rs\u0060 and \u0060lore-revision/src/revision/revert.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-revision/src/revision/cherry_pick.rs:154\u0060 calls \u0060revision\u0060, \u0060Err\u0060, \u0060internal\u0060 and \u0060lore-revision/src/revision/revert.rs:147\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":"lore-revision/src/revision/cherry_pick.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6726ca8b29bf11d79693c6cbf92e3ef57606803d5492f21a29d184ee8af60f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lore/src/dependency.rs:112-136 | lore/src/dependency.rs:220-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/dependency.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30232ba07986dcc907a5b6749dd582a074ae538993cd7da29c63d73d73f2566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 3): lore-revision/src/state.rs:935-957 | lore-revision/src/state.rs:1000-1022 | lore-revision/src/state.rs:1175-1195 \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 \u0060lore-revision/src/state.rs:935\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":"lore-revision/src/state.rs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7eb8340608e07eeb5fa69c4f568a03d37cec4763a75bc917dc7d610ecf0aa1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lore-client/src/cli/commands/branch.rs:1140-1162 | lore-client/src/cli/commands/revision.rs:1658-1680 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060lore-client/src/cli/commands/branch.rs:1140\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9345dd10a0adf93f593e842ceb95973cad61263f392dc85f9b9ad289b1a53fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 2): lore-revision/src/branch.rs:4362-4380 | lore-revision/src/branch.rs:4440-4462 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/branch.rs:4362\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":"lore-revision/src/branch.rs"},"region":{"startLine":4362}}}],"partialFingerprints":{"codehealthFindingId/v1":"5430b23f22d3254cc49671c606f4e1d3ec8b980c4515235dc14b64432b2c4ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lore-revision/src/branch/merge.rs:3635-3657 | lore-revision/src/branch/merge.rs:3670-3692 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-revision/src/branch/merge.rs:3667\u0060 calls \u0060set_cherry_pick\u0060 and \u0060lore-revision/src/branch/merge.rs:3632\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":3635}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a40edd11f7f362703e11e1b5b7289cb57d0e0a2c40b84a8904028cd9fa57c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): lore-revision/src/metadata/branch.rs:427-449 | lore-revision/src/metadata/repository.rs:396-418 \u2014 before extracting anything, compare \u0060lore-revision/src/metadata/branch.rs\u0060 and \u0060lore-revision/src/metadata/repository.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5eca0cbbff7186a3de05947111b3fe0b34543b1a7cbfda8802533f7df24e64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lore-client/src/cli/commands/revision.rs:2403-2424 | lore-client/src/cli/commands/revision.rs:2430-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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060\u0026LoreRevisionHistoryEntryEventData\u0060 in one and \u0060\u0026LoreRevisionInfoEventData\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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":2403}}}],"partialFingerprints":{"codehealthFindingId/v1":"071b621491af7618a3f7f800d1b486aa01e2f55eaa082c990461f270c5cba50e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lore-io/src/psync.rs:1411-1432 | lore-io/src/uring.rs:175-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-io/src/psync.rs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b7a34e1bc43b635ae80dd0a8c39225357a915b9c9fe660b9373bfff8f577e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lore-revision/src/file/info.rs:1132-1153 | lore-revision/src/file/info.rs:1258-1279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/file/info.rs:1132\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":"lore-revision/src/file/info.rs"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3081f71612e4fc39d23b8d8d594541ffab298594d421155518905ea493af6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lore-revision/src/state.rs:11065-11086 | lore-revision/src/state.rs:11095-11116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:11065\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":"lore-revision/src/state.rs"},"region":{"startLine":11065}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e2de1dbc4310dd73c876dbfff0961a3b88b89cf4fc4fe89faf13471dc95555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): lore-server/src/grpc/handlers/repository_create.rs:59-80 | lore-server/src/grpc/repository/v1/repository_create.rs:145-165 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/repository_create.rs\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_create.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 133 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 \u0060lore-server/src/grpc/handlers/repository_create.rs:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ed60840e72c6449b9f666dab9f8b927be7e81d6c0ef1963b055e9a2c512b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:2122-2141 | lore-storage/src/local/mutable_store.rs:1114-1135 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:2122\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":2122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeac5ef3678674c2209d26a99f294ee748203a5440faadb33ecafdeaf323adf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lore/src/repository.rs:556-577 | lore/src/repository.rs:621-642 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore/src/repository.rs:553\u0060 calls \u0060make_absolute\u0060 and \u0060lore/src/repository.rs:619\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":"lore/src/repository.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3d654eda5b54361a64b33575844c7d79271248b8ad6c9eb4c8cc4a3e3a2602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 3): lore-server/src/grpc/storage_service.rs:132-150 | lore-server/src/grpc/storage_service.rs:278-298 | lore-server/src/grpc/storage_service.rs:497-516 \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 \u0060lore-server/src/grpc/storage_service.rs:132\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060Request\u003CStreaming\u003Clore_proto::Address\u003E\u003E\u0060 in one and \u0060Request\u003CStreaming\u003Clore_proto::PutRequest\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-server/src/grpc/storage_service.rs:277\u0060 calls \u0060require_action\u0060 and \u0060lore-server/src/grpc/storage_service.rs:131\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":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"604a48d319e903f02eac2c536f2bb4973a64ad860a64b383d5df58b06a60cac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lore-revision/src/fs/realize.rs:4416-4436 | lore-revision/src/fs/realize.rs:4730-4750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/fs/realize.rs:4416\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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4416}}}],"partialFingerprints":{"codehealthFindingId/v1":"938dc067f201c995a31ca027605fa2b32d5049a6325215deb16b4113c59589e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lore-revision/src/metadata/branch.rs:325-345 | lore-revision/src/metadata/repository.rs:296-316 \u2014 before extracting anything, compare \u0060lore-revision/src/metadata/branch.rs\u0060 and \u0060lore-revision/src/metadata/repository.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 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 \u0060lore-revision/src/metadata/branch.rs:325\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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"9360ca9aaddfd9b5acdc4f7ed007dc0bf165ceba4be1f0c929c6478b4a6d94fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lore-server/src/grpc/handlers/repository_metadata_get.rs:41-61 | lore-server/src/grpc/repository/v1/repository_metadata_get.rs:45-65 \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 \u0060lore-server/src/grpc/handlers/repository_metadata_get.rs:41\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":"lore-server/src/grpc/handlers/repository_metadata_get.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de4a80355b2e37a2a1af103533bca910a9be3279ef7272bbaa5db66fb816a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:2005-2025 | lore-storage/src/local/mutable_store.rs:1020-1040 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:2005\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e52bc9df4eb680365444b0ab254ad54868514ceb5e3e1f345f9e880ac33930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:6931-6951 | lore-storage/src/local/mutable_store.rs:1774-1794 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:6931\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6931}}}],"partialFingerprints":{"codehealthFindingId/v1":"8116be476ad90d4c932af903b38851fda05da6e0bf36fc82d03d8c982ad8beaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:7049-7069 | lore-storage/src/local/mutable_store.rs:1899-1918 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:7049\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":7049}}}],"partialFingerprints":{"codehealthFindingId/v1":"109e2cfb4c960b5b8ed3bf315f31b0eea7180d69649a40a919d1318be5bb8705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lore-transport/src/grpc/storage_client.rs:1157-1177 | lore-transport/src/grpc/storage_client.rs:1202-1222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-transport/src/grpc/storage_client.rs:1157\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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2ad373140edfda4c7ad97e3fade21326869065fe388d82c116aabdbca38a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): lore-client/src/cli/commands/branch.rs:1278-1297 | lore-client/src/cli/commands/revision.rs:1913-1930 | lore-client/src/cli/commands/revision.rs:2195-2212 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060lore-client/src/cli/commands/branch.rs:1278\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-client/src/cli/commands/revision.rs:1911\u0060 calls \u0060display_path\u0060, \u0060as_str\u0060, \u0060fetch_add\u0060 and \u0060lore-client/src/cli/commands/branch.rs:1278\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"61eadf1af08990d51d0b01261e659a21e5044e6fa0393cfacad2fd53b0cb138d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): lore-revision/src/branch/merge.rs:3607-3624 | lore-revision/src/branch/merge.rs:3638-3657 | lore-revision/src/branch/merge.rs:3673-3692 \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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":3607}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddca9a6cd6a474f13fb0c78b016a8ef0ac7625750a22043c488530baaaee70b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lore-client/src/cli/commands/revision.rs:1254-1273 | lore-client/src/cli/commands/revision.rs:1315-1334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-client/src/cli/commands/revision.rs:1254\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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9adebfc2dde07f695a9c5c53181749f89dc14d47fecfe5249131edb41e424d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lore-revision/src/branch/merge.rs:4587-4606 | lore-revision/src/stage.rs:4564-4583 \u2014 before extracting anything, compare \u0060lore-revision/src/branch/merge.rs\u0060 and \u0060lore-revision/src/stage.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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 \u0060lore-revision/src/branch/merge.rs:4587\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":4587}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfb1ee40ae263320d1fe504cbbaf32cdf0f715bdb36f98fd826b029bc118823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lore-revision/src/file/diff.rs:483-502 | lore-revision/src/file/diff.rs:733-752 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/file/diff.rs:483\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":"lore-revision/src/file/diff.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"92520cd30fb6ff02eafc4b7a2bd772e36c0bbecb3b06b55b21e505241d8c260e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lore-revision/src/fs/realize.rs:4445-4464 | lore-revision/src/fs/realize.rs:4876-4895 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4445}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ce735354d08d1d629958826d8d7fb9abbd673f80f9f06eb5f7bc27e6ad9224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201320 lines \u00D7 2): lore-revision/src/link.rs:485-504 | lore-revision/src/link.rs:561-570 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/link.rs:485\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-revision/src/link.rs:484\u0060 calls \u0060filter\u0060, \u0060is_zero\u0060 and \u0060lore-revision/src/link.rs:560\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":"lore-revision/src/link.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b10d155c42e817ef86a2e472335754519a78d65b036c8f4a99d95013b8bf67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lore-revision/src/metadata/set.rs:91-110 | lore-revision/src/metadata/set.rs:315-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 \u0060lore-revision/src/metadata/set.rs:91\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":"lore-revision/src/metadata/set.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f70e7a2ceedfd5d81319d19695c7e4031a31cc6bfda028e1cf33631c4e34426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lore-server/src/grpc/handlers/branch_create.rs:40-59 | lore-server/src/grpc/revision/v1/branch_create.rs:43-62 \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":"lore-server/src/grpc/handlers/branch_create.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"57abf907de42fe747ff40586e1e82c3e9f35dd8f6afedbbdf510782d56c1a0c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): lore-server/src/grpc/handlers/branch_push.rs:701-720 | lore-server/src/grpc/revision/v1/branch_push.rs:197-215 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/branch_push.rs\u0060 and \u0060lore-server/src/grpc/revision/v1/branch_push.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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":"lore-server/src/grpc/handlers/branch_push.rs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f415406cecd5812b9ef4ff2957ed13bb611eefc3863a4497da8debd8aaa0c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:7134-7152 | lore-storage/src/local/mutable_store.rs:2409-2428 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:7134\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":7134}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ce94d368eb199d59c012409e3853f268f584ce0463c21311148c197349da71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lore-aws/src/store/immutable_store.rs:1532-1550 | lore-aws/src/store/immutable_store.rs:1772-1790 \u2014 both copies are in the same file, so extract the block 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":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d389fc1c7422663f973b74d21961f3396deb7a174e6208af14abbb0e5d332cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): lore-client/src/cli/commands/branch.rs:792-810 | lore-client/src/cli/commands/revision.rs:1422-1438 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060lore-client/src/cli/commands/branch.rs:792\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"b451304e1d7d7fcf89958278c08a41532b46d3db802dd21d68a81902566927ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lore-client/src/cli/commands/branch.rs:1794-1812 | lore-client/src/cli/commands/repository.rs:1711-1729 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/repository.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 125 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 \u0060lore-client/src/cli/commands/branch.rs:1794\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, \u0060lore-client/src/cli/commands/branch.rs:1792\u0060 calls \u0060resolve_branch_arg\u0060 and \u0060lore-client/src/cli/commands/repository.rs:1709\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"6986803476b871df2db4f4ca1a1113be612ed9227f3ed43cd5439945a9d49152"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): lore-revision/src/branch/merge.rs:2693-2711 | lore-revision/src/stage.rs:1319-1333 \u2014 before extracting anything, compare \u0060lore-revision/src/branch/merge.rs\u0060 and \u0060lore-revision/src/stage.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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 \u0060lore-revision/src/branch/merge.rs:2693\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"821196697e68fc4ddbe79f8d78d12287bee1ff194d6419597e4c253f52d180e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lore-revision/src/link/add.rs:433-451 | lore-revision/src/link/update.rs:180-198 \u2014 before extracting anything, compare \u0060lore-revision/src/link/add.rs\u0060 and \u0060lore-revision/src/link/update.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lore-revision/src/link/add.rs:433\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":"lore-revision/src/link/add.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"250266942cde6a8b3ff6ce0e4478c7ac8abaa9d8160e137444dfc8f6d3670b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): lore-revision/src/stage.rs:4674-4691 | lore-revision/src/stage.rs:5246-5264 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/stage.rs"},"region":{"startLine":4674}}}],"partialFingerprints":{"codehealthFindingId/v1":"679dda961eb85af1404b072e55dac01c2d111a365dba41cd04a6034d0f50ddc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): lore-server/src/cache/revision.rs:155-173 | lore-server/src/cache/revision.rs:210-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/cache/revision.rs:155\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":"lore-server/src/cache/revision.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2789d83c8648f885036d41fcd63ff183603e9de8845c08d99af7845951d3c9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): lore-server/src/grpc/thinclient/v1/helpers.rs:181-195 | lore-server/src/grpc/thinclient/v1/revision_info.rs:87-105 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/thinclient/v1/helpers.rs\u0060 and \u0060lore-server/src/grpc/thinclient/v1/revision_info.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 71 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":"lore-server/src/grpc/thinclient/v1/helpers.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"73739bc36f20d94a0871a84ef7e082275841374e43fe9fe3a37130d94e6caf00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:2067-2085 | lore-storage/src/local/mutable_store.rs:1081-1099 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:2067\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ff92eb463acf63fdfafce568a61a96d744de85617855142628e957acbf7476"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:7022-7040 | lore-storage/src/local/mutable_store.rs:1872-1890 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:7022\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":7022}}}],"partialFingerprints":{"codehealthFindingId/v1":"a185821556a69ea89801a679a14da054bb5ffcdde4b37abb7d4185ae421483ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lore-storage/src/mutable_conformance.rs:579-597 | lore-storage/src/mutable_conformance.rs:626-644 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/mutable_conformance.rs:579\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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6964c883c4b9da728838b70a21b023118846748181af92a39e08003c32d61aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): lore-storage/src/packstore.rs:780-795 | lore-storage/src/packstore.rs:828-846 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/packstore.rs:780\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":"lore-storage/src/packstore.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd51813d99cfd36ca4ab6f8a528c4b5611c5f2d6626f53cbe4d6e9589ff82ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): lore-revision/src/metadata/get.rs:20-37 | lore-revision/src/metadata/get.rs:61-78 | lore-revision/src/metadata/list.rs:19-36 | lore-revision/src/metadata/list.rs:50-67 \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":"lore-revision/src/metadata/get.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14c8c68cb466c69413c0b2d8582f4fd4c96a28b3b8f394cc78cdbda9ada0ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lore-client/src/cli/commands/auth.rs:577-594 | lore-client/src/cli/commands/lock.rs:315-332 | lore-client/src/cli/commands/revision.rs:2544-2561 \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 \u0060lore-client/src/cli/commands/auth.rs:577\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 \u0060data\u0060 to \u0060Arc\u003CMutex\u003CVec\u003CLockEventData\u003E\u003E\u003E\u0060 in one and \u0060Arc\u003CMutex\u003CVec\u003CRevisionEntryData\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":"lore-client/src/cli/commands/auth.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f12b623f07a9e65b50f2fa9e60c15c9619412e62902c8820cd956610fd83fd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lore-client/src/cli/commands/layer.rs:102-119 | lore-client/src/cli/commands/link.rs:134-151 | lore-client/src/cli/commands/repository.rs:1144-1161 \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 \u0060lore-client/src/cli/commands/layer.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":"lore-client/src/cli/commands/layer.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5180beee0fcf1ba0dfef1e5e9e6494c5055e63467392b8634217fecbaf1e8cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): lore-revision/src/link/info.rs:61-78 | lore-revision/src/link/remove.rs:68-85 | lore-revision/src/link/update.rs:61-78 \u2014 before extracting anything, compare \u0060lore-revision/src/link/info.rs\u0060 and \u0060lore-revision/src/link/remove.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"lore-revision/src/link/info.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3060f29f8120558178234e3e136b1e612047e9437fa99c9ae93248a775cfdb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lore-aws/src/dynamodb.rs:358-375 | lore-aws/src/dynamodb.rs:548-564 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-aws/src/dynamodb.rs:358\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":"lore-aws/src/dynamodb.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"95282e15c60d0fdfedbe1597443a1b311aeb0c2c8ece25baf6d7043bb6e449c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lore-io/src/psync.rs:1367-1384 | lore-io/src/uring.rs:153-170 \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":"lore-io/src/psync.rs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f312cfb22b375de263d9fb0ae207207bc6714c11f0afafc9dc3621559f6fbe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lore-revision/src/file/obliterate/impact.rs:135-152 | lore-revision/src/file/obliterate/impact.rs:171-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/file/obliterate/impact.rs:135\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":"lore-revision/src/file/obliterate/impact.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6293b786d4655207e2005205a899b8ce433d0d17782cb3df3081d28821b883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lore-revision/src/file/stage.rs:1414-1431 | lore-revision/src/file/stage.rs:1672-1689 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/file/stage.rs:1414\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":"lore-revision/src/file/stage.rs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b3d19928377e890cb5ae713f84b4e467bbf6eac9654092506caece01097935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lore-revision/src/metadata.rs:728-745 | lore-revision/src/metadata.rs:766-783 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/metadata.rs:728\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":"lore-revision/src/metadata.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96aed7d94381a629f6d5c718e831509eb44b0e15275ec47523a5732de3792dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lore-revision/src/repository/clone.rs:733-750 | lore-revision/src/repository/clone.rs:863-879 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/repository/clone.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/clone.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ec372bd1c2fbe0888349ce8e9f298ed3b13ddb0f9416c51d40e69c1eecfb50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lore-revision/src/stage.rs:5304-5321 | lore-revision/src/stage.rs:5352-5369 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/stage.rs"},"region":{"startLine":5304}}}],"partialFingerprints":{"codehealthFindingId/v1":"a853fbba04965d4c8788e1b2f76a42d86ac5f16328378526a947fcefed31227b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lore-server/src/grpc/handlers/branch_create.rs:119-136 | lore-server/src/grpc/revision/v1/branch_create.rs:180-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 \u0060lore-server/src/grpc/handlers/branch_create.rs:119\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":"lore-server/src/grpc/handlers/branch_create.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4b8167d71d0f2ca87a0b606f00de60e24bb2baeaaead3fd57490a0426abea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): lore-server/src/grpc/handlers/branch_push.rs:637-652 | lore-server/src/grpc/revision/v1/branch_push.rs:100-117 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/branch_push.rs\u0060 and \u0060lore-server/src/grpc/revision/v1/branch_push.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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 \u0060lore-server/src/grpc/revision/v1/branch_push.rs:100\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, \u0060lore-server/src/grpc/revision/v1/branch_push.rs:120\u0060 calls \u0060load_branch_and_head\u0060, \u0060clone\u0060 and \u0060lore-server/src/grpc/handlers/branch_push.rs:654\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":"lore-server/src/grpc/handlers/branch_push.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09fa855df456364a332446ce4d25d5525fb180e6393ff8f1a9c44208ec3950a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lore-storage/src/fragment_engine.rs:150-167 | lore-storage/src/fragment_engine.rs:595-612 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/fragment_engine.rs:150\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":"lore-storage/src/fragment_engine.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b529e742416f2f22247861a38930a0375cc5e33da54f927bd5507675d3468d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lore-storage/src/local/mutable_store.rs:2069-2087 | lore-storage/src/local/mutable_store.rs:2183-2201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/local/mutable_store.rs:2069\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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":2069}}}],"partialFingerprints":{"codehealthFindingId/v1":"af59c9130bb513bc3ef31da2c88de7ab0ffb586f6ebb7ac367e0ae2c437e017c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): lore-transport/src/grpc/mod.rs:116-132 | lore-transport/src/grpc/mod.rs:169-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-transport/src/grpc/mod.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. 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":"lore-transport/src/grpc/mod.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8eb3f4c6a0ac42248fc2ba7859bef5a0ca1e91ad196af66ce8a7d957e9ec4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lore-transport/src/grpc/repository_client.rs:242-259 | lore-transport/src/grpc/revision_client.rs:373-390 \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 \u0060lore-transport/src/grpc/repository_client.rs:242\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":"lore-transport/src/grpc/repository_client.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"99582bb1eafdb1aa92ef614a185235413768919bf4de0c81dab0d055746416a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lore-transport/src/grpc/storage_client.rs:1005-1022 | lore-transport/src/grpc/storage_client.rs:1089-1106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-transport/src/grpc/storage_client.rs:1005\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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"374da49b6d31eef000b980cd14c8be42a5524e0743aa9b9339c018508cc639f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): lore/src/call.rs:111-128 | lore/src/call.rs:322-339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore/src/call.rs:111\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":"lore/src/call.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f05a6537ebdacccbfdd3d7a70ae5928ee32458c23c2f53705399bd906a0b452"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 6): lore-server/src/grpc/storage/v1/copy.rs:154-168 | lore-server/src/grpc/storage/v1/get.rs:113-128 | lore-server/src/grpc/storage/v1/get_metadata.rs:112-127 | lore-server/src/grpc/storage/v1/get_resolved.rs:137-152 | lore-server/src/grpc/storage/v1/put.rs:119-135 | lore-server/src/grpc/storage/v1/put_resolved.rs:178-193 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/copy.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/get.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/storage/v1/copy.rs:154\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, \u0060lore-server/src/grpc/storage/v1/put.rs:117\u0060 calls \u0060require_action\u0060 and \u0060lore-server/src/grpc/storage/v1/get.rs:111\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":"lore-server/src/grpc/storage/v1/copy.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1565490eb617161563454d18ceb719f129677fd58f308aa81af488870cdf82fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): lore-server/src/grpc/handlers/branch_metadata_set.rs:40-56 | lore-server/src/grpc/handlers/repository_metadata_set.rs:36-52 | lore-server/src/grpc/repository/v1/repository_metadata_set.rs:148-164 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/branch_metadata_set.rs\u0060 and \u0060lore-server/src/grpc/handlers/repository_metadata_set.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 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 \u0060lore-server/src/grpc/handlers/branch_metadata_set.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":"lore-server/src/grpc/handlers/branch_metadata_set.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68aca0207a389452e1f2042ffaa5613dd7563681fde67fd1ee9a385a1a9a8ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lore-client/src/cli/commands/revision.rs:967-983 | lore-client/src/cli/commands/revision.rs:1064-1080 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-client/src/cli/commands/revision.rs:967\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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dd124e033c2e0c1939c52139c5f0624d89dada98fb6ba54149f8ddf5e39b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lore-revision/src/branch/merge.rs:5096-5112 | lore-revision/src/stage.rs:4570-4585 \u2014 before extracting anything, compare \u0060lore-revision/src/branch/merge.rs\u0060 and \u0060lore-revision/src/stage.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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 \u0060lore-revision/src/branch/merge.rs:5096\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":5096}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d288cb5341e50518eff3ff0a3923c15d906193ffd686efdbe1c14c08121c738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): lore-revision/src/fs/realize.rs:4427-4443 | lore-revision/src/fs/realize.rs:4752-4766 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/fs/realize.rs:4427\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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4427}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a881043613ff1a94bb5403af7aa9759214aba5c5428f595f660a85987308324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lore-revision/src/metadata/branch.rs:163-179 | lore-revision/src/metadata/repository.rs:137-153 \u2014 before extracting anything, compare \u0060lore-revision/src/metadata/branch.rs\u0060 and \u0060lore-revision/src/metadata/repository.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3ce2e83ebfa85b2ac8324671e941a90e38f974b9b4dd617e050692b6e4dbd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): lore-revision/src/repository/verify.rs:398-412 | lore-revision/src/repository/verify.rs:546-562 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-revision/src/repository/verify.rs:543\u0060 calls \u0060as_ref\u0060, \u0060copied\u0060, \u0060unwrap_or\u0060 and \u0060lore-revision/src/repository/verify.rs:396\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":"lore-revision/src/repository/verify.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc5c6de2c6c3716f7a791ec276dd7310acb315fa77c55bf8e7682d894fa2769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:5464-5489 | lore-storage/src/local/immutable_store.rs:5527-5550 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/local/immutable_store.rs:5464\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":5464}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7420a92922e09d69f6081a2ca0260e23127846c6d8008eb7be41613a488fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lore-storage/src/read.rs:162-178 | lore-storage/src/read.rs:2507-2523 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/read.rs:162\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":"lore-storage/src/read.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e716e7304ed22574ea54be99203a72b5eb65de10f6593edd5b8f3cc45d12c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lore/src/layer/add.rs:22-38 | lore/src/layer/remove.rs:26-41 \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":"lore/src/layer/add.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd24051435aad42c50d4d1e96a43543afd7a89016e92ab35ac80221c6ed7428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): contrib/bazel/crates/rbe-lore/src/lib.rs:875-890 | contrib/bazel/crates/rbe-lore/src/lib.rs:988-1003 \u2014 both copies are in the same file, so extract the block 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":"contrib/bazel/crates/rbe-lore/src/lib.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05409a1a0df7ed35dddb7d7af105d48f09c0bd05ede22dc4e0fb0c21cd02c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lore-client/src/cli/commands/branch.rs:1742-1757 | lore-client/src/cli/commands/repository.rs:1657-1672 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/repository.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 125 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 \u0060lore-client/src/cli/commands/branch.rs:1742\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 \u0060args\u0060 to \u0060\u0026BranchMetadataGetArgs\u0060 in one and \u0060\u0026RepositoryMetadataGetArgs\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"452bb867abe42c2dfe074363638b3c8f91b2f7b294f39cd7598c016769400743"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lore-client/src/cli/commands/branch.rs:1822-1837 | lore-client/src/cli/commands/repository.rs:1741-1756 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/repository.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 125 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 \u0060lore-client/src/cli/commands/branch.rs:1822\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, \u0060lore-client/src/cli/commands/branch.rs:1821\u0060 calls \u0060resolve_branch_arg\u0060 and \u0060lore-client/src/cli/commands/repository.rs:1740\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a333480b3ca5fe42363b6268c2e3b467f29096ef350dd3a7da3b2ecee6bb79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): lore-error-set-macro/src/codegen.rs:618-631 | lore-error-set-macro/src/codegen.rs:826-841 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-error-set-macro/src/codegen.rs:618\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":"lore-error-set-macro/src/codegen.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9107f9426ddbdd697550cca11069f424c0c616ee98a1ea877d0a5466a0905c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lore-revision/src/branch/merge.rs:6081-6096 | lore-revision/src/revision/restore.rs:308-323 \u2014 before extracting anything, compare \u0060lore-revision/src/branch/merge.rs\u0060 and \u0060lore-revision/src/revision/restore.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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 \u0060lore-revision/src/branch/merge.rs:6081\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":6081}}}],"partialFingerprints":{"codehealthFindingId/v1":"079c1b354eacaf5df77f72d6f90fc5bfa891e37efa912d0e907116c864de17dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lore-revision/src/state/node/in_place.rs:339-354 | lore-revision/src/state/node/in_place.rs:385-400 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state/node/in_place.rs:339\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":"lore-revision/src/state/node/in_place.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e786dc8a733e28527ab9eda0f86f824e3505c653128e67aadce4ca59e61bd6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lore-server/src/grpc/revision/v1/service.rs:237-252 | lore-server/src/grpc/revision_service.rs:203-218 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/revision/v1/service.rs\u0060 and \u0060lore-server/src/grpc/revision_service.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 84 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060Request\u003CBranchPushRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::BranchPushRequest\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":"lore-server/src/grpc/revision/v1/service.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"276266eea7104e474bc15b0fa90db08daa46feccd36b5e82b4fe600d6ebecccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lore-transport/src/grpc/storage_client.rs:1043-1058 | lore-transport/src/grpc/storage_client.rs:1127-1142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-transport/src/grpc/storage_client.rs:1043\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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0065236dc1cca549c9ca10247b2854863c010df56604fd9a38661897c30172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lore-client/src/cli/commands/branch.rs:1211-1225 | lore-client/src/cli/commands/revision.rs:1741-1755 | lore-client/src/cli/commands/revision.rs:2037-2051 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060lore-client/src/cli/commands/branch.rs:1211\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cee7055a2f6ca3f507af5d6b83497fc9d51fa44d38d154a4135e6cefa98339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lore-revision/src/file/stage.rs:1414-1428 | lore-revision/src/file/stage.rs:1672-1686 | lore-revision/src/stage.rs:4942-4956 \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":"lore-revision/src/file/stage.rs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb8dc215797047683f973cd8f45dc0b8b193042798aa6e67837fe5562c56012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lore-server/src/grpc/storage_service.rs:725-739 | lore-server/src/grpc/storage_service.rs:771-785 | lore-server/src/grpc/storage_service.rs:810-824 \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 \u0060lore-server/src/grpc/storage_service.rs:725\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 \u0060request\u0060 to \u0060Request\u003Clore_proto::MutableLoadRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::MutableStoreRequest\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore-server/src/grpc/storage_service.rs:826\u0060 calls \u0060from\u0060 and \u0060lore-server/src/grpc/storage_service.rs:787\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":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b628d7bf04a2b78a95467027cd29488169e2c450a66b8d37556135f977f06c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lore-client/src/cli/commands/layer.rs:141-155 | lore-client/src/cli/commands/layer.rs:199-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 \u0060lore-client/src/cli/commands/layer.rs:141\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":"lore-client/src/cli/commands/layer.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"075b56ee1c695b79da14cb033150e585d906bc687208fa5538fe4b181d496900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lore-client/src/cli/commands/lock.rs:172-186 | lore-client/src/cli/commands/lock.rs:223-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-client/src/cli/commands/lock.rs:172\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":"lore-client/src/cli/commands/lock.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3328196dd27d5d0c74673c6bd83c9fcb9f56ceb6163dca4d333623536352c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lore-revision/src/file/diff.rs:313-327 | lore-revision/src/file/diff.rs:454-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/file/diff.rs:313\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":"lore-revision/src/file/diff.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b2c3543f46ec10013e6127b11ca8bfde530ab71e817d722aedde3728191d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lore-revision/src/file/diff.rs:513-527 | lore-revision/src/file/diff.rs:661-675 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/file/diff.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"04691ed0dc1ecd5ae6b23aaa0d3d42a4d05ecf095550626cb783cb4997c7eb14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lore-revision/src/metadata.rs:514-528 | lore-revision/src/metadata.rs:548-562 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/metadata.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b908d376a915e92fa6a54af3d1a5e678cbafb739c5863f9c29fd208b864d57c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lore-revision/src/repository/clone.rs:2031-2045 | lore-revision/src/repository/clone.rs:2049-2063 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/repository/clone.rs:2031\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":"lore-revision/src/repository/clone.rs"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b938a9fa14de59e52e51bd0ab39a09d6fdfbe1ffbda681d63ff2d56ffaea987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lore-revision/src/state.rs:2452-2466 | lore-revision/src/state.rs:2694-2708 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:2452\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":"lore-revision/src/state.rs"},"region":{"startLine":2452}}}],"partialFingerprints":{"codehealthFindingId/v1":"a963dfc1a2ae39b12703028fba4a006b37d78430564426750a2398a8497be31e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lore-revision/src/state/dump.rs:152-166 | lore-revision/src/state/dump.rs:169-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state/dump.rs:152\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":"lore-revision/src/state/dump.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2002b2ba19e8e153bee6ce2252f299e8f74f14daae146000d92a665d503d996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lore-revision/src/state/node/discard.rs:537-551 | lore/src/revision_tree/delete.rs:616-629 \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 \u0060lore-revision/src/state/node/discard.rs:537\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":"lore-revision/src/state/node/discard.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0181a69a7f190535a62532090730c217fc3af0da30a0d671de7b02487ae899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): lore-server/src/grpc/handlers/repository_delete.rs:43-58 | lore-server/src/grpc/repository/v1/repository_delete.rs:48-62 \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 \u0060lore-server/src/grpc/handlers/repository_delete.rs:43\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":"lore-server/src/grpc/handlers/repository_delete.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e489b389d2034fe5091200dcfd199b0f20e28a2804684a47a5e74e39653207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): lore-server/src/grpc/storage_service.rs:163-175 | lore-server/src/grpc/storage_service.rs:311-325 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/storage_service.rs:163\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":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2815add2b00fb91a9efdad67d1e67ba9236fcedb5aa4710cd02b3d17a050555f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): lore-storage/src/compress.rs:716-730 | lore-storage/src/compress.rs:849-862 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/compress.rs:716\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":"lore-storage/src/compress.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fce3d119855f2d519e29178cc5aaf4ce0e0093219df7c1e0711be3dd31c9d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): lore-client/src/cli/commands/file.rs:1863-1876 | lore-client/src/cli/commands/file.rs:1913-1926 | lore-client/src/cli/commands/file.rs:1981-1994 | lore-client/src/cli/commands/link.rs:173-186 | lore-client/src/cli/commands/link.rs:206-219 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-client/src/cli/commands/file.rs:1863\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, \u0060lore-client/src/cli/commands/link.rs:170\u0060 calls \u0060print_link_access_remediation\u0060 and \u0060lore-client/src/cli/commands/link.rs:203\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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e68d2072624d0ecfccecfc43013426637e421bdd467a68a8b84b337a8364d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 5): lore-server/src/grpc/storage_service.rs:434-445 | lore-server/src/grpc/storage_service.rs:672-685 | lore-server/src/grpc/storage_service.rs:727-737 | lore-server/src/grpc/storage_service.rs:773-783 | lore-server/src/grpc/storage_service.rs:812-822 \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 \u0060lore-server/src/grpc/storage_service.rs:434\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 \u0060request\u0060 to \u0060Request\u003Clore_proto::QueryRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::VerifyRequest\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-server/src/grpc/storage_service.rs:669\u0060 calls \u0060get_ref\u0060, \u0060require_action\u0060 and \u0060lore-server/src/grpc/storage_service.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":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"309518515c1ffb131120774797aeceb08304d41ecf671b4c86bcb4f9298c9888"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): lore-client/src/cli/commands/branch.rs:664-676 | lore-client/src/cli/commands/revision.rs:588-601 | lore-client/src/cli/commands/revision.rs:715-728 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060lore-client/src/cli/commands/branch.rs:664\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf26bf44e07837d6335fb8a0733be35a0ec4da05254932e4ec2519eb3f48f04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lore-revision/src/branch/merge.rs:4593-4606 | lore-revision/src/branch/merge.rs:5096-5110 | lore-revision/src/stage.rs:4570-4583 \u2014 before extracting anything, compare \u0060lore-revision/src/branch/merge.rs\u0060 and \u0060lore-revision/src/stage.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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 \u0060lore-revision/src/branch/merge.rs:4593\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":4593}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecfe92662138c8a64e410bef68211b208840162c4a2cccd0c5c0f2044d6bc3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lore-revision/src/link/add.rs:435-448 | lore-revision/src/link/remove.rs:152-165 | lore-revision/src/link/update.rs:182-195 \u2014 before extracting anything, compare \u0060lore-revision/src/link/add.rs\u0060 and \u0060lore-revision/src/link/update.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lore-revision/src/link/add.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":"lore-revision/src/link/add.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a97e5f5c4322a740ddbb608a25a0ea4028ada17e5016869c8cc1c9cfe6b857b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lore-base/src/allocator/growvec.rs:52-65 | lore-base/src/allocator/growvec.rs:143-155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-base/src/allocator/growvec.rs:52\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":"lore-base/src/allocator/growvec.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad5e3e1091cd4adc4ce68997bf792fcbb26b19c1a5b6d648711a096474c4276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-client/src/cli/commands/file.rs:1106-1119 | lore-client/src/cli/commands/revision.rs:2351-2364 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/file.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 80 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 \u0060lore-client/src/cli/commands/file.rs:1106\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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"259beff867496d9b3e413b521ad387c5dcfa530cbe23393ebb66968ec7441139"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-client/src/cli/commands/repository.rs:1122-1135 | lore-client/src/cli/commands/revision.rs:1456-1469 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/repository.rs\u0060 and \u0060lore-client/src/cli/commands/revision.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060args\u0060 to \u0060\u0026RepositoryCloneArgs\u0060 in one and \u0060\u0026RevisionSyncArgs\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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"742579580f7194ea70002435a31ffa1ad744a760cc753af867da7d48853d270a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-client/src/cli/commands/repository.rs:1235-1248 | lore-client/src/cli/commands/repository.rs:1399-1412 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-client/src/cli/commands/repository.rs:1235\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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc55a89bf3382a6bc5876122dc5c972f58e8c9730b280359da62ebf65f13745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): lore-client/src/cli/commands/revision.rs:985-1005 | lore-client/src/cli/commands/revision.rs:1082-1102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-client/src/cli/commands/revision.rs:985\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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a1b38dcd99e1ff0a89316fee7da238ee9a09817ca518b15645fd58f94d17f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lore-error-set-macro/src/codegen.rs:584-596 | lore-error-set-macro/src/codegen.rs:789-802 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-error-set-macro/src/codegen.rs:584\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":"lore-error-set-macro/src/codegen.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17d53af7863d00c3c7357b0d78a859b6445090840cd6a7e444fcc66270e1db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lore-revision/src/branch/merge.rs:5702-5715 | lore-revision/src/branch/merge.rs:6230-6242 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":5702}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a3c690eeb280d27a9ae9b7f0b975e31ec8dee4fec6849c58990ad1739218cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): lore-revision/src/commit.rs:5645-5657 | lore-revision/src/commit.rs:5700-5713 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/commit.rs:5645\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":"lore-revision/src/commit.rs"},"region":{"startLine":5645}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e5a4fa214df049954f093cfcfbab31463dd44ee6e6e64851b0a0e5bc09a92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): lore-revision/src/layer.rs:1216-1227 | lore-revision/src/layer.rs:1240-1253 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/layer.rs:1216\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":"lore-revision/src/layer.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ca1e95c499fd4184b1a85ddcb0df218652656fa1663f849389c6248876d8a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-revision/src/link.rs:2534-2547 | lore-revision/src/link/info.rs:69-82 \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 \u0060lore-revision/src/link.rs:2534\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 \u0060link_path\u0060 to \u0060\u0026str\u0060 in one and \u0060RelativePath\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":"lore-revision/src/link.rs"},"region":{"startLine":2534}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df14626b39e66895496a32bb111178f8e41f4476ebd96a6026f75fcf5d19e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-revision/src/projfs/serve.rs:1189-1202 | lore-revision/src/projfs/serve.rs:1214-1227 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"11244801cf1dd1038b8ece930e428698cebc814f2ca35e4a92479e4ff157ab61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-revision/src/repository.rs:5011-5024 | lore-revision/src/repository/delete.rs:38-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 \u0060lore-revision/src/repository.rs:5011\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":"lore-revision/src/repository.rs"},"region":{"startLine":5011}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5fc8e698e79a12805145796a34041a2d8dbf9ff6aa8ebe46f1121754a48998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-revision/src/stage.rs:1494-1507 | lore-revision/src/stage.rs:1519-1532 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/stage.rs:1494\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":"lore-revision/src/stage.rs"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d7334a09ad0b9996dbe23f49c747bf9397f9b79f4df90b19e4e26c3bee567b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-revision/src/state.rs:2434-2447 | lore-revision/src/state.rs:2676-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 \u0060lore-revision/src/state.rs:2434\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":"lore-revision/src/state.rs"},"region":{"startLine":2434}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2f03b00f87c8adb3c282c23f999855404e051f1105bd3de69e8c9e257d7bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-revision/src/state.rs:5869-5882 | lore-revision/src/state.rs:5951-5964 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:5869\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":"lore-revision/src/state.rs"},"region":{"startLine":5869}}}],"partialFingerprints":{"codehealthFindingId/v1":"726edbda2fcf37b3d0bc25af4c1d5f4ca4de64587ceaa1c8a07cda3b74995691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-revision/src/state/diff.rs:1997-2010 | lore-revision/src/state/diff.rs:2021-2034 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/state/diff.rs"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8502c2567b123fb05d482b4355b0b02d6aa1b637c0c4432a8e71a3c8a38643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): lore-server/src/grpc/handlers/branch_protect.rs:41-50 | lore-server/src/grpc/handlers/branch_unprotect.rs:41-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/handlers/branch_protect.rs:41\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":"lore-server/src/grpc/handlers/branch_protect.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"98127034a33df3d8b8847c8eeed8bd7bd29404a660d8545098d05e8a2df512ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): lore-server/src/grpc/handlers/repository_create.rs:160-173 | lore-server/src/grpc/repository/v1/repository_create.rs:241-252 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/repository_create.rs\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_create.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1469cc6a0aebacec11cd06d86d9d08a209a5c7e7134f78bc6625aed4401edf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-server/src/grpc/handlers/repository_create.rs:197-211 | lore-server/src/grpc/repository/v1/repository_create.rs:266-279 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/repository_create.rs\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_create.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 133 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 \u0060lore-server/src/grpc/handlers/repository_create.rs:197\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":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a292b116ec1c7a7b12d708fe1a738f02143593c90d431f16e2c0c5f0edc440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-server/src/grpc/handlers/repository_query.rs:104-117 | lore-server/src/grpc/handlers/repository_query.rs:174-187 \u2014 both copies are in the same file, so extract the block 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":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dae18d7c2f4f6a4d3f447e765665c9d537ee3dce4fc990cdae5dccb931ab15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-server/src/grpc/handlers/revision_list.rs:299-312 | lore-server/src/grpc/revision/v1/revision_list.rs:636-649 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/revision_list.rs\u0060 and \u0060lore-server/src/grpc/revision/v1/revision_list.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. 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 \u0060lore-server/src/grpc/handlers/revision_list.rs:299\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":"lore-server/src/grpc/handlers/revision_list.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"1856fdcf0681ddde4526997a63d3e3b076fa32691e4a4a97e4767af126c4999a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-server/src/grpc/repository/v1/repository_get.rs:182-195 | lore-server/src/grpc/repository/v1/repository_get.rs:251-264 \u2014 both copies are in the same file, so extract the block 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":"lore-server/src/grpc/repository/v1/repository_get.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e646aeb704c0e030e8fd885bc54bb05eb693e59445ae407c143b956cfeaf496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-server/src/grpc/storage/v1/query.rs:42-55 | lore-server/src/grpc/storage_service.rs:445-458 \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 \u0060lore-server/src/grpc/storage/v1/query.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060Request\u003Cstorage_v1::QueryRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::QueryRequest\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":"lore-server/src/grpc/storage/v1/query.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3564900480b4fbdffb7d8f639ee30f6513b418f6d856ad977d79aa4f7123a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-server/src/grpc/storage_service.rs:223-236 | lore-server/src/grpc/storage_service.rs:632-645 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/storage_service.rs:223\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":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab8d7ba76e4ff5f6f6c7bc4280dbb02e4433d2a6a33abb5ba0a560bcfb6fb0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:6851-6862 | lore-storage/src/local/mutable_store.rs:1694-1707 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:6851\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6851}}}],"partialFingerprints":{"codehealthFindingId/v1":"f295c13663d5ec0901826115d2c93c7a536b5752038154714650fb01677ccbee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore/src/branch.rs:1654-1667 | lore/src/repository.rs:1349-1362 \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 \u0060lore/src/branch.rs:1654\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 \u0060args\u0060 to \u0060LoreBranchMetadataSetArgs\u0060 in one and \u0060LoreRepositoryMetadataSetArgs\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":"lore/src/branch.rs"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc795bc9e1f7e59a442410b3914822f512e3789c8a0936a115f8e145d5d4707e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore/src/storage/mutable_compare_and_swap.rs:124-137 | lore/src/storage/mutable_load.rs:118-131 \u2014 before extracting anything, compare \u0060lore/src/storage/mutable_compare_and_swap.rs\u0060 and \u0060lore/src/storage/mutable_load.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 \u0060lore/src/storage/mutable_compare_and_swap.rs:124\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":"lore/src/storage/mutable_compare_and_swap.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ac3b8490ece74f3555a11c51198579d475be393c8d1968a0ce96c514b43eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lore-client/src/cli/commands/file.rs:1032-1044 | lore-client/src/cli/commands/file.rs:1051-1063 | lore-client/src/cli/commands/revision.rs:2286-2298 | lore-client/src/cli/commands/revision.rs:2304-2316 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/file.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 80 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 \u0060lore-client/src/cli/commands/file.rs:1032\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-client/src/cli/commands/file.rs:1030\u0060 calls \u0060as_ref\u0060, \u0060into\u0060 and \u0060lore-client/src/cli/commands/file.rs:1049\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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe60999aef48612a75de782ba9f2805e9871021e9fe341460f2e3c5120f997ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lore-server/src/grpc/handlers/repository_metadata_get.rs:41-53 | lore-server/src/grpc/handlers/repository_metadata_set.rs:111-123 | lore-server/src/grpc/repository/v1/repository_metadata_get.rs:45-57 | lore-server/src/grpc/repository/v1/repository_metadata_set.rs:63-75 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/repository_metadata_set.rs\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_metadata_set.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 152 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 \u0060lore-server/src/grpc/handlers/repository_metadata_get.rs:41\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, \u0060lore-server/src/grpc/handlers/repository_metadata_set.rs:108\u0060 calls \u0060into\u0060 and \u0060lore-server/src/grpc/handlers/repository_metadata_get.rs:39\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":"lore-server/src/grpc/handlers/repository_metadata_get.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b816e90cef7e5f3437e747be41fb25b29ec4ff1f55990e28cae80331a3184f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): lore-client/src/cli/commands/branch.rs:1629-1641 | lore-client/src/cli/commands/branch.rs:1656-1668 | lore-client/src/cli/commands/branch.rs:1687-1699 \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 \u0060lore-client/src/cli/commands/branch.rs:1629\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d99cf33906feacc0b5a76207708decbf3c52d4476542976a3486a502880a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): lore-revision/src/stage.rs:4305-4317 | lore-revision/src/stage.rs:4388-4400 | lore-revision/src/stage.rs:4846-4857 \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 \u0060lore-revision/src/stage.rs:4846\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, \u0060lore-revision/src/stage.rs:4858\u0060 calls \u0060stage_resolved_mode\u0060 and \u0060lore-revision/src/stage.rs:4319\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":"lore-revision/src/stage.rs"},"region":{"startLine":4305}}}],"partialFingerprints":{"codehealthFindingId/v1":"07775204e48f653c9a92c3dcd0d3d98099103076f6cf2aa0fe501fba99efb249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): contrib/bazel/crates/rbe-server/src/main.rs:194-206 | contrib/bazel/crates/rbe-worker/src/lib.rs:274-286 \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":"contrib/bazel/crates/rbe-server/src/main.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7479f9f2facf42168a76890794c1ab97624f0e544c3e06d32d16ad3dcb971bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-client/src/cli/commands/repository.rs:1836-1848 | lore-client/src/cli/commands/repository.rs:1871-1883 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-client/src/cli/commands/repository.rs:1836\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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edacf640575797db2b13a6ff39d869a46a7872e9990a79d42b1d4af72eca754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-error-set-macro/src/codegen.rs:569-581 | lore-error-set-macro/src/codegen.rs:603-615 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-error-set-macro/src/codegen.rs:569\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":"lore-error-set-macro/src/codegen.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebecfebc31f1eedebb2b9d053fd1246d57c3470b9c5552d98433c4dd178f91c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lore-io/src/iocp.rs:533-545 | lore-io/src/iocp.rs:572-583 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-io/src/iocp.rs:533\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":"lore-io/src/iocp.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"353b5bd58b6cf2114c7be811e6ae7ab5c987860c502b3d5aee470973c083a95b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-io/src/uring.rs:435-447 | lore-io/src/uring.rs:465-477 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-io/src/uring.rs:435\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":"lore-io/src/uring.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f962ea39bb08cfeee9e68a847bac49032e2507d40050d3a043e2c0e6b01d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-revision/src/branch/merge.rs:6201-6213 | lore-revision/src/revision/restore.rs:489-501 \u2014 before extracting anything, compare \u0060lore-revision/src/branch/merge.rs\u0060 and \u0060lore-revision/src/revision/restore.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":6201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9263ad5a020e67f5b64b505f20821905235fceddf36ed10df6e97a54329c5aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-revision/src/dependency/resolve.rs:132-144 | lore-revision/src/dependency/resolve.rs:290-302 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/dependency/resolve.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b5107766703e5480a7f034af5852cddc9154638d98a484d448c96595fc3043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lore-revision/src/fs/realize.rs:2407-2418 | lore-revision/src/fs/realize.rs:2550-2562 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/fs/realize.rs:2550\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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":2407}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63e898560e8fc4979e06fbd187ff3a58eec9640b814b79da816175f44d3df07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lore-revision/src/stage.rs:2751-2763 | lore-revision/src/stage.rs:2884-2895 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/stage.rs:2751\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":"lore-revision/src/stage.rs"},"region":{"startLine":2751}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af2a735a8fcf378b1fddaf78c2cbbb1855ec0736f02645cc2529e236d37b9e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-revision/src/state.rs:11600-11612 | lore-revision/src/state.rs:11618-11630 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:11600\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":"lore-revision/src/state.rs"},"region":{"startLine":11600}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48f8e8fe941f257069d760d39ff7f7c412b9a64fc4b41b05647490d395716cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lore-revision/src/state/node/relocate.rs:1110-1122 | lore-revision/src/state/node/relocate.rs:1140-1151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state/node/relocate.rs:1110\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":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"af18c31238b87b3dc626c089913f27c00c0646558d98ccd24f2e54f8059f43e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-server/src/grpc/handlers/branch_push.rs:662-674 | lore-server/src/grpc/revision/v1/branch_push.rs:136-148 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/branch_push.rs\u0060 and \u0060lore-server/src/grpc/revision/v1/branch_push.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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 \u0060lore-server/src/grpc/handlers/branch_push.rs:662\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":"lore-server/src/grpc/handlers/branch_push.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad664bd8f46e1578bae9f4b6a0457af832740679f4e35fcaf23979bc6a38e27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-storage/src/fragment_engine.rs:105-117 | lore-storage/src/fragment_engine.rs:572-584 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/fragment_engine.rs:105\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":"lore-storage/src/fragment_engine.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e08c0d04a071150996bc775ad6f6104a12b8fbc7fbc590b23803a6b3dc2f39b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:6881-6893 | lore-storage/src/local/mutable_store.rs:1718-1730 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:6881\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6881}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5900915ef36e96c1b98608e6879cc347b33915a5126b5c6aa076028465bd92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:7118-7128 | lore-storage/src/local/mutable_store.rs:2394-2406 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:7118\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":7118}}}],"partialFingerprints":{"codehealthFindingId/v1":"952c3ece1c4af4ee94898034bbe28e6e20e278e59e143d7a6dea06863994fa13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-transport/src/auth/exchange.rs:300-312 | lore-transport/src/auth/exchange.rs:453-465 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-transport/src/auth/exchange.rs:300\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":"lore-transport/src/auth/exchange.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"900e8a862e21457040653b70077218a537d123ced9ced06337ec5cf88184f607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): lore/src/revision_tree/add.rs:877-889 | lore/src/revision_tree/modify.rs:303-314 \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 \u0060lore/src/revision_tree/add.rs:877\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":"lore/src/revision_tree/add.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f03cb5ad88486646d78238537c59637400a8faafde362902042658fdcf676e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 11): lore-client/src/cli/commands/branch.rs:1307-1316 | lore-client/src/cli/commands/branch.rs:1329-1338 | lore-client/src/cli/commands/branch.rs:1348-1357 | lore-client/src/cli/commands/branch.rs:1823-1834 | lore-client/src/cli/commands/repository.rs:1742-1753 | lore-client/src/cli/commands/revision.rs:1851-1860 | lore-client/src/cli/commands/revision.rs:1940-1949 | lore-client/src/cli/commands/revision.rs:1963-1972 | lore-client/src/cli/commands/revision.rs:2140-2149 | lore-client/src/cli/commands/revision.rs:2222-2231 | lore-client/src/cli/commands/revision.rs:2244-2253 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/repository.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 125 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 \u0060lore-client/src/cli/commands/branch.rs:1823\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-client/src/cli/commands/branch.rs:1821\u0060 calls \u0060resolve_branch_arg\u0060 and \u0060lore-client/src/cli/commands/repository.rs:1740\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1b950556966addaf6e0284fdbbbba7a269efb35a75f8b2f491d9f98a40ce13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): lore-client/src/cli/commands/branch.rs:1750-1760 | lore-client/src/cli/commands/repository.rs:1665-1675 | lore-client/src/cli/commands/revision.rs:1746-1757 | lore-client/src/cli/commands/revision.rs:2042-2053 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/repository.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 125 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 \u0060lore-client/src/cli/commands/branch.rs:1750\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb92b6319a816d502ae72b314c938d8aa6eb89a8f03c2f6a1e19e41209ee12f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lore-client/src/cli/commands/branch.rs:1102-1113 | lore-client/src/cli/commands/branch.rs:1174-1185 | lore-client/src/cli/commands/revision.rs:1704-1715 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060lore-client/src/cli/commands/branch.rs:1102\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 \u0060args\u0060 to \u0060\u0026BranchMergeIntoArgs\u0060 in one and \u0060\u0026BranchMergeStartArgs\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"93894b2cb5db151089e3bcbf0a1e525259397f40a012880daf6b0434b0e46771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): lore-server/src/grpc/storage/v1/get.rs:134-145 | lore-server/src/grpc/storage/v1/get_metadata.rs:133-144 | lore-server/src/grpc/storage/v1/put.rs:141-152 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/get.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/get_metadata.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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 \u0060lore-server/src/grpc/storage/v1/get.rs:134\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":"lore-server/src/grpc/storage/v1/get.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a293232e2637007e9cc9cd80e70a054cc180e57cc8400a8bb90e69bba65e3d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-base/src/allocator/mod.rs:292-303 | lore-base/src/allocator/mod.rs:327-338 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-base/src/allocator/mod.rs:292\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":"lore-base/src/allocator/mod.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e54bbd7b314730ed45af9b8558b5ac808320c87105e28718a19abdcbbc10404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-io/src/psync.rs:160-171 | lore-io/src/psync.rs:215-226 \u2014 both copies are in the same file, so extract the block 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":"lore-io/src/psync.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0720de17ea1e729a702d28a21c5e0836787fa4b83d02fa10dc9c1cde3827bef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-revision/src/branch/merge.rs:5344-5355 | lore-revision/src/branch/merge.rs:5370-5381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/branch/merge.rs:5344\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":5344}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dae0bd8d3f5599cf8c14942b99a45521fb7c5cf03a86294110feac4e54d535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-revision/src/dependency/add.rs:49-60 | lore-revision/src/dependency/remove.rs:41-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/dependency/add.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"031cfdbd85499e7f689689d0221c572bfd38a072478bfaa0a0739a9a48e82432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-revision/src/dependency/add.rs:123-134 | lore-revision/src/dependency/remove.rs:81-93 \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 \u0060lore-revision/src/dependency/add.rs:123\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":"lore-revision/src/dependency/add.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5531bbf92017b017eb5dd85276564f28e3b4caed8c7167101b0a2256f894b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-revision/src/metadata/clear.rs:41-52 | lore-revision/src/metadata/clear.rs:91-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/metadata/clear.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd320f4a67a75e2f67af0fd30114254c338f9f2fa6b757a153869ea2cf66ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-revision/src/metadata/clear.rs:57-68 | lore-revision/src/metadata/clear.rs:129-140 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/metadata/clear.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"102ed2175ec29d7cbf1ca0bcdb3b27acadfe756a305871224cd325fe5fe44da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-revision/src/repository.rs:2774-2785 | lore-revision/src/repository.rs:2873-2884 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/repository.rs"},"region":{"startLine":2774}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba267d9ad1ab62b272fc02dcac0bfe8b9b0a099af1d32cb8fca1d1fb543bcd9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-revision/src/state/diff.rs:1183-1194 | lore-revision/src/state/diff.rs:1403-1414 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/state/diff.rs"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e10e6543368b3aec2300d61584a193ae997205d1a663dc5f87c877c96a09fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-revision/src/state/diff.rs:1817-1828 | lore-revision/src/state/diff.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore-revision/src/state/diff.rs:1850\u0060 calls \u0060contains\u0060, \u0060versioned_on_a_working_tree\u0060 and \u0060lore-revision/src/state/diff.rs:1829\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":"lore-revision/src/state/diff.rs"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2be0447317cb88d629696b7fd298f0751c7c241571702c767a65e9c1f7915ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lore-server/src/grpc/handlers/branch_create.rs:91-102 | lore-server/src/grpc/handlers/branch_delete.rs:54-64 \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 \u0060lore-server/src/grpc/handlers/branch_create.rs:91\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":"lore-server/src/grpc/handlers/branch_create.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b73e1d0e334b28723e83b081b5fbdf0e64c63d8475b160f645f0a9bd655767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lore-server/src/grpc/storage/v1/get.rs:138-148 | lore-server/src/grpc/storage_service.rs:153-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/storage/v1/get.rs:138\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":"lore-server/src/grpc/storage/v1/get.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03f20224a98038fddf0a7ba3f3ba57037677decb7dec3570f5fa38db46525ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lore-server/src/grpc/storage/v1/get.rs:161-185 | lore-server/src/grpc/storage/v1/get_metadata.rs:160-184 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/get.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/get_metadata.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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 \u0060lore-server/src/grpc/storage/v1/get.rs:161\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":"lore-server/src/grpc/storage/v1/get.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd210d1c8d9e41ccdc5cb4cdf3d164492e3f3510a62d40a021e448e5ea1fb40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lore-server/src/grpc/storage/v1/put.rs:145-155 | lore-server/src/grpc/storage_service.rs:301-312 \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 \u0060lore-server/src/grpc/storage/v1/put.rs:145\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":"lore-server/src/grpc/storage/v1/put.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b144808a30c1aea76f041b45a6b6b86aed746d61cc53076242e64a78c60c0e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lore-server/src/grpc/thinclient/v1/helpers.rs:197-207 | lore-server/src/grpc/thinclient/v1/revision_info.rs:107-118 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/thinclient/v1/helpers.rs\u0060 and \u0060lore-server/src/grpc/thinclient/v1/revision_info.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 71 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 \u0060lore-server/src/grpc/thinclient/v1/helpers.rs:197\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":"lore-server/src/grpc/thinclient/v1/helpers.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c5f8fa9941744dc4b1000aa624b1819aa17e15d02c856f39b0a98f11a594ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): lore-server/src/http/presigned/repository/redeem.rs:85-95 | lore-server/src/http/repositories/repository/contents/content/get_repository_content.rs:73-84 \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 \u0060lore-server/src/http/presigned/repository/redeem.rs:85\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":"lore-server/src/http/presigned/repository/redeem.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"890e0261d96e7b42401408d81ed544fc987cd42a09960a76cba60fab10c1d5d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201312 lines \u00D7 4): lore-storage/src/local/immutable_store.rs:3123-3133 | lore-storage/src/local/immutable_store.rs:3511-3522 | lore-storage/src/local/immutable_store.rs:5255-5257 | lore-storage/src/local/immutable_store.rs:6285-6287 \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 \u0060lore-storage/src/local/immutable_store.rs:3123\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":3123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6f267c3a21127271b1b027ad548296bfea4897a07a65e1595b39c24b46a704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:6503-6514 | lore-storage/src/local/immutable_store.rs:6521-6532 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/local/immutable_store.rs:6503\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6503}}}],"partialFingerprints":{"codehealthFindingId/v1":"87035c36f42d0f63aad246f9b8211481856814b1848a5895df9753d5779ad51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): lore-storage/src/write.rs:515-526 | lore-storage/src/write.rs:538-547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/write.rs:515\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":"lore-storage/src/write.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f148f70a5402c5d110eba0229fca3eafd20adfdfe216bf8ee249244bdb38906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore/src/call.rs:98-109 | lore/src/call.rs:309-320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore/src/call.rs:98\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":"lore/src/call.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12be4039ace4d0a740c7bff69de0c0674f5a34a05e168c013d1edfb2eddab36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore/src/repository.rs:272-283 | lore/src/revision.rs:781-792 \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 \u0060args\u0060 to \u0060\u0026LoreRepositoryCloneArgs\u0060 in one and \u0060LoreRevisionSyncArgs\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":"lore/src/repository.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d40c4122943efcf63438495b89dd00ae22631f00aef1cb92edbb156e7f9117f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore/src/storage/put_file.rs:166-177 | lore/src/storage/put_file_resolved.rs:185-196 \u2014 before extracting anything, compare \u0060lore/src/storage/put_file.rs\u0060 and \u0060lore/src/storage/put_file_resolved.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060lore/src/storage/put_file.rs:166\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 \u0060item\u0060 to \u0060\u0026LoreStoragePutFileItem\u0060 in one and \u0060\u0026LoreStoragePutFileResolvedItem\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":"lore/src/storage/put_file.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39463e321859f6f7c9ee0f07ba528250d9ea63d608ee98bafcd3bf62ba2060e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): lore-server/src/grpc/storage/v1/copy.rs:189-199 | lore-server/src/grpc/storage/v1/get.rs:147-157 | lore-server/src/grpc/storage/v1/get_metadata.rs:146-156 | lore-server/src/grpc/storage/v1/get_resolved.rs:172-182 | lore-server/src/grpc/storage/v1/put.rs:154-164 | lore-server/src/grpc/storage/v1/put_resolved.rs:213-223 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/copy.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/get.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/storage/v1/copy.rs:189\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":"lore-server/src/grpc/storage/v1/copy.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97e50ab82364434575be7e6e808bb9975fbe521e70e0bc7cf13812c967b42b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): lore-server/src/grpc/storage/v1/get_resolved.rs:233-243 | lore-server/src/grpc/storage/v1/put_resolved.rs:274-284 | lore-server/src/grpc/storage_service.rs:228-238 | lore-server/src/grpc/storage_service.rs:637-647 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/get_resolved.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/put_resolved.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 123 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 \u0060lore-server/src/grpc/storage/v1/get_resolved.rs:233\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":"lore-server/src/grpc/storage/v1/get_resolved.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75eb61e184748cdcef0a7414b8582631e8cebf984022b569bf531ab980d0c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lore-client/src/cli/commands/file.rs:1200-1210 | lore-client/src/cli/commands/file.rs:1249-1259 | lore-client/src/cli/commands/file.rs:1391-1401 \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 \u0060lore-client/src/cli/commands/file.rs:1200\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, \u0060lore-client/src/cli/commands/file.rs:1246\u0060 calls \u0060handle_file_dirty\u0060, \u0060output_formatter\u0060, \u0060unwrap_or\u0060 and \u0060lore-client/src/cli/commands/file.rs:1390\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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93c00ba789c9218ce6e8a114698239c80e4fdb1505d663d6be7a8c7480d86f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lore-client/src/cli/commands/file.rs:1200-1210 | lore-client/src/cli/commands/file.rs:1335-1345 | lore-client/src/cli/commands/file.rs:1391-1401 \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 \u0060lore-client/src/cli/commands/file.rs:1200\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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d99412f053eb447cf26c388f4be1a5fc07472a6e619aea85e336e0e10866ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lore-revision/src/link.rs:2533-2543 | lore-revision/src/link/info.rs:68-78 | lore-revision/src/link/remove.rs:75-85 \u2014 before extracting anything, compare \u0060lore-revision/src/link/info.rs\u0060 and \u0060lore-revision/src/link/remove.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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 \u0060link_path\u0060 to \u0060\u0026str\u0060 in one and \u0060RelativePath\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":"lore-revision/src/link.rs"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c2601e6a8137225fc50c97837593275a5999124d969b860ad1a76c11f41e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lore-revision/src/metadata/branch.rs:324-334 | lore-revision/src/metadata/repository.rs:295-305 | lore-revision/src/metadata/set.rs:87-97 \u2014 before extracting anything, compare \u0060lore-revision/src/metadata/branch.rs\u0060 and \u0060lore-revision/src/metadata/repository.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 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. 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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"394e9ab0ddf8cd57b1dc6fd19aba3ec2b01775243bf61ed301315198cb46421a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): lore/src/branch.rs:1642-1660 | lore/src/repository.rs:1337-1355 | lore/src/revision.rs:525-543 \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 \u0060lore/src/branch.rs:1642\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 \u0060args\u0060 to \u0060LoreBranchMetadataSetArgs\u0060 in one and \u0060LoreRepositoryMetadataSetArgs\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore/src/branch.rs:1640\u0060 calls \u0060resolve_branch_id_or_current\u0060, \u0060clone\u0060, \u0060as_str\u0060 and \u0060lore/src/repository.rs:1335\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":"lore/src/branch.rs"},"region":{"startLine":1642}}}],"partialFingerprints":{"codehealthFindingId/v1":"442fedf0f10fd38ea5a7c795134016e8025b7851342f420dc97fe0200a16fc21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): lore-aws/src/store/immutable_store.rs:957-965 | lore-aws/src/store/immutable_store.rs:1115-1125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-aws/src/store/immutable_store.rs:957\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":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddeb17368392037bc71c7683d995535d859f46270139aa5fdd00432c095a19f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lore-revision/src/branch/merge.rs:2464-2474 | lore-revision/src/branch/merge.rs:4087-4096 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/branch/merge.rs:2464\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b2e3075b771ce258b5c805d5196d9f0278744f51ed226f280a2663b6150e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/branch/merge.rs:6098-6108 | lore-revision/src/revision/restore.rs:325-335 \u2014 before extracting anything, compare \u0060lore-revision/src/branch/merge.rs\u0060 and \u0060lore-revision/src/revision/restore.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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 \u0060lore-revision/src/branch/merge.rs:6098\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":6098}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9752da713b23bd34524201041637ec8bbc16d65ddf8e1ef4c7ad5d66207313d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/branch/merge.rs:6136-6146 | lore-revision/src/revision/restore.rs:368-378 \u2014 before extracting anything, compare \u0060lore-revision/src/branch/merge.rs\u0060 and \u0060lore-revision/src/revision/restore.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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 \u0060lore-revision/src/branch/merge.rs:6136\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":6136}}}],"partialFingerprints":{"codehealthFindingId/v1":"948806c9337b6eaaf20a3763c3cab9a157fe811eaac9b5bc8aade32c07d47f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/file/dirty.rs:1955-1965 | lore-revision/src/state/os_diff.rs:95-105 \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 \u0060lore-revision/src/file/dirty.rs:1955\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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"18604dd60c8e16a57bd50f1c228ef732a28877bc42216980be40d3d3e5a37e64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/fs/realize.rs:4415-4425 | lore-revision/src/fs/realize.rs:4846-4856 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/fs/realize.rs:4415\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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4415}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8f30d30447fce83f122957855e899f551ba03793ddbe1e99f3854f9a1e1a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/metadata/branch.rs:197-207 | lore-revision/src/metadata/repository.rs:172-182 \u2014 before extracting anything, compare \u0060lore-revision/src/metadata/branch.rs\u0060 and \u0060lore-revision/src/metadata/repository.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 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 \u0060lore-revision/src/metadata/branch.rs:197\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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe32289ca524525df108632772bafd1f44884f650926665bc9471701d12095c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/metadata/branch.rs:240-250 | lore-revision/src/metadata/repository.rs:214-224 \u2014 before extracting anything, compare \u0060lore-revision/src/metadata/branch.rs\u0060 and \u0060lore-revision/src/metadata/repository.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a327c405029780a532bc263055c85bc40cc8b134ceb1f4e2e0c4e6f908b19621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/projfs/serve.rs:927-937 | lore-revision/src/projfs/serve.rs:973-983 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f515a6aa703dd9476b07938d6f9087b8a355db8d3d225fbe6d50b74b814ad28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/revision.rs:561-571 | lore-revision/src/revision.rs:606-616 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/revision.rs:561\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":"lore-revision/src/revision.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bed9ef20e89b9309a40def8e467a402173c44b0e109ab760dabd5a13be3e997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lore-revision/src/state.rs:2469-2479 | lore-revision/src/state.rs:2711-2720 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:2469\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":"lore-revision/src/state.rs"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d226d8d9133fdcb4c668e7a80c7c60918beab86dc0bbe7d1cf13116609236c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/state.rs:6360-6370 | lore-revision/src/state.rs:6435-6445 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/state.rs"},"region":{"startLine":6360}}}],"partialFingerprints":{"codehealthFindingId/v1":"453a508d82f3312eb8cc3d020e685c9461615045b68e8535f2a78a084909e000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/state.rs:10885-10895 | lore-revision/src/state.rs:10909-10919 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/state.rs"},"region":{"startLine":10885}}}],"partialFingerprints":{"codehealthFindingId/v1":"408aa3315dabce78a6b471679e0d469c6b9c51fc06ba8af144519a25bd388d0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/state/node/clear.rs:234-244 | lore-revision/src/state/node/clear.rs:313-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/node/clear.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a155c5775a7c7bc13a409b0cc7c3e934f761f3b00a297e55f291a4d6393ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/state/node/mark.rs:666-676 | lore-revision/src/state/node/mark.rs:709-719 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state/node/mark.rs:666\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":"lore-revision/src/state/node/mark.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ead4151de5fc4fc9fd511cfca62f047796eaa5d5581068eef49136d3bfc02d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-server/src/grpc/handlers/branch_query.rs:97-107 | lore-server/src/grpc/handlers/branch_query.rs:139-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/handlers/branch_query.rs:97\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":"lore-server/src/grpc/handlers/branch_query.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbce37f36fdd27cb7840c5ffa817679c6378fd284cf73e9787f968f3dac88d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-server/src/grpc/handlers/revision_list.rs:226-236 | lore-server/src/grpc/handlers/revision_state_history.rs:70-80 \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 \u0060lore-server/src/grpc/handlers/revision_list.rs:226\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":"lore-server/src/grpc/handlers/revision_list.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74d6aab73d596cee6e88eaa1352971dc96be8df9ffc3ea6aa0509935c68b805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-server/src/grpc/handlers/revision_list.rs:287-297 | lore-server/src/grpc/revision/v1/revision_list.rs:624-634 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/revision_list.rs\u0060 and \u0060lore-server/src/grpc/revision/v1/revision_list.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. 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 \u0060lore-server/src/grpc/handlers/revision_list.rs:287\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":"lore-server/src/grpc/handlers/revision_list.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e233b22941d67e75113c0573a185ec548bbd2a84d3f590174911096ae3c5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-server/src/grpc/storage/v1/copy.rs:180-190 | lore-server/src/grpc/storage_service.rs:518-528 \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 \u0060lore-server/src/grpc/storage/v1/copy.rs:180\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":"lore-server/src/grpc/storage/v1/copy.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"30389ba2798ed915f1308d272a3975e7c0fd9de3f8f1272d05b5b0ee9d2c8286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-server/src/grpc/storage/v1/get_resolved.rs:160-170 | lore-server/src/grpc/storage/v1/put_resolved.rs:201-211 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/get_resolved.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/put_resolved.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 123 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 \u0060lore-server/src/grpc/storage/v1/get_resolved.rs:160\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":"lore-server/src/grpc/storage/v1/get_resolved.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baa3b291fbd8649f8dce199e29fedc95836edd61457478d6866a8eab6d8435f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-server/src/grpc/thinclient/v1/helpers.rs:194-204 | lore-server/src/grpc/thinclient/v1/revision_info.rs:212-222 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/thinclient/v1/helpers.rs\u0060 and \u0060lore-server/src/grpc/thinclient/v1/revision_info.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 71 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 \u0060lore-server/src/grpc/thinclient/v1/helpers.rs:194\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":"lore-server/src/grpc/thinclient/v1/helpers.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab232cc719432f8f4362e5c6b5d07a790f2bded77dc1a30e1385baef4a78f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lore-server/src/plugins/aws.rs:439-448 | lore-server/src/plugins/aws.rs:539-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 \u0060lore-server/src/plugins/aws.rs:439\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":"lore-server/src/plugins/aws.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"130dc4255ec065f05712bf87599c8e50d2f0475f7cfaa3273cf6d2010e8309cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-storage/src/defragment.rs:769-779 | lore-storage/src/defragment.rs:1427-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 \u0060lore-storage/src/defragment.rs:769\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/defragment.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d94f5372450bd22b8f1c9d66549e205da5593ec2c9798af180f8935dc2bb3c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:1390-1400 | lore-storage/src/local/mutable_store.rs:689-699 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-storage/src/local/mutable_store.rs:688\u0060 calls \u0060pause_point\u0060 and \u0060lore-storage/src/local/immutable_store.rs:1389\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed05f72d47d0b30b4f7c9a2d52f1eff7a472e0518c06fdfaf842bb0127116bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:5174-5184 | lore-storage/src/local/mutable_store.rs:1635-1645 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":5174}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fada2d4872320b33f3401762ab9530ea7fbf9ac0f627f7a2b18e1a3f4ed8cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:5194-5204 | lore-storage/src/local/mutable_store.rs:1919-1929 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:5194\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":5194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9133ca334db3cfd171331752fd7850f28b5a2366e2ac25edeafe222ba0ccf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-transport/src/auth/exchange.rs:323-333 | lore-transport/src/auth/exchange.rs:480-491 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-transport/src/auth/exchange.rs:323\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":"lore-transport/src/auth/exchange.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"faafcd6107f86461fac4a25cdbac7b241d31e4602fef86e693fd375b5a5bb927"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-transport/src/grpc/mod.rs:505-515 | lore-transport/src/grpc/mod.rs:541-551 \u2014 both copies are in the same file, so extract the block 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":"lore-transport/src/grpc/mod.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2627aab2b48f1c5213297fa323a64154bd4bf8a69688744eacecbf58548f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-transport/src/grpc/storage_client.rs:1031-1041 | lore-transport/src/grpc/storage_client.rs:1115-1125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-transport/src/grpc/storage_client.rs:1031\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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2a20c78d2a03bf93b6fe075aa70e17eda5e0e748cc07830d002f2db7c40e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-transport/src/quic/client.rs:1265-1275 | lore-transport/src/quic/client.rs:1293-1303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-transport/src/quic/client.rs:1265\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":"lore-transport/src/quic/client.rs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"d361250b9936dd9368c439559f49fa3363161e62e64a3bfde3827ab4bfe9e404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 29): lore-client/src/cli/commands/branch.rs:637-647 | lore-client/src/cli/commands/branch.rs:811-821 | lore-client/src/cli/commands/branch.rs:1218-1228 | lore-client/src/cli/commands/branch.rs:1309-1319 | lore-client/src/cli/commands/branch.rs:1331-1341 | lore-client/src/cli/commands/branch.rs:1350-1360 | lore-client/src/cli/commands/branch.rs:1388-1398 | lore-client/src/cli/commands/branch.rs:1607-1617 | lore-client/src/cli/commands/branch.rs:1634-1644 | lore-client/src/cli/commands/branch.rs:1661-1671 | lore-client/src/cli/commands/branch.rs:1692-1702 | lore-client/src/cli/commands/branch.rs:1723-1733 | lore-client/src/cli/commands/file.rs:1014-1024 | lore-client/src/cli/commands/file.rs:1037-1046 | lore-client/src/cli/commands/repository.rs:1179-1189 | lore-client/src/cli/commands/repository.rs:1477-1487 | lore-client/src/cli/commands/repository.rs:1912-1922 | lore-client/src/cli/commands/revision.rs:1575-1585 | lore-client/src/cli/commands/revision.rs:1610-1620 | lore-client/src/cli/commands/revision.rs:1783-1793 | lore-client/src/cli/commands/revision.rs:1853-1863 | lore-client/src/cli/commands/revision.rs:1942-1952 | lore-client/src/cli/commands/revision.rs:1965-1975 | lore-client/src/cli/commands/revision.rs:2079-2089 | lore-client/src/cli/commands/revision.rs:2142-2152 | lore-client/src/cli/commands/revision.rs:2224-2234 | lore-client/src/cli/commands/revision.rs:2246-2256 | lore-client/src/cli/commands/revision.rs:2269-2279 | lore-client/src/cli/commands/revision.rs:2291-2300 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/file.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lore-client/src/cli/commands/branch.rs:637\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, \u0060lore-client/src/cli/commands/branch.rs:1605\u0060 calls \u0060BranchDiffConflictEnd\u0060, \u0060BranchDiffEnd\u0060 and \u0060lore-client/src/cli/commands/branch.rs:636\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a15f17117e988fbe4502c3b12d59858c25a05bf04b2c87ac2b970b1eb37ecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): lore-server/src/quic/storage_service.rs:90-99 | lore-server/src/quic/storage_service.rs:103-112 | lore-server/src/quic/storage_service.rs:116-125 | lore-server/src/quic/storage_service.rs:153-162 | lore-server/src/quic/storage_service.rs:202-211 | lore-server/src/quic/storage_service.rs:215-224 \u2014 all 6 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 \u0060lore-server/src/quic/storage_service.rs:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/storage_service.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b1183450b034d6e676a6c5b7c278a62924234699d8c76ef5945614b954d2cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): lore-revision/src/link/add.rs:263-271 | lore-revision/src/link/info.rs:41-49 | lore-revision/src/link/remove.rs:49-58 | lore-revision/src/link/update.rs:42-51 \u2014 before extracting anything, compare \u0060lore-revision/src/link/add.rs\u0060 and \u0060lore-revision/src/link/update.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lore-revision/src/link/add.rs:263\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore-revision/src/link/info.rs:49\u0060 calls \u0060clone\u0060, \u0060owner_branch\u0060 and \u0060lore-revision/src/link/remove.rs:58\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":"lore-revision/src/link/add.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f901a9faf4a0a67a27f2695eec5afd10dbe8ed47684969a34dd018f8d98b4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): lore-server/src/grpc/handlers/repository_query.rs:109-118 | lore-server/src/grpc/handlers/repository_query.rs:179-188 | lore-server/src/grpc/repository/v1/repository_get.rs:187-196 | lore-server/src/grpc/repository/v1/repository_get.rs:256-265 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/repository_query.rs\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_get.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 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 \u0060lore-server/src/grpc/handlers/repository_query.rs:109\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":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c2ff2ca823a6b44e973fa78a8f4abb9f1724a72009d2eb65dfb2c2189dd7e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 4): lore-server/src/grpc/storage/v1/mutable_compare_and_swap.rs:33-39 | lore-server/src/grpc/storage/v1/mutable_load.rs:29-35 | lore-server/src/grpc/storage/v1/mutable_store.rs:32-38 | lore-server/src/grpc/storage/v1/verify.rs:37-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/storage/v1/mutable_compare_and_swap.rs:33\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 \u0060request\u0060 to \u0060Request\u003Cstorage_v1::MutableCompareAndSwapRequest\u003E\u0060 in one and \u0060Request\u003Cstorage_v1::MutableLoadRequest\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore-server/src/grpc/storage/v1/mutable_compare_and_swap.rs:43\u0060 calls \u0060from\u0060 and \u0060lore-server/src/grpc/storage/v1/mutable_store.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":"lore-server/src/grpc/storage/v1/mutable_compare_and_swap.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e44d280d872feb74ffc25ecaa9ebd859f098ad4aaf0bd53038ea144ca263c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): lore/src/storage/put.rs:199-208 | lore/src/storage/put_file.rs:170-179 | lore/src/storage/put_file_resolved.rs:189-198 | lore/src/storage/put_resolved.rs:221-230 \u2014 before extracting anything, compare \u0060lore/src/storage/put_file.rs\u0060 and \u0060lore/src/storage/put_file_resolved.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060item\u0060 to \u0060\u0026LoreStoragePutItem\u0060 in one and \u0060\u0026LoreStoragePutFileItem\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":"lore/src/storage/put.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"06333619b324611181f63dc044f50e0d9b8f5f9b71234e92d6acd86f63c5d63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lore-client/src/cli/commands/file.rs:878-887 | lore-client/src/cli/commands/file.rs:1113-1122 | lore-client/src/cli/commands/revision.rs:2358-2367 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/file.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 80 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 \u0060lore-client/src/cli/commands/file.rs:878\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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63bb275a558b5f3d27a01c228f44dbac54264523da10016acdfd3e65f069a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lore-revision/src/commit.rs:1413-1423 | lore-revision/src/link/remove.rs:55-64 | lore-revision/src/link/update.rs:48-57 \u2014 before extracting anything, compare \u0060lore-revision/src/link/remove.rs\u0060 and \u0060lore-revision/src/link/update.rs\u0060 as WHOLE FILES: this scan already matched 5 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":"lore-revision/src/commit.rs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf44522d22ce98a67bff7be48c1ed0253effea821a9fece2da0a0760d9601deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): lore-server/src/grpc/storage/v1/copy.rs:179-187 | lore-server/src/grpc/storage_service.rs:152-161 | lore-server/src/grpc/storage_service.rs:300-309 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/storage/v1/copy.rs:179\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":"lore-server/src/grpc/storage/v1/copy.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4315bc8c0d821aa84bcbe3bfafd167a5f580b2403dc5bc782e4ccfbc5cbcf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lore-server/src/grpc/storage/v1/copy.rs:174-183 | lore-server/src/grpc/storage/v1/get_resolved.rs:158-167 | lore-server/src/grpc/storage/v1/put_resolved.rs:199-208 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/copy.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/get_resolved.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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 \u0060lore-server/src/grpc/storage/v1/copy.rs:174\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, \u0060lore-server/src/grpc/storage/v1/copy.rs:184\u0060 calls \u0060clone\u0060 and \u0060lore-server/src/grpc/storage/v1/get_resolved.rs:169\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":"lore-server/src/grpc/storage/v1/copy.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabaace6403d929809db102358802df0dce8a381ff7505f3302c4766e95162b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lore-server/src/grpc/storage_service.rs:223-232 | lore-server/src/grpc/storage_service.rs:389-400 | lore-server/src/grpc/storage_service.rs:632-641 \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 \u0060lore-server/src/grpc/storage_service.rs:223\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 before the matched lines, \u0060lore-server/src/grpc/storage_service.rs:631\u0060 calls \u0060Err\u0060 and \u0060lore-server/src/grpc/storage_service.rs:388\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":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7bfd0f492bab8ad04f49a04075ccdbd81cb04e7fa8fb332bf7535c28c77b40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): lore-server/src/grpc/thinclient/v1/helpers.rs:185-193 | lore-server/src/grpc/thinclient/v1/revision_diff.rs:714-723 | lore-server/src/grpc/thinclient/v1/revision_info.rs:91-99 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/thinclient/v1/helpers.rs\u0060 and \u0060lore-server/src/grpc/thinclient/v1/revision_info.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 71 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 \u0060lore-server/src/grpc/thinclient/v1/revision_diff.rs:714\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":"lore-server/src/grpc/thinclient/v1/helpers.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f04552a75ffb37b939bf5f0ebf0633fca0cc4b54d738f1fc4476c23506e8819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-credential/src/token_store.rs:813-822 | lore-credential/src/token_store.rs:882-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 \u0060lore-credential/src/token_store.rs:813\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":"lore-credential/src/token_store.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3f3106d74ae72d3d0459e32aefbcce7aac9aba8b1181f56ef99f75113ddf55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-io/src/clone/reflink.rs:22-31 | lore-io/src/clone/refs.rs:40-49 \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":"lore-io/src/clone/reflink.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9ee5fba5c10844918b4606c39f13eb751965b4b2c337ff0778e037e067a3e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-revision/src/branch/diff.rs:57-66 | lore-revision/src/branch/diff.rs:73-82 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/branch/diff.rs:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch/diff.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6185e120fa79dd282cea1e4c327f77dc1491623c2e0095b7ef7f3cec6edbc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-revision/src/branch/merge.rs:4677-4686 | lore-revision/src/branch/merge.rs:5243-5252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/branch/merge.rs:4677\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":4677}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ca01ec216214e6c63530cf0cf25256d541f2ee845875618476725cfd3921ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-revision/src/branch/merge.rs:6244-6253 | lore-revision/src/revision/restore.rs:534-543 \u2014 before extracting anything, compare \u0060lore-revision/src/branch/merge.rs\u0060 and \u0060lore-revision/src/revision/restore.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 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 \u0060lore-revision/src/branch/merge.rs:6244\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":6244}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a20bcd0592208f7bc0097072dfeb3a792523ceefd47d9ae540fe6c846e329c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-revision/src/fs/fuse/write.rs:1404-1413 | lore-revision/src/fs/fuse/write.rs:1548-1557 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/fs/fuse/write.rs:1404\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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b15ae01e91709ee1a173319a04248760bcb136a72be130b3527b8ea525cc1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-revision/src/fs/fuse/write.rs:1401-1410 | lore-revision/src/fs/fuse/write.rs:1428-1437 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/fs/fuse/write.rs:1401\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, \u0060lore-revision/src/fs/fuse/write.rs:1412\u0060 calls \u0060Err\u0060 and \u0060lore-revision/src/fs/fuse/write.rs:1438\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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0572806c02ca625bb80c9b11da97782d55dc108bf437f1a64a41f1e2d5bb83ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-revision/src/metadata/clear.rs:106-115 | lore-revision/src/metadata/find.rs:87-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 \u0060lore-revision/src/metadata/clear.rs:106\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":"lore-revision/src/metadata/clear.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dd7ac495f29a07cb75f8f00b5776754aea4de6443173c15c0e75b0f3b27433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-revision/src/repository/info.rs:129-138 | lore-revision/src/repository/info.rs:174-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/repository/info.rs:129\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/info.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"92dba3a82480a6ee4b0184ddf5c7187b96db721e2a25417347566ebf69812f37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-revision/src/state.rs:3108-3117 | lore-revision/src/state.rs:3550-3559 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/state.rs"},"region":{"startLine":3108}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aa000b6c8d9af7f36c48eda069738b0fe55abb1598a68220a3eaf80935625b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-revision/src/state.rs:3189-3198 | lore-revision/src/state.rs:3233-3242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:3189\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, \u0060lore-revision/src/state.rs:3199\u0060 calls \u0060Ok\u0060 and \u0060lore-revision/src/state.rs:3243\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":"lore-revision/src/state.rs"},"region":{"startLine":3189}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdc99a94345da17ff6111a8a40db717f42022b35b450670371738846d5b6bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lore-revision/src/state/node/detach.rs:368-376 | lore-revision/src/state/node/relocate.rs:660-669 \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 \u0060lore-revision/src/state/node/detach.rs:368\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":"lore-revision/src/state/node/detach.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c30ad02227ab25c691a5692039e9f0ba58eb92dffc024ad53bfded5b6a74283"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-server/src/grpc/storage/v1/get_resolved.rs:185-194 | lore-server/src/grpc/storage/v1/put_resolved.rs:226-235 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/get_resolved.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/put_resolved.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 123 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":"lore-server/src/grpc/storage/v1/get_resolved.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"478590b8d4518f881ad2f97b6a593acc13b7a89d74a66b9f2823c6c1d25b53b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-server/src/grpc/thinclient/v1/helpers.rs:209-218 | lore-server/src/grpc/thinclient/v1/revision_info.rs:126-135 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/thinclient/v1/helpers.rs\u0060 and \u0060lore-server/src/grpc/thinclient/v1/revision_info.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 71 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":"lore-server/src/grpc/thinclient/v1/helpers.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dcf3376391386c36374aa44ec982144dbc50a0a40f75e425a567b1a9682c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-server/src/notification/local.rs:120-129 | lore-server/src/notification/local.rs:143-152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/notification/local.rs:120\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":"lore-server/src/notification/local.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3162368a9df49e57750488582fa64c6bacf0a30ad5bf1cefc6e8167c5555068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-server/src/store/replica.rs:237-246 | lore-server/src/store/replicated_store.rs:274-283 \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 \u0060lore-server/src/store/replica.rs:237\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, \u0060lore-server/src/store/replica.rs:233\u0060 calls \u0060is_healthy\u0060, \u0060Err\u0060, \u0060internal\u0060 and \u0060lore-server/src/store/replicated_store.rs:272\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":"lore-server/src/store/replica.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0749ae512bf1301d330cceaa85c7e82208d9ed22b46fef16e0cafe34b73d7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:7080-7088 | lore-storage/src/local/mutable_store.rs:2343-2352 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:7080\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":7080}}}],"partialFingerprints":{"codehealthFindingId/v1":"504b69634704b332ae82880e4b6dcf5d6903ece38d8bfbfa4d96d424ed64bdba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-storage/src/mutable_conformance.rs:410-419 | lore-storage/src/mutable_conformance.rs:528-537 \u2014 both copies are in the same file, so extract the block 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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"336477202fdaeafa5861b61a4a4070bc41a9d1053fc2ff825c7b2ff3ad2afb26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-storage/src/mutable_conformance.rs:1196-1205 | lore-storage/src/mutable_conformance.rs:1229-1238 \u2014 both copies are in the same file, so extract the block 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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0efedebeceebd3057e264a3f391f9621f0d08df14c6ed64233f29ce750079e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-telemetry/src/metrics/grpc_metrics.rs:31-40 | lore-telemetry/src/metrics/http_metrics.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. 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":"lore-telemetry/src/metrics/grpc_metrics.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d0ca3353f3865f66848a2fdd9343155a8ae38ab2ca5cc20a827c7cef45fa67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore/src/file.rs:449-458 | lore/src/revision.rs:540-549 \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 \u0060lore/src/file.rs:449\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":"lore/src/file.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb318328921cadddc76c630e678cb24dad096a281d888f65f863db8a7457768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 8): lore/src/storage/get.rs:145-151 | lore/src/storage/get_file.rs:125-131 | lore/src/storage/get_file_resolved.rs:133-139 | lore/src/storage/get_resolved.rs:160-166 | lore/src/storage/put.rs:126-134 | lore/src/storage/put_file.rs:127-133 | lore/src/storage/put_file_resolved.rs:139-145 | lore/src/storage/put_resolved.rs:155-163 \u2014 before extracting anything, compare \u0060lore/src/storage/put_file.rs\u0060 and \u0060lore/src/storage/put_file_resolved.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060lore/src/storage/get.rs:145\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 \u0060args\u0060 to \u0060LoreStorageGetArgs\u0060 in one and \u0060LoreStorageGetFileArgs\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":"lore/src/storage/get.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"57515945b828e099115a7dd5ced9fbdd3646babd8513def5338859679a9bf97b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): lore-server/src/quic/replication_store_service/server.rs:289-297 | lore-server/src/quic/replication_store_service/server.rs:301-309 | lore-server/src/quic/replication_store_service/server.rs:335-343 | lore-server/src/quic/replication_store_service/server.rs:347-355 | lore-server/src/quic/replication_store_service/server.rs:370-378 | lore-server/src/quic/replication_store_service/server.rs:382-390 \u2014 all 6 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 \u0060lore-server/src/quic/replication_store_service/server.rs:289\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":"lore-server/src/quic/replication_store_service/server.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"10df13bd09b0617eabaa6c3b293266d953e1928d33de73980e82266a5066a5d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): lore-client/src/cli/commands/branch.rs:1105-1113 | lore-client/src/cli/commands/branch.rs:1177-1185 | lore-client/src/cli/commands/revision.rs:1625-1633 | lore-client/src/cli/commands/revision.rs:1707-1715 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060lore-client/src/cli/commands/branch.rs:1105\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f638b22bc2a7259c219823bb8e53ad6f14a28d6f57439a2fc0961ad8a0bda64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lore-client/src/cli/commands/branch.rs:664-672 | lore-client/src/cli/commands/link.rs:300-308 | lore-client/src/cli/commands/revision.rs:715-723 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060lore-client/src/cli/commands/branch.rs:664\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"79736244bdf1664dd83642d2b25d2191885e20f1e8e5cea2d73a2c8a78e2a950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lore-server/src/plugins/aws.rs:297-305 | lore-server/src/plugins/aws.rs:422-430 | lore-server/src/plugins/aws.rs:516-524 \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 \u0060lore-server/src/plugins/aws.rs:297\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":"lore-server/src/plugins/aws.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"113a6726beee98cf2d3d88b0086344b3b179ba27c184cc357c0b6f45340df86b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): lore-storage/src/conformance.rs:502-510 | lore-storage/src/conformance.rs:713-720 | lore-storage/src/conformance.rs:746-753 \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":"lore-storage/src/conformance.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"781d917cbe1df77d2dfa3de09c61fdb90eae1075e62f40b2759d89ef13f9b633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lore/src/call.rs:97-105 | lore/src/call.rs:220-228 | lore/src/call.rs:308-316 \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 \u0060lore/src/call.rs:97\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":"lore/src/call.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25982e44306b9af862d49109e01ad8b68c1d5d1def9a56e49bcc8c20334f754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): lore/src/storage/mutable_compare_and_swap.rs:91-99 | lore/src/storage/mutable_load.rs:86-93 | lore/src/storage/mutable_store.rs:87-94 \u2014 before extracting anything, compare \u0060lore/src/storage/mutable_compare_and_swap.rs\u0060 and \u0060lore/src/storage/mutable_load.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 \u0060lore/src/storage/mutable_compare_and_swap.rs:91\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060args\u0060 to \u0060LoreStorageMutableCompareAndSwapArgs\u0060 in one and \u0060LoreStorageMutableLoadArgs\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore/src/storage/mutable_load.rs:93\u0060 calls \u0060Err\u0060, \u0060from\u0060 and \u0060lore/src/storage/mutable_compare_and_swap.rs:99\u0060 does not \u2014 after which the two agree again for 5 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":"lore/src/storage/mutable_compare_and_swap.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfeb0ab22a4df023acb41869210dcfe7356a843849a06867b78bb1cf8bf532a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-aws/src/store/immutable_store.rs:1214-1222 | lore-aws/src/store/immutable_store.rs:1277-1285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-aws/src/store/immutable_store.rs:1214\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":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3336914ac9f7e78812ec912113b10bb1a057a5cfdfcb73e4e523c1df635df6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-client/src/cli/commands/file.rs:2011-2019 | lore-client/src/cli/commands/file.rs:2063-2071 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060args\u0060 to \u0060\u0026FileDependencyAddArgs\u0060 in one and \u0060\u0026FileDependencyRemoveArgs\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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"0657fe874c7df29e6b5f1ac542d63886658e03f14b0e1fce4784750d15538f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-error-set-macro/src/codegen.rs:778-786 | lore-error-set-macro/src/codegen.rs:815-823 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-error-set-macro/src/codegen.rs:778\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, \u0060lore-error-set-macro/src/codegen.rs:814\u0060 calls \u0060f\u0060 and \u0060lore-error-set-macro/src/codegen.rs:777\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":"lore-error-set-macro/src/codegen.rs"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c1f9bb6686c0d19d8252bbf061ca678d2d8e392d96685ca52eb418bc90bf9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-io/src/iocp.rs:209-217 | lore-io/src/uring.rs:112-120 \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 \u0060lore-io/src/iocp.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":"lore-io/src/iocp.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8673ba272eeb792246c9658e1c09a793f03e34eb62f70be970a0a1d4df15f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-io/src/iocp.rs:984-992 | lore-io/src/uring.rs:934-942 \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 \u0060lore-io/src/iocp.rs:984\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":"lore-io/src/iocp.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e89bea8ffb7940274e2f56f6260f9e7a56f022e2f4ff51fc70db0577e3f2cc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-revision/src/branch.rs:4340-4348 | lore-revision/src/branch.rs:4418-4426 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/branch.rs:4340\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, \u0060lore-revision/src/branch.rs:4337\u0060 calls \u0060load_latest\u0060, \u0060clone\u0060, \u0060unwrap_or_default\u0060 and \u0060lore-revision/src/branch.rs:4417\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":"lore-revision/src/branch.rs"},"region":{"startLine":4340}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e3d9cf4551244427121d886523d3fa8c79ac56076df5791d66f4219caaa90c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 2): lore-revision/src/file/dirty.rs:2071-2079 | lore-revision/src/file/stage.rs:1283-1288 \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 \u0060lore-revision/src/file/dirty.rs:2071\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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f24a13a7f3e6547443bf57b735f77898f7f70cf6957329e38a92bd949b3205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-revision/src/fs/realize.rs:3586-3594 | lore-revision/src/fs/realize.rs:3598-3606 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/fs/realize.rs:3598\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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":3586}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf05fefb00992a2ec54ab6ce6800dbe634002c89a97675a1e070691b61131c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-revision/src/fs/swfs/modified_tree.rs:403-411 | lore-revision/src/fs/swfs/modified_tree.rs:426-434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/fs/swfs/modified_tree.rs:403\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":"lore-revision/src/fs/swfs/modified_tree.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bd1d59f3537648f2abc1aebdf06bb206234abc75c771876d98d397089c1bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-revision/src/stage.rs:4593-4601 | lore-revision/src/stage.rs:4783-4791 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/stage.rs:4593\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":"lore-revision/src/stage.rs"},"region":{"startLine":4593}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce6e5392663869fd8111711b661a3722d460f87270a78b15433d167eb5ec440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 2): lore-revision/src/state.rs:10773-10781 | lore-revision/src/state.rs:10831-10836 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:10773\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060path\u0060 to \u0060\u0026impl WalkPath\u0060 in one and \u0060\u0026RelativePath\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":"lore-revision/src/state.rs"},"region":{"startLine":10773}}}],"partialFingerprints":{"codehealthFindingId/v1":"0744d7af6bd739fd1615260bd27d07e6a508bb33a9719600a58120a527cf326c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-revision/src/state.rs:12215-12223 | lore-revision/src/state.rs:12225-12233 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/state.rs"},"region":{"startLine":12215}}}],"partialFingerprints":{"codehealthFindingId/v1":"930d5ce0092cb8c187e907b5a8b82347f6602003a3c2d58819aeb939cd61f584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-server/src/grpc/handlers/path_diff.rs:73-81 | lore-server/src/grpc/handlers/path_diff.rs:90-98 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/handlers/path_diff.rs:73\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, \u0060lore-server/src/grpc/handlers/path_diff.rs:70\u0060 calls \u0060Some\u0060 and \u0060lore-server/src/grpc/handlers/path_diff.rs:88\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":"lore-server/src/grpc/handlers/path_diff.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2ad2b350931238e0812b6b7f1b12e19479fa5e3ac59fae42801ebc8c163054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-server/src/grpc/storage/v1/get.rs:96-104 | lore-server/src/grpc/storage/v1/get_metadata.rs:91-99 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/get.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/get_metadata.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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 \u0060lore-server/src/grpc/storage/v1/get.rs:96\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":"lore-server/src/grpc/storage/v1/get.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6ad80325d0c208d49bfc1d00f61d7ad1c04791ae7917bb07a0e0508ed39a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-server/src/grpc/thinclient/v1/helpers.rs:206-214 | lore-server/src/grpc/thinclient/v1/revision_info.rs:224-232 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/thinclient/v1/helpers.rs\u0060 and \u0060lore-server/src/grpc/thinclient/v1/revision_info.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 71 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 \u0060lore-server/src/grpc/thinclient/v1/helpers.rs:206\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/thinclient/v1/helpers.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb91cbbf1fcf2e278a1fe23a70ef608f09ce034500124922dbc7c503c0653be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lore-server/src/hooks/dispatch.rs:302-310 | lore-server/src/hooks/dispatch.rs:540-547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/hooks/dispatch.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/hooks/dispatch.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3723f3dfca3b173050fe53853cc70f6975c48cb21888e540525beb479a433e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-storage/src/conformance.rs:301-311 | lore-storage/src/mutable_conformance.rs:324-334 \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":"lore-storage/src/conformance.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"24aac7b23306778a0498a564829d02b5ac472b2977b6ecfa67edca5c008562d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:3339-3349 | lore-storage/src/local/immutable_store.rs:6399-6408 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/local/immutable_store.rs:3339\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":3339}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ab6056556cbe98e9e8846e5aac91eeac31ca2a5063cfd5905b4455b9e6748c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:7090-7098 | lore-storage/src/local/mutable_store.rs:2357-2365 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:7090\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":7090}}}],"partialFingerprints":{"codehealthFindingId/v1":"654067d81521084907db3b511ab8ad1a5b741b2a30cfd0af04669f3f9b060a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-storage/src/mutable_conformance.rs:481-489 | lore-storage/src/mutable_conformance.rs:503-511 \u2014 both copies are in the same file, so extract the block 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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9de187073a4709849df787960358ecc71d73f2581ca5598f20a0994d28cd1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-storage/src/mutable_conformance.rs:759-767 | lore-storage/src/mutable_conformance.rs:784-792 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/mutable_conformance.rs:759\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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffb3f40e05394615fe49e4759632b7c3173081c6c04474a4afff942b177244b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-telemetry/src/metrics/grpc_tower_layer.rs:94-103 | lore-telemetry/src/metrics/http_tower_layer.rs:84-93 \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 \u0060req\u0060 to \u0060Request\u003CBody\u003E\u0060 in one and \u0060Request\u003CB\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":"lore-telemetry/src/metrics/grpc_tower_layer.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca38f4da0a22df63862dca4843f4013d90cb8d731c850e5a63fd63ffa86b1944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-telemetry/src/metrics/grpc_tower_layer.rs:191-199 | lore-telemetry/src/metrics/http_tower_layer.rs:127-135 \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 \u0060lore-telemetry/src/metrics/grpc_tower_layer.rs:191\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":"lore-telemetry/src/metrics/grpc_tower_layer.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e8e1ba7a723cbdc70e02afce747f3d26ccb2a94e7fa85fdb7b9e1bfa582072"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore/src/dependency.rs:79-87 | lore/src/dependency.rs:191-199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060args\u0060 to \u0060LoreFileDependencyAddArgs\u0060 in one and \u0060LoreFileDependencyRemoveArgs\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":"lore/src/dependency.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"482b25ef76dce6185aa1df77b3d90fb3ed210451881adbce8ef9ec2f400cd3c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore/src/dependency.rs:90-98 | lore/src/dependency.rs:202-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore/src/dependency.rs:90\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":"lore/src/dependency.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b891a7b0b7a644721cfcc8dc0e07fcad2ae4f668312769c64f5bdc7a0f7595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore/src/revision_tree/delete.rs:210-222 | lore/src/revision_tree/modify.rs:175-187 \u2014 before extracting anything, compare \u0060lore/src/revision_tree/delete.rs\u0060 and \u0060lore/src/revision_tree/modify.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lore/src/revision_tree/delete.rs:210\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060entries\u0060 to \u0060\u0026[LoreRevisionTreeDeleteEntry]\u0060 in one and \u0060\u0026[LoreRevisionTreeModifyEntry]\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":"lore/src/revision_tree/delete.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf3b908e876cabbf62ebd7f003ba0659e6f05687f6c9b1435e81cdf9472783d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): lore/src/revision_tree/metadata_clear.rs:129-136 | lore/src/revision_tree/metadata_set.rs:162-170 \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 \u0060lore/src/revision_tree/metadata_clear.rs:129\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060entries\u0060 to \u0060\u0026[LoreRevisionTreeMetadataClearEntry]\u0060 in one and \u0060\u0026[LoreRevisionTreeMetadataSetEntry]\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":"lore/src/revision_tree/metadata_clear.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f61a31cf82296a3d8e31f926a2b8be378da33506d7f9c471d737caa9ff1f21e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore/src/revision_tree/modify.rs:189-197 | lore/src/revision_tree/move_node.rs:407-415 \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 \u0060lore/src/revision_tree/modify.rs:189\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":"lore/src/revision_tree/modify.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"acad546c271313e36ca7a3a32ed878564cf78ddad09b2e19c3f7caccf4fadaf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): lore-storage/src/conformance.rs:504-511 | lore-storage/src/conformance.rs:715-721 | lore-storage/src/conformance.rs:748-754 | lore-storage/src/conformance.rs:973-979 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/conformance.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d106804f1de0f6a46a557e3efb7cfd7ccccda8c74b4c04ff5e9ae9f33ae136f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): lore-transport/src/connection.rs:803-810 | lore-transport/src/connection.rs:834-841 | lore-transport/src/connection.rs:868-875 \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 \u0060lore-transport/src/connection.rs:803\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":"lore-transport/src/connection.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1f3abdf7729f2505414dae178778475ae61b1803553535c23e230b18c06449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-aws/src/store/immutable_store.rs:1194-1201 | lore-aws/src/store/immutable_store.rs:1254-1261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-aws/src/store/immutable_store.rs:1194\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":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dc6ccf101ef338d3d8f3710c57daca4a7997a2016c6c9f850309a79e30d300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-client/src/cli/commands/revision.rs:1278-1286 | lore-client/src/cli/commands/revision.rs:1339-1346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-client/src/cli/commands/revision.rs:1278\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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a94ef7e41d18a48cce21a2939c804882a2cfc5d8c8be9bc865a8d637f9ee91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/branch/merge.rs:4466-4473 | lore-revision/src/stage.rs:4564-4571 \u2014 before extracting anything, compare \u0060lore-revision/src/branch/merge.rs\u0060 and \u0060lore-revision/src/stage.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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 \u0060lore-revision/src/branch/merge.rs:4466\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":4466}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06d579d88704049e32c0f527d7357184a3ce7e57f042f476c51ad19214b5239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/branch/merge.rs:4621-4628 | lore-revision/src/branch/merge.rs:4747-4754 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/branch/merge.rs:4621\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":4621}}}],"partialFingerprints":{"codehealthFindingId/v1":"627cf8599849798293decc4f0ca1e5f4ee3e00c8cda43244e980d31a5f7d1cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/commit.rs:5735-5742 | lore-revision/src/commit.rs:5746-5753 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/commit.rs"},"region":{"startLine":5735}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fcebe48bd8b6d1ad2d9bd7a37080a6a451cf6b7a34c80d1dd4646ef83db5a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/fs/fuse/operation.rs:1653-1661 | lore-revision/src/fs/os/mod.rs:145-152 \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":"lore-revision/src/fs/fuse/operation.rs"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"7935f7715bb15baf7153bdbe249738bbb79d99671d1770ff531443e652abb016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/fs/fuse/write.rs:1547-1554 | lore-revision/src/fs/fuse/write.rs:1567-1574 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/fs/fuse/write.rs:1547\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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"537c192363da34347aa26ac8c03d97b9b2078cac01e94a87926effac4524afe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/fs/realize.rs:4583-4592 | lore-revision/src/fs/realize.rs:4673-4680 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/fs/realize.rs:4583\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, \u0060lore-revision/src/fs/realize.rs:4681\u0060 calls \u0060is_file\u0060 and \u0060lore-revision/src/fs/realize.rs:4593\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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4583}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1db2842b4fa72dc7e1277f82f9edf08b1183ea17a0faebcd8be08f6141a76b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): lore-revision/src/link.rs:596-601 | lore-revision/src/link/add.rs:149-156 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/link.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"9687528c606002933bbfb968b95cd4518e99d44a36f032ebf59036b7741e293c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/metadata.rs:746-753 | lore-revision/src/metadata.rs:785-792 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/metadata.rs:746\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":"lore-revision/src/metadata.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66d73bb603a1a8b0f12d464effd920f25220642c3d9b90d09ad96ac37ad05c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lore-revision/src/state.rs:8710-8717 | lore-revision/src/state.rs:8719-8725 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/state.rs"},"region":{"startLine":8710}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bae78fab47cb7f73e589a20e340150420b4ec0967047a260f2179e9321c1bcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/state/node/attach.rs:839-846 | lore-revision/src/state/node/attach.rs:1119-1127 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state/node/attach.rs:839\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":"lore-revision/src/state/node/attach.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"db82496156e2dca33ae55827b61e3dbf9c216ef9b4d4ef29c9efb195510986e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/state/node/detach.rs:370-377 | lore-revision/src/state/node/relocate.rs:1144-1152 \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":"lore-revision/src/state/node/detach.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"deadd3e6bbbeacf1cc85b0eb99050e2e4e6b95344903dc7fefe6b9e38e625312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/state/node/relocate.rs:696-703 | lore-revision/src/state/node/relocate.rs:842-849 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state/node/relocate.rs:696\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":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1f6c225c7a542c5faf9fc579ac344dcfcaf259eb79e0b1dd9867119a5ee676"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/state/node/slots.rs:294-301 | lore-revision/src/state/node/slots.rs:404-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":"lore-revision/src/state/node/slots.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1608d156b796b8acf439a9afe928da5ecee78af41a94815e8245fc83ec3dbb78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/state/os_diff.rs:1392-1399 | lore-revision/src/state/os_diff.rs:1474-1481 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state/os_diff.rs:1392\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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"137ba3fc340425ba5ce9ce11bd091a8314557e438572ddd7b7c41b262f9bef42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-server/src/grpc/handlers/repository_metadata_get.rs:32-39 | lore-server/src/grpc/handlers/repository_metadata_set.rs:99-106 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore-server/src/grpc/handlers/repository_metadata_set.rs:108\u0060 calls \u0060into\u0060 and \u0060lore-server/src/grpc/handlers/repository_metadata_get.rs:41\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":"lore-server/src/grpc/handlers/repository_metadata_get.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5bc516f84facadc2d1048e65e76ad50b398b2683cb3ac495d0d63cfe57c41b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-server/src/grpc/repository/v1/repository_metadata_get.rs:36-43 | lore-server/src/grpc/repository/v1/repository_metadata_set.rs:51-58 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore-server/src/grpc/repository/v1/repository_metadata_set.rs:60\u0060 calls \u0060into\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_metadata_get.rs:45\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":"lore-server/src/grpc/repository/v1/repository_metadata_get.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f2bab9ea6f283c689cf8ced1171e81515a633ec5bb173d2e562b58143b5d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-server/src/protocol/storage/connect.rs:190-198 | lore-server/src/protocol/storage/copy.rs:144-152 \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":"lore-server/src/protocol/storage/connect.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"682901046bf20e6c0f19403ac27be5d7afc23787752a7fa7825b168ab3245ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-storage/src/fragment_engine.rs:142-149 | lore-storage/src/fragment_engine.rs:586-593 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/fragment_engine.rs:142\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":"lore-storage/src/fragment_engine.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd2a82c6c77e1824d46bc450f3863402f777ebe5909f990ea6f3a7b93ab9cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:3343-3350 | lore-storage/src/local/mutable_store.rs:2124-2131 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:3343\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":3343}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0fb7be8eb52c6c0587a856859426a5dcd4dc8f4a77899d62518ea9b27c9bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:7101-7107 | lore-storage/src/local/mutable_store.rs:2372-2379 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:7101\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":7101}}}],"partialFingerprints":{"codehealthFindingId/v1":"011dd80ac425706e9403bc199e09534cc57d0d4e1019b9e3dd1d5c10e3a8b5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-storage/src/mutable_conformance.rs:393-400 | lore-storage/src/mutable_conformance.rs:457-464 \u2014 both copies are in the same file, so extract the block 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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b86a8abebb2e4018ddbf16b330b1e98a18727652a2d7ae545b36ac61615a17d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-transport/src/grpc/storage_client.rs:990-997 | lore-transport/src/grpc/storage_client.rs:1074-1081 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-transport/src/grpc/storage_client.rs:990\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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a99ca574ef2267679b4be38d0d04ee75e61cf2b8fd351c43184499ac4a2f97d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lore-client/src/cli/commands/branch.rs:1793-1799 | lore-client/src/cli/commands/file.rs:1105-1111 | lore-client/src/cli/commands/repository.rs:1710-1716 | lore-client/src/cli/commands/revision.rs:2350-2356 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/file.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lore-client/src/cli/commands/branch.rs:1793\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-client/src/cli/commands/branch.rs:1792\u0060 calls \u0060resolve_branch_arg\u0060 and \u0060lore-client/src/cli/commands/repository.rs:1709\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"34365e1dd650ca03f83199d4d5a6df72747539797fa6525da0fa8e4417a34562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lore-transport/src/grpc/storage_client.rs:989-995 | lore-transport/src/grpc/storage_client.rs:1073-1079 | lore-transport/src/grpc/storage_client.rs:1156-1162 | lore-transport/src/grpc/storage_client.rs:1201-1207 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e45b01d8e93db390bf645499a5557c834c45a744f9d78ca2bcb0dab58e78b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lore-error-set-macro/src/codegen.rs:156-162 | lore-error-set-macro/src/codegen.rs:175-181 | lore-error-set-macro/src/codegen.rs:331-337 \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":"lore-error-set-macro/src/codegen.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18b14dcae1c5b31d5c098f9d400149c6b246250949e2b2d4b9a4de7535dbb81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lore-revision/src/stage.rs:4596-4602 | lore-revision/src/stage.rs:4666-4672 | lore-revision/src/stage.rs:4786-4792 \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":"lore-revision/src/stage.rs"},"region":{"startLine":4596}}}],"partialFingerprints":{"codehealthFindingId/v1":"20866a10110cd04628d0df9476c34ce8d35189f1be104b17b6716b01a98beda0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lore-revision/src/stage.rs:4869-4875 | lore-server/src/server.rs:2298-2304 | lore-server/src/server.rs:2405-2411 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/stage.rs:4869\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":"lore-revision/src/stage.rs"},"region":{"startLine":4869}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f0290698e82cab920dab4d4d9f0402139651babf636b4689fd2d63f994e0c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lore-revision/src/state.rs:3136-3142 | lore-revision/src/state.rs:3169-3175 | lore-revision/src/state.rs:3213-3219 \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":"lore-revision/src/state.rs"},"region":{"startLine":3136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77b170b8cffc495e85ad983200dc67e369d7e669bb1551963984ebf341773e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lore/src/revision_tree/delete.rs:231-237 | lore/src/revision_tree/modify.rs:189-195 | lore/src/revision_tree/move_node.rs:407-413 \u2014 before extracting anything, compare \u0060lore/src/revision_tree/delete.rs\u0060 and \u0060lore/src/revision_tree/modify.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lore/src/revision_tree/delete.rs:231\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":"lore/src/revision_tree/delete.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"438d033c0a7d110c1a2be2fb87582b6cd2c543a0eda90b6ac4e7f465272fd5a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-aws/src/store/lock_store.rs:540-546 | lore-aws/src/store/lock_store.rs:594-601 \u2014 both copies are in the same file, so extract the block 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":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af9dcc643ec0a6ff0d8450a69ef335a88abedf6b00c1228c8a8a3c0bd5dd638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-base/src/allocator/rpmalloc.rs:145-151 | lore-base/src/allocator/rpmalloc.rs:172-178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-base/src/allocator/rpmalloc.rs:145\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":"lore-base/src/allocator/rpmalloc.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"724a70015222bdf337f41a6ee838b1820a5123b14f938a92fead736866e1adc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): lore-io/src/uring.rs:344-349 | lore-io/src/uring.rs:399-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 \u0060lore-io/src/uring.rs:344\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":"lore-io/src/uring.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"0309991a46fe63792ea8a392759795f876471bdc874a38564f9850a6b092589d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/branch/push.rs:884-890 | lore-revision/src/branch/push.rs:1240-1246 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/branch/push.rs:884\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 \u0060targets\u0060 to \u0060\u0026mut [PushTarget]\u0060 in one and \u0060\u0026[PushTarget]\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":"lore-revision/src/branch/push.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b940c2f26f05f498b19713123774fdc214176f4ec93edfb610f11ae7f954a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/commit.rs:3517-3523 | lore-revision/src/commit.rs:4049-4055 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/commit.rs:3517\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":"lore-revision/src/commit.rs"},"region":{"startLine":3517}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecb5d9297ac47bb340c1b81fd3676cdafd46571232415c05b0d99b7235aeb3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/file/reset.rs:3098-3104 | lore-revision/src/file/reset.rs:3134-3140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/file/reset.rs:3098\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":"lore-revision/src/file/reset.rs"},"region":{"startLine":3098}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d6da80882642abf79e580ba48185db9d4eb56ee510a4bfce54cf852cf6a1e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/file/stage.rs:681-687 | lore-revision/src/repository/status.rs:1920-1928 \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 \u0060lore-revision/src/file/stage.rs:681\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":"lore-revision/src/file/stage.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ff417127660f0d4f2a3fc03f0e15d3afacee1e0ae03e2d8c93ae5d494a091f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/fs/hold.rs:1531-1538 | lore-revision/src/fs/hold.rs:1563-1570 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/fs/hold.rs:1531\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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecada8afb554d9a0a10f077bf380c1b8f825ce669ab8386d867ff6019d16e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/fs/swfs/served_tree.rs:384-390 | lore-revision/src/fs/swfs/served_tree.rs:409-415 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/fs/swfs/served_tree.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d1b76b4e84a444d2f06bce8e0e8f73735c58ddc1a47df39596f66acce10920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/state.rs:4868-4874 | lore-revision/src/state.rs:4890-4896 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:4868\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":"lore-revision/src/state.rs"},"region":{"startLine":4868}}}],"partialFingerprints":{"codehealthFindingId/v1":"618de22dd311e4fe57d764750c81cdfdf934d03aded53c1fad62256e35316b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/state.rs:5314-5320 | lore-revision/src/state.rs:5399-5405 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore-revision/src/state.rs:5321\u0060 calls \u0060index\u0060 and \u0060lore-revision/src/state.rs:5406\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":"lore-revision/src/state.rs"},"region":{"startLine":5314}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb03ddd0868aa928f727f07bd0c189d6eece804000818309998ed0a4f399dbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/state.rs:5392-5398 | lore-revision/src/state.rs:5415-5421 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/state.rs"},"region":{"startLine":5392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98a1b8367ad0e982c5dd9af8c0cdb2cb9504f0a8ad28b10ae43592a4ee199ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/state.rs:11244-11251 | lore-revision/src/state.rs:11258-11264 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:11244\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":"lore-revision/src/state.rs"},"region":{"startLine":11244}}}],"partialFingerprints":{"codehealthFindingId/v1":"83126c599f28b4b76241e35aae0a89694f214beedbaa1532de7eb91f87c39b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/state/os_diff.rs:2016-2022 | lore-revision/src/state/os_diff.rs:2248-2254 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70a5f12132adfe48f9b288598fcbc4667ad4e80fca9a6645c144bd918b1c575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/util/path.rs:840-846 | lore-revision/src/util/path.rs:869-875 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060suffix\u0060 to \u0060\u0026str\u0060 in one and \u0060impl AsRef\u003Cstr\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-revision/src/util/path.rs:868\u0060 calls \u0060as_ref\u0060 and \u0060lore-revision/src/util/path.rs:838\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":"lore-revision/src/util/path.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"2875d7554401556004f5943b723aa12574fbd18a44b183e62c6671a626d331da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-server/src/grpc/handlers/repository_query.rs:171-177 | lore-server/src/grpc/repository/v1/repository_get.rs:248-254 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/repository_query.rs\u0060 and \u0060lore-server/src/grpc/repository/v1/repository_get.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 83 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 \u0060lore-server/src/grpc/handlers/repository_query.rs:171\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":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb4b2dccd06e90ed997b313b4074a0b1a3284cc4273455574cbecbcb96cf340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-server/src/grpc/handlers/revision_list.rs:268-274 | lore-server/src/grpc/revision/v1/revision_list.rs:603-609 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/handlers/revision_list.rs\u0060 and \u0060lore-server/src/grpc/revision/v1/revision_list.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. 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 \u0060lore-server/src/grpc/revision/v1/revision_list.rs:603\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":"lore-server/src/grpc/handlers/revision_list.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7c9c3ea3b8f45cc8ede3fb23c8d9d50829b45ff36f363b57524abcb34d126f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-server/src/protocol/storage/mutable_cas.rs:45-51 | lore-server/src/protocol/storage/mutable_store_handler.rs: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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/protocol/storage/mutable_cas.rs:45\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":"lore-server/src/protocol/storage/mutable_cas.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aba064918a132b413ae64f8513ffa79cdd8996d1e9cc571f0c13e1c8c4320fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:1215-1221 | lore-storage/src/local/mutable_store.rs:560-565 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:1215\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5424b159a744d86213ba4cecb47735a5b5ccb8734bcad6f98ba98398d09d5f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-storage/src/read.rs:667-673 | lore-storage/src/read.rs:2032-2038 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/read.rs:667\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":"lore-storage/src/read.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da96cd7adc072646d2c906b086d9d77375c7688031e0a38430e1a2854d075da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-transport/src/grpc/storage_client.rs:790-796 | lore-transport/src/grpc/storage_client.rs:847-853 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-transport/src/grpc/storage_client.rs:790\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-transport/src/grpc/storage_client.rs:844\u0060 calls \u0060copy_from_slice\u0060, \u0060data\u0060 and \u0060lore-transport/src/grpc/storage_client.rs:788\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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3532c5aad06d54e71521d4e79e71f08188efd251e129eb39ae8083d042623c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): lore-server/src/protocol/replication_store/get.rs:54-59 | lore-server/src/protocol/replication_store/get_metadata.rs:50-55 | lore-server/src/protocol/replication_store/obliterate.rs:49-54 | lore-server/src/protocol/replication_store/put.rs:75-80 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/replication_store/get.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d384b7b871a488dd69900a0dc8607750e40ea8c4c83285c57e8d66e481c45ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lore-base/src/allocator/growvec.rs:51-56 | lore-base/src/allocator/growvec.rs:77-82 | lore-base/src/allocator/growvec.rs:142-147 \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":"lore-base/src/allocator/growvec.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"187ecd0fc1961604eaf255cb6c6c3d24fdd44d92aa19dc869579b6b801d40f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lore-client/src/cli/commands/revision.rs:577-582 | lore-client/src/cli/commands/revision.rs:699-704 | lore-client/src/cli/commands/revision.rs:1307-1313 \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 \u0060lore-client/src/cli/commands/revision.rs:577\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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad044f766d13d93837cf05795c892a10ead462f8bc5448767606369c064403fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lore-revision/src/branch.rs:1437-1442 | lore-revision/src/branch.rs:1676-1681 | lore-revision/src/branch.rs:1790-1795 \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 \u0060lore-revision/src/branch.rs:1437\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 \u0060branch\u0060 to \u0060BranchId\u0060 in one and \u0060\u0026str\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":"lore-revision/src/branch.rs"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"d284abc85f5bea8508ad6074a4b10afaf9c5921f9416d22c75aa8f746eb59547"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): lore-transport/src/grpc/storage_client.rs:789-794 | lore-transport/src/grpc/storage_client.rs:819-824 | lore-transport/src/grpc/storage_client.rs:846-851 \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 \u0060lore-transport/src/grpc/storage_client.rs:789\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-transport/src/grpc/storage_client.rs:818\u0060 calls \u0060copy_from_slice\u0060, \u0060data\u0060 and \u0060lore-transport/src/grpc/storage_client.rs:788\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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"610f629547ea9002911c09dbd8f3d36aa19940e69fcff815d3bf22ca1f401b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-client/src/cli/commands/lock.rs:144-150 | lore-client/src/cli/commands/lock.rs:202-208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-client/src/cli/commands/lock.rs:144\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":"lore-client/src/cli/commands/lock.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c318c88392c99be22d6338821ee50a45b93c932722889b6f42d9a0091fb9b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-fuse/src/dispatch.rs:350-356 | lore-fuse/src/dispatch.rs:435-441 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-fuse/src/dispatch.rs:350\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":"lore-fuse/src/dispatch.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"8539427e11ded1c0601489b30f31cb947cddefabd63975c72c963b6aa5ceec4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-revision/src/branch/merge.rs:860-865 | lore-revision/src/branch/merge.rs:3519-3524 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc906215d871aae83674baeefdf4b13c16858f8fe7c635e7c24e959fdba847f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-revision/src/branch/merge.rs:5089-5094 | lore-revision/src/stage.rs:4563-4568 \u2014 before extracting anything, compare \u0060lore-revision/src/branch/merge.rs\u0060 and \u0060lore-revision/src/stage.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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 \u0060lore-revision/src/branch/merge.rs:5089\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":5089}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4674552c1676963d7484c0534d84187c15f15e4089494ad0bf0fdef4e90623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-revision/src/commit.rs:6141-6147 | lore-revision/src/commit.rs:6846-6851 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/commit.rs:6141\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 \u0060repository\u0060 to \u0060\u0026Arc\u003CRepositoryContext\u003E\u0060 in one and \u0060Arc\u003CRepositoryContext\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":"lore-revision/src/commit.rs"},"region":{"startLine":6141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfcf68ff34d816e8455c8e49b44acb394013c1090758301891681ef98b04ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-revision/src/metadata.rs:780-785 | lore-revision/src/metadata.rs:1198-1203 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/metadata.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"98aba597776fed6379350aba551a10f37922e534c4018fbf12f942fdfc0e055e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-revision/src/state/diff.rs:1865-1870 | lore-revision/src/state/diff.rs:1881-1886 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state/diff.rs:1865\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":"lore-revision/src/state/diff.rs"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9baefdd55fd5bdd0c8f165b2d304e0c242f5db8334c2c13ed91502e2aa479f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-revision/src/state/node/attach.rs:390-395 | lore-revision/src/state/node/attach.rs:836-841 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state/node/attach.rs:390\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":"lore-revision/src/state/node/attach.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"b872dc4391d13c275bd6c61f1cd5883421f70c0b0eda160221a40377e35fc002"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lore-revision/src/store/mutable.rs:111-132 | lore-revision/src/store/mutable.rs:163-184 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/store/mutable.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11e633d0f19328f09682ae8d1b8893f2a3cf6d8bf93289c04f3f7aa909df4a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-server/src/protocol/storage/mutable_cas.rs:38-43 | lore-server/src/protocol/storage/mutable_store_handler.rs:35-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore-server/src/protocol/storage/mutable_cas.rs:44\u0060 calls \u0060from\u0060 and \u0060lore-server/src/protocol/storage/mutable_store_handler.rs:41\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":"lore-server/src/protocol/storage/mutable_cas.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bda610ad7c03df31002e47ecad607050a1e7536bef3e8d5caaa9b3be36d22e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-storage/src/compress.rs:728-733 | lore-storage/src/compress.rs:1145-1150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/compress.rs:728\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":"lore-storage/src/compress.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"b533654f1fa53ab2275370937662d670dfca295df9bb201cb467265df75fe6cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-storage/src/defragment.rs:137-143 | lore-storage/src/defragment.rs:508-513 \u2014 both copies are in the same file, so extract the block 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":"lore-storage/src/defragment.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c04f6594929c12fe35b779def3f762e7d5829fe19a7767db20723ca55932cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:1514-1519 | lore-storage/src/local/mutable_store.rs:766-771 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-storage/src/local/immutable_store.rs:1511\u0060 calls \u0060swap\u0060 and \u0060lore-storage/src/local/mutable_store.rs:761\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"483cd4a45f32c6451301aafcbb7df5b53a0d621c7c157147dfbdbc700481ef56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:1659-1665 | lore-storage/src/local/mutable_store.rs:1523-1528 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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 \u0060lore-storage/src/local/immutable_store.rs:1659\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 \u0060weak_ref\u0060 to \u0060Weak\u003CLocalImmutableStore\u003E\u0060 in one and \u0060Weak\u003CLocalMutableStore\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf6046885170ae401eb65a9ec3f3df0707fda0a4ff902f00a85e741ad550c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-storage/src/mutable_conformance.rs:758-763 | lore-storage/src/mutable_conformance.rs:858-863 \u2014 both copies are in the same file, so extract the block 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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa4286b56e7a697128f55c6b0bb5a0fa4b4a681fa92adfc9c11adb6b81b49dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-transport/src/grpc/storage_client.rs:1246-1251 | lore-transport/src/grpc/storage_client.rs:1294-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore-transport/src/grpc/storage_client.rs:1300\u0060 calls \u0060default\u0060, \u0060clone\u0060 and \u0060lore-transport/src/grpc/storage_client.rs:1253\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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6bcd1d10b2c2eb9f768e6bd54d3c7719faa2e1e5158276004ecd5a570eb238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore/src/revision_tree/add.rs:975-980 | lore/src/revision_tree/modify.rs:391-396 \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 \u0060args\u0060 to \u0060LoreRevisionTreeAddArgs\u0060 in one and \u0060LoreRevisionTreeModifyArgs\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":"lore/src/revision_tree/add.rs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"db82c09d0d51f5eb79d3dfeb99fe343f52cc5af4e98957cc41a35519941e33e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): lore/src/revision_tree/add.rs:496-500 | lore/src/revision_tree/delete.rs:214-218 | lore/src/revision_tree/metadata_clear.rs:129-133 | lore/src/revision_tree/metadata_set.rs:162-166 | lore/src/revision_tree/modify.rs:179-183 \u2014 before extracting anything, compare \u0060lore/src/revision_tree/delete.rs\u0060 and \u0060lore/src/revision_tree/modify.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060lore/src/revision_tree/add.rs:496\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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 \u0060entries\u0060 to \u0060\u0026[LoreRevisionTreeAddEntry]\u0060 in one and \u0060\u0026[LoreRevisionTreeDeleteEntry]\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":"lore/src/revision_tree/add.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9323ffec7254f477c06f51884bb1b58937a6c59e1574b9c8808632cd1e0068c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): lore-revision/src/branch/merge.rs:4411-4418 | lore-revision/src/branch/merge.rs:5186-5190 | lore-revision/src/revision/cherry_pick.rs:298-305 | lore-revision/src/revision/revert.rs:278-282 \u2014 before extracting anything, compare \u0060lore-revision/src/revision/cherry_pick.rs\u0060 and \u0060lore-revision/src/revision/revert.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 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 \u0060lore-revision/src/branch/merge.rs:4411\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":4411}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7526c8136dd5de6010ba9c247fb6a196c36879c89d8c7e14534626d219bc162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): lore-server/src/grpc/handlers/branch_metadata_set.rs:116-120 | lore-server/src/grpc/handlers/branch_protect.rs:32-36 | lore-server/src/grpc/handlers/branch_unprotect.rs:32-36 | lore-server/src/grpc/revision/v1/branch_metadata_set.rs:60-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-server/src/grpc/handlers/branch_metadata_set.rs:115\u0060 calls \u0060require_action\u0060 and \u0060lore-server/src/grpc/handlers/branch_protect.rs:31\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":"lore-server/src/grpc/handlers/branch_metadata_set.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfd199f0118cad41372a7ebe9f7c9e82947830eedb3e6c779d3bc6b5cea7881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): contrib/bazel/crates/rbe-lore/src/lib.rs:791-795 | contrib/bazel/crates/rbe-lore/src/lib.rs:878-882 | contrib/bazel/crates/rbe-lore/src/lib.rs:991-995 \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 \u0060contrib/bazel/crates/rbe-lore/src/lib.rs:791\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":"contrib/bazel/crates/rbe-lore/src/lib.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f04d8db2be1699dfdba95b2d9d3d99660815d515de0487c1efeb6ed3d898cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lore-revision/src/metadata.rs:779-783 | lore-revision/src/metadata.rs:982-986 | lore-revision/src/metadata.rs:1197-1201 \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":"lore-revision/src/metadata.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14ba1c833ccbf1a51f6408b3538470cd5c006bc06ad6e11188adcf844bddd77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-fuse/src/dispatch.rs:334-341 | lore-fuse/src/dispatch.rs:371-375 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-fuse/src/dispatch.rs:334\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":"lore-fuse/src/dispatch.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf65d8695a6c97422e767859b3c67126959ed24fa3c722775fbac2fb5a2ebb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-io/src/rename.rs:13-17 | lore-io/src/rename.rs:44-48 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-io/src/rename.rs:13\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":"lore-io/src/rename.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c26a74aeb3c716e696b5391e927824d7f328c6140bb1f52795b3784d9c0c20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-revision/src/diff.rs:64-68 | lore-revision/src/diff.rs:169-173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/diff.rs:64\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":"lore-revision/src/diff.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b887d4906fe24833698043d0e4e30b8126483b914d123073c45e2d57da69320a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-revision/src/repository.rs:4898-4905 | lore-revision/src/repository.rs:4917-4921 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/repository.rs:4898\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":"lore-revision/src/repository.rs"},"region":{"startLine":4898}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcf76ce07e346b77a713efbd5b83607345ecdcbaa7ba4fed61962f4ade89e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-revision/src/state/node/detach.rs:358-362 | lore-revision/src/state/node/relocate.rs:1138-1142 \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":"lore-revision/src/state/node/detach.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3c6bf4e72d2ff7966fe5fa33c71e4a48d9ad4760ae4139c00b5d1383bb4357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-revision/src/store/composite.rs:1642-1646 | lore-revision/src/store/composite.rs:1650-1654 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/store/composite.rs:1642\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":"lore-revision/src/store/composite.rs"},"region":{"startLine":1642}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f356d9fc0f9f4222649e4ff5dbf8c6ee7b5ad75af400e509672ad1b05742e1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): lore-server/src/grpc/handlers/branch_create.rs:71-77 | lore-server/src/grpc/handlers/branch_delete.rs:45-50 \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":"lore-server/src/grpc/handlers/branch_create.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"572ec02ca2a883d24dd9641639cd70e792a523f0daa92999bdd96f3f42ff51ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-server/src/grpc/handlers/branch_delete.rs:46-50 | lore-server/src/grpc/handlers/branch_get.rs:30-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_delete.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"35955c0dd4bf88feb266b6df6c4858fa23644c1b327281f31720cd08d65356e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-server/src/grpc/handlers/branch_query.rs:45-49 | lore-server/src/grpc/thinclient/v1/revision_info.rs:49-54 \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 \u0060lore-server/src/grpc/handlers/branch_query.rs:45\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":"lore-server/src/grpc/handlers/branch_query.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"642036e35825ecd5db6572932a277e9704383b72f20a689b6f5882b1a352ca89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-server/src/grpc/storage/v1/mutable_compare_and_swap.rs:39-46 | lore-server/src/grpc/storage_service.rs:822-829 \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 \u0060request\u0060 to \u0060Request\u003Cstorage_v1::MutableCompareAndSwapRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::MutableCompareAndSwapRequest\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":"lore-server/src/grpc/storage/v1/mutable_compare_and_swap.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eba5d9397278e9ae35e0816a6a0f4c80a4b1a0506f2acbe4e1f10ecf3e248b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-server/src/grpc/storage/v1/mutable_load.rs:35-39 | lore-server/src/grpc/storage_service.rs:737-741 \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 \u0060lore-server/src/grpc/storage/v1/mutable_load.rs:35\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 \u0060request\u0060 to \u0060Request\u003Cstorage_v1::MutableLoadRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::MutableLoadRequest\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":"lore-server/src/grpc/storage/v1/mutable_load.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfaddc0ca8b16e07c625bd3aa7b84fb615aadc93010a7ba7b280b0d8638e9a58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-server/src/grpc/storage/v1/mutable_store.rs:38-44 | lore-server/src/grpc/storage_service.rs:783-789 \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 \u0060request\u0060 to \u0060Request\u003Cstorage_v1::MutableStoreRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::MutableStoreRequest\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":"lore-server/src/grpc/storage/v1/mutable_store.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b07b09f50b77009087fb430d8a29b200e6da1d2bb516cb64d7814bdb216803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-server/src/protocol/replication_store/get.rs:86-90 | lore-server/src/protocol/replication_store/get_metadata.rs:75-80 \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 \u0060lore-server/src/protocol/replication_store/get.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. 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":"lore-server/src/protocol/replication_store/get.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f5782890c9aded0eff50f3a860a6e90afc93e7bba665de5d35be8b658f9a1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-server/src/protocol/storage/copy.rs:46-52 | lore-server/src/protocol/storage/copy.rs:65-71 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore-server/src/protocol/storage/copy.rs:72\u0060 calls \u0060from\u0060, \u0060split_to\u0060 and \u0060lore-server/src/protocol/storage/copy.rs:53\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":"lore-server/src/protocol/storage/copy.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"092348a38d2b0bbe2a626fcecdc361183eea7d5e77c19deb533bf0fc37a1b39d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): contrib/bazel/crates/rbe-server/src/cas.rs:73-79 | contrib/bazel/crates/rbe-server/src/exec.rs:393-399 \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":"contrib/bazel/crates/rbe-server/src/cas.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc7d776c494ab9ee2ebb5cc29fcc9a461bfc94aea942be20848b2d97afe6fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-revision/src/fs/fuse/mount_manager.rs:429-434 | lore-revision/src/fs/swfs/mount_manager.rs:209-214 \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":"lore-revision/src/fs/fuse/mount_manager.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2d64a93fd79ac270a5efbe22dd57a388b9f2ac42f159415bd673027754df25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-revision/src/metadata/branch.rs:125-133 | lore-revision/src/metadata/repository.rs:101-109 \u2014 before extracting anything, compare \u0060lore-revision/src/metadata/branch.rs\u0060 and \u0060lore-revision/src/metadata/repository.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 103 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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2150ac98762322c8006f5785f35f80c7eab1bdbae209a952218dd1f9dcfe0ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-revision/src/state/diff.rs:681-689 | lore-revision/src/state/os_diff.rs:3324-3332 \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 \u0060lore-revision/src/state/diff.rs:681\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 \u0060joined\u0060 to \u0060Result\u003CResult\u003CDiffWalkStats, StateError\u003E, JoinError\u003E\u0060 in one and \u0060Result\u003CResult\u003CFilesystemDiffStats, StateError\u003E, JoinError\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":"lore-revision/src/state/diff.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd6ebd11e3fbf38118aa6f584abc2fe0e898ed9bc41fee85fa3d213d3760af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-server/src/grpc/environment/v1/service.rs:109-116 | lore-server/src/grpc/environment_service.rs:83-90 \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 \u0060lore-server/src/grpc/environment/v1/service.rs:109\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":"lore-server/src/grpc/environment/v1/service.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d03741d6b3cedf7dff7c1b4b5249b6c3c2ed02087e47c972686c90646b0166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-server/src/grpc/forwarded_revision/v1/service.rs:114-124 | lore-server/src/grpc/revision_service.rs:157-167 \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 \u0060lore-server/src/grpc/forwarded_revision/v1/service.rs:114\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 \u0060request\u0060 to \u0060Request\u003CBranchGetRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::BranchGetRequest\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":"lore-server/src/grpc/forwarded_revision/v1/service.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e3f18aa945f4b6969c84f7f94a3d36833ce04f649179257c0c2792f031c910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-server/src/grpc/grpc_internal_server.rs:275-279 | lore-server/src/grpc/server.rs:923-927 \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 \u0060lore-server/src/grpc/grpc_internal_server.rs:275\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":"lore-server/src/grpc/grpc_internal_server.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fe59f991002658dff646d4f1befcc6eb8880460217276f3ea102961018bb74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-server/src/grpc/repository/v1/service.rs:172-183 | lore-server/src/grpc/repository_service.rs:138-149 \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 \u0060lore-server/src/grpc/repository/v1/service.rs:172\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 \u0060request\u0060 to \u0060Request\u003CRepositoryMetadataGetRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::RepositoryMetadataGetRequest\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":"lore-server/src/grpc/repository/v1/service.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3654e983070a6a4a34221c6e64ab3d96dc5d538aaf88581d548301a6863c7b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-server/src/grpc/repository/v1/service.rs:188-199 | lore-server/src/grpc/repository_service.rs:154-165 \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 \u0060lore-server/src/grpc/repository/v1/service.rs:188\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 \u0060request\u0060 to \u0060Request\u003CRepositoryMetadataSetRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::RepositoryMetadataSetRequest\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":"lore-server/src/grpc/repository/v1/service.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbea37e24372d0ae57ed3a609ca27f66d57dde69fc08f09416c346078e38e0bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-server/src/grpc/revision/v1/service.rs:257-267 | lore-server/src/grpc/revision_service.rs:332-342 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/revision/v1/service.rs\u0060 and \u0060lore-server/src/grpc/revision_service.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 84 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 \u0060lore-server/src/grpc/revision/v1/service.rs:257\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 \u0060request\u0060 to \u0060Request\u003CBranchMetadataGetRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::BranchMetadataGetRequest\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":"lore-server/src/grpc/revision/v1/service.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fafddb02080475011fe4ac5b3370c3a80f974d488dec4ae4e5ce151e410e090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-server/src/grpc/revision/v1/service.rs:272-283 | lore-server/src/grpc/revision_service.rs:347-358 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/revision/v1/service.rs\u0060 and \u0060lore-server/src/grpc/revision_service.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 84 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 \u0060lore-server/src/grpc/revision/v1/service.rs:272\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 \u0060request\u0060 to \u0060Request\u003CBranchMetadataSetRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::BranchMetadataSetRequest\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":"lore-server/src/grpc/revision/v1/service.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f506196f11c6197db1c8aadb02fcdab151da1115b98d6b449b2d7d6fa336da77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-server/src/grpc/revision/v1/service.rs:288-301 | lore-server/src/grpc/revision_service.rs:379-392 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/revision/v1/service.rs\u0060 and \u0060lore-server/src/grpc/revision_service.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 84 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 \u0060lore-server/src/grpc/revision/v1/service.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060Request\u003CRevisionListRequest\u003E\u0060 in one and \u0060Request\u003Clore_proto::RevisionListRequest\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":"lore-server/src/grpc/revision/v1/service.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31edf030e9edb4bfbe83e10b21f61cb0f4f89eeaa1c0183356b717cf3599827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:981-987 | lore-storage/src/local/mutable_store.rs:405-411 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb74b9171711c0e7375b6a7991ec8136523aa8d65d53b844d07ab56e57d06a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:1608-1612 | lore-storage/src/local/mutable_store.rs:304-308 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4e7bc802882cbf382053c958b34c6fac734a383da7925e3fd0d8e08f1b43fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:5281-5288 | lore-storage/src/local/mutable_store.rs:1945-1952 \u2014 before extracting anything, compare \u0060lore-storage/src/local/immutable_store.rs\u0060 and \u0060lore-storage/src/local/mutable_store.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 353 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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":5281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25393918f083df97a704b4435d48b971dd43ea1308f02fc0f77d37f04884bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore/src/file.rs:411-419 | lore/src/revision.rs:510-518 \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 \u0060lore/src/file.rs:411\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 \u0060args\u0060 to \u0060LoreFileMetadataSetArgs\u0060 in one and \u0060LoreRevisionMetadataSetArgs\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":"lore/src/file.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28bce93ac93ae4ce0e3fc7bc9be2bce0180b9c82aa6f2df9944b3dc5f33992f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore/src/revision_tree/handle.rs:294-301 | lore/src/storage/handle.rs:97-104 \u2014 \u0060lore/src/revision_tree/handle.rs\u0060 and \u0060lore/src/storage/handle.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 33 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/revision_tree/handle.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e88ca33b42fa6e9c15a1d3e6bbcceadada5f3379ae646d38e9a10af8bab3576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-client/src/cli/commands/branch.rs:1842-1848 | lore-client/src/cli/commands/repository.rs:1761-1767 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/repository.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 125 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 \u0060lore-client/src/cli/commands/branch.rs:1842\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 \u0060cmd\u0060 to \u0060\u0026BranchMetadataCommands\u0060 in one and \u0060\u0026RepositoryMetadataCommands\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"a700be1e18d9232bc2e01638013fd57235a89285176e062de835a4cfece9e669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): lore-server/src/grpc/forwarded_repository/v1/repository_create.rs:28-41 | lore-server/src/grpc/forwarded_revision/v1/branch_create.rs:28-41 | lore-server/src/grpc/forwarded_revision/v1/branch_delete.rs:28-41 \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 \u0060lore-server/src/grpc/forwarded_repository/v1/repository_create.rs:28\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":"lore-server/src/grpc/forwarded_repository/v1/repository_create.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15a1bd930651a4c60d43dee4b01f5f346bd465099b0246794fa975c31b9e88f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): lore-server/src/grpc/lock_service.rs:117-129 | lore-server/src/grpc/repository/v1/repository_create.rs:105-117 | lore-server/src/grpc/revision/v1/branch_create.rs:112-124 | lore-server/src/grpc/revision/v1/branch_delete.rs:86-98 | lore-server/src/grpc/revision/v1/branch_list.rs:105-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/lock_service.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060RepositoryCreateRequest\u0060 in one and \u0060BranchCreateRequest\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":"lore-server/src/grpc/lock_service.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c648cf17d4e9ca8407d3094c4146d40c38d49b23d814687bef4db52e9e061e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-server/src/grpc/mod.rs:607-612 | lore-server/src/http/mod.rs:27-32 \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":"lore-server/src/grpc/mod.rs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"612db63b1e2270479758706cba9d8d777b6ff38beb75cb6e3277b80c3741f680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-server/src/protocol/replication_store/copy.rs:102-109 | lore-server/src/protocol/replication_store/obliterate.rs:98-106 \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 \u0060lore-server/src/protocol/replication_store/copy.rs:102\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":"lore-server/src/protocol/replication_store/copy.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1b9326fcfdbf7e98d7281dc2749d0155c44ee4b6e6c7b33069c83fa250ffe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): lore-server/src/protocol/replication_store/get.rs:114-123 | lore-server/src/protocol/replication_store/get_metadata.rs:99-108 | lore-server/src/protocol/replication_store/query.rs:139-148 \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 \u0060lore-server/src/protocol/replication_store/get.rs:114\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":"lore-server/src/protocol/replication_store/get.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f47783eddaed716c79c84262647b6250aee4fa48407b52660fbe36f69545be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-server/src/quic/storage_service.rs:579-592 | lore-server/src/quic/storage_service_v4.rs:531-544 \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":"lore-server/src/quic/storage_service.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33d66d837b051440325019dd7d1e6ae2399d1e26b0fefb57c0fc992f3d16b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-transport/src/auth/mod.rs:347-354 | lore-transport/src/connection.rs:102-109 \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":"lore-transport/src/auth/mod.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bfcc3a5b115bdbf2cf31ac96568dff4fb6b8e3332e86ac1202936175f56b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lore/src/revision_tree/close.rs:155-161 | lore/src/revision_tree/metadata_clear.rs:101-107 | lore/src/revision_tree/metadata_get.rs:121-127 | lore/src/revision_tree/metadata_set.rs:118-124 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060result\u0060 to \u0060\u0026Result\u003C(), MetadataClearError\u003E\u0060 in one and \u0060\u0026Result\u003C(), MetadataGetError\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":"lore/src/revision_tree/close.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e0ff61a8f9fba90d99826f9ee22eeec3188add071dfc7b39092fea27995496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore/src/revision_tree/delete.rs:131-138 | lore/src/revision_tree/modify.rs:132-139 \u2014 before extracting anything, compare \u0060lore/src/revision_tree/delete.rs\u0060 and \u0060lore/src/revision_tree/modify.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060result\u0060 to \u0060\u0026Result\u003C(), DeleteError\u003E\u0060 in one and \u0060\u0026Result\u003C(), ModifyError\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":"lore/src/revision_tree/delete.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed704f8dab24e2289432790aad9c48e877dd78d29084121299905d209dcdd286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore/src/revision_tree/handle.rs:260-269 | lore/src/storage/handle.rs:43-53 \u2014 \u0060lore/src/revision_tree/handle.rs\u0060 and \u0060lore/src/storage/handle.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 33 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/revision_tree/handle.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cf768905ba0894862d8ff3ba1655b509c5b8f0abf33cbbf0ee6b8e818a3f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore/src/revision_tree/handle.rs:274-279 | lore/src/storage/handle.rs:58-63 \u2014 \u0060lore/src/revision_tree/handle.rs\u0060 and \u0060lore/src/storage/handle.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 33 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/revision_tree/handle.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"681df8875bbe475e0be0129d1d7b44631ccab4593f891f324af489c797e74a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore/src/revision_tree/handle.rs:324-331 | lore/src/storage/handle.rs:127-132 \u2014 \u0060lore/src/revision_tree/handle.rs\u0060 and \u0060lore/src/storage/handle.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 33 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/revision_tree/handle.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba225af6cf41c299dc6e2bc613055eca0f421b938e8e74c5b54b310e1b5d2d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lore/src/storage/get_metadata.rs:266-280 | lore/src/storage/upload.rs:203-217 \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 \u0060lore/src/storage/get_metadata.rs:266\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 \u0060item\u0060 to \u0060\u0026LoreStorageGetMetadataItem\u0060 in one and \u0060\u0026LoreStorageUploadItem\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":"lore/src/storage/get_metadata.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b650be2ff54aaee37a5efeedb0acb73e8f596cc27d9b6f3ad6486a32333e2d65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore/src/storage/mutable_list.rs:139-146 | lore/src/storage/mutable_store.rs:152-159 \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 \u0060lore/src/storage/mutable_list.rs:139\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 \u0060item\u0060 to \u0060\u0026LoreStorageMutableListItem\u0060 in one and \u0060\u0026LoreStorageMutableStoreItem\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":"lore/src/storage/mutable_list.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5ad9090fd3cc47e9d791fa47fe18dfdc47a63b157305bbc3688007d575820a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lore-revision/src/revision/cherry_pick.rs:190-209 | lore-revision/src/revision/revert.rs:185-205 \u2014 before extracting anything, compare \u0060lore-revision/src/revision/cherry_pick.rs\u0060 and \u0060lore-revision/src/revision/revert.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 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 \u0060lore-revision/src/revision/cherry_pick.rs:190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision/cherry_pick.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e92d3dcbee5c67cfaa753822efe220bcd98155ef3ca5fe3e479b51ca86a6e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lore-storage/src/local/mutable_store.rs:1766-1780 | lore-storage/src/local/mutable_store.rs:1850-1866 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/local/mutable_store.rs:1766\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 before the matched lines, \u0060lore-storage/src/local/mutable_store.rs:1762\u0060 calls \u0060is_empty\u0060 and \u0060lore-storage/src/local/mutable_store.rs:1846\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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"837035cfb839e09c5ef9ec43f76a3267d3d9f420ba7cb8daf2bbb9211360fe83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lore-storage/src/local/immutable_store.rs:6923-6937 | lore-storage/src/local/immutable_store.rs:7001-7017 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/local/immutable_store.rs:6923\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 before the matched lines, \u0060lore-storage/src/local/immutable_store.rs:6919\u0060 calls \u0060is_empty\u0060 and \u0060lore-storage/src/local/immutable_store.rs:6997\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6923}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66bca443cfae2de2a3119e34d53b18f791e8a082a4bc617c6e1a95f981cd4e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lore-server/src/plugins/registry.rs:153-168 | lore-server/src/plugins/registry.rs:199-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/plugins/registry.rs:153\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":"lore-server/src/plugins/registry.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46bcfad5f3c082d1ec3e152d6020015b00710b21df5a7045ca98daf542769c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lore-server/src/plugins/registry.rs:632-647 | lore-server/src/plugins/registry.rs:670-685 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/plugins/registry.rs:632\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":"lore-server/src/plugins/registry.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b38f2fbc3315604bb27999823e491c8fd0d5e599137ad720c817805492dcfeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lore-server/src/plugins/registry.rs:398-413 | lore-server/src/plugins/registry.rs:444-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 \u0060lore-server/src/plugins/registry.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/plugins/registry.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"431f73292179daf31ac72c027dcaa3f5f4c2b9a1f309fcad36d6622b6fdaa400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lore-server/src/plugins/registry.rs:521-536 | lore-server/src/plugins/registry.rs:567-582 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/plugins/registry.rs:521\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":"lore-server/src/plugins/registry.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29cf99126b2e6a71dd8e5d7455fcfbc4746937ae3c67edc595826a51e0cfee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lore-server/src/store/replica.rs:248-263 | lore-server/src/store/replicated_store.rs:290-305 \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 \u0060lore-server/src/store/replica.rs:248\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":"lore-server/src/store/replica.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25cb843efb5d587a8d57a801e38a3ca52851acdc957d1e8de7a79cd0a7489da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lore-server/src/plugins/registry.rs:275-290 | lore-server/src/plugins/registry.rs:322-337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/plugins/registry.rs:275\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":"lore-server/src/plugins/registry.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf766717fec0c32f24cd28d5022fde9b1ea001b3a8387e63ef03854abb83dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-server/src/grpc/repository/v1/repository_get.rs:113-127 | lore-server/src/grpc/revision/v1/branch_get.rs:79-92 \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 \u0060lore-server/src/grpc/repository/v1/repository_get.rs:113\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 \u0060req\u0060 to \u0060RepositoryGetRequest\u0060 in one and \u0060BranchGetRequest\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":"lore-server/src/grpc/repository/v1/repository_get.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9590388e8764ac740a827cdd1cbd760da97e815ea8bc9e8b34f73d940e8c7a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-revision/src/file/dirty.rs:1865-1879 | lore-revision/src/file/dirty.rs:1903-1914 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/file/dirty.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/dirty.rs"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"5016b9f69f9e20ce41f114b7d8234907119ce8a876d98d540a6da48e7ab068d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lore-storage/src/conformance.rs:458-472 | lore-storage/src/conformance.rs:865-879 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/conformance.rs:458\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":"lore-storage/src/conformance.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c83ed5ee22166c1d5042a3869498306e86dd8cd18c129f964d67f433af235c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): lore-revision/src/branch.rs:4972-4986 | lore-revision/src/branch.rs:5018-5032 | lore-revision/src/branch.rs:5056-5070 \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 \u0060lore-revision/src/branch.rs:4972\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":"lore-revision/src/branch.rs"},"region":{"startLine":4972}}}],"partialFingerprints":{"codehealthFindingId/v1":"e393d1b28b944803daebfae28ba3b4b7321a389da4f44052b175c1b819093b94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-revision/src/state.rs:11512-11525 | lore-revision/src/state.rs:11528-11541 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:11512\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":"lore-revision/src/state.rs"},"region":{"startLine":11512}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae5e4e6e66f27fe5b209a54d45fa517b3be20ae40b14338d588a53d55d94097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-server/src/grpc/revision/v1/revision_list.rs:177-189 | lore-server/src/grpc/thinclient/v1/revision_info.rs:56-69 \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 \u0060lore-server/src/grpc/revision/v1/revision_list.rs:177\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":"lore-server/src/grpc/revision/v1/revision_list.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a6198c612e380b7f5cfbab7d7fbd6c2e68c9b683c775f9d5e128647f865723"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-storage/src/read.rs:1811-1824 | lore-storage/src/read.rs:1888-1901 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/read.rs:1811\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":"lore-storage/src/read.rs"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"b833fd94c0e8a6948e1cb5d0f2234258ba1cb732c8f9994cda81df125cb15c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): lore-revision/src/revision/cherry_pick.rs:255-268 | lore-revision/src/revision/revert.rs:242-255 \u2014 before extracting anything, compare \u0060lore-revision/src/revision/cherry_pick.rs\u0060 and \u0060lore-revision/src/revision/revert.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 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 \u0060lore-revision/src/revision/cherry_pick.rs:255\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":"lore-revision/src/revision/cherry_pick.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d90b14408632205c6971cf5dd2605b2bddcd6ec8755787eb448d27c233afbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-server/src/grpc/storage/v1/get.rs:79-91 | lore-server/src/grpc/storage/v1/get_metadata.rs:74-86 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/get.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/get_metadata.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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 \u0060lore-server/src/grpc/storage/v1/get.rs:79\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":"lore-server/src/grpc/storage/v1/get.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"caddf6a1b24e0d1cef7011aabe9e8dd7ca25cccd68cff3d5c547bf0b5f3a0385"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lore-client/src/cli/commands/auth.rs:160-172 | lore-client/src/cli/commands/auth.rs:393-401 | lore-client/src/cli/commands/auth.rs:416-428 \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 \u0060lore-client/src/cli/commands/auth.rs:160\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":"lore-client/src/cli/commands/auth.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed77a9e88a274adfa9770ab068399dd38320885e6476cefa20e1179bd3fe14d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lore-storage/src/defragment.rs:769-779 | lore-storage/src/defragment.rs:1167-1177 | lore-storage/src/defragment.rs:1427-1439 \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 \u0060lore-storage/src/defragment.rs:769\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/defragment.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f68a210e7273e8341944887109aeef578e8cc1681421e8d9b7b921615fcf4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-revision/src/repository.rs:5010-5022 | lore-revision/src/repository/list.rs:27-39 \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 \u0060lore-revision/src/repository.rs:5010\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":"lore-revision/src/repository.rs"},"region":{"startLine":5010}}}],"partialFingerprints":{"codehealthFindingId/v1":"58479eb9ab1d8e656ca79d5796a34b9dfc036092a8d0ac000758624b7bb72c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): lore/src/dependency.rs:396-420 | lore/src/dependency.rs:434-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore/src/dependency.rs:396\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060lore/src/dependency.rs:422\u0060 calls \u0060is_empty\u0060 and \u0060lore/src/dependency.rs:460\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":"lore/src/dependency.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"123935e123ee1c9e40295069fb8989d04088d2826ea415376ddf2e5a88baf22e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): lore-server/src/grpc/storage/v1/copy.rs:216-228 | lore-server/src/grpc/storage/v1/get.rs:172-184 | lore-server/src/grpc/storage/v1/get_metadata.rs:171-183 | lore-server/src/grpc/storage/v1/put.rs:174-186 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/copy.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/get.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/storage/v1/copy.rs:216\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":"lore-server/src/grpc/storage/v1/copy.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05811026efbd29e2eb216021de3a195aa5b0c968c8112b44dfc3032a223d9aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/branch/merge.rs:549-556 | lore-revision/src/branch/merge.rs:579-591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/branch/merge.rs:549\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f1f3f774ae316130565135b3fd45a87f56377cfce6db707b8447cd0ce9c94c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-aws/src/store/immutable_store.rs:1157-1169 | lore-aws/src/store/immutable_store.rs:1355-1367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-aws/src/store/immutable_store.rs:1157\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":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"449744096cd9ced2a566a4e16920893c714dd7c0995160eff0232ca566f4378c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lore-revision/src/state.rs:2414-2426 | lore-revision/src/state.rs:2655-2667 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:2414\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":"lore-revision/src/state.rs"},"region":{"startLine":2414}}}],"partialFingerprints":{"codehealthFindingId/v1":"10371c93107362aadf8770e1e3b303de547157d71f0616c5d854e6949e41828e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore/src/storage/mutable_compare_and_swap.rs:144-156 | lore/src/storage/mutable_load.rs:137-147 \u2014 before extracting anything, compare \u0060lore/src/storage/mutable_compare_and_swap.rs\u0060 and \u0060lore/src/storage/mutable_load.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 \u0060lore/src/storage/mutable_compare_and_swap.rs:144\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":"lore/src/storage/mutable_compare_and_swap.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd5f15abd8f9408848576d6367dfaa0590a0c50fc2dedebcf2397c50902e5e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-revision/src/revision.rs:2403-2414 | lore-revision/src/revision.rs:2526-2538 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/revision.rs:2403\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":"lore-revision/src/revision.rs"},"region":{"startLine":2403}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76e871bf7788669b0b1dd5cf4dc8690c88b585dfd2fb8f01c4e0200e51975e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-server/src/grpc/handlers/branch_metadata_get.rs:34-45 | lore-server/src/grpc/revision/v1/branch_metadata_get.rs:42-53 \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":"lore-server/src/grpc/handlers/branch_metadata_get.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18c024129fd249173d0b14e73d2c36c7ecec4708241585284d1ee99faf7e34d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-revision/src/branch/merge.rs:2246-2257 | lore-revision/src/branch/merge.rs:2390-2401 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/branch/merge.rs:2246\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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":2246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9603e1d6813fa2129eb45e7892f0ac3488f1cf024852b6112f7623c619797d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): lore-client/src/cli/commands/branch.rs:1194-1205 | lore-client/src/cli/commands/revision.rs:1724-1735 \u2014 before extracting anything, compare \u0060lore-client/src/cli/commands/branch.rs\u0060 and \u0060lore-client/src/cli/commands/revision.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060lore-client/src/cli/commands/branch.rs:1194\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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"804654d4c63542e13f674b54b09bc18043166129cd32bb31d4597d6651b15441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-revision/src/file/diff.rs:165-175 | lore-revision/src/file/diff.rs:191-201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/file/diff.rs:165\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":"lore-revision/src/file/diff.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"79894bee8fbdf47842fdefbbb9a17446a54c8ff35fce4264444c85bbbfab5fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): lore-server/src/quic/storage_service.rs:76-86 | lore-server/src/quic/storage_service.rs:127-137 | lore-server/src/quic/storage_service.rs:139-149 | lore-server/src/quic/storage_service.rs:164-174 | lore-server/src/quic/storage_service.rs:176-186 | lore-server/src/quic/storage_service.rs:188-198 | lore-server/src/quic/storage_service.rs:228-238 | lore-server/src/quic/storage_service.rs:240-250 \u2014 all 8 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 \u0060lore-server/src/quic/storage_service.rs:76\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":"lore-server/src/quic/storage_service.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0797c0ded195045ba39411b6e8a8169334bc31813dae90069ee6089995ecbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-transport/src/grpc/storage_client.rs:588-598 | lore-transport/src/grpc/storage_client.rs:641-651 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-transport/src/grpc/storage_client.rs:588\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":"lore-transport/src/grpc/storage_client.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6ce13daee35c6a58a6ac5ccbb64455b1cff7330c8a1376884e3db14161ea2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-client/src/cli/commands/layer.rs:120-130 | lore-client/src/cli/commands/link.rs:152-159 \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 \u0060lore-client/src/cli/commands/layer.rs:120\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":"lore-client/src/cli/commands/layer.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a9f0c1cc9aeabc7407dd6c05b105127bfb9f0645bd016485aeba786959cd46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-transport/src/auth/oidc/exchange.rs:167-177 | lore-transport/src/auth/oidc/refresh.rs:51-59 \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":"lore-transport/src/auth/oidc/exchange.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f9df0bc823b35938e2d91fe1204942d4f74bbf9d408486f8dbacd89454e80f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lore-server/src/server.rs:640-650 | lore-server/src/server.rs:760-770 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/server.rs:640\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":"lore-server/src/server.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff9a4c91a0bbd05d31a6a540b05da403f941414fdcd3a0098b2ba9a6e7ef85c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lore-storage/src/local/immutable_store.rs:5422-5430 | lore-storage/src/local/immutable_store.rs:5470-5479 | lore-storage/src/local/immutable_store.rs:5531-5540 \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 \u0060lore-storage/src/local/immutable_store.rs:5422\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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":5422}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78362707a322e89395d5c1aea8c55fcb0026f6d2d178a7e7af870192c14c476"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-storage/src/mutable_conformance.rs:1158-1167 | lore-storage/src/mutable_conformance.rs:1207-1216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-storage/src/mutable_conformance.rs:1158\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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76664d5786b04e9b0f0b46c47b80c315c0a326d3620bc2a26a654915bf7642f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-revision/src/link/list.rs:61-70 | lore-revision/src/link/list.rs:184-192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/link/list.rs:61\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":"lore-revision/src/link/list.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a898992f4b53932f1bb9efa9b038d993cc8995030dec231718478e36512ee0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-revision/src/file/reset.rs:3167-3175 | lore-revision/src/file/reset.rs:3586-3595 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/file/reset.rs:3167\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":"lore-revision/src/file/reset.rs"},"region":{"startLine":3167}}}],"partialFingerprints":{"codehealthFindingId/v1":"063fb4d8586e62381a4d108cc6e343d916d1f7f3a90af08e5cc242143b114f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-storage/src/mutable_conformance.rs:479-487 | lore-storage/src/mutable_conformance.rs:1144-1153 \u2014 both copies are in the same file, so extract the block 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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f60bb313fa2cf6fd1872294825ccc68c0bc1dea1785bc060183de9453c1565b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore/src/revision_tree/call.rs:125-134 | lore/src/storage/call.rs:95-104 \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 \u0060lore/src/revision_tree/call.rs:125\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":"lore/src/revision_tree/call.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa8ce743e89737ea84fcd76654b9e0e399e7fe953a1ef260a0d04e47016a09a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lore-revision/src/branch/diff.rs:94-110 | lore-revision/src/branch/diff.rs:113-129 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/branch/diff.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"359b9a0ecfe3cbd0f4a579797465f59eb590186530866feffc44c21ddad64781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-revision/src/state.rs:3519-3527 | lore-revision/src/state.rs:3610-3619 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:3519\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":"lore-revision/src/state.rs"},"region":{"startLine":3519}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5837a7ac88ac3f2f4303ec19adb89bf5c78f80449dc796162f9b92b020f368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): lore-server/src/quic/replication_store_service/server.rs:311-320 | lore-server/src/quic/replication_store_service/server.rs:322-331 | lore-server/src/quic/replication_store_service/server.rs:357-366 | lore-server/src/quic/replication_store_service/server.rs:392-401 \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 \u0060lore-server/src/quic/replication_store_service/server.rs:311\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":"lore-server/src/quic/replication_store_service/server.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0851ff4f09f2a2da39086efbda40a47038e587611f8bb7f83d7d00e571e14a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-server/src/telemetry/tokio_bridge.rs:143-152 | lore-server/src/telemetry/tokio_bridge.rs:289-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 \u0060lore-server/src/telemetry/tokio_bridge.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060metrics\u0060 to \u0060RuntimeMetrics\u0060 in one and \u0060TaskMetrics\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":"lore-server/src/telemetry/tokio_bridge.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cba42c043e545c03e75b1e4a8284834cce1d0f001bccfbfbf90f6af1874a10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-server/src/grpc/revision/v1/revision_list.rs:408-416 | lore-server/src/grpc/revision/v1/revision_list.rs:426-435 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/revision/v1/revision_list.rs:408\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":"lore-server/src/grpc/revision/v1/revision_list.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa911fdc75ae0bdbd9540d467f282c29615faa1c3b5ad07657ce346458c7e9df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-storage/src/local/fan_out.rs:600-609 | lore-storage/src/local/immutable_store/info.rs:72-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/fan_out.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2faf0c160e1930c377c24c27dfc7e092f6cb191e69ce574d758dcc262e78e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lore-server/src/auth/jwk.rs:335-344 | lore-server/src/auth/jwk.rs:636-645 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/auth/jwk.rs:335\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd657609efbb0c8c2c78c6a969db14ac7299380e149973a45809e116e2bc108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): lore-storage/src/mutable_conformance.rs:416-424 | lore-storage/src/mutable_conformance.rs:534-542 | lore-storage/src/mutable_conformance.rs:555-563 \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":"lore-storage/src/mutable_conformance.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"886606c5c722074e34f865cdc37daabd3e91b9319a46f78d852dc6d7bf5f47dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-revision/src/branch.rs:685-693 | lore-revision/src/branch.rs:704-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b9f84c3512613079db6ff1c010bbdf54ab7cb5a98be5659299bd3de20336bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-revision/src/branch/reset.rs:154-162 | lore-revision/src/file/reset.rs:906-914 \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 \u0060lore-revision/src/branch/reset.rs:154\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":"lore-revision/src/branch/reset.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a259fd9407673aa17db6708e05780a127c53b548ee5d498da8f717ab89de016a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/stage.rs:1694-1702 | lore-revision/src/stage.rs:4168-4175 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/stage.rs"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc251218d96c944393ec16671a470967f732320e3cab5685fd3e6db7fb93953f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/state.rs:2383-2389 | lore-revision/src/state.rs:2643-2651 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state.rs:2383\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":"lore-revision/src/state.rs"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"f134af4722d494f375b3e748470ad89f8c0cabe3dc3ac4934ef9d5021c139bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-server/src/grpc/handlers/branch_diff.rs:115-123 | lore-server/src/grpc/handlers/branch_diff.rs:130-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/handlers/branch_diff.rs:115\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":"lore-server/src/grpc/handlers/branch_diff.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fb9d45432a8eb39efafa748e325b2b9e78bea429ff5989a88bd2828a535487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-client/src/cli/commands/link.rs:300-308 | lore-client/src/cli/commands/link.rs:359-367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-client/src/cli/commands/link.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-client/src/cli/commands/link.rs:356\u0060 calls \u0060print_link_access_remediation\u0060 and \u0060lore-client/src/cli/commands/link.rs:297\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":"lore-client/src/cli/commands/link.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da942cea4c940392cd357c138cf2c484397f16a94002c8920086de1fad922ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lore-aws/src/store/immutable_store.rs:1471-1479 | lore-aws/src/store/immutable_store.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 \u0060lore-aws/src/store/immutable_store.rs:1471\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":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a810e0b4ed3b86b59e0dc2f771a2e40a8e08afb0eb13fb5cb18de60cbf0dcd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore/src/revision.rs:1121-1128 | lore/src/revision.rs:1411-1418 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore/src/revision.rs:1121\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 \u0060args\u0060 to \u0060LoreRevisionCherryPickArgs\u0060 in one and \u0060LoreRevisionRevertArgs\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":"lore/src/revision.rs"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0f63b7ca16ada8b25dfa4f099c95e3296f32bb7c1a73ea045695d98e319bcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/revision/sync.rs:508-515 | lore-revision/src/revision/sync.rs:1125-1132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/revision/sync.rs:508\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":"lore-revision/src/revision/sync.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"a458e7affcd03d51158bb8dca9f9fe29023f23b48cf4943a15f0ac5f894cc117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-revision/src/commit.rs:927-934 | lore-revision/src/commit.rs:5008-5015 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/commit.rs:927\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"037670144d83c9e80c253f4af8aeaf13df9383e6889d429e88c46a7839511276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lore/src/storage/put.rs:136-142 | lore/src/storage/put_file.rs:135-141 | lore/src/storage/put_file_resolved.rs:147-153 | lore/src/storage/put_resolved.rs:165-171 \u2014 before extracting anything, compare \u0060lore/src/storage/put_file.rs\u0060 and \u0060lore/src/storage/put_file_resolved.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060lore/src/storage/put.rs:136\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":"lore/src/storage/put.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bbdf6de451bf58fc876b19093367adbe85edb0fffd775c40d0dbe6a855c9ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-client/src/cli/commands/repository.rs:719-725 | lore-client/src/cli/commands/repository.rs:784-790 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-client/src/cli/commands/repository.rs:719\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, \u0060lore-client/src/cli/commands/repository.rs:727\u0060 calls \u0060merged_as_string_short\u0060 and \u0060lore-client/src/cli/commands/repository.rs:792\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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb042f96605e38029001e1b002d62d6e0933ff946ecb2ecb8c8a92251914252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): lore-revision/src/file/stage.rs:1414-1420 | lore-revision/src/file/stage.rs:1672-1678 | lore-revision/src/stage.rs:4942-4948 | lore-revision/src/stage.rs:5398-5404 \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 \u0060lore-revision/src/file/stage.rs:1414\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":"lore-revision/src/file/stage.rs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5a387a540ee0337304499a98d434e82eee185de48593a2aaa401239c0cf214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lore-revision/src/commit.rs:762-768 | lore-revision/src/commit.rs:1317-1323 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/commit.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"671eea3a1a9db62a81eca096cd2743c6bfcf2fea678f8abd919555ac42ad8156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): lore-aws/src/store/immutable_store.rs:737-743 | lore-aws/src/store/immutable_store.rs:1171-1177 | lore-aws/src/store/immutable_store.rs:1369-1375 \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 \u0060lore-aws/src/store/immutable_store.rs:737\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":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c53926822fc81a3a5b36411bf33d1e6129e54383f155dd586dd6e6dc26d913e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-server/src/grpc/revision/v1/branch_get.rs:118-123 | lore-server/src/grpc/revision/v1/branch_get.rs:157-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/revision/v1/branch_get.rs:118\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":"lore-server/src/grpc/revision/v1/branch_get.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"70753982c3d63cf5f69964e01283fa53af23a6fed0eaeb6ae7a660cb1b3725cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-server/src/authnz/auth.rs:38-43 | lore-server/src/authnz/rebac.rs:50-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/authnz/auth.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":"lore-server/src/authnz/auth.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ad6719888e1281a29aff63aef6522dadb39eca16a2139a716f5ae0757ce6f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lore-server/src/grpc/storage/v1/copy.rs:166-173 | lore-server/src/grpc/storage/v1/put.rs:133-140 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/copy.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/put.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-server/src/grpc/storage/v1/copy.rs:166\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":"lore-server/src/grpc/storage/v1/copy.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ed4a315f28477202178d6d87153470bec636334520c679c397e7960d6ab67c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): lore/src/storage/mutable_compare_and_swap.rs:104-108 | lore/src/storage/mutable_load.rs:98-102 | lore/src/storage/mutable_store.rs:99-103 \u2014 before extracting anything, compare \u0060lore/src/storage/mutable_compare_and_swap.rs\u0060 and \u0060lore/src/storage/mutable_load.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 \u0060lore/src/storage/mutable_compare_and_swap.rs:104\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":"lore/src/storage/mutable_compare_and_swap.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4112e814bb4180bf72151b69d88d66c825627b5aacc4d13f7aba5c40362d625f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): lore-server/src/grpc/storage/v1/get.rs:126-133 | lore-server/src/grpc/storage/v1/get_metadata.rs:125-132 | lore-server/src/grpc/storage/v1/get_resolved.rs:150-157 | lore-server/src/grpc/storage/v1/put_resolved.rs:191-198 \u2014 before extracting anything, compare \u0060lore-server/src/grpc/storage/v1/get.rs\u0060 and \u0060lore-server/src/grpc/storage/v1/get_metadata.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 108 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 \u0060lore-server/src/grpc/storage/v1/get.rs:126\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":"lore-server/src/grpc/storage/v1/get.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7472bf910c4010f9bc0640738b72b3128cf4e3eb3f3597fa5cab9ffc555f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-client/src/cli/commands/file.rs:2022-2026 | lore-client/src/cli/commands/file.rs:2074-2078 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060args\u0060 to \u0060\u0026FileDependencyAddArgs\u0060 in one and \u0060\u0026FileDependencyRemoveArgs\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":"lore-client/src/cli/commands/file.rs"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fdba0344418f8cd6c62bb94dd8df7e66d6d28b528ad7a28562308fbe1d131e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-revision/src/commit.rs:3507-3511 | lore-revision/src/commit.rs:4039-4043 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/commit.rs:3507\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":"lore-revision/src/commit.rs"},"region":{"startLine":3507}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74fe7365d8690ebec8e23628fb507a784aa04299cca408bbf59750b5e3ac61b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-revision/src/file/dirty.rs:2600-2604 | lore-revision/src/file/dirty.rs:3013-3017 \u2014 both copies are in the same file, so extract the block 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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":2600}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4268a039396c0efc3de633c89a02488cf294dcc7f455f86ad5b08164d0bfcde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-revision/src/lock/file/acquire.rs:144-148 | lore-revision/src/lock/file/status.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/lock/file/acquire.rs:144\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 \u0060options\u0060 to \u0060AcquireOptions\u0060 in one and \u0060StatusOptions\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":"lore-revision/src/lock/file/acquire.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0a5c900ca7fb1761d2f264cb2691d3e8d49dcb975bcf67991c353936e97deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lore-revision/src/state/diff.rs:2311-2316 | lore-revision/src/state/diff.rs:2473-2478 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lore-revision/src/state/diff.rs:2311\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060lore-revision/src/state/diff.rs:2472\u0060 calls \u0060fetch_add\u0060 and \u0060lore-revision/src/state/diff.rs:2310\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":"lore-revision/src/state/diff.rs"},"region":{"startLine":2311}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f6613f13f2a934041a7242720bcf2dc2078bbbe2f0172325785b4f7d8708bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lore-storage/src/local/fan_out.rs:593-597 | lore-storage/src/local/immutable_store/info.rs:65-69 \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":"lore-storage/src/local/fan_out.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47aa5ad0d0a570b7b2e86fd2e65186a167fb47d78d587a2dd34de6968da29a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): scripts/state-stress/stress.py:316-350 | scripts/store-stress/stress.py:513-560 \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":"scripts/state-stress/stress.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e142f92307bf7138e327a58558d442a59836f8e9ca2af21c0df69fd2c250615"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): scripts/state-stress/stress.py:188-221 | scripts/store-stress/stress.py:469-509 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one 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/state-stress/stress.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6731e65625b1412d4fdf4730dc1a814d18fb555d20a77a8a10ba07f2bddcc487"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): contrib/bench/bench/remote.py:65-71 | contrib/bench/bench/remote.py:74-80 \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":"contrib/bench/bench/remote.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2416216737da9a54cf2b52b9506322e9093d69ef3007b7b1b7919ecccd02af4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lore-storage/src/test_util.rs:466-475 | lore-storage/src/test_util.rs:544-553 \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":"lore-storage/src/test_util.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"06726f2b7f7f15b2e1561c1e8eb1ee5d4b2e33a65605349f2622d0d0b657b1b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): scripts/store-stress/stress.py:1335-1341 | scripts/store-stress/stress.py:1346-1353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/store-stress/stress.py"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddc7f604e118879a10add6f7145a0a0a543900e26b27f1188af4381a37e5e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): contrib/bench/bench/hostops.py:513-519 | contrib/bench/bench/hostops.py:534-540 \u2014 both copies are in the same file, so extract the block 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":"contrib/bench/bench/hostops.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"231085b0866bfa5e7625f746d8841e8deb2d37bbb90914dae93eb5d6a51fc761"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): contrib/bench/bench/remote.py:65-70 | contrib/bench/bench/remote.py:74-79 \u2014 both copies are in the same file, so extract the block 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":"contrib/bench/bench/remote.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9436bf4cece3172eb84d96e84db43023ffa9313b4b1daf3edc98ad70c04d3df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/state-stress/stress.py:326-331 | scripts/store-stress/stress.py:523-528 \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":"scripts/state-stress/stress.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"333f1c26f3221a73c91c3aecbea4b14094ad7dfc41cbe4ad0e1eea3278988ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/state-stress/stress.py:194-201 | scripts/store-stress/stress.py:476-483 \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":"scripts/state-stress/stress.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7252d76f05ba9d01551f8fa4bd45fe2ac862e7472e22abdecd8ca8c0c1261abb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/state-stress/stress.py:336-341 | scripts/store-stress/stress.py:539-544 \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":"scripts/state-stress/stress.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcff42f72aa6b02da5c21d9f70fa1be617926ae92a79b1ad02502632b20fdfa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/state-stress/stress.py:361-365 | scripts/store-stress/stress.py:1432-1436 \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":"scripts/state-stress/stress.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79413138daa9fcde2df54b0584d17a4668be2d79546c094432cba7e9491d057"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/store-stress/stress.py:981-985 | scripts/store-stress/stress.py:1053-1057 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/store-stress/stress.py"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32ceb2f7424879687561e8f6d79d049c82721862fee3c36d9e2b90e1b9f6221"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: lore-base: lore-base: abstractness 0.06, instability 0.18, distance 0.77 \u2014 zone of pain \u2014 concrete and depended on by 14 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"889ce7d7ffe33f4ec66dbfb2ef8d50fc9997d5c37da47a75f8717f3974b4f18d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: lore-io: lore-io: abstractness 0.08, instability 0.20, distance 0.72 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"638e86e0e5dee8515cdea537549a5d024d34601176185a89a50f64ced5c5a0e9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StorageClient (LCOM4 15): StorageClient\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":"lore-transport/src/quic/storage_service/client.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42d15883d12caaed20688887613d2dd3f07af0d5b6c0b174c604d48746e9f80"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReplicationStoreClient (LCOM4 9): ReplicationStoreClient\u0027s methods fall into 9 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 9 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":"lore-server/src/quic/replication_store_service/client.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab8422b2ffb8f1ab12e3b49762b59256ee47a7141e85685bbeebc0a7b0099a4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TestOperation (LCOM4 7): TestOperation\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":"lore-revision/src/fs/filesystem_provider.rs"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c6a0455825106f9c8be1f373a94e833cd35ae1cfe383a0ed22d7a1e67f0eab"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AwsMutableStore (LCOM4 5): AwsMutableStore\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":"lore-aws/src/store/mutable_store.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fbdb73386ec618a63bfe166b162c4e259aed539400ae26d900fb53a5bcc14e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WriteOptions (LCOM4 5): WriteOptions\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":"lore-storage/src/options.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0ed2ab5ba36fefa2f694a0c067f07d88e39065f48a76b6a33189d445490306"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExternalAllocator (LCOM4 4): ExternalAllocator\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":"lore-base/src/allocator/mod.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c546f7e3ab28f30d602604f6bd60e42e28ff00eed31c79117ab8544b043773"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReplicationStoreService (LCOM4 4): ReplicationStoreService\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":"lore-server/src/quic/replication_store_service/server.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"731e05e01948ab3c0f0e82f141f570df3f42ad37b6acdcb5c6ceea6c5b6de486"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StorageService (LCOM4 4): StorageService\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":"lore-server/src/quic/storage_service.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffb7fdbe77c735d69a4bc5c569ad97d6d7f2cae7919a1a21ff1528e93beb764"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StorageServiceV4 (LCOM4 4): StorageServiceV4\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":"lore-server/src/quic/storage_service_v4.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3739a31a0e3946c616010f5a7a2f113366013fbe1543a2cae8a2f241394ba8e7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PathLock (LCOM4 4): PathLock\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":"lore-storage/src/local/store_lock.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6fbfbd59e1a49b84326acac036b78508662da895ab029e40aed241b0314cab"}},{"ruleId":"D13","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":"7fce388776b1428648853498f67b61917319e4b9cf3a0a58c03cc480fc3c4872"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"d2ffbe7a7d33281f94c2e68a379da5ae6481f2cde2d7b49e80b96ae4c8e9790c"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"41fd0fb3755fc8687962b8584c4f121fca9bbebaf352c556de68cd9f1bdbc98a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/stage.rs: lore-revision/src/stage.rs changed 79 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in lore_revision::stage::stage_node_from_metadata at line 3269. 5 of those changes were fix/bug commits, and the other 74 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/stage.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":"lore-revision/src/stage.rs"},"region":{"startLine":3269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8479b441b7d341d58b74fd6ccb5c381f2a5e13fc2792eab31ad7738b69d19bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/repository.rs: lore-revision/src/repository.rs changed 74 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in lore_revision::repository::open_repository at line 3092. 2 of those changes were fix/bug commits, and the other 72 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/repository.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":"lore-revision/src/repository.rs"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"26566a4b69588009a6569ba3bf588fbf06c8b25c8b30d6bb09074cb367a948e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/state.rs: lore-revision/src/state.rs changed 135 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in lore_revision::state::collect_fragments at line 11237. 6 of those changes were fix/bug commits, and the other 129 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/state.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":"lore-revision/src/state.rs"},"region":{"startLine":11237}}}],"partialFingerprints":{"codehealthFindingId/v1":"731d496c70529ecd0cd531a2074e8647dc9b52dcd7c83aceed40e4d0ae67faa2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/fs/realize.rs: lore-revision/src/fs/realize.rs changed 65 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in lore_revision::fs::realize::verify_filesystem at line 2284. 4 of those changes were fix/bug commits, and the other 61 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/fs/realize.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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d97ca4b07cf27aa7cbaddc3a4e5943726b5c115e0fd259b517ad57396029cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/revision/sync.rs: lore-revision/src/revision/sync.rs changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in lore_revision::revision::sync::sync at line 444. 1 of those changes was a fix/bug commit, and the other 44 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/revision/sync.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":"lore-revision/src/revision/sync.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2a61d10fc943bbbcd2a372d9da8f043b39d2065e8ca72200a150d3a9c68dad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-storage/src/local/immutable_store.rs: lore-storage/src/local/immutable_store.rs changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in lore_storage::local::immutable_store::flush_locked_group at line 6806. 1 of those changes was a fix/bug commit, 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-storage/src/local/immutable_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":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":6806}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24668585d089d3dc68b5ac6f8caeb9bc5f6deda6af746d2e8a8d26ef3270af0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/commit.rs: lore-revision/src/commit.rs changed 58 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in lore_revision::commit::commit_staged_with_layers at line 694. 1 of those changes was a fix/bug commit, and the other 57 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/commit.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":"lore-revision/src/commit.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f439e63ecd260375b15736a2c58f9b169547e1f9b6e356b58f59f837fc2e5c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/repository/status.rs: lore-revision/src/repository/status.rs changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in lore_revision::repository::status::status at line 1897. 4 of those changes were fix/bug commits, and the other 41 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/repository/status.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":"lore-revision/src/repository/status.rs"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe04fc9907a9d0691ce4624e85ef7d6b74bc5b715736c9ff3414c5bfe3e4d86"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-server/src/server.rs: lore-server/src/server.rs changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in lore_server::server::async_main at line 1965. 2 of those changes were fix/bug commits, and the other 44 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-server/src/server.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":"lore-server/src/server.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d654650de146e7b1f79ce17e5e257cf777b17a13ed2b6d9478225514ef7ea6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/repository/clone.rs: lore-revision/src/repository/clone.rs changed 55 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in lore_revision::repository::clone::process_block_item at line 669. 1 of those changes was a fix/bug commit, and the other 54 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/repository/clone.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":"lore-revision/src/repository/clone.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9805bf64f93d131bea2b0b85a57347360cc295adc0cd5527cb4d0a4246632c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/file/unstage.rs: lore-revision/src/file/unstage.rs changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in lore_revision::file::unstage::unstage_node at line 1023. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/file/unstage.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":"lore-revision/src/file/unstage.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e62addc78742af82c474224148122588f23d89f20f5649617532ae45e6521d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/file/reset.rs: lore-revision/src/file/reset.rs changed 48 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in lore_revision::file::reset::reset_walk_directory at line 2921. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/file/reset.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":"lore-revision/src/file/reset.rs"},"region":{"startLine":2921}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da53a08ff07769e9a9ad44f72886e5d700dcc54a666ef768c242a75f3fb682f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/immutable.rs: lore-revision/src/immutable.rs changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in lore_revision::immutable::cache_through at line 1103. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/immutable.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":"lore-revision/src/immutable.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6e445d709b86ae4fcad1b8cc83b6e5409d47bece5c763bcf11fdb3c529109f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-storage/src/local/mutable_store.rs: lore-storage/src/local/mutable_store.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in LocalMutableStore::flush_all at line 1621. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-storage/src/local/mutable_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":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"be43ce8d9aebb684165180f2d0361c8933197778a8d7c8d4b7212905f0ca41b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/state/diff.rs: lore-revision/src/state/diff.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in lore_revision::state::diff::add_change_for_paired_nodes at line 1344. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/state/diff.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":"lore-revision/src/state/diff.rs"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b46e625aa6e2dd5062cc2a0041d869ed95a05db617da22b9552ef8fe1ac053"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/revision.rs: lore-revision/src/revision.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in lore_revision::revision::diff3_with_source_cap at line 332. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/revision.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":"lore-revision/src/revision.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b37ce474fe858bab78192993d2fc58231752f4a7f157bf133b5eaefee8de82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/file/stage.rs: lore-revision/src/file/stage.rs changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in lore_revision::file::stage::stage at line 665. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/file/stage.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":"lore-revision/src/file/stage.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"f078183045032dd3f44cb95e5ecb32c686a998e0cceffcc3c392226366d70242"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-client/src/cli/commands/repository.rs: lore-client/src/cli/commands/repository.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in lore_client::cli::commands::repository::handle_repository_status 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-client/src/cli/commands/repository.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":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"6739e3148055a85334aafdf16794f15d6a7d9cc2bca0bf1d6b8fa2de79a84a5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/branch/merge.rs: lore-revision/src/branch/merge.rs changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in lore_revision::branch::merge::merge_into at line 5951. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/branch/merge.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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":5951}}}],"partialFingerprints":{"codehealthFindingId/v1":"92eecdaaf0cc571836606d651da9c2a82bbda42d87c796fb842aa6469f2ff38e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-storage/src/write.rs: lore-storage/src/write.rs changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in lore_storage::write::leader_body at line 1238. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-storage/src/write.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":"lore-storage/src/write.rs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c8327196210272a1a0ed3a1494b928d9f868086bd573d3faa4f0a4214a63a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/file/dirty.rs: lore-revision/src/file/dirty.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in lore_revision::file::dirty::dirty_path at line 1133. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/file/dirty.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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d484eb1c0e45d2eed96dec34b350fdf122fff1facbf8a83057386c665aa7471d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/branch.rs: lore-revision/src/branch.rs changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in lore_revision::branch::delete at line 3949. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/branch.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":"lore-revision/src/branch.rs"},"region":{"startLine":3949}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd44628787e280e92a18be441ae70048e28d15423716e15150ad048042a083b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/layer.rs: lore-revision/src/layer.rs changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in lore_revision::layer::find_revision_match at line 1165. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/layer.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":"lore-revision/src/layer.rs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7b5bcf36834c58292662fd3f8ef2909fe07b32a38c0c021834a250b7f43fd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-transport/src/connection.rs: lore-transport/src/connection.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in lore_transport::connection::connect_impl at line 577. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-transport/src/connection.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":"lore-transport/src/connection.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c162784221a63a08b6e03d7feb20b0bafab53cbd4533482cb38677648ad734"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/state/os_diff.rs: lore-revision/src/state/os_diff.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in lore_revision::state::os_diff::diff_filesystem_directory_walk at line 1680. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/state/os_diff.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":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3741298e0b4da5689900c705be5513339c4b2889152978b13606bd1da50afd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-client/src/cli/commands/branch.rs: lore-client/src/cli/commands/branch.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in lore_client::cli::commands::branch::handle_branch_push at line 859. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-client/src/cli/commands/branch.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":"lore-client/src/cli/commands/branch.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c584e02d25802acb27f1a095acb60b194b9f238d16294ccca74e6d963ae1e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/instance.rs: lore-revision/src/instance.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in lore_revision::instance::instance_delete_with at line 1901. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/instance.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":"lore-revision/src/instance.rs"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"9041a9b99f793a9cdfae3f5f9630bc7249fab4985baceaa87a33f013effcae75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-storage/src/read.rs: lore-storage/src/read.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in lore_storage::read::write_root_to_file at line 1760. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-storage/src/read.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":"lore-storage/src/read.rs"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf911812993c9d7b51df5ae9b6e756b5bc38e95b1fa1c12e25b99122a7376caf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/link/add.rs: lore-revision/src/link/add.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in lore_revision::link::add::add at line 45. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/link/add.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/link/add.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d571f8e750ad4f943498e998a74ebd794967d7fea496d8f4bd459f59368c4518"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/branch/push.rs: lore-revision/src/branch/push.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in lore_revision::branch::push::collect_unpushed_history at line 1521. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/branch/push.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":"lore-revision/src/branch/push.rs"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec1dd098bf6672060993915d7c5b8efe0fa26a67d32f04a93f4ac44f3f16a5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-client/src/cli/commands/revision.rs: lore-client/src/cli/commands/revision.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in lore_client::cli::commands::revision::handle_revision_info at line 676. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-client/src/cli/commands/revision.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":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"400cebf1baf3bec6ad898dac5a82631f5d5fc7d57abc4762726d202a5abc2517"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/repository/create.rs: lore-revision/src/repository/create.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in lore_revision::repository::create::create_with_metadata at line 156. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/repository/create.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":"lore-revision/src/repository/create.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad2ad11be082cc3378cd3b5559771413010bbbf82ebaafb67efa07662a996bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/file/diff.rs: lore-revision/src/file/diff.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in lore_revision::file::diff::emit_diff3_changes at line 474. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/file/diff.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":"lore-revision/src/file/diff.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1877c5db684efe2bfe87893cc1f4d13d13cb3b8f35e031c09592780578c1fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-server/src/quic/storage_service_v4.rs: lore-server/src/quic/storage_service_v4.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in StorageServiceV4::run_request_handler at line 198. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-server/src/quic/storage_service_v4.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":"lore-server/src/quic/storage_service_v4.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bd73b7e7d7bca94a035673fa54a80430a19ac7e5f7d5dd17d8656962e54d73"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/revision/restore.rs: lore-revision/src/revision/restore.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in lore_revision::revision::restore::restore at line 216. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/revision/restore.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":"lore-revision/src/revision/restore.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cad7f91cb7ede4268f422ec06fbfc26ed735cf111ed441d4bda1b1fdeada06"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-server/src/grpc/revision/v1/revision_list.rs: lore-server/src/grpc/revision/v1/revision_list.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in lore_server::grpc::revision::v1::revision_list::walk_revisions at line 551. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-server/src/grpc/revision/v1/revision_list.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":"lore-server/src/grpc/revision/v1/revision_list.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53276d310ce8d61204db796b3009d4f968eb2d89d8980897ed1f0ce18962248"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-server/src/grpc/thinclient/v1/revision_diff.rs: lore-server/src/grpc/thinclient/v1/revision_diff.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in lore_server::grpc::thinclient::v1::revision_diff::run_three_way at line 450. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-server/src/grpc/thinclient/v1/revision_diff.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":"lore-server/src/grpc/thinclient/v1/revision_diff.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd0f87eff39529d775452373a8ed0ea7feeffc28910a7ce811b38d9045d3609"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/projfs/serve.rs: lore-revision/src/projfs/serve.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in lore_revision::projfs::serve::get_directory_enumeration_async at line 496. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/projfs/serve.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":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"6454a911a9f54abac59ff924d6252e10b35f94ffc80806aecc5dd98dd1f67569"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/file/history.rs: lore-revision/src/file/history.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in lore_revision::file::history::find_start_revision at line 364. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/file/history.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":"lore-revision/src/file/history.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e6444e21cbb9a57356f4891fd4ad4cf0533c756f1da627626685084c8c57dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-storage/src/defragment.rs: lore-storage/src/defragment.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in lore_storage::defragment::walk_intermediate_level at line 490. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-storage/src/defragment.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":"lore-storage/src/defragment.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa1911fc370362ae6edb8a001c3b8850b0f873b635079e4a0f6623e42ddeaee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/store-stress/stress.py: scripts/store-stress/stress.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in stress.kill_loop at line 732. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- scripts/store-stress/stress.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/store-stress/stress.py"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1304f00f538c2eab32379eb7dcb53a309b16ec0dd9b0e522b845e3c8608fda6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore/src/revision_tree/move_node.rs: lore/src/revision_tree/move_node.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in lore::revision_tree::move_node::plan_entries at line 372. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore/src/revision_tree/move_node.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":"lore/src/revision_tree/move_node.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7749bebed01c0b1a4d065c58f2ccfdbf7abe4ca9916827e847d85ee9c5d6c9e7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/branch/create.rs: lore-revision/src/branch/create.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in lore_revision::branch::create::create at line 103. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/branch/create.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":"lore-revision/src/branch/create.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3e23d732cd4e58840ef8702c158b4fa7b19d9e9226dbc981bc6cbcce579a6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-aws/src/store/immutable_store/metadata_migrator.rs: lore-aws/src/store/immutable_store/metadata_migrator.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MetadataMigrator::process_fragment 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-aws/src/store/immutable_store/metadata_migrator.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":"lore-aws/src/store/immutable_store/metadata_migrator.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"94751e128c070833624e1cde2b89c1fdded3312f56dbec978ad405ca07849a23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore/src/revision_tree/add.rs: lore/src/revision_tree/add.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in lore::revision_tree::add::plan_entries 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore/src/revision_tree/add.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/revision_tree/add.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b05610b3112b477656d03e89dab041cde3ec99a75a8178ac73f7730ebc5168d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-client/src/cli/commands/auth.rs: lore-client/src/cli/commands/auth.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in lore_client::cli::commands::auth::handle_info_command at line 435. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-client/src/cli/commands/auth.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":"lore-client/src/cli/commands/auth.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6acac8a5baa36e8ca540418ffb31ff87ba0afbe297085f78c3be01505a54c6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/fs/hold.rs: lore-revision/src/fs/hold.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Directories::place at line 1457. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/fs/hold.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":"lore-revision/src/fs/hold.rs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"5728b3da2fb15f79b2500ff4cf896ca96334e6e311cdb9696e785dd2070bcbd3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/state/node/relocate.rs: lore-revision/src/state/node/relocate.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in State::node_move_staged at line 295. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/state/node/relocate.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":"lore-revision/src/state/node/relocate.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a480558c8b03c218c8731e58b4237df8f7b85deecb9d13c47806e0fe84fc98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/lock/file/release.rs: lore-revision/src/lock/file/release.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in lore_revision::lock::file::release::release at line 118. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/lock/file/release.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":"lore-revision/src/lock/file/release.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc64df452f0324807d584312c2b6070a0bfb4085323338123d43d382a4369e3e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/lock/file/acquire.rs: lore-revision/src/lock/file/acquire.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in lore_revision::lock::file::acquire::acquire at line 119. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/lock/file/acquire.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":"lore-revision/src/lock/file/acquire.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5125714bc2ea887ca499c5fb58e6296504465c3c6930a6d086bfb804881aee88"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/fs/fuse/swap.rs: lore-revision/src/fs/fuse/swap.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in lore_revision::fs::fuse::swap::swap_through at line 397. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/fs/fuse/swap.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":"lore-revision/src/fs/fuse/swap.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d0bfc636fb3837c2c748d7d05e73a05e349b0bda60909c2b55e37b432cf8ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-storage/src/local/store_lock.rs: lore-storage/src/local/store_lock.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in StoreLock::acquire_at_gate at line 659. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-storage/src/local/store_lock.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/store_lock.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ae5959a8265060ba6471243ebbd1577b4fc978377fa6a832d0f4fd0363b048"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/revision/info.rs: lore-revision/src/revision/info.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in lore_revision::revision::info::info at line 172. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/revision/info.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":"lore-revision/src/revision/info.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f1fc7ea13f622f3a0e026e1ed104ca1545497f0ca049aac6bbca23765b9bb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/branch/diff.rs: lore-revision/src/branch/diff.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in lore_revision::branch::diff::diff at line 16. 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 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/branch/diff.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":"lore-revision/src/branch/diff.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8801f5df94eb0d30543f5bd716392ed96958c233b26e11e33a71b2d1b3f28573"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lore-revision/src/repository/store.rs: lore-revision/src/repository/store.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in lore_revision::repository::store::immutable_query_address at line 67. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 16:38:11 \u002B00:00\u0027 --until=\u00272026-11-14 16:38:11 \u002B00:00\u0027 --full-history --no-merges -- lore-revision/src/repository/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":"lore-revision/src/repository/store.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8e52ed21caaad718f92bab2fc74739e7a68977038f7b1b7b0d6a51474f3d1a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 65 significant file(s) lose their only recent owner: lore-storage/src/local/immutable_store.rs, lore-revision/src/fs/hold.rs, lore-storage/src/defragment.rs, lore-revision/src/immutable.rs, contrib/bazel/crates/rbe-lore/src/lib.rs, lore-storage/src/packstore.rs, lore-io/src/iocp.rs, lore-storage/src/test_util.rs (\u002B57 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e02ba9cc9e50cb985eab88956ce353873b905c46de3f75d2579d6a06688f2dea"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 19 significant file(s) lose their only recent owner: lore-transport/src/quic/chunking.rs, lore-server/src/quic/replication_store_service/client.rs, lore-server/src/quic/stream_observer.rs, lore-telemetry/src/metrics/grpc_tower_layer.rs, lore-server/src/grpc/tower/malformed_request.rs, lore-server/src/quic/replication_store_service.rs, lore-server/src/protocol/replication_store/copy.rs, lore-telemetry/src/metrics/grpc_metrics.rs (\u002B11 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c5fa285c453bf84447e34b2558a1d1d4bedd777386f071a7bb8b46c094c99b9"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 12 significant file(s) lose their only recent owner: lore-server/src/authnz/repository_authorizer.rs, lore-server/src/auth/jwt.rs, lore-client/src/cli/commands/auth.rs, lore-server/src/authnz/repository_catalog.rs, lore-transport/src/auth/oidc/mod.rs, lore-transport/src/auth/ucs_auth.rs, lore-server/src/grpc/revision_service.rs, lore-transport/src/auth/oidc/discovery.rs (\u002B4 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9564554e7adbbfc9d37c9a0e778e7a4008a79530f3e66566d1b9bea29b0bd47"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 3 significant file(s) lose their only recent owner: lore-revision/src/fs/swfs/api_interface.rs, lore-revision/src/fs/swfs/paths.rs, lore-revision/src/fs/swfs/file.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4761ce1dffafc111f3d914a068a55fd936b08fa0119cca505b0d8e14fd7f7fb8"}},{"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 (106 single-owned of 646 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; 646 of the 874 production source files in this repository met that bar). They are anonymized user #5 (2 file(s)), anonymized user #6 (2 file(s)), anonymized user #7 (2 file(s)), anonymized user #8 (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: lore-server/src/topology/mod.rs, lore-server/src/topology/fixed.rs, lore-client/src/cli/progress_bar.rs, lore-client/src/cli/progress_bar/render.rs, lore-server/src/protocol/storage/mutable_store_handler.rs, lore-server/src/protocol/storage/mutable_cas.rs, lore-server/src/http/security_headers.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Remove the following section when pytest migrations are done \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/test/lore.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2397247f4ea7df569d46891f718f0327f40f2846ddefd3089fca4a30f1f3b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo(plockhart) enable obliterate test once test-suite Auth has been updated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/test/test_replicated_store.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4a8ec411f316234173ac3609502e3e871628470807bb8a3713f140f8857c0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(UCS-11886) Once we support server side fast-forward this should succeed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/test/test_sync.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8e4f914abd78ea515dd8eda518232af1fcfcc1644851422cb17c1f0463a28b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo(plockhart) we need to artificially slow down this durable local store to make the test work \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/test/test_topology.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de86de4c337920ea4daf9fe5ff1d01a6166d8e235687f46f49bb8b7f0c12cb7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo(plockhart) we need to artificially slow down this durable local store to make the test work \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/test/test_topology.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"6423347ac2b86aec286b74820abb1a165ca2d5be7537eae9918501fa7a9d55e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-19226 - Links: Connection reuse for already connected links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-transport/src/connection.rs"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"512e08b0142864d07daff1c4254e32f5737b306e3799c34f222f0676a57501b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): This needs to be configurable, URC source should not be Epic specific \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-transport/src/grpc/mod.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9b12d830419495cb333709a82689635760b115d5f6ebbfcac0f79d7623b7f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (raghav.narula) limit the number of deserialized buckets kept in memory on the client/cli \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/mutable_store.rs"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5fbdd37e3b71966efe03a782c31a6714af27ba0faca3c4e21f5672b55b6b79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): The Settings and ServerSettings structs SHOULD use \u0060#[serde(deny_unknown_fields)]\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/tests/unit/settings.rs"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d67af80b1cb0ad92596fdd93ad3e28c310f230dd0d47d187b15e440fe576f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Identity handling \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e562c488435624f453c77534d2368b5109afb9ce5e767c63d96dad61c8194c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(plockhart) we may want to bail out of the task with repeated failures \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/topology/rotating_id_fixed.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb58080b39b6db7984d15de7780fd1f4842de1f7f0e2cc4c6d94c5a8b5d0914"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(plockhart) we may want to bail out of the task with repeated failures \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-hashicorp/src/consul/service_peer_discovery.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b99c112918a709e746e2e1b3293bfa239e2dcd2e48bce84b668b57fad28bd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(plockhart) remove GRPC write replication after we gain confidence in QUIC \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/store/replica_factory.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc3648fff5c89fd3180a3dabdb230bed16d9a675f720fab15e81a389b675eba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(UCS-18195) - configure the max query size to be whatever the QUIC Server says is the max_query_batch"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/store/replicated_store.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"721c4c6978ac277492cfdce2444e6e8861fa399471ceb5c621993f42d417b1bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(plockhart) differentiate this label value and add to alerting rules \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/mod.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"771ec2ad738702289e25bf9af2d439118d6cb1a77bbe1d148536df9ae4d29ad9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jcohen): we should put this behind an integration test feature \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e7aab02c38acc3d39f8e5aba6565488bddc26980879223abe1a19b81dc3f60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: UCS-13626 move branch out of individual resources into the main message"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/lock_service.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b7b85e09204b647c880c8c4009594352dbb66ab24592f585928d5b458087ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: UCS-13626 move branch out of individual resources into the main message"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/lock_service.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4918a945ce14d5b8286beaf1d1be65a343f3e1be4c13498220e4f7590f692b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jcohen): make this capacity configurable or unbounded \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/replication_service.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dea2fa57fe222c00d271fe5bee1b2fe583a13f7b86a036b80f3887f3ea3764"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(psharpe): Make channel capacity configurable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5db52ac3fb94987028f03ed0d5bc9162d35e15c1099cf9de69da5b4262fb3cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(psharpe): make this capacity configurable or unbounded \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"723c1c33b2b1987ec19ea59f9c09ab3912045388a11e348864cc566407dc126c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Change this to a streaming response \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_list.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd7738454b1d91e8492ddd18cae531b6957f4f60ab9e8e21f3f9dea5a9c44a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Change this to a streaming response \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_list.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4393f45c7f3e4c8bd98181dbd09c2193a18c8cb3dd4a572c17be6a19314f12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jcohen): track metrics for stats \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/obliterate.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e80225891e3e8899b21b46d5b84cb7b2cd9ad65d44c9a7f4bc84cf8a10ce66"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): handle MOVE, for which we need to have 2 paths, so the existing NodeChange doesn\u0027t work \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/path_diff.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e421521ecf868f4be6d2fecec7d782db1d2a053137a61421bc01927a1acfd318"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(parroyo): do we want to handle Copy ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/path_diff.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6806b33a457326f7e7726f5a89f0a567080ba12181c48d7acda430132142b8c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if no authorization string is passed, do not add a metadata for \u0027authorization\u0027. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/authnz/common.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d341affcc88ade0a60419f5824b6f3d763c9f3a8b7fdc1963c484c005eb74d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(plockhart): Once auth service supports Richer Error Model, change to look for an error code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/authnz/repository_registry.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b2a4e890dc37b4b335f2cfdfef5401fbf5bee2dc3439f49a76010cb08725e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Move more revision state and tree logic to Rust to be able to setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/tests/revision.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd804df79fa067946d085ac827835af5463eaf97738d5f44f877a63acc5de53"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to mark all data as durably stored \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/tests/state.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"096d5ac956857590ff16faf7713545c66ca8f399adc15522af891e63be107734"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to mark all data as durably stored \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/tests/state.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"20179a97dc295c0ec271355e0906e9ff0b2a46b5f77b3c9277045c47376394ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Only record head pointer jumps, i.e force push operations. Otherwise \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch.rs"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04003a7be51caf93d219f711f06fb1f86dfbcb6dc376991554e63414aa34273"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-19228 - Links: Realize link node files during branch sync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch.rs"},"region":{"startLine":4968}}}],"partialFingerprints":{"codehealthFindingId/v1":"f641caaefd7fc115df84b7524a451de98b7e3e1753bab373932c9bdb87f2adf6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-19228 - Links: Realize link node files during branch sync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch.rs"},"region":{"startLine":5014}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a13345ae22324e30191b05b9e04db8aadd11b36a51a394cca97076640e46e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-19228 - Links: Realize link node files during branch sync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch.rs"},"region":{"startLine":5052}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9cac42b9faa3f423ec05c51a5fe199e1712302f860b1cdff3ff72e2d6db7e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): By keeping branch epochs and sequentially force push, we can \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch.rs"},"region":{"startLine":5417}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0d6ecf307ad335fd585215fc25573b96fc8f4236b4a5b6f306a68c6fbae80a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Layers that specify a path living inside a link need \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8a54f1e81ec888934bb85eeff902ec61a345737f647ec263f932c7b9468604"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Optionally find previous identical file content and deduplicate by using same context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":4765}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ab0a96bdc6f4a38d3ceea5c1163f24c73316103f1cb14c5589ae68514db733"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): Implement support for changed link nodeId \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":5051}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f30066d03932e066796ac16e3cfcf3145f779a37ac727521e8a56a1e54d5ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): For the rename case where the node as renamed/moved as part \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":5815}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a775c4935b4fd3040cde9e284c9646bab407c4563a50626fe93d0bfd193fc8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Extend this with UCS-Auth information \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":6140}}}],"partialFingerprints":{"codehealthFindingId/v1":"006ad7baafb9974d12bdfed12cb116d743ff4f968d6662eecaecd0dc70f708a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move this to external metadata \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/commit.rs"},"region":{"startLine":6161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d38481668d452263d8b06b4ffb8feb05ad8d3efc48be97cde679ee81917e711"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): Implement with a union to enable command-specific progress events \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/event.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a23fdd35d3bd08fedb2b63972361485441c38ad2131353fc473f7084dafc06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Hide batch cache latency by issuing requests while iterating \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/find.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2bfcb9cf394c7e8b7c45a4e87add42a821bf88d53ceec8fdd7a16ac9c54497"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Support finding through merged and other parent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/history.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7937701230ebc9e295483ac5ec29069ccbd76a4451cd661d221a51c6830ceee3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Support finding through merged and other parent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/history.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f2b646d5c285c4260b0ba13194fec4908f4e661703117c075aded2ef848c33"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Accelerate by storing last synced hash for each remote and branch \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/history.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"da949f0d0cd221d0c46c78ef9b42f1a2f6ddd617c47f9d23480ffc4689dd6b79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Fuse the open and the head read through an \u0060open_read_head\u0060 on \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/infer.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1907688d245eea22766966b85529abbbbf57bb46d35ee31dbe9803805d693f1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Fuse the open and the first window read through an \u0060open_read_head\u0060 on \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/infer.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cf0778cbb2edaefd91eae7975e925f2dccc108347d7bb4a22e02fbdba53c95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Do we need to recreate branch hierarchies here, or fine to just branch \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/layer.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0b567a05ed35f70520313c90b204b991b6c5524e85debb8eb4f525a739b65a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Garbage collect nametable by iterating entire merkle tree and rebuiling \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/nametable.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af234e98b30b906c483974401411493c0af74565762c5298708fce3f60aee0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): Upgrade and return connection \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository.rs"},"region":{"startLine":5003}}}],"partialFingerprints":{"codehealthFindingId/v1":"43233c3c3d32de57c50bdee95b8ace88a2fc3a88af75a9750f8bc2e8bc64884a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Figure out a better way to store this metadata around file deletions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision.rs"},"region":{"startLine":2395}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0eb78d4cdb14915d6c888668b7297234fef601f3ec03fd6b9418df6fcb2fb5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Figure out a better way to store this metadata around file deletions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision.rs"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8237208135d1d931299d99cf67500d456661bd776a04d83c66bcb483ea827c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Follow merges from other branches bounded by revision number \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision.rs"},"region":{"startLine":2592}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8f0ff7ecf567ce5b42f81910a252d0c0d39375c1b9d4ebe8b89f422a648e6f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-19227 - Links: Handle renaming and mismatching in staging"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/stage.rs"},"region":{"startLine":3549}}}],"partialFingerprints":{"codehealthFindingId/v1":"5724f365b612cbe5f6578cbc71f1cf9a32185e804769f4cedabefe8d168cf2b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-17955 - Merging and conflict resolution for links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/stage.rs"},"region":{"startLine":4312}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e3b9660424652bdb2605f854bd8ef15ff143173062d8672b7a38f4ac0203e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-17955 - Merging and conflict resolution for links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/stage.rs"},"region":{"startLine":4852}}}],"partialFingerprints":{"codehealthFindingId/v1":"388084e4cdbde6474db57d74df39e9267345b34c115a7583228f23cd7b0a199e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-17955 - Merging and conflict resolution for links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/stage.rs"},"region":{"startLine":4931}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09be00b171098a375262c2a13352cab7b0e4dd45a5d4aa62f35fbf0d1cfdb54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-17955 - Merging and conflict resolution for links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/stage.rs"},"region":{"startLine":5441}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40b61efeceff0529fbba8691a669ff27cb9ec1f0ac38955e1767f160fe2cc17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-17955 - Merging and conflict resolution for links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/stage.rs"},"region":{"startLine":5618}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b140cd2e3e4abdbe3eaf2da459dc2d1dd3600ed229df03981d2417cdc070205"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-17955 - Merging and conflict resolution for links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/realize.rs"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3ce3e82306f3e0921f268a0b99ad56ba3460ec88c2f4afcf405c199dece0a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-17955 - Merging and conflict resolution for links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4453}}}],"partialFingerprints":{"codehealthFindingId/v1":"c822da06968c62def5c02bc30e693868ed87db54b4f351c6523852ee8d9424cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-17955 - Merging and conflict resolution for links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4816}}}],"partialFingerprints":{"codehealthFindingId/v1":"894e33a5769a75c0603bdcd1410fc57e58cf5bb9856603912ad5220a15739871"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-17955 - Merging and conflict resolution for links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4884}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e9676a1e7101db08812bf4d11f00e920addedcbd3e772e3939e868c77812e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-17955 - Merging and conflict resolution for links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/stage.rs"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e382b9ff4d6fe43b1380c2a4b3bd5731c261123e3f329ca5890e14874351261"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-17955 - Merging and conflict resolution for links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/stage.rs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"637befeb053ec7bf23f86821c09bacb493c0181e555306b20dc9ba0dc626c219"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): To support huge trees we might want to selectively \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state.rs"},"region":{"startLine":3506}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bc39d859984681b28a8d21793b4856aa5d7555f18807a82191997081d6e12c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): To support huge trees we might want to selectively \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state.rs"},"region":{"startLine":3597}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d7d26f6a9fdbab18cbcba552af8b5d381c0986dd60c46eed1745ae68447c1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): Link revision divergence \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state.rs"},"region":{"startLine":6475}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bc073566a21245d80ca0116d046e6f4393d6912edbb3f1f3cc7b91693c16eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(UCS-13059): Extend with file mode check"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state.rs"},"region":{"startLine":10051}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bd98e40fde1d300e819a348a9919bc20e0b669d4d835395f266235960fbfe7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): User input should be behind an --interactive command line/API option \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state.rs"},"region":{"startLine":10933}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c5c0dc9bd5508fb972c2bb2496ec491cd8229f5a8dcb78212b48d799518c6d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(UCS-11623): Check if the target link repository has no local changes - if so,"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state.rs"},"region":{"startLine":12581}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01ce2dd214c98bbfe90bda8e93615d93ae37177290c996dbef0f6e93e86ac7d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): We could pass around a hashmap cache of directory to file list mappings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/util/fs.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd91ca196d7fc70f6e2240e16f4b28b9550fbddc505606c94a0ff4d8e0aa15f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): This should be a test for file system case sensitivity, in the sense that the file system \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/util/fs.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dfea3ad572d4616ffb248e3c6e9fee3dc7b565e6f19a5306a79224990eb31a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): A node moved within a repository the working tree materializes below \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/diff.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf37ce1ecefc453717379ee89502a65b4dd8299dd77b480694dff7b7a4a44c08"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson) Use (radix) sorter on name for scaling to directories with many entries \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state/os_diff.rs"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c96e6c704f7f5c5d2797919a6ac516d73a1b44acaa62f3e6bb608c9dde4b9f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Take merges into account when looking up information in the parent. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision/info.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"2702078199e78a49a9f2e847d74269381fdc1d12f474b1be5d90e1c26b74186f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Task parallelize this for multiple layers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision/sync.rs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b15f2e38b50ce9cd03238ecc9f4c9ad7dff49cf1e57c83ff45bcfc9f07a1b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Handle multiple nearest matches for main revision \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision/sync.rs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29451b90ec77690ec108c3f3ce593070a7b5e41cf8e0ed59b61ba199f2b89d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Emit as events \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision/sync.rs"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d895e8e20a97e8495b9070d482563720b472e39bde78b42cf8c6bd615f49fd5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Sync disjoint layers in parallel \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision/sync.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"21eaa6b5a573ef9047cc72fd795b925d698c5e2afed1989c3fb4c8e3f1adcc30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Make use of the initial connection for repository resolve \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/clone.rs"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dae8f27a9e28e94b575dbe2f039e479637ab8c9945e34f832c5dc69d701bd3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Clean up this connect flow \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/clone.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b349148e20e1c44c7e51ff49ebf29ceedc8b4bc3be0c85d162ca9d89b2a482c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Differentiate between not authorized and other connection failures \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/clone.rs"},"region":{"startLine":2447}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8855a85032a208cf52c4b893970a9c3fb8244d0c5812d7dae4c0048e6689a7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This needs tracking and free on clone complete \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/clone.rs"},"region":{"startLine":2515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3da57186b096c59e54840de368e8824c626c307b88fd307add27cf9e2bc5794"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Make this configurable in arguments and command line \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/create.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"547c91a4caa504c05b16319bd276e67860698b44a5a0d430b38799464b250ec0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-19231 - Links: Handle link nodes in repository verify"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/verify.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd25a55f6c4dca1106e79ce4e89f049313869cebadf7000560bf4c0393e8663e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-19230 - Links: Handle link nodes in ProjFS directory enumeration and find"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de105899222034cf44e6495980f0fef0db234c0fcd6368dfbbdceb370d6d936"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-19230 - Links: Handle link nodes in ProjFS directory enumeration and find"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d466725e5ccf4de88d1e7997d9cf7576015334828d9921559ed30616c5e6355"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-19230 - Links: Handle link nodes in ProjFS directory enumeration and find"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/projfs/serve.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bed467c6b7c84fea3e033f8eefbf6b8a2db19193effef8b26483379ec84b31"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Add early out path to compare to just get a boolean indicator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/realize.rs"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"da048adcd735f7c317f9bdee450612cfb0934680e67de58fee27bbb4cdb1cef3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Group and let unrelated paths execute in parallel with spawn \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/realize.rs"},"region":{"startLine":3217}}}],"partialFingerprints":{"codehealthFindingId/v1":"70952456ef7eeafe72803ff2be2adaabcedc75ab39dc3c0de2a16c1103ace615"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): File system virtualization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/realize.rs"},"region":{"startLine":3231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f94dca6a427e590d35c04bce89962da333f1f92257d34506f0aad68c855055"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-18008 - Investigate link tracking for sync/realize_changes"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/realize.rs"},"region":{"startLine":3374}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9fdc7c60627e7e1eea0449a7b50431b0a2e006816f585cf8b609ae586b403e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-18008 - Investigate link tracking for sync/realize_changes"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d931c1a0a190606dd7b8b471b8c6902eb3a968e7ced7a7d78161170b3a0914e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): Implement merging links/link nodes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/realize.rs"},"region":{"startLine":4544}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8488ab92a2eb1abe4c52786475f95cc646298e6abd95127ba710983a3954ebd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Provide a useful \u0060EventDispatcher\u0060 to handle errors. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/swfs/mount_resources.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8520770e65855160ad9dc90f0960e79f9ddeffb0e6833a11798d2228797cf2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): If this is a file in the repository, get the current address \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/hash.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e361707483941a1eb902ea690e455a7fe91d561ad9ab7ee93e2c6cd26ca01d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-19229 - Links: Handle link nodes in file info lookup"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/info.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c0924659e55e3866fb251f3e9eb134a07a430a6b209cb44e5c9fd8c5a422cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-19229 - Links: Handle link nodes in file info lookup"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/info.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"f732c96b1ebc3e35fc77e67f08339fc13016787811bc258334ba101417110fb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-18010 - Implement obliterate for links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/obliterate.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"66afbaab92a80346b180a5b68bbef626680849178bd0686aadcb3e6b0644a421"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): If this has gone past a link into a subrepository, we \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/stage.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae7b0d20f902e99ccfa4f4742e7e6a4e6d00325c643d9f2306fd73656aed1e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Layers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/stage.rs"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e42ac073676371ccdaadf2b3c05ab326233064159fc1f286897d23e1d4fd7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-18009 - Implement stage move for linked changes"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/stage.rs"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4ff60a1e7091f33a335adc96a02746625be2e43b5a595ac0b530de52a67e51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-18009 - Implement stage move for linked changes"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/stage.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34e6dd0fac766e7adb6aaef9d0c6aff9db1f8397a06b14d95618ceb3e942b42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-18009 - Implement stage move for linked changes"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/stage.rs"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d538a51a0a3e15f1e97c9c938923465a52d5ff5723ac6003ed13146fad933a65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-18009 - Implement stage move for linked changes"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/stage.rs"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"345e167876df7868f90eaf3a0bd5306e046b03282ac151fc3de7733c28333c32"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-12399 - Convert to separate tasks"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/unstage.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61b365d6c61a2bad42cd38ef5771b862a40eafde1ab266708a26d856744bfd7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-12299 - Unify codepaths to discard nodes"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/file/unstage.rs"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"336277048414c7e16e382edbb93fb0959f1cfd1ea00316ba886865699ca254ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Need to be able to get an item from Metadata and also know its type! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/event/metadata.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e9eeeada530802605dc91b4d85185d52fb4dbbeb103e82cb358927274ac6f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Ok if layer branch already exist, but switch to the branch \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch/create.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"401089a865cb51a9f9c2e1b1825281e3a08a4f2d02180b1ba87cd5a070c995b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): UCS-19234 - Links: Implement merge support for cross-link node links"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch/merge.rs"},"region":{"startLine":4614}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afea983e469c26e967757b07de8497658399aa83b20bb0366366f2456bd2bdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): This only handles revision number rewrite for now, implement proper \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/branch/push.rs"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"699e44a45cb5de70667e549767d7e1c8843e9c2e571c8c23aba65021a1c02331"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack inside \u0060put.rs\u0060 requires the source buffer to outlive every event, \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-integration-tests/tests/storage_test.rs"},"region":{"startLine":6233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36a9b74361de189e2905b5f7ba95ac71d7f7b8510d21f7f54e35089fe4fc1b9"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack around EXE and DLL having the same file name for PDB file \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/build.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"98660a20d54fc5a38073777489c4644eb383fdf4c548a9bc74c457eff46f2a66"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack around EXE and DLL having the same file name for PDB file \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-capi/build.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa58451b0c73299b8a5671c6ce371ddb7d142fa704f79f1a93ffd8aba09e5166"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): Add command shortcuts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/cli.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"e543d6e883411554e66b6068a2b12a226124ad58d89fde102c0f72a95e5adf7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): If this is a relative path it should be made absolute \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/util.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2325c99279f42f5175ceb30b8ae2a26ae28c52440ccf38ac449410c0c383c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): Add some more useful information \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/logfile.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a95b6d48913a900c44fd99d5aca3bf3ea290a34c375e16565d27db678efafe1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vri): Add optional path arg? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/repository.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"232696ed8826e0a8e1f3c929183b6b001fea6f9a6df196176d2fe66053ead279"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add files that are in directories \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-chaos-client/src/probability.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b86d70d53b9db81c1b6fab43e98abde89da35a01381013107cf13048ebb6f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(jcohen): Remove this when we\u0027re confident in the pagination support. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/dynamodb.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fd343bc711e42cc48d5f5a8f5ff9ffb81e375698a7f6034dc41e9653c7c48c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jcohen): We should probably disallow the combination of \u0060Select::Count\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/dynamodb.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"00da2118d37ebdfded1c6d8260da7b74d9959f64dd9d80a7ee9a10326364d8bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: generate metric \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf09351ddab71c54b705f2590119f74f7201ec3c034e7045b1d7890d0ad75c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Make this more granular and only flush tasks for given repository \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/repository.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cabd362ed687a784bddb0e4c4d28ae872a51c9b80a7d641c62c2321de68c53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(UCS-16094): Determine if this should be unbounded or bounded"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/remote/connection.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd114d4c9d09b0548853ef2df1fff1236f45972c50c0db71f55a378aeaf19f87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mjansson): Events \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/layer/add.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3cf25e634410d9a86f40214a47ed9d2f4088a50be351f06102052669135736"}},{"ruleId":"D20","level":"note","message":{"text":"ADR consequences name no cost: \u0060docs/developing/decisions/00001-fast-cdc.md:29\u0060 lists its consequences as good-polarity items only, and none is a drawback, while other records in \u0060docs/developing/decisions\u0060 record drawbacks the same way. State what this decision costs or rules out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00001-fast-cdc.md"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dad48223e88d3f3b08001656f74d69a392eab70a61f133bff210aae5f01f14"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00003-auth-tokens-for-sub-repos.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"317a693819411729fefd48c5860d4914db5868c9b01324e38e7295f5889eb3c0"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00004-s3-storage-options.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d4fd84680d7420fd4a10245bf993376df51197fbb0a90bcd2a389eccf68fa5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00005-web-framework.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9461c95d357e437fd8d49526829dc5cb7fcb6ff792d2f6d156ca1656aa94d1a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR consequences name no cost: \u0060docs/developing/decisions/00005-web-framework.md:34\u0060 lists its consequences as good-polarity items only, and none is a drawback, while other records in \u0060docs/developing/decisions\u0060 record drawbacks the same way. State what this decision costs or rules out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00005-web-framework.md"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f221e6ed799a457b387cbeb2867723a6f2abf10787d65142fa8e53dd9a946c1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00006-s3-storage-options-reconsidered.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a5d46ba4599194e2001844cc60d99d01cd4f9adc499baf169c575a9d2842af"}},{"ruleId":"D20","level":"note","message":{"text":"ADR consequences name no cost: \u0060docs/developing/decisions/00006-s3-storage-options-reconsidered.md:41\u0060 lists its consequences as good-polarity items only, and none is a drawback, while other records in \u0060docs/developing/decisions\u0060 record drawbacks the same way. State what this decision costs or rules out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00006-s3-storage-options-reconsidered.md"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa010e3f9732a0e326a0848386b0046187dfc489c45c45be8eb20186ff61dbd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00007-aws-mutable-store-options.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"682e8dc1ad67302d1f6f98b0cc641ceca73a05fc465fd9d9bd4866bd383bc10b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00008-aws-store-fragment-associations.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a78d70aca4179e597b2d39540cdb54c1e0f66e7eefd74f738cf7b51213eaddd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00009-lore-library-js-bindings.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a2e4ec0fca0857bf57b0f5a5bcf566d30d2bb4352fa8cd200095d6b1cfd50f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR consequences name no cost: \u0060docs/developing/decisions/00009-lore-library-js-bindings.md:32\u0060 lists its consequences as good-polarity items only, and none is a drawback, while other records in \u0060docs/developing/decisions\u0060 record drawbacks the same way. State what this decision costs or rules out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00009-lore-library-js-bindings.md"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f85ae4a5ff839591db4b9c4e2a020fb6837671f8cd52ed12382a5b973b71639"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00010-fragment-max-size.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff1912bab28569be4bc11f2e24e44ddd3772bde490d4ec3a28980917f6b17fa"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00011-lore-cli-frontend.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"375cfa9a33b470621b1916d5fac37d3013c50d9c1083ad782fda84f577425d3a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00012-log-dispatch.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c72c801eb62950c58f58adfe05600cf5c44995512e591d3b6f51e7457bf008"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00013-plugin-dependency-strategy.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39c0911da50fbbade7c72e482658e348d2a4a81b405126e20473d6f2d493a24"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00014-anchor-tracking-in-mutable-store.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac7032088a7744f8d5cd4cdd7663529a8f3f5344b113af1af100d04ccbd2f00"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00015-log-crate-separation.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eceef8b2abe28f1a3db77586726c59e45a48a2e32452d1275c0bd4dc1c09bda"}},{"ruleId":"D20","level":"note","message":{"text":"ADR consequences name no cost: \u0060docs/developing/decisions/00015-log-crate-separation.md:47\u0060 lists its consequences as good-polarity items only, and none is a drawback, while other records in \u0060docs/developing/decisions\u0060 record drawbacks the same way. State what this decision costs or rules out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00015-log-crate-separation.md"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"163238603943d6c3e9752b12d1a8c881664bf7d6e9c4ae6eb7770dd4b2e8a4c5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00016-compression-algorithm-selection.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e44fd45645debcb41fe106c13297400457c66d245f9be3b52cb448c560e2eb"}},{"ruleId":"D20","level":"note","message":{"text":"ADR consequences name no cost: \u0060docs/developing/decisions/00016-compression-algorithm-selection.md:83\u0060 lists its consequences as good-polarity items only, and none is a drawback, while other records in \u0060docs/developing/decisions\u0060 record drawbacks the same way. State what this decision costs or rules out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00016-compression-algorithm-selection.md"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"114c9ae7b5777fbc9b8455889ce993293936720d6fb0056fc896dfbe377df5bd"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00017-ffi-error-detail-on-complete-event.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4707cb15f1af47057c29d2305c8c10a37f76a276e9a6ff7ceb6ecf367ada1193"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/developing/decisions/00018-external-instance-directory-registry.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00018-external-instance-directory-registry.md"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b88853a5ea5574b76c69f43f15421ec750dafb769bd060b721a674126512109"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00018-external-instance-directory-registry.md"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4608dd9ee27e7971c8fb3faea811afd8d1d69ed474e164a32eba011d79de45fa"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00019-portable-arm-build-with-neoverse-512tvb-opt-in.md"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f46ab1d2a6f13581b70ce8b824cdf027a2bff4a413d84e2cba20b94b63cd4b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00020-fragment-metadata-on-s3-objects.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b82f2034807c116f4c476244b95211a036594fb04f4d6bbe0479337c9f87645"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00020-storage-per-item-error-detail.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc94895ea9c419c5d976e14e367506b45eca19b61181984130d5ef145c713a7b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00021-view-independent-merges-and-subtree-grafting.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5d859652c05a4e4b88fd34db4a73eeb44246802d2c188be35c34222f5caf38"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00022-service-ipc-bitcode.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab9b20874a40c977fc721dc0f3f7c49b0e7955c78adbf0865e2ddb24d797bea"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00023-data-verification-and-trust.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3078552080c820bf18d8ddd4de2294742d23470555d46d18c722dd4e4e1cf2a9"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00024-store-locks-held-per-span-contain-the-repository-lock.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc4f277bb00b373959b4704f3a13fc4d79c205bf4d896018e1c74a961846f7b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/developing/decisions/00025-service-version-compatibility.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00025-service-version-compatibility.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0468e1d88d8da8868de5804151431687870b34d2c57014888fc7ceec8f24c323"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00025-service-version-compatibility.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecffc457f2f0630bf4622d18175366059d700dd6f0e8ca3ac8f456b3e42f74d"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00026-concurrent-read-only-instance-operations.md"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0249b83da958e1ce6e9c51418abe12c0ace01b9acd99c011c2553b455624849c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00027-ignore-filter-applies-to-untracked-paths-only.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a5f2f42f438f9460cd4196740a8886a2a278ad288b544809b616f7718ae139"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00028-state-node-operations-behind-one-write-boundary.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cd0ccb4eee3512ad25e653870b49a091e98027e4dab88d9bbab7d90d5e43c5"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00029-instance-local-modified-time-records.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4705533892525affb77d63d727ba4e78364ab1f83ac8c9a41465660f888539b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00030-exclusive-repository-lock-holders.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f696c8cb92998f8acd67afed216d716405bfbfe9c16866072a1a6002b7135aa"}},{"ruleId":"D20","level":"note","message":{"text":"ADR lacks an enforcement field: Add an \u0060enforcement:\u0060 frontmatter field or a plain \u0060Enforcement:\u0060 header line (prose/test/analyzer/not-applicable) to make the rung explicit \u2014 the other ADRs in this repo already declare one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developing/decisions/00036-swfs-serve-links-and-layers.md"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"da961a163535168e8deca1ae18d5ce9d908ccdb6125c4cc61395a20ee558dace"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 7 of 26 project(s) overshoot their size bounds, lowering Project Cohesion to 4.6/10. The most over is \u0060lore-revision\u0060 (165378 LoC, 1044 module-visible types across 30 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":"18b644f86ca4c47c31406b712faf8f7078869b3a038cba8cd96b425867b3cfb8"},"properties":{"commitSha":"8f50de7d1a7deab5ac041a740056abd89da230fb"}},{"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":"19b577634485b59c6fad9fdbee58726f865b71ba3ad6d02fdede9ed1f478e7e5"},"properties":{"commitSha":"8d6c39ce227167a3c8af21d5da18c18064bb0b69"}},{"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":"48bb43414fdd47ca37ca86c6e6166c33d96583d3156533b75a5a30fc513af5c2"},"properties":{"commitSha":"8d6c39ce227167a3c8af21d5da18c18064bb0b69"}},{"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":"0073a17c272b0b1472d7a43255bf61c30c6063df149a34bd3d11bf30806c8cd1"},"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":"951c264ed1c96378d7ff96641f2e95535d78bf5bb2f78292ff852fef31fe392a"},"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":"92d5adce3ef4f30a6d862a9760e59c155b60382d01f06578deeacbb6ad9a060b"},"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":"a022adf46da32dae0f2732cd766ed190229409f2a4f7352feeebc8870e2f96e1"},"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":"730e83f2e34cfc3a79da1694fbaa0aad52d3acc844f80c0a888e213cf2996da7"},"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":"8a4311d1954a5b6463ee215a522618439b32817240dd7217695c16100511e9aa"},"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":"fe8341dbf4ee0c928475d309b6f271cee0b27b6518a96e5ee5d66faeb72728aa"},"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":"699bed1305e23aaecd07808397778af4559f64ff4e41a609e09f0fdb3dde40a4"},"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":"30d1a64a912a366a8ea72e4f438a86684d256c4ddd6ce88baf00760daafb3bfc"},"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":"21a6c1b0cc95a20936eda976373cc14bf03cb78b1e0c9d9bc71ba89a8bcb4d8f"},"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":"3249eccf24061a89444dbbada7dc595df11804a650ce5c737baaee938999295f"},"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":"49abf34198961f3d069f9e4166060d5332cd7955c78c2bed4601e7da7e949961"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84ec5dc249ea4b75b0f417051d93230eaf95739f6d4f17b3bbea6e7f1683b2c7"},"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":"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":"33e3b96dc9142571ab1b3d8d9a6caaba02aa43cbf0bc4818aee8f35c97acff20"},"taxa":[{"id":"CWE-1220","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"bba3653b49ae6149ee8b92e5f3a6d8bc38c12a11b9e6ed2a4658d7d278fc0824"},"taxa":[{"id":"CWE-326","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":"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":"fd23476b2d11d082e65c758cbd8b593848833c7b2e6025a9eee8f801a33bbf32"},"taxa":[{"id":"CWE-326","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":"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":"73b3b3b99763cb49a1bd2ef803d7f0a6b19f9de0ac65a9740af1a9f795e26bb9"},"taxa":[{"id":"CWE-326","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":"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":"0535585a7f6ab6983045d58e72db474e3c99404c7e468c0b5b8b4a6e715dcec1"},"taxa":[{"id":"CWE-326","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be9977d5d7ddb867e7f2e9fb5ad301e217dd9c03427d8e948d094761434f4502"},"properties":{"dependency":{"package":"jsonwebtoken","version":"9.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"525150c79769e3a8552e1d639a767bc181c181d5c769963ba9e0faa9d03741e3"},"properties":{"dependency":{"package":"opentelemetry_sdk","version":"0.31.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.5","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":"c57496474485e0feeaee9949edc709615e6cf073de5703b1a8315ccefe33c96c"},"properties":{"dependency":{"package":"jsonwebtoken","version":"9.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c100e878f2be84064a7bb99866291e3f8c44e8c065fd55f0cfa202c15f718d28"},"properties":{"dependency":{"package":"opentelemetry_sdk","version":"0.31.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6df6b0a029baf75c4169b45026bc89ae49cc3e82388a0ff08ec562e6d00dd06b"},"properties":{"dependency":{"package":"pulldown-cmark","version":"0.13.5","advisory":"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":"82e16ba2216da2b42ae61ce6b075f7c2921fbb101351f64f30b7444d0bf5bd6f"},"properties":{"dependency":{"package":"rustix","version":"1.1.5","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":"449e78611347a21b9c5ac12d689b60a2f55eaa01ee7125981cb0bcae71328c3d"},"properties":{"dependency":{"package":"jsonwebtoken","version":"9.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57d0152a4b8e165b3fe0f75ac8e9b603af651f2f12ef6c43d23d33283f0d65ea"},"properties":{"dependency":{"package":"opentelemetry_sdk","version":"0.31.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f785a68cb51d84b00ed806603086a0b2b1c58c2aa6f9349a448dee6ac3ab86e"},"properties":{"dependency":{"package":"pulldown-cmark","version":"0.13.5","advisory":"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":"6d5eca51f2abcee4d738d5f154023b6b3f7e3cc413bc477b57df3845d48b2b28"},"properties":{"dependency":{"package":"rustix","version":"1.1.5","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":"b8b83748ec879deb0d8824b719c20a2f43c707a6190ffd77bee1a72d73920ae8"},"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":"53dcf06d06a861f656699567816e5831a4087b46fc3714ca3f50ed8f04167914"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","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":"eb47f8f802ed359db32c8af69b2839cfb4df0c8706ca445b5faa4adc861b7faf"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","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":"387a11a5268967ebdba595d8afd2f0db8f70440604731f8c07a08b9212963cb6"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","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":"e7c571e4a18e95aeee608fee99eb511aee9f4f1751e78da99a58ee0bee8616d6"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","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":"c71728afd0e55adcab90080d29083bc62a856a5af9424424a2ec8c2dbcc699c1"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","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":"2556ede61177800a55737b5a037c5cd39012c1b4dd31f43c3143f8cb89df74d4"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","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":"43fd77745e76bc6a2a10231a9b9dbaa0e3649abbd6830cc960c4561e7f94a8c2"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","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":"fa6d652db99553fb72c4adb6c4045861b2b9dc1255982f31a8f09904b60e0102"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","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":"e0164f065965bd3c55aa783f9fdd93d148e51befca5ffe41d02745c47417eefa"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","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":"cf61ae9a36890cca2a01bea7c62295add917bd9d02bee6e8fc3dfb429d5f63f8"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","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":"28db994e2988e88f24df058d2db0041a254d309413af2d24fe44fb81692594a2"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","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":"854da5cef13784fde7cfff8a79eb2a7417bef798a376f1ff9e501c0d2a107a1d"},"properties":{"dependency":{"package":"pygments","version":"2.19.2","advisory":"PYSEC-2026-2987","aliases":["[CVE redacted]","[GHSA 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":"b3b963e7bf60f1371568e0d0bf67026cbd1233bd6010bcb276f6666daa2f5d03"}},{"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":"e508626bd5ffc5b8fa3042bbbe5d8d7e694c3613fb43c18583e34f071d4d3a48"}},{"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":"e52382cc8ac43518649220642e20ca7d1ddb228d0fa9a365f9ff4e6df730d99a"}},{"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":"2663265028e2b808446ab6d830ee37f2a158e3f51fd864b5265f634d5b46fe1c"}},{"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":"602e2a6962bc87594aef1c45429fd3946b3cfb112a9091cf8609d0407a1db299"}},{"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":"205d2c761060392302167a1bf832bd82b8913c6d15d568ba7f7fd415e1c6fef6"}},{"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":"be755c83cd6fa268a3288eacdfcc3924344f08813ec91519dca98b55e7017ad4"}},{"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":"27be6c766841216888868c28a9428c9ccf48aff733f4fe5b80657ab2fef83f87"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"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":"e9d080309f3bacdf3fbec3a6ee9c268bf01378fbb2d304aad584b331eb472f04"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"0b3a4928e0b3769167a0391025b7a0e65d5363f63ab3ff84428ce1993c22d3c6"}},{"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":"39dba8405d6542326bc0e73ab3d175c2b1099aa3824351db344387da3c393cfc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"5937028072d4f8930d89be7a1043368048d05a08e737963c133b47df0fd17063"}},{"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":"98e4696ae7341b9a307b447d11198f6fe8d851f6c05dfe6c925014914dcb911d"}},{"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":"1dd669a3ef54b0e82506797e241b5b7403124da401def91fcecff52cf35762c6"}},{"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":"bef56f402ae4ba31f9792a2dc0c169ba56e1f32119be7f4bce56e0910b28d3e1"}},{"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":"ae3f7383d6a5e269fbe983ee4e08e07d9288b34c957cef1d06e1e3e95078c670"}},{"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":"372669697d9fdaf7ed0a702dcd68f1b56e87b1569a151075c6d32479854b9540"}},{"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":"19c510736c02ab5abea207d2d0e79c3be0b1f8bd2bc39a5a0fccb01878cc787b"}},{"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":"2448cdbfb242860d536ce577a84b0733279d8c4262a78e6b1ebf78be9612c4b8"}},{"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":"cf6485a38e9fb2a964d0714d00dc0015c226fc3038940c673c25d7abb9093193"}},{"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":"f86c8ea06dec3c338d64cea90d680f0ea87603814d698955717a4d23236d4295"},"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":"d2080dc218b20b6d802da4a53815aba76bcf00daaeae3eae431a8f2ed8fb66b0"},"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":"c5180742c72e5eb6af1559b109d71f951b033ca93c0d3d48cfe30bbc170deddf"},"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":"b70e6199add9f180a051f056b91a67922bfbe71c0b39d69ff57b8eb888a53ba5"},"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":"5a01fcc8ee1c1c88dd9145ce67211b7cba13ad2239cbccb2d9e0e5189f3360f0"},"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":"8988e1b8b53308e23e1acb83a55454c25a5b11a712e81f5ff268534cdbf9e261"},"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":"3e3464aabee77ae268400a92b734a3a91383c2c900d28bbb11a99875f96fc23c"},"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":"ae8f2da85cc5064abd5a37db2cd1eefcedf454a5a6ae6d1dc7d026c16eccf94c"},"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":"b5f6336677450fe6ebf9fd7db5d605b977ac43ab50824f165dd6f7dd158085a8"},"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":"e3639630ebd8d51a4406b5f5e94192adb66cfed61a390bf731893da2c0dba151"},"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":"d3742e995f255e671e1868d6281c041bb65be4fd265dc372ae2d285bdfe39079"},"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":"70f51598e42750698b1e9aad75897b763e8508abb3d00f3b710ac1ab7a16ed31"},"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":"b14f3614052643cf9bb52f4394bdb4fe14bf313a3b8aea38f59422c41077b05d"},"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":"8970b7624c193abc7775e28865492bbecb28549e29407f79a8e1fca51d789e2b"}},{"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":"e6dc4036e3541e359dc3ab44a6750ef6c18dbebbc535f5f01d5fd91193b96e21"},"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":"d5b3be64a06a652a572683dced567e563b07f715dea883111548c96452f57f1a"},"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":"887f8188d898e34dfc5d8a82c180f1c945137ad27b4b33a69d9ae281e5892406"},"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":"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":"546a2288af81c692196727a0b9421c4a5b39416c3c19e6fc318049fc145f7a63"}},{"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":"b9bc20874fb36b190bd06cd3a23e486154990e607d71a2c33ca82e843f52f228"}},{"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":"acd0986983f757a35c13fe5bb58a0e97038d6872fbc38fb391e4ae875f2291eb"}},{"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":"1b535be54eb78fa078ec237d2d73fb43543a2926d72278a0b62d894847a05881"}},{"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":"920f7e95fc876ba5104da8a08540f46661a31fa5461f8c8d4978f71e0c2617ff"}},{"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":"833205c33f52ea183371476ff11cf5aedd0cb1a99354991b4162f185c486ad9e"}},{"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":"b65f15914508866cc49daec205dd7258a4ead0fafa628fb21c34a17e8c7b7221"}},{"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":"1f15540304de29ee2093569fe97033b7481c1184c1efb6a6434bdd747104308e"}},{"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":"7c5ed73eff23ec2102dfdc09436778332be46e8252a6d4471c95cfa0b5b0fded"}},{"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":"a23133cfc1740db2ec368e5bba00a0ea34962812e521f407e4865d5efa5eeef7"}},{"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":"0a5cfd70d330def05e4b80ee7965b12028ec5943ec49afddc1269ba59d79d60c"}},{"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":"85fdfb83696832510591226a82162f97ec81e1d72f2db742c7c7f2e6ccae4686"}},{"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":"24cc22f5b88daa4959f6619eb064b6b7b212ffe3da950911cfdd01a0233394ab"}},{"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":"f800a28eff829921880b6fc720c8a1ad4c51ee526fc98f765e49b50397490c94"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: realize.rs \u2194 helpers.rs: \u0060lore-revision/src/fs/realize.rs\u0060 (context lore-revision) and \u0060lore-server/src/grpc/thinclient/v1/helpers.rs\u0060 (context lore-server) sit in DIFFERENT parts of the tree yet change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060da60a3d8\u0060 lore-revision: replace a link with a staged file, and restore it on r\u2026; \u006078f27971\u0060 lore-revision: State a content modification rather than infer it from\u2026; \u006023e4b048\u0060 lore-revision: Use the NodeMapping structure to in node change tracking \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/realize.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"630374746d0e239e3e5f8666d842c5340150da323b5bac93c9effa44705089f0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: interface.rs \u2194 command.rs: \u0060lore/src/interface.rs\u0060 and \u0060lore/src/remote/command.rs\u0060 change together 94% of the time (16 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u00601505e1ea\u0060 lore-capi: Implement \u0060instance move/delete\u0060; \u00609806175d\u0060 Add lore file audit, per-line attribution for files; \u0060b2c99013\u0060 lore-capi: Add \u0060service status\u0060 command to get errors from the service \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02984d5e6b7f55d44c87650314b9d34f1b9b60295f7f7fed7bfa2de328fe6514"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 realize.rs: \u0060lore-revision/src/fs/os/mod.rs\u0060 and \u0060lore-revision/src/fs/realize.rs\u0060 change together 65% of the time (22 of the 34 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 22 shared commits counted here, the most recent 3 are \u006038d88c7c\u0060 lore-revision: refuse a sync that would delete local work inside a li\u2026; \u0060f6130d35\u0060 lore-revision: Keep content a purge or a refused case-only rename wou\u2026; \u00602dc96c9d\u0060 lore-revision: merge and switch a file replaced by a folder \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/os/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fa8be8bd7c9727b1e75c1aabfda7aff3723cc1464488fd7f099a38e5260f99"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 stage.rs: \u0060lore-revision/src/fs/os/mod.rs\u0060 and \u0060lore-revision/src/stage.rs\u0060 change together 53% of the time (18 of the 34 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 18 shared commits counted here, the most recent 3 are \u00602dc96c9d\u0060 lore-revision: merge and switch a file replaced by a folder; \u00609e0b4519\u0060 lore-revision: Refuse names that Windows resolves outside their own e\u2026; \u006097c2c133\u0060 lore-revision: Keep view-excluded directories only for the content be\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/os/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c3ca8afdfb22ddebf80156619ed2837524f78608da40550441fdf2a7699d92"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D40","level":"note","message":{"text":"No network policy: No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"295828650a2aaa1b03ae9b32ae6843a0c38011e5a70b1926442c4fa7187de5f0"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 14/16 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm/cargo: \u0060.github/dependabot.yaml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, \u0060cargo\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yaml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba52ffa33b5c14c4efa9d6b621e54ae14988dc8b65788e00841f1ad7562c7b9"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: a rustls \u0060ServerCertVerifier\u0060 that accepts every certificate (\u0060SkipServerVerification\u0060) is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the override so the TLS stack verifies the peer \u2014 reqwest, native-tls, rustls and openssl\u0027s \u0060SslConnector\u0060 all check the chain and hostname when nothing is set. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: \u0060reqwest::ClientBuilder::add_root_certificate(Certificate::from_pem(\u2026))\u0060, a rustls \u0060RootCertStore\u0060 holding its CA, or \u0060SslConnectorBuilder::set_ca_file\u0060, which keeps the chain and hostname checks on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-transport/src/quic/client.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c5f363ea221220ba41710ba85535c4a209200b4ab2d940abc96c23873282df"}},{"ruleId":"S1","level":"note","message":{"text":"Security headers incomplete: Set: Content-Security-Policy, X-Content-Type-Options. Missing: Strict-Transport-Security, X-Frame-Options \u2014 the four headers that carry the points of this card\u0027s security-headers term (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options), 0.5 each.(\u22121.0 on this card.) The server: \u0060.serve_connection(\u0060 (lore-server/src/uds/proxy.rs:123)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e9931804dbad8b1657857c9b88c05b8faeff182b6e2bb88641bd59bac687876e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!changes.is_empty() \u0026\u0026 !force \u0026\u0026 !options.reset\u0060 appears character-identically in 2 files \u2014 lore-revision/src/fs/realize.rs, lore-revision/src/layer.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":"lore-revision/src/fs/realize.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"defb1a39b0526e712e66d00eb21a9a28dd2820e5ac6e77a4f0c3133c2ce160e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!has_conflicts \u0026\u0026 !dry_run \u0026\u0026 !options.no_commit\u0060 appears character-identically in 3 files \u2014 lore-revision/src/branch/merge.rs, lore-revision/src/revision/cherry_pick.rs, lore-revision/src/revision/revert.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":"lore-revision/src/branch/merge.rs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efb78d7561d2738e935aa41ad460025b13e737f9d173ee395eaf5bc83f5812a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!layer.staged.is_zero() \u0026\u0026 layer.staged != layer.current\u0060 appears character-identically in 2 files \u2014 lore-revision/src/commit.rs, lore-revision/src/repository.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":"lore-revision/src/commit.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec56b9b86d330cf36a6c7757d41619db081231fd99d4ef5b192f4e54dfc58940"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!node.is_discarded() \u0026\u0026 node.is_directory()\u0060 appears character-identically in 2 files \u2014 lore-revision/src/fs/fuse/write.rs, lore-revision/src/state.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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":3867}}}],"partialFingerprints":{"codehealthFindingId/v1":"f451906189d909f4d9e23266cc8290ddc1d2928bded42e02a9b1cb1f7ebec76f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!repository.is_layer() \u0026\u0026 !repository.is_link()\u0060 appears character-identically in 2 files \u2014 lore-revision/src/branch.rs, lore-revision/src/branch/push.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":"lore-revision/src/branch.rs"},"region":{"startLine":4038}}}],"partialFingerprints":{"codehealthFindingId/v1":"7830c0d215dae4c2b8ef0601f61b303037ab83a5b15bd19e73c4ef2effe0d008"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!resolved.stored_durable || resolved.partition.is_zero()\u0060 appears character-identically in 2 files \u2014 lore-revision/src/store/composite.rs, lore-storage/src/write.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":"lore-revision/src/store/composite.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f262f05b66839f9b7cb6b896a1cbfde0169bfb63daa8f421b9bcdde699f2c77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Context::from_str(name) \u0026\u0026 !name_id.is_zero() \u0026\u0026 RepositoryId::from(name_id) != repository.id\u0060 appears character-identically in 2 files \u2014 lore-server/src/grpc/handlers/repository_create.rs, lore-server/src/grpc/repository/v1/repository_create.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":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa69687a9fbeb279aa0dc74df550f5fe0560fb5b8a66d3ff5ba51e1bbdff0a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.is_discarded() || child.is_staged_delete()\u0060 appears character-identically in 2 files \u2014 lore-revision/src/fs/fuse/write.rs, lore/src/revision_tree/delete.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":"lore-revision/src/fs/fuse/write.rs"},"region":{"startLine":3553}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d45770c664d0de3c9a55f11254da72e1274e043fde47a9a270763fbab529fbf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current_type != proposed_type || current_bytes != proposed_bytes\u0060 appears character-identically in 3 files \u2014 lore-server/src/grpc/handlers/branch_metadata_set.rs, lore-server/src/grpc/handlers/repository_metadata_set.rs, lore-server/src/grpc/repository/v1/repository_metadata_set.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":"lore-server/src/grpc/handlers/branch_metadata_set.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a482b0b70a70f133b1de83a9d3362cd80a798f993d3ed723115bab2bfb590bfc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.is_address_not_found() || e.is_payload_not_found()\u0060 appears character-identically in 2 files \u2014 lore-server/src/http/presigned/repository/redeem.rs, lore-server/src/http/repositories/repository/contents/content/get_repository_content.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":"lore-server/src/http/presigned/repository/redeem.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e325379ae5d76e559fd8b3a992ebb1be6a96938b20e90e2597b2f068bcf905e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060effective.no_local \u0026\u0026 store.remote.is_none()\u0060 appears character-identically in 3 files \u2014 lore/src/storage/mutable_compare_and_swap.rs, lore/src/storage/mutable_load.rs, lore/src/storage/mutable_store.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":"lore/src/storage/mutable_compare_and_swap.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"be744228c43c8c1ed301beec49c07dcaeec574bc584491e65b3ea5955e7d0087"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060identity_token.is_empty() \u0026\u0026 access_token.is_empty()\u0060 appears character-identically in 2 files \u2014 lore-transport/src/auth/exchange.rs, lore-transport/src/connection.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":"lore-transport/src/auth/exchange.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"5548c9e5fc944e98a9dad3262f14f33dfc8951c1f2fecf80845081bf9f36a33d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.remote_write != 0 \u0026\u0026 !effective.no_remote\u0060 appears character-identically in 4 files \u2014 lore/src/storage/put.rs, lore/src/storage/put_file.rs, lore/src/storage/put_file_resolved.rs, lore/src/storage/put_resolved.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":"lore/src/storage/put.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e9be3b55b0d566294666a1c6ced6e1f3cf0556e13112e9e92816de6153d452"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060keys.len() != values.len() || keys.len() != formats.len()\u0060 appears character-identically in 3 files \u2014 lore-revision/src/metadata/branch.rs, lore-revision/src/metadata/repository.rs, lore-revision/src/metadata/set.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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b128e8de752309c70b8fe11b1a5a71e23471fa347661b541b30570abdb643c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.is_directory() \u0026\u0026 !node.is_staged_delete()\u0060 appears character-identically in 2 files \u2014 lore-revision/src/file/dirty.rs, lore-revision/src/state.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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":2665}}}],"partialFingerprints":{"codehealthFindingId/v1":"b334d721c200bff3c3cf7fdd7b5772276536bb29d01923e44c5d60bb617175f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.is_directory() \u0026\u0026 node.child.is_valid_node_id()\u0060 appears character-identically in 2 files \u2014 lore-revision/src/state/node/pending.rs, lore-revision/src/state/node/sweep.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":"lore-revision/src/state/node/pending.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d02323b1d968fb15d4b7f03621eb4cd53f9ddbfc50d01d7128c39658dda8aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.is_discarded() || node.is_staged_delete()\u0060 appears character-identically in 2 files \u2014 lore-revision/src/commit.rs, lore-revision/src/file/obliterate/impact.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":"lore-revision/src/commit.rs"},"region":{"startLine":3771}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3af63f14e1fe55a91f58c43fb353c72156757755ed17a2f5a854c25ebb64ab6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.is_err() || relative_path.is_empty()\u0060 appears character-identically in 2 files \u2014 lore-revision/src/lock/file/release.rs, lore-revision/src/lock/file/status.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":"lore-revision/src/lock/file/release.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"84502e2b349e302d4f2751b7ddf3317d7adbcaee92d0b6430b4a02bebef06673"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.revision.is_some() \u0026\u0026 options.branch.is_some()\u0060 appears character-identically in 2 files \u2014 lore-revision/src/file/history.rs, lore-revision/src/revision/history.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":"lore-revision/src/file/history.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dccdb85c3d0446bb9cd7085bba0fc96228988f2fbf58a3b142fe984bf4b34d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060signature != layer.current \u0026\u0026 !execution_context().globals().dry_run()\u0060 appears character-identically in 2 files \u2014 lore-revision/src/file/dirty.rs, lore-revision/src/file/stage.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":"lore-revision/src/file/dirty.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5825fe347b2de55cbfafc4b34414c089b2e04c348738b97a2adaf8b0582b5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060std::str::from_utf8(key_slice) \u0026\u0026 !is_built_in_key(key)\u0060 appears character-identically in 2 files \u2014 lore-revision/src/metadata/branch.rs, lore-revision/src/metadata/repository.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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f19ee3db5ba2818e38c53f1ffb180a5bb6beb125a2dd79c78d77a6853afd49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value_type == MetadataType::Address \u0026\u0026 value.len() == std::mem::size_of::\u003CAddress\u003E()\u0060 appears character-identically in 2 files \u2014 lore-revision/src/metadata/branch.rs, lore-revision/src/metadata/repository.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":"lore-revision/src/metadata/branch.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"67049e8949f03dea21f35986ca5e83b9112c20ff73ee6942cde5e4356c694e05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value_type == MetadataType::Address \u0026\u0026 value_slice.len() == std::mem::size_of::\u003CAddress\u003E()\u0060 appears character-identically in 3 files \u2014 lore-server/src/grpc/handlers/branch_metadata_set.rs, lore-server/src/grpc/handlers/repository_metadata_set.rs, lore-server/src/grpc/repository/v1/repository_metadata_set.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":"lore-server/src/grpc/handlers/branch_metadata_set.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8990113fd82623b3ff10db8c51025808bd1eeabfa9334ab2eb0451b2a6cb96f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 219 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"5774397adccc027fd1f4bf4e35e2a393dd2846bd267a124fb5933f9f4f65e263"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 251 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd0bbbdccc8bc52163abd2b6a9c0237d2c5096523450d1df33e25be086ed1f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 255 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed55be57b02b9ed2f933e01be1483410d958878c8b009da86f9406fc516e063"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 272 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a440febc5780fe1289ba2740cbcea25767ae4a582b2195057e5ee5069f25793a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 279 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"202ec44e49801606c012ddfde4cc2b88bed892fe61db5bc212763aa13c8f9981"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 280 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f2125e7226c69ac4c130de11b70d23133d4ce9b5ef0005dad5abaee8b6ff6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 288 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c987a740b2e183a3fdc7315e0b57c8fcb1ccb21190829bbb541d20f7fc5c13"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 492 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce077c55e679040deba0e0a1e76a317b29051ce33c2612b494af06f498edab9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 640 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2016204bdccd352353ffcd831a616a985b00ae0cfb173f67b32022b095796f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 760 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"2143e438e74d2a4cd2732f04404943080d864d9cc4d4bb5829d82e09aa6208b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1439 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e7623991d6c70b04fcd32dc1e324fcf8157b4de6445f44925d3467014bc7fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1529 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebed7a7c9c2f717b41299bdc70e4331f3047176d1a49b2ce34be46cb299a5489"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1798 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59f2d423108b3c6d3bf514055aa854e72a497b05cefe155a9b8559616e4d8ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1812 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"866099021c93bd19524c81dd5add784290cf1b91e980cdd7d04045e9f9dbe1ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1819 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"73922f0e3c934416531637b7a8a6d4819f70d55b01215c4f87c1263d4876f27a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1823 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":1823}}}],"partialFingerprints":{"codehealthFindingId/v1":"4462a40d1758aab9ca293997664e0c7e515ab25aba6678800c6d84e7ea974a40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2049 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0c3205726843ef76b55b523be178e7869548063283503f57e61c312db22be3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2102 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"645116d006a9fda553fda8718bbce573381d9049d3be881448ebc029fe24c3ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2106 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":2106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6701452c44e36e191903ce509574b88a6f9222630c0adee6d9fbede63bdb178"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2205 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":2205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c1c7365a3cade604ef1bf42010cbe077024f01143168c0646a7728c942177d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2440 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9d4a0dd7fb936ae95f13a3c02f9978ce446e73e7adca8335b7f29e0efb56af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 2646 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"c243dd33186548811bbd6a43f51fbf5e4f5536ed5055d625d3133b6a2183b1a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2649 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":2649}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b89813ed503f0d934218bd9741222b74aa81516f44eb9831fdb69f4c551e966"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2652 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":2652}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ea522be2cff74800e92f8f436ca4593da0b227108e8dc3d0e39ee6d2ef68d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2655 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":2655}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5a3b51cff2d3b0396b0c61ff8f81ba8a537e215a3bde8a447caaadc6a43cda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2658 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/server.rs"},"region":{"startLine":2658}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7404aa79ab61d883d83ee565547e972151025c41f97a3fcb2cb01fb4f92c28b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 107 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/topology/composite.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"034b29b31d09460f50a6ef4ecb5dd5cb4dcca401404c21aa4bec26815c0d771a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 143 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/topology/composite.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"08500bf868974288cff487192aacc7c0366eb571b62a28cb8975c6f386802f2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 28 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/telemetry/guard.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ff5c2e1c658a57ae5e65dce40ce5c83cb290b602c83e3312c4795dfb6877f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 35 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/telemetry/guard.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"04582586e8fff2215776f06c76468e9e9d88bf031680ce5d205b9b7c134d3f61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 42 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/telemetry/guard.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff08cd19a7f50f8611544dd0a5233c99b0b8331412162efaa20ac8e2b4b7894"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 128 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/telemetry/tokio_bridge.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d810dd850d3d813db39e47aee817ec6f444c4d435b920b87ade62fd08d3fd02e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/telemetry/tokio_bridge.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"45933fc66a143e32d1c5e0f7eef3a7bb2b2df8db615c1341d9e98f05801b8e9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 146 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/telemetry/tokio_bridge.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bd200b84378a301ec9ee200293b25cad57c9ea29bbd5320cc38ac41bd2a12b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 283 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/telemetry/tokio_bridge.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8a4391b775b02a3c9aaf2eac31ae78bd62c4ea8b78b650560ec7d4a022d687"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 292 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/telemetry/tokio_bridge.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38aab53229cbe513f292a78d630fb516828b1493e91fb84d6bc0eabaa7cbda9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 301 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/telemetry/tokio_bridge.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b9ca61b74114a182333b746e280ca1fcbe85252f17c55fbee4541494f44e6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 310 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/telemetry/tokio_bridge.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8e5c93358cb4f46a525be6c814bfb335ed5bbba3eb885bb73c88561ec637e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 342 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/store/grpc_replica.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0810b4f7ae9b720d5edc1be1bb50faef7c75d4a3defbf5cd2c7e1769d1a75d26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 95 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/store/mod.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23917512591907eb64f7edb42369bc5db9d0efe2a4611a923f1cb225bbf795f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 351 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/storage_service.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7868cc88873c940f4cc91e1d40d7ab7e58b2bca00c15044eb0d5bad1a91fdb68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 311 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/storage_service_v4.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"5834eaa658daa43eb2a2deb69beb43413350c61a19805d55411f83e8dc654b6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 402 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/stream_handler.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36251c8fa2a72a83a4c26f086b19a52c694da7454fb3fb578f05288245fbac2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 418 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/stream_handler.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff9317c54a7c4f3d85959326ab312848674755e28bdccd6b0bab577daeefeb4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 432 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/stream_handler.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d27deacc3d03f16b1ee0925cc903bd525d1a58b7a211cfd34250ab101725d24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 452 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/stream_handler.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5e9941921c4ed2ca8916f9d40789b838e34d79524fe211be22578fe06e8565"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 466 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/stream_handler.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a31bb277004783f3d49580c7d69f14bf63d900398c5448afcd7192504706c66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 551 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/stream_handler.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed992b49ebdb0f7b618f8c203547dea549f653678882d0398c9a717b99978c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 221 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/replication_store_service/client.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ab0c33000d6f54a3a370a48c2732173e64f5e3cc08c3fd2336132d9931f34b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 252 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/replication_store_service/client.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc01f340c645b4b1b5e0f66022273a7e99877ba10713a4a7cb30cd71543fba0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 304 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/config.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f2ea1155445ce0d48ed5c28286ef8c777bf569822ed0c85b88a95a52189955"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 219 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/metrics.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7f563b8f40ed363de4231517b73c17b4e1c2ccb568c8eed3891afba2b7661a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 291 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/metrics.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e224af6011edff4bc2d4559b11d9a19acd2d3f08ed933b2d23df75e1119b72a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 303 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/metrics.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7b19437b98ba4a133e80de9d44acf0f31ac0d044d01949c1fffb878572842f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 69 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/quinn_server.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2667ed3d8ce5a5ee7dd3e2587ad2f064e0c8ef92055f5c96af35ab90044327ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 109 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/quinn_server.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"06680ad9b6b44d13633dab84f43a55ca1fd0b71a7a540b44912c6f058d14a4ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 110 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/quinn_server.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a32fc690ca5c2fa73f172cb4a14cced5d87ebab21965cfe14caa5d806ae6c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 111 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/quinn_server.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"53419f9acaadb7eb9bdb0701b75ed28278234d18975b3adb6e0996115e3703a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 371 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/quinn_server.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea8e263584e336903daba6d8eb6570b7b7be68d42ff4c708312db1fecaef90e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 388 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/quinn_server.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6aba85e320c7a72cdaffaa30fa7498ffebabfc744943ad2f0516f2b178f472"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 444 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/quinn_server.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b359a28aae12d41f73526fff5c12da17689c9ac7abd70e9c736e15d4fb7aa7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 468 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/quinn_server.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e71beab19fc945d0006f1e73b9a9336003f9fa72e38c7307ed9818e70fa2718"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 506 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/quinn_server.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce270b307c693ff3ed6f89bda4930b18c95198d6c3e5dcb138cd32d4fa831528"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 509 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/quic/quinn/quinn_server.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"74340a5ec302b986a27245062f91727200051ff2b428b3a97f48c252cc0683ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 59 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/attribute_map.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f369dec10061780ee6a1f5debb0e39ae8e74d2583c89472d53f0cbf76b832a16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 75 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/attribute_map.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8690857cb54a82353a8b7142cc90a6d28acfa20214b0e8b79f61e2dbc7d2a1be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 117 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/attribute_map.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8b8db3bb0615762e9b80576abd8aa610250b849eb7d409524f0f1bf70482af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 63 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/authorize.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4be489a235922268222e74c68106ff4194f079e4ea3ced0718b5a0a35fe3783"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 121 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/get.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"508f799759045b2fc9f6501869587bbd9f7564dbb33d3ed8311effc207e22c87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 173 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/get.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5170f6d04873cda430beb07075376a2b3bf0c17829d7ed628103e310ac1403f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 186 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/get.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c9357bb92d4f7f817d8889742df929150f7c6e65708204161068a4e2983993"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 87 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/get_resolved.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e213c24a1012d61d41a2e63d1ea441cc8d8bb46bb225325792ec101c36504e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 93 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/get_resolved.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90714ada9ac42ae561cdb6755f8f140d7f48c2978cb8af220d8a380e84a46b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 106 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/get_resolved.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc04fbda4714b60334a97659e7a315d2bf2785782c083781d3f0aa389d1bd49c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 110 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/get_resolved.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"007760ec5993e6161d01395a724033f005fb9aa794ee06a4e10071597cda0549"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 123 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/get_resolved.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c517f0dea66ccaaba21451c97c0884db25f262c73f997a588b53cc7487beff4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 126 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/get_resolved.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4941aa681f8c3f72a9e615dfb0a3171f26aae82e765be87c4cbd8ae5e151d9ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 140 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/get_resolved.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0c264bec88afec4fa9c64bb338833317629f7428fb18efcc802b893c1f8256"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 147 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/get_resolved.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3e229731c2d0d84d99cf00de4a33ce2f5fe880f11fe8ef29c9d02cf5e5eeaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 99 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/messages.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e127ca22c74a3c66ab9da813633252ce1d36e87647acd03b89b2a1d479692e17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 72 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/mutable_cas.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b456041d3c45a1ab4053362a15b503c3adc33366b9f4bf4f3f7f712033e2ac1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 84 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/mutable_cas.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3be07ee74a128e788ff83a6eef4c713a1329e059dd4eeab50dd042204aedca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 91 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/mutable_cas.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b30ac7a64f30120589651075d47d26b84e580dcbe4af944fc2468f6d5a848ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/mutable_load.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f1287c98fe6e6f68cdd442cbd25be714513e91ce2d10fcb70877ae8cb183c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 67 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/mutable_load.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d24d157ceaa60cbb01a4b8dbbf95923753c35c25232308c4fcf0bc5f751a777"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 72 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/mutable_load.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f896b10994c65c520b74e3114cd5d2c1a3d3141de101ecb9f4228d66f961f78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 76 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/mutable_load.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7b4518322c3243bdf8dd1ce4541818234ac8ff18cdcd92e14a98825a30b262"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 87 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/mutable_store_handler.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d3a5983524c88b77d18ca4005ea4cddc6c31488cb6b51c0a6d818ee66de67f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 96 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/mutable_store_handler.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41daa555164210400adb05191e805db973bb7ac5cef926141c1d4e38b624b59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 101 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/mutable_store_handler.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"78efd265ca69da10af59467a07a2e13b82bb567bbfff8471537c6dd77832ab87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 29 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/ping.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4613bcd82e16e61618b41e99a010f6347278eee1b383fb1026c9159dc4bb79f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 263 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/put.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c42a5a0d8d4390398cf9f52d5eb3b14bd19c5d4482ec60cd3edf4bb98ed49a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 303 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/put.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6034bf912fc6390e8b125121628b6ea44783498e4b22180eb90fb36906dd4ac5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 130 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/put_resolved.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2d1690bf64058f2e921b1774ac9e12e9e2b62a842250912b0bcfbc6077788e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 132 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/put_resolved.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b3939d2d1e98558611365e955177b493ecf6508cae51db42d4b76f3d7b74f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 141 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/put_resolved.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c410d71989037b3d8c7f170d0c7ed3eae23e0993c66adf06bbaf9e0fcb75fa9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 65 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/query.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63203c75e8bcda5f80454e9d5a4e2e050069f9d07e738f3ab4e1745a02b6f63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 97 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/protocol/storage/verify.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe33c1edafa1d7ed002c6104604adb53da6d37df902a24cbab92b69a7600178"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 255 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/plugins/aws.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba51db36ed50df6b35bd467b1800ddd2ecf5d77e1c95f997194b1bee275660e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 411 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/plugins/aws.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc956e23b10de97ce1cc66c78c4410291bd5543cfddd3eb61ff1ea43fbc4cc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 505 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/plugins/aws.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0a09944b8976fd1090fa744188ae36e62ee7c4c2cf62719466fec44f38ef9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 302 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/http/server.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb125dee7800d1a9bc0c16b42e575f363b29bbc0f0236cde79e266e012fcd48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 376 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/http/server.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c6b3cfba7c17959c7a8b7d1175f3fc6330fcb8d28c658c3ff66edf41e44324"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 416 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/http/server.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23cb0a610a92f18b16a8ad549a72dcac4f430ab9d07caada3807c4c7d457a03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 52 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/http/repositories/repository/contents/put_repository_content.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d529434218df08444f9208ef6a4b38042e108078b4600be2715d39004fc0886"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 53 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/http/repositories/repository/contents/put_repository_content.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc47e771d211d0b1cc064a15a2b31cdf6867c73732d9fbbf4a274ad935252be1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 90 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/http/repositories/repository/contents/put_repository_content.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e05a226aa82b9912ee929114791743a804495ae5f9cfe5b0dc1289870f103d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 111 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/http/repositories/repository/contents/put_repository_content.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89d20411ca9d985f2c2199605571c56a1cbe79d851cbcab61db9be352e3765b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 144 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/grpc_internal_server.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"688b22364d1d6c578e27978cb2c0d0acd5edb3df4faf8b6be059ed3cc693cd9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 148 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/grpc_internal_server.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90f29cb40e021b4b0e2717ac8ffb1163c09d13808c487f7810bc24b65c6e77e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 283 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/server.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0986f0e73ee356f2430b920ee36c8eff920c0ef4d5a4c31babe9619dd239ac1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 289 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/server.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdb3e61e0d0e09a5b586f0b6e91de43bf1cbae2e307a1b34d8a49e64d69688d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 979 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/server.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"8619a128afd020c7392187dac650f1c63af85de32ba88cf47fcb27869a903ddf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 263 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ea31c697ef823c96b5218856b024be0d78c18a4b6c8c463fe9ab80cf42433e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 408 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8059c29ff399a60ad1067f94ad3a9ef829884c832191de2e7633cc32534e71b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 648 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/storage_service.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aea230d67d3db9111f77388b9868d298bd753f9b6190542bc551feebd14a5a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 260 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_create.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"47326e9b0cabb7e4e722865d458ca78b831252af82ae81c7fbac5f1dcc8acb3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 270 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_create.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff1df3669c81cb2d6e11583fbcdc94aafeac4d3a729bd4c9ea6472e076d48c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 278 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_create.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"848092bddca3ca16ae9e6859b79666f84c2e77b3995837ecc5314d6104d4b023"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 296 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_create.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"042aef2143653cfba13b0d0f9052e5e58644ad7f81b710308a624bfdf73e01f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 374 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_create.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"b281cc113461bf9a350f5661ffc54cad98133d9d93a01675f13ea2b43b928695"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 72 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_delete.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4830ff687ad49ded54c454f67420eb513460bbee0c51475b27f0598a7e5b1a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_delete.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2531ec26d516e26110ff7e64574dd940ad4824c64d3f608df18605d41808e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 186 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_get.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0825b71e04da5391a75d228fd42b41de4d31fc7a841b85d6091257b5abda951e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 206 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_get.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcf7d37dc3468cce6926f307c4e5d47481c3e53cc97910545c8b2ef89cc15e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 215 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_get.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0596881ca13d2e894ea810c8e960b6cc617d2e6c5d7b135025dfcd20a79b26c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 223 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_get.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"304eb271e0977b4fa21b6299dcca7bcc47a3186916aa98ab5f1a36eefc289419"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 255 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_get.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"436e4ee7d369df547474c0fc713cf1f1f9113e0b7bed1c96144e3d985957d390"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 273 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_get.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"380983114f63dfae00ae34c198cce7ff78f399fa7ea8610a265526c9106e404d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 279 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/repository/v1/repository_get.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b64182ebdf932bcb78e20b5c0aedca9976f618d9609d560d43eeb0069d0dc59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 53 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_diff.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"866a7e26d9623e9400177f8abb343a34e046caf6b40790acc05d59354d22378e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 118 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_diff.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"97905c2a221e8c2415da84d0962e65c2fa6db72733cfe6e10ab0b0ea3199b40e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 125 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_diff.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3709e6dd2afbf0e88e9a7d03935efc54f793bc742927e7afd1facea3774aafd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 133 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_diff.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"152d28e8bc9ae03b285845cf53a619643c2a020893cdbefab11363b437ac6268"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 140 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_diff.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f170062d3496b8ee87f8d02ec413531512daf0150fc02e097fdf04279a1490"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 159 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_diff.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"15346f5e7f67e2100c5f773603917fac76e3c998be727fb4bf612c0ac052c113"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 60 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_get.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1a471fdcd229c4fe18c1f4757706c9a7f476ab983034ba0b2d1e4c07b4cdd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 68 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_get.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a7d17383495c38fc2f383c285a4193e21bd9bc21aaf83ec12e81b2966d3bbe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 64 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_list.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42951e63ad8089e92a1471f4f1eb1908ec4bf217313a66b7014fa87e2422074"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 68 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_list.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0dc0beb5e440e366dd77b78e7b85b07a8f41c18045f99bd431db77e8b8145c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 39 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_protect.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07ab998335553f8b7d07f7f04a7b325182e31a4f2432384f8b62e612101eab5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 55 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_protect.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cb64f49905720030ebfd482955c2ffac17c86572d42d994bdec904700e1986"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 59 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_protect.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4d49bde754ad2cdb2d13791abd87e7a28048e8dccde33e0b64f4d70db2ddc1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 63 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_protect.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"60478c033340ee0371c28266dad2ab8b34f7663965e6202b141a1b855cfb3115"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1815 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_push.rs"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a7add4abf87eb60224e05b462ccb7f56de4409ad71a663965434f0ebe3efdf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 67 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_revision_list.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"653aa0249e05ab643ab256a16bb76b2d029238fc9530252cff5636f5813a843d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 79 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_revision_list.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b7b9e7ed3c98f988540780b1e0a513808da43d7113a03ce61f0221c7fdc10d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 39 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_unprotect.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8934b1bc4fd495fc87db86f9f362ae475c5ec7b0aabac43aeaf42c93cf7b9182"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 63 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_unprotect.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"13934165e7f30307d7a3f903ba9a5b83db190c5f112302f18245fdda828d522f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 67 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/branch_unprotect.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92d35bf2bb2940a33157f14605a6381062038240c5ce9d045ffc94d5d55e6fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 83 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/obliterate.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e6756ef98acb805a0856c4cf17d584451b9654604bf3a08d4a10c23c9b16fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/obliterate.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e135bd0b8c8c2afca38bd43137ef79bc5e35a8209ff4baa86e39894064c224a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 112 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/obliterate.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e44ad51e1f512c64941820b2a7ecd4d4e6218b73f527778994dae4ba5afd78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 124 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/obliterate.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"453449888ab6f8ba228198f646a44b6f77bbad5fd602f17bf1fbda7272ab116d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 131 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/obliterate.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7401757d0cf5591ac44e1158293c8e10a94bee909d59d7785ac6147b252ad2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 102 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/path_diff.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"52352a0f942829ede5277c06219db27c7c993ab8099f1ca1c8ae62b67b539a46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 186 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba8cb9072216002ad2e8394bf85ce6e0566af76f992a99f16bc95cdc0b12dff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 202 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bc8ab7273f7b84707e6bab798a50506bcec143c9db5cf58bfbec3700d001fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 210 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4704e39c724402fead64598453c78e50bb5295d5dde5366638f2b39851cd2da0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 234 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa8e5c2681d88a99189f709ae164a60415d505c90d2e6744cb4a1b4e49019d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 319 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_create.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d93ff02820a04d260d7d9a8682a5985679ccb193182ef414bf0fe3fed54e1d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 61 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_delete.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"259ab954b19e1de0a59f6b43625f55b40eaf34fe679ea982ff6c225b13375e1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 106 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_delete.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"98eec1770b538708d44deef54ce07886cb6c714111ec98a4e576a502a3c67c3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 138 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_delete.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"136db56075d1d8c37a05a8d5a084c1ae1a869221459323bc17712a0574c34238"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 73 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_list.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02ffde1079554d3c48fd802b00f8ccc8ea6f9336ee18f20721b3eac89b679d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 81 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_list.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0c64dcffeaa2e9518963f871603185061faaf50dbff0ac5ce50795f2904796"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 99 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_list.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe6511645a785066f63658d1ecf1c3bae02726bd7dfc7cebf71823fb140a6d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 102 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_list.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b93d674465a6b12f02a4c106b87518f7e41165668e22e58ac7342595fc8830"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 106 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_list.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"64040d811c03bfda95b6d856fba6ec8e0d093fc12fc4d92551bb2c23a168d278"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 69 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6d8ca42352697fe57556eafa1b1c1fca91c97db8ea3884d836c8b18724c833"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 82 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a872be7c534ab948f663ac13aba402ef4a93740f7f477b437ca77715a0303579"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 108 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f49fcf4b55fb46bf096e614291dd8b1db411c691bd9f63b6399deef5d01279"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 129 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e239dec0a721a48ce28322280f697bb85ab8d47b11fab360a6c3df8778d3713d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 138 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d3723095d0bc130bd00b1fbec34611eb4470d14d57b48047adeebb0978425e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 146 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b17b1957c747c9badc184f6bc4c374b6e1f6a292ccfac22e1b8b090b81c9dfa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 151 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f1e5b931171e2f0553c5e47a9071ccfc9a58bd6cc0df0f3cc85402a29b5df6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 178 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a5c7034f5c8b46e2e1e669f5750b6b1d54e78477483f7959ef8ec3a6d9ccd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 197 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18a346be53777c3fee2be80e708c949507c63a3d54922f3475f2a0600510234"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 203 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8de2e44f079f1ea0f2c1f48c8e3015dba5300b18d4377f3c50621de045ea9d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 209 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/repository_query.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d130cec76ab15b266b77001a673655feec36d3c9bb41ce729dae6274d068ebb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 84 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/revision_diff.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcee8a3200ec6d327a474d1aea62ebe7481f7f161114f3133b7787c03c6f35ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 66 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/revision_state_history.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5b971dd2b24992970a08c97afb5fdbebfec31bdf1cee0ba5b35bd54d94d1e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 102 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/grpc/handlers/revision_state_history.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2264f703b738e557534274e406edaa2b8e22db8c626166f7a5a1ca1f850d2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 26 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/correlation/service.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a85ded1c2eea1fc597a551bda1303dfbb887dc01c133f5c758e35cfb7a4049e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 612 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/authnz/repository_authorizer.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e63a4350ad5356bd0306e7631213cc7c6e542551a458074e9088066f826072"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 451 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/authnz/repository_catalog.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0195d12c52740d62e86465632d732107efae09c6de129b5d949dd41d7cb8ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 70 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/authnz/repository_registry.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6b5e7f3843a11da91b343609d43d5a2a49ff3cd9d0be5157b5cb37292cda0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 109 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/authnz/repository_registry.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"23803403ce51c539ef9f327ede2ddd35bfe885f631d95e779bd1e451ec3a9a03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 123 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/authnz/repository_registry.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7bceab49d2ae02d62971582ad6b5201f73a7f7abce13c93624d299ecb1eb48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 157 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/authnz/repository_registry.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"26599c727237cdc19dbcafd5d683dadc42bec2c61d8b1554ae6f4817d160f08a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 146 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9a1289c2300d5888e651007141bc412f5c4f5cb9978a27bafba3997fb24cf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 152 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b400ba4634f60fa8c86d131a17683932a0b0a548d2108066062cd9316bc3c7dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 156 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"54594f72774b319f24c506fdb11165b74e75a3ab0b5469030230450d6fb00db4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 163 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c3f0a4f0306f0f081e5ee5ca891f66c56f0a8c935ac9f3b6d568fbea422634"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 266 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b643817205afedc85dc1bb4c5dc0328b3a76e40886f5c4a419a086ef64345467"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 287 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7b24dd274846dfbfa695db537dd4f4ca9c137fc349f3af15327f4718d4a3f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 329 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb8b21427e922ac7934df9e68791a055eefd0201ab56226154e346c1d752593"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 343 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3008dbdb7934f406baf1347dc5526e3545bda0b2041f0929afdd83426da6cc8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 352 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4be3783a164246511ef05df92759821266058289ae7b19139a87147b88b9576"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 579 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9230f42128edd789f8f0ecc6c3cc9d22f07ac1a4d720e16304f92cc10971fa3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 587 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc9d3fda3ff0b6dccc29d6f32a265a25ef66d53e39f7c07008dce05f837cb4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 596 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"1581b11f2ec93dca8aed1d41102897020dfcf89b6c781513cea2c4372a5c5a9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 601 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c87206cd3e93d5b235db7e5f8a9f01fa50b808a256d870ba6725fb5f211f618"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 609 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced5e6c057a6bafd4f516c552f5c05fe9fdb35c7eb93760050ea6c58994babea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 626 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e04ca9c71e4358869cd95e8d6e4f6c9bc8cd03a107c7e5113e51ee029a186e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 644 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fb34f10de0ddd48598f2ae43a82b34d523ca1c247c1a4338ba4fecf861259a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 659 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"971c13299ac626f34507f43ea94baac4f60ed778cf93b53297f38dc1c4c13760"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 661 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2e33a089ffcb2eec95da5d1e918bed110b1a2cf16fd8ea7a254ee193c80869"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 691 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwk.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c522c531784fcd92249c391f2de5be5a6899a256bfa2751bf558df5f06c7fc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 445 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-server/src/auth/jwt.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e231d2054ca1e42fbfc1372c32a3c8a1b0decfd6aaa8d0b91dfbd07f419bb65"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 38 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-chaos-client/src/probability.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dc7e814d30e51f08955d17eede615e931f9230f4ee52dd8e24dde91b8c2a2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 23 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-chaos-client/src/parallel/runner.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a368ed9d499bfb2cee4f2586e37c2dfb463994c0eeebd8032fb8dcfe98f85c54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 207 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-chaos-client/src/lore/interface.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"79688443af1284f584c9e656f03f7014ee13b7215f414e58c550c8e442762084"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-chaos-client/src/chaos/performer.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ed88ac185f50ebf5a45951315abaa9f8335da0c7aa1ade3054953e3c487e4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 112 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-chaos-client/src/chaos/performer.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d6786247bd3fb57800d5eb9198ea0a491aff2ed51c034ff718867f83f37ece"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 232 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/clients.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e460c43e0f95609303a35c936b4fac1fecd5a377a58d61870de5608c8c09989"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 253 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/clients.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7ac698f56bf8a498c7ee889426af860581aa5c40239419e5a989cbce06e956"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 282 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/clients.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b814eb21c7b4dd0071f64d507a4dede8c2d64acbbc9c286d2e304e9495a1c116"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 294 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/clients.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb35ef15790b93278964fbb1cdfebb93828653b6c49e5220efceaa04268ebba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 298 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/clients.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cd69b711d5cfb4de04fd0fd5b3f1b00226d94d2f6b29d64857f2a8fdfeaa24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 324 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/clients.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9b39edb398fa633c8c65a126c8c620b15a7c8c7d5292e180504a66594de1b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 328 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/clients.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"996df2c757a4ec47c0f5beb6b5e8fc71ecffaf34d88907398c24a1c1735fce28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 333 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/clients.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3eefba8d17bc53423e7ff659534b1981dc50e6dec2ae889ed1f5a7cf0c80382"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 590 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/dynamodb.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea72233d077930fc0f4297441b72833b03a119f1ee83b769f55993f6f962c715"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 109 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/s3.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d62b3a11fc98343d9e1541675dc919c125acbcca5c55d69d0b0453d78d869d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 722 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"899ebe84970d413b77bda21013170f3d88307980955e6c636e1c41862497b461"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 770 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"926b9e27d34ea946bc7af7ee6f2801146228a0cc3259fef85744722950bb773a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 794 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a9dd792c8e0f1b4fd5b152e530af1aac2f795b268ae6ceea836cb7af260faa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 841 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3b4caea75f754945371003ee4630fbc407e1dce009c41bf36ad7fc4591144c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 861 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d13874bf3fc995f7409f7552590ad3ce8e466a5ae868212f1533b71dc9f502"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 868 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c6b0459e25821f103751e3ee83fc28dd37397bd778fb8a24b7ce58b1d9c634"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 927 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dfff30d7c55da78a8400f4805707a766a40fb4b486c64f545e726a63e3d0d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 958 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb10f0666591a7fe4522afcbbd956952f4bf442446ed6f17954cbac6a2a7798"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 987 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"f123f576e6ce5f2475749fca8c14a60ba4b7f5ba5e81e42f1ef743014ee93da1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1051 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fef72f3d9f1214d9606e504c08aec05a76fd347be1df3cf0d3c29cd412947b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1116 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61b0b6793c230c4b6c7840c1a0fed3470cece30cade640f7d7fde3a06562359"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1160 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"373ef3c5c4d9c2371fc7bfcff5a95f0786bec2dbbda53a7301fb1fef001f7410"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1202 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc43083c9570e6ed40f055c2d1ff541af90761475046fba45b550cf2d41b23b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1229 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"43144981cfa311ee6f4861fc336836648cdf73d419bbbc1d1c6101a0899b3bec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1262 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c072a7ee0067532c1c1223413fbd7eb17c59d53ed9c41ff92161dd8841cf7f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1294 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"9451fb2e926a50f82cbb727fe4d3f860cf9de4bd9e899b1b2e42007242fef978"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1358 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"4288cab973a7fce7c6e442540ebd8caf894361119fb10e41b10ec196303fde6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1544 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62bdc19fcf41ce84917a5a791e545a7eeb5c8b33c98e95803288931f7ed41bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1562 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad245027be211c65e7f6557d15b75e4faf3b7c766240dd062c5aedc6199359d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1591 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"30db5bf7c0ea546a2ca7ed9e7693909fc7b54821717f5a1acf6d24e8ac4cca3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1624 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4d559e8d0dc127b8eab1b29c4cfc8791ffa5cd7f19043054d414dc1b266ab4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1647 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b1d37948afae553694598802e5fe6deb2592cfade7c828d579c769d02f785b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1725 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a5c2d2cdbbd3d23550f2cc06dcb3e1d6bb1e5cf51ee0b44660a57f726c1c08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1728 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"633b695946d33e418ac0e2c3df5635afc48bd754c47bb9a6867a3f46bdd87336"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1753 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e7b4ab47a9100d70626962e778a6be014d4fc7e81652225c748ca07fc35eb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1784 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26335b17fa5997e32c5a6d8e680bd21fe7329bd7359aca8104995e6cf0ca728"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1812 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a88e868892988ce8f7a742ecf613df820e507c831bbe9d2913e8bd1980031d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1824 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"516f2978af91f2da2799fbe27a06d62ca20a8711f65996ee1f0fd80ced4e93ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1839 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1839}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0ede899750b78f7304d9077d352cffabcca71f1006aaaa02b836848b4b6655"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1857 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"e498de23c7499cc930cbee4431168f670d2659d2e3dfb66a1d09a219303442d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1861 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c78e927188aaa5d9dc2650a9cad360fa882f558e13c4538a4d6ae5e499d1ee3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2110 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"298f8b964143920e3b4e73a7199e05d4b4ec54ae417e87992f54cf29107100aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2161 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f53fef78ffc73003727cb578aed0c723c08c8f695f1b6324940154c032fa29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2166 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":2166}}}],"partialFingerprints":{"codehealthFindingId/v1":"585a7d7c500de04fffffd4d8ceff1c750a14c002239e308ae61febda493b0c58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2186 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/immutable_store.rs"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"893f29b1f8bbb25f1c29e4a1e311ab73a4a978cb85647243b5a4e4fa6f7b2733"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 306 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"333ffe2f3e7127deb75f8c1c37e6a0380e39661e0cde122ff6b397a66500560c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 320 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad86dcdf00dfa903f735c5e14aec00afe07b04e92f62c585e81ed5faa675efaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 334 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6cd8e5d738300bc8f6f993a2c620123659f15cb8ec6c8ad47fb7e55fd51c4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 464 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ebee6251cf677e495e2b44ec0fe3fccad33e7a15133db4acdaaa527fb1f9e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 471 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"d940f7087c67477810ae79d51a9c1392303764bd2f76e136e9651a295380bfcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 480 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffe76b39bde4caf36b36b18e266c7350b16ade6af6c03518b17812b4f69d99c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 486 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"15229c93947052f842c82342d11b5ce911a200d07fdb6d930dafa844a3c27a0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 585 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a561bc154db50cd539ff42d1c8a297c000b7e56a8cb97a00b4077c0290c6beb2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 660 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39f009e8f695a92341a9cbb97ab575fc1e93649735b140c6b6b04393aec920c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 677 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ab950347ea7a2bfe7ada4de7215cb638926e8ef3bbc6fac3170e5e7fe37d0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 683 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"407cd49ac0b121a1b93c986925151b0f27f67f8215ecc3ee5ade58d6311e6e45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 696 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da3d72929cc1dd5351121c2851cf2640813560217bad4d254de9fa22ff27117"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 711 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9ed9a7fed2a990b88824b77f4ec45ce74087d26574d5984a46a7ff8ad03fda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 716 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/lock_store.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b79a54e57c8ff319933c4a84a46df778f1c88b41cd3049e47c576bbab20de6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 134 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/mutable_store.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9da7744c048dcc5def3c2796063847658b171f49d71f50721cafad0be9404cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 283 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/mutable_store.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"514db872eedfd9cf911525d8d5602f8ba3e13d1ad543f24ac755f7ae1f6827d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 467 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/mutable_store.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5f2e4307c0317490ec211b99c527aa99ce4d8d0ff9a1d90c44467728e15f61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 559 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/mutable_store.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3f9a967464683a2b3467c3fe6ea0eebfe3f76fe2fa0ae186d8c138cde7e7cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 561 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-aws/src/store/mutable_store.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"8918f505ff7fe595435c18a67fcea5244b75a69525a0f37ac22e7de9de266f72"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 50 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/analytics.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5c9f65030feaadd04c5442bf0e9a5fa0e48380445de70806a4fa73db78b777"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 93 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/analytics.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8159255ceb08e56217bd8e39a0369c1eca589494ba0d4cfbea20ff62eb78e173"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 96 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore/src/analytics.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"136a4d560f0f136a01b6d53910218d7d706bca98e9d1c1013bdac76579d48726"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 178 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e165073cab816933b90e2a198269bb1c122082324a7c91ae48a84e851aa3a704"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 191 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f551464193c4b98224f6e599cb0f972e1d0c770690706bab78dc8c0eda8d6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 204 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cac6b096a2e51f53f6c01e06e22ca1e732b6c972afe880b3a66f7aa4301fc4e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 220 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2d0cafe83214419b1e1155a500b2362a5a80892f377800ff80589d5b45c737"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 221 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a51e3c657dfd073d708174bd670dc5ff8e826e9220973f1109db29c7bf4003"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 243 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"99240463af5dde8665ce14fb68aa59f05c7cdfb82aaa2afcf46bdfafd56f5a26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 251 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b546dbb8a9d1fabe00a2d1185909a2a737d98c8a0f793a095bf3280f98aa07"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 277 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c8a6faab4107e050f4907afc1b31baf2806e6f1d51d390828f89f5210cf0cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 344 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c87aee8597ea5108caad25cc92f2ec5beb10b12e57bb69e622d8156a23f421b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 383 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1b24189b84b48d7b98082d4e07243a4c33796b27d2cd0cd99ae4d584b8c88c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 394 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0a65ba16bd6aeae7055c9c8bd55f0a4e074b9c9fd655f995e12790deaa06ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 738 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc19d4df37ae7edfa6efaa52a18e108740e30adcafdc966988f364bacd596082"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 739 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-worker/src/lib.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab3703948a1593fbf1cc84bfd9996d1bfd60d0fa114b7472665b90253c73389"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 210 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/cas.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"171e95d466842dbc23078d4b89180037934edd92243cf726d9b0d9fc679b2e83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 547 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/exec.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7694d76ebca47e2b8bbe4e6db442a8dcccd802464d77335896e85c44a83951"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 113 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/main.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"764597abc3440664b9a637ef4ac5fd91b09aee691bc30925c8ea31a36d2e9ed6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 132 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/main.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3861820870b67b83da8edca34a094080244d35976e62329c100c8e4aede2713"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 148 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/main.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c405892ef28c9a11a026b60d14fd5c85697ecc219d800f1fe78f61ba75e20b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 184 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/main.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d118782f76340b03052d937ef945c1388ea418580d7c93889cd33f8053d28be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 197 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/main.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"651b7290dda9991c28127318191aac1ec9b228112174b30a3354a99e78e13356"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 227 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/bin/lore_rbe_index.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0edade1a7cd8072b85a28b7dbafb9adb28e61caf425f84125e66d20669570c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 343 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/bin/lore_rbe_index.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3ceb8bf6b6faf7b091f8e94b7c6a251d4cb70e433fa110f902d21085b223ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 352 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/bin/lore_rbe_index.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5a6a3241d5da69198462668c0dab45b55454a992ea44d9075f846e4364b331"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 371 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/bin/lore_rbe_index.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c908fd4ba0eaf2f1cbdd536801198bb3f01fa8a040919a43effb25e50b3874"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 386 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-server/src/bin/lore_rbe_index.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e9c1b43ae66f079fb4cf5fb6350b024162f34875cc3b8f15a0e95a36b54acd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1171 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/bazel/crates/rbe-lore/src/lib.rs"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e936f4ac0a4cc516fd63536d0a9f44b94f7727e49d50570ca17be55109ac02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 157 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/aws-migrate-0.9.0/src/main.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ca9ca40f8b34e5d8b5b255558e76e126ceea8bfb75646ac16950e52f95625f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 247 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/aws-migrate-0.9.0/src/main.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75a2440ebd8a2a8b3cf78fc005a697f8282145e644c469a6116fa545d42c927"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060resolve_user_ids\u0060 turns every \u0060Err\u0060 into \u0060HashMap::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/auth.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"7024601d637c72aaa6e79012c0fc529159d2e8abd98de51d3de9d94e666e7499"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060resolve_revision_user_ids\u0060 turns every \u0060Err\u0060 into \u0060HashMap::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-client/src/cli/commands/revision.rs"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76553c70d7ff88c5d9a16bffad54d54429f5e092c5d3e456acff34dbca79bf4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060read_targets_file\u0060 turns every \u0060Err\u0060 into \u0060\u0022\u0022.to_owned()\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":"lore-client/src/cli/util.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aaadb9b66c838ddcbd401b391ddae39c430e36a49117e639646f052f232a13"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060children\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":"lore-revision/src/fs/swfs/modified_tree.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabbc76d9dd6d0a19614506530b4d3be56bcd893bcf7e4ef6b8882d1cd97e024"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060deserialize_link_merge_state\u0060 turns every \u0060Err\u0060 into \u0060Ok(vec![])\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state.rs"},"region":{"startLine":6329}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1439eeae3acd64fa81f5e6130a775a88f717c0217944be77ff7a1fd9d11aa31"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060attribute\u0060 turns every \u0060Err\u0060 into \u0060Ok(0)\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":"lore-revision/src/state.rs"},"region":{"startLine":7481}}}],"partialFingerprints":{"codehealthFindingId/v1":"e737a4ba8bf4de261ff3e77f01ac29eb689381b35fefed5c67c582bc4292b4f4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_filter\u0060 turns every \u0060Err\u0060 into \u0060Ok(FilterInstance::default())\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/filter.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9707fb89030decb663f18c180a4e3b90301b1bb0041382395d734c428977b3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060readdir_ino\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/fuse/filesystem.rs"},"region":{"startLine":3791}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed2e795e2f15528117e6b3ba7e7e6b380094ea29206ffd941dcc2160571cc55"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060swfs_c_read_file\u0060 turns every \u0060Err\u0060 into \u0060Default::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/swfs/api_interface.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c479b2d9a7278a2c3d54a07bea8381371bb4c5f001dcb7efdc496964076487"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060swfs_freeze_callback\u0060 turns every \u0060Err\u0060 into \u0060Default::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/fs/swfs/api_interface.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8522d9b283994773682398c3eea9ed3fa5942fdea6725b50404888d07f9693"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060tree_prefetch_from_env\u0060 turns every \u0060Err\u0060 into \u0060TreePrefetch::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/repository/prefetch.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"65eab78ee3965113203ee8b7fb3ad6ec123cd8aabc0a73c3946043c249a5a608"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060load_remote_latest\u0060 turns every \u0060Err\u0060 into \u0060Hash::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/revision/history.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"19291fcff531ac560d85b6c74f6e810ec14f6697c3a44a7b5a19940d45195479"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060stored_modified_time\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-revision/src/state.rs"},"region":{"startLine":10690}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6043964955981bd4098b73d19e2fbf447b7dbf03e9721f32166d2ddf57837e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060format_parent_child_chain\u0060 turns every \u0060Err\u0060 into \u0060\u0022\u003Cparent block unreadable\u003E\u0022.to_string()\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":"lore-revision/src/state/node/discard.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3274c3cf0ec1bc567647cf68dd588be739e1fa90484df6eda0a01c9f23eddac"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060command_to_metrics_label\u0060 turns every \u0060Err\u0060 into \u0060\u0022unknown\u0022\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":"lore-server/src/quic/storage_service.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7ff2778d7bd4673f2733c473f0ac1951403bc6e597dad4e2c4081e4cb0b18d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060command_to_metrics_label\u0060 turns every \u0060Err\u0060 into \u0060\u0022unknown\u0022\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":"lore-server/src/quic/storage_service_v4.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4280c4d5776ab2d96758cc3198595d2962df7c122a2526db7191b44440b024"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060packstore_total_size\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lore-storage/src/local/immutable_store.rs"},"region":{"startLine":5077}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64d8d8923bb4c289acaa7b9431283bf43c9a5e97514df4543888e474a009f82"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1220","guid":"778dd409-4c3f-1951-90c2-50410b5c91ba","name":"CWE-1220","shortDescription":{"text":"CWE-1220"},"helpUri":"https://cwe.mitre.org/data/definitions/1220.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-326","guid":"7ee78bef-7589-f65f-a9d7-619f3485e844","name":"Inadequate Encryption Strength","shortDescription":{"text":"Inadequate Encryption Strength"},"helpUri":"https://cwe.mitre.org/data/definitions/326.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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/"}]},{"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-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":103,"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."]}]}