{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"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":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"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":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"TensorInterpreter::execute_op (cyclomatic 340): TensorInterpreter::execute_op has cyclomatic complexity 340 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb37c6423bf191b8a271fd61787bd73f3470b92246ef0706f0aa5a280eb3648"}},{"ruleId":"D1","level":"warning","message":{"text":"ModuleOperationIr::visit_mut (cyclomatic 84): ModuleOperationIr::visit_mut has cyclomatic complexity 84 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b0bf3c098a8da1981da29242a1b0f69df12d6fb78720264a62cf479ef03384"}},{"ruleId":"D1","level":"warning","message":{"text":"ModuleOperationIr::mark_read_only (cyclomatic 77): ModuleOperationIr::mark_read_only has cyclomatic complexity 77 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":4386}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bfe9f2d44d495e983ec0cb3c1ff840df3faecf4dd51b455c3296d874cb9219"}},{"ruleId":"D1","level":"warning","message":{"text":"ModuleOperationIr::inputs (cyclomatic 74): ModuleOperationIr::inputs has cyclomatic complexity 74 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":4020}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe246dd07082a0d34e8b4be6012c060b9838738cc41c473e7631953d50a6d0d"}},{"ruleId":"D1","level":"warning","message":{"text":"Unpickler::run (cyclomatic 68): Unpickler::run has cyclomatic complexity 68 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pytorch-reader/src/pickle_reader.rs"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"da264c35606d11461000b2b00dae4be49e49736fd2a8874e54ac27e12f067b04"}},{"ruleId":"D1","level":"warning","message":{"text":"Flex::int_cast (cyclomatic 67): Flex::int_cast has cyclomatic complexity 67 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b595ddb63a54b1bf22b230943d30e5347dda2cbba8f4cf868f7fa54bff48e8"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_linalg::solve_cubecl::blocked_rhs (cyclomatic 46): burn_linalg::solve_cubecl::blocked_rhs 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":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a1c7ad0729e3169a0a0ae1de3097f682aaa88ab84433c242df350de2e33c6b"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_linalg::cholesky_gpu::panel (cyclomatic 45): burn_linalg::cholesky_gpu::panel has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/cholesky_gpu.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd5cba234132cbb40711bf86a5b397d6b0afb01bb4a29217fbe3ff528efcb1c"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionHandler::process_task (cyclomatic 45): SessionHandler::process_task has cyclomatic complexity 45 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/server/worker.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f330074cfbc0b256fadbedbb03543878144368f1f70838eea06950816890511"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorizationPlanner::run (cyclomatic 42): VectorizationPlanner::run has cyclomatic complexity 42 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/planner.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"701b8607db873bbc7662a985545c8bc700bdea5fa67b99db58a26a67d8efffb4"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::reduce::reduce_dim_f32 (cyclomatic 39): burn_flex::ops::reduce::reduce_dim_f32 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":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"6694da0285aace3cd60a04cc426734d04e909bc1a509c57b00a5fe9153334396"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_linalg::solve_cubecl::factor_panel (cyclomatic 36): burn_linalg::solve_cubecl::factor_panel has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f16db1f799902a63d3eed0a0c05fcca50794aad55e0205b3417e4ba155df35a"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_vision::backends::cube::connected_components::prefix_sum::prefix_sum_kernel (cyclomatic 32): burn_vision::backends::cube::connected_components::prefix_sum::prefix_sum_kernel has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/prefix_sum.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66856cbf88af82f5a62b76ca3dcdfad4486b7095f3b27789a51b48c23aa0223"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::pool::avg_pool3d_backward_impl (cyclomatic 29): burn_flex::ops::pool::avg_pool3d_backward_impl has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"427e32c37b98749bebcd9904723ded7cf18b7c8da17db813039eb61437100c1a"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_linalg::svd_host::bidiag_host (cyclomatic 29): burn_linalg::svd_host::bidiag_host has cyclomatic complexity 29 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/svd_host.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb84083aea35cb10d6f9e756d21f90fd8cab256002514b91ac7d5f87fb101cd"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::conv_transpose::conv_transpose3d_impl (cyclomatic 28): burn_flex::ops::conv_transpose::conv_transpose3d_impl has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv_transpose.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"252226bde513e0b3fd3af5b05033a69037a8608def944990138bf648202c0c2b"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_linalg::solve_cubecl::factor_panel_shared (cyclomatic 28): burn_linalg::solve_cubecl::factor_panel_shared has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"33af7460207d3c61c8d55960df11b3537d98d7f40aa19770ec67f594badae9a3"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_vision::backends::cube::connected_components::hardware_accelerated::hardware_accelerated (cyclomatic 28): burn_vision::backends::cube::connected_components::hardware_accelerated::hardware_accelerated 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":"crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f1b2028834d7c786b147dfb30be98ac08f13565ed3e9267714db4e56301cab"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceOperationFuser::fuse_base (cyclomatic 27): TraceOperationFuser::fuse_base has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/fuser.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"562624a842c603bd57e1ba54cf64c00e03018203ff573bf0a02630bcbb69690e"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_cubecl::kernel::ctc::ctc_alpha_beta_kernel (cyclomatic 26): burn_cubecl::kernel::ctc::ctc_alpha_beta_kernel has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/ctc.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4ca5d8ee4956964fb5d4eca5ee90ac12570f6556ed0a911788bae4405077e2"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_cubecl::ops::base::q_reshape (cyclomatic 25): burn_cubecl::ops::base::q_reshape has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/base.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93b4871adfa2aec5a85577b3c34d27e3bcc93cb11e0f2157be56829a76d31f0"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_cubecl_fusion::engine::codegen::io::read (cyclomatic 25): burn_cubecl_fusion::engine::codegen::io::read has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/io.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6158cfebdb3388cd8204ee9ff3778fb963656695e02f3a4473534f034c3e7f81"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::mask::mask_where (cyclomatic 25): burn_flex::ops::mask::mask_where has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d42a7d9950214082a8e2d0c0daea8724246c75630a5df5ab83e9082e4dabda"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::slice::slice_write_impl (cyclomatic 25): burn_flex::ops::slice::slice_write_impl has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/slice.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d740db2167272583f12696fc8cdeb83414cbbd5b489c01e03bcea4cc7796c1a2"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_vision::backends::cube::connected_components::hardware_accelerated::strip_merge (cyclomatic 25): burn_vision::backends::cube::connected_components::hardware_accelerated::strip_merge has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"349a38a36c7f84af521f43f197b6f1e14637ac4003fd5a383818536c60a2e907"}},{"ruleId":"D1","level":"warning","message":{"text":"Autodiff::deform_conv2d (cyclomatic 24): Autodiff::deform_conv2d has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9f91b95fe45ac66dd7390f2977e726c1287044dd0f78c404dbb0eff428ef6b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReduceFuser::fuse (cyclomatic 24): ReduceFuser::fuse has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce/fuser.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bacaf97ef9d5dfcb7591045f12e61e3d7aa2a92c6f5f9c786896dcc8a24dbd"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::reduce::argmax (cyclomatic 24): burn_flex::ops::reduce::argmax has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: 5 other methods here (burn_flex::ops::reduce::argmin, burn_flex::ops::reduce::max_dim, burn_flex::ops::reduce::min_dim, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5120d25dfd56ee39d703ecf8ba2f43c1014826f8fb643b14a528c40df4a08e8"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::reduce::argmin (cyclomatic 24): burn_flex::ops::reduce::argmin has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: 5 other methods here (burn_flex::ops::reduce::argmax, burn_flex::ops::reduce::max_dim, burn_flex::ops::reduce::min_dim, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c56500bc91448efa3b1bc813c6b0c7fbcc549895d59cae2ff54a8ff95174ede"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::reduce::max_dim (cyclomatic 24): burn_flex::ops::reduce::max_dim has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: 5 other methods here (burn_flex::ops::reduce::argmax, burn_flex::ops::reduce::argmin, burn_flex::ops::reduce::min_dim, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dabed32d0efca5ffa1678804e5cb0bb17d473b0cbf4257c6048d2285b98984"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::reduce::min_dim (cyclomatic 24): burn_flex::ops::reduce::min_dim has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: 5 other methods here (burn_flex::ops::reduce::argmax, burn_flex::ops::reduce::argmin, burn_flex::ops::reduce::max_dim, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ecaf7515e3005f4b2f74ce63d815526567ec99b00b4e63a7511fd5b3bbac5a"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::reduce::max_dim_with_indices (cyclomatic 24): burn_flex::ops::reduce::max_dim_with_indices has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: 5 other methods here (burn_flex::ops::reduce::argmax, burn_flex::ops::reduce::argmin, burn_flex::ops::reduce::max_dim, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b42737f8a9f25e37fa1fc9328744e3ee802ece82a6b0faa595fe28546dd44f8"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::reduce::min_dim_with_indices (cyclomatic 24): burn_flex::ops::reduce::min_dim_with_indices has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: 5 other methods here (burn_flex::ops::reduce::argmax, burn_flex::ops::reduce::argmin, burn_flex::ops::reduce::max_dim, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"037ff515d6161653f23188e0f02b32fbaca1120d037a1535b11bded397d990b9"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_backend::cubecl::dtype_to_elem_type (cyclomatic 23): burn_backend::cubecl::dtype_to_elem_type has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/cubecl.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fe8c0fcdbe4d767f04a0e9c38a25ec76aff296209b616df1f1bdca1713913d"}},{"ruleId":"D1","level":"warning","message":{"text":"Plan::new (cyclomatic 23): Plan::new has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-einsum/src/plan.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f964448bd9d3770fc7bb8d08f77da497e273e5f337ab26821682d433abe201"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::attention::flash_attention_head (cyclomatic 23): burn_flex::ops::attention::flash_attention_head has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ede3af80aaf05aac60ed80bc5e015bded63fb43d17237df3f70da04c998c10"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_vision::backends::cpu::connected_components::spaghetti::process (cyclomatic 23): burn_vision::backends::cpu::connected_components::spaghetti::process has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce4149394089efceb152e59847a226e4587ca75c9cd50b9635916af7b9a9f08"}},{"ruleId":"D1","level":"warning","message":{"text":"DType::size (cyclomatic 22): DType::size has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-std/src/tensor/dtype.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"837b4696f08416c6bc7f92eee893fad9499caa3816aaa699493617ced165f2ce"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_vision::backends::cube::connected_components::hardware_accelerated::strip_labeling (cyclomatic 22): burn_vision::backends::cube::connected_components::hardware_accelerated::strip_labeling has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc46ddf3abda109679b8b39f79d0b687324e0d00790dea30d909c7c10c94a511"}},{"ruleId":"D1","level":"warning","message":{"text":"LaunchPlanExecutor::execute (cyclomatic 21): LaunchPlanExecutor::execute has cyclomatic complexity 21 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/executor.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bebdf966dd09e0b211ee53b33001a8b0067b57485a298e0ba2db4f1bf39ea6"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_cubecl_fusion::engine::launch::vectorization::base::vectorization_swapped (cyclomatic 21): burn_cubecl_fusion::engine::launch::vectorization::base::vectorization_swapped has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8126888e265bc82a711647ea62b674df5b18e3c7f2a80908f589f5ad8629f93"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_optim::optim::lbfgs::strong_wolfe (cyclomatic 21): burn_optim::optim::lbfgs::strong_wolfe has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/lbfgs.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"933a7668efb4338c19e9af4709b0d970b7a257efc2b86235b63f0d8b3ff54797"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::tensor::copy_2d_tiled (cyclomatic 20): burn_flex::tensor::copy_2d_tiled has cyclomatic complexity 20 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1ab3e668a3aa08a36aea29b99f734e91721a2f2f581b0392f99afce8e4638c"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_fusion::search::merging::merge_blocks_step2 (cyclomatic 20): burn_fusion::search::merging::merge_blocks_step2 has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/search/merging.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cef98caed09f835d4fe7b0dc24cbf2afdd544f370189b38504efb798d5c39e1"}},{"ruleId":"D1","level":"warning","message":{"text":"TensorData::assert_eq (cyclomatic 20): TensorData::assert_eq has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-std/src/data/compare.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65f7b5c96faa9aeb2cb762c34d938691e40daa4cd65480b4f243c3c3ca837f1"}},{"ruleId":"D1","level":"warning","message":{"text":"MorphColumnVec::apply (cyclomatic 20): MorphColumnVec::apply has cyclomatic complexity 20 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"02247eefef182f30d800a57924a51a2f7b0171549fe40d2e5292c23ec21eaec6"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_backend_extension::dispatch::expand (cyclomatic 19): burn_backend_extension::dispatch::expand has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/dispatch.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f846464f31f14dbc120ad689e2daf784a0918aa3a17dc1b5841d6ef57ba642"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_backend_extension::extension::lower_extension (cyclomatic 19): burn_backend_extension::extension::lower_extension has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/extension.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"647aff528e61db93194c7303f063662bb090cb49ae3d934057424846f1670cc5"}},{"ruleId":"D1","level":"warning","message":{"text":"FlexTensor::copy_contiguous (cyclomatic 19): FlexTensor::copy_contiguous has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7b078f1cda9b449ecdbf9dc6da006f4ddd8d6c2f840e96ee0a52ef76f37d9e"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::conv::conv3d_impl (cyclomatic 19): burn_flex::ops::conv::conv3d_impl has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc15aff3310030d32aa05b1a5b4195c6161c450669e569ed50f9e3aa5ef23768"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::deform_conv::deform_conv2d_f32 (cyclomatic 19): burn_flex::ops::deform_conv::deform_conv2d_f32 has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c8dcce5fea28d9de393db62b6b88eb3af1ca8b1279ae2a590d339eb29bcae2"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::deform_conv::bilinear_interpolate_backward_f32 (cyclomatic 19): burn_flex::ops::deform_conv::bilinear_interpolate_backward_f32 has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a658bc4bd8a94351ac7e439fee6ab5b9271b94a2c55b75dc951c4ead07b06a"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_linalg::functions::solve::solve_impl (cyclomatic 19): burn_linalg::functions::solve::solve_impl has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/functions/solve.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"006365674a6be17ed1bec9acdfdb68249fff3d9709920f4f720d190645220b92"}},{"ruleId":"D1","level":"warning","message":{"text":"LBFGS::step (cyclomatic 19): LBFGS::step has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/lbfgs.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66523dcf31708543803246b45b0bf6c7996c917166d192717bcd7e7eacc6a09"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_vision::utils::save::save_tensor_as_image (cyclomatic 19): burn_vision::utils::save::save_tensor_as_image 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":"crates/burn-vision/src/utils/save.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e89d513a256f8b6051c23d3616af6df7a6f8e8dc42037d3b825edc073a235b"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceOperationFuser::fuse (cyclomatic 18): TraceOperationFuser::fuse 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. This is NOT this file\u0027s highest cyclomatic complexity: TraceOperationFuser::fuse_numeric (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/fuser.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7e3c555613da9c6e46bcff10bb84023685c8614859ee249a9b324bb90a6a3f"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::deform_conv::deform_conv2d_f64 (cyclomatic 18): burn_flex::ops::deform_conv::deform_conv2d_f64 has cyclomatic complexity 18 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"075f915cc775cda9c9aed0f85894c5557a9a2c236e91535ed8a9569cf869ba00"}},{"ruleId":"D1","level":"warning","message":{"text":"FilterEngine::start (cyclomatic 18): FilterEngine::start has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter_engine.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dce7c949d45295339c24e496df15030b992c998135341d2c4ea5ce4457637bb"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_cubecl_fusion::engine::codegen::kernel::init_locals (cyclomatic 17): burn_cubecl_fusion::engine::codegen::kernel::init_locals has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This is NOT this file\u0027s highest cyclomatic complexity: burn_cubecl_fusion::engine::codegen::kernel::fuse (cyclomatic 37) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"78824da4b08ae0bfe81cf51936107c41b32286bf3f36f36eb142b99f01c3c2ed"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::bool::bool_binary_op_simd (cyclomatic 17): burn_flex::ops::bool::bool_binary_op_simd has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/bool.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a155f742b85fb22c78262b94c4520cb6f2121e98623b37d2d766dc2b045067ae"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::gather_scatter::select (cyclomatic 17): burn_flex::ops::gather_scatter::select has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdcab65999c67f4cbbb0d32de50241d1d0cff3a3bbd6b88335285111dbfb4d8"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::reduce::mean_dim (cyclomatic 17): burn_flex::ops::reduce::mean_dim has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e8ab75b6439a9b0cf5609c2044c70518e5873515a7765560128815408e8b31"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_linalg::solve_cubecl::solve_rhs_shared (cyclomatic 17): burn_linalg::solve_cubecl::solve_rhs_shared has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b3d2755263da107b65847c1c3ca22adc5fcd0fd0b72d0a5c5cca4f22e00896"}},{"ruleId":"D1","level":"warning","message":{"text":"TuiMetricsRenderer::handle_event (cyclomatic 17): TuiMetricsRenderer::handle_event has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/renderer/tui/renderer.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf50c23f692c01df69c93c73a23ca1c596e16a35eaafcbb0508f1e900f2e2d8f"}},{"ruleId":"D1","level":"warning","message":{"text":"FilterEngine::proceed (cyclomatic 17): FilterEngine::proceed has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter_engine.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1c2090bb6524191f1b730ec9ab8c2a7fe2ea8199cb18a3513c1cf83a017e1c"}},{"ruleId":"D1","level":"warning","message":{"text":"LazyMethod::new (cyclomatic 16): LazyMethod::new has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/parse.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"beaa0d55b575c8168489e4da3294bcaf3be96f62483df5ac21b606ca06670b68"}},{"ruleId":"D1","level":"warning","message":{"text":"CaptureScopeGuard::complete (cyclomatic 16): CaptureScopeGuard::complete has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-capture/src/capture.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d06af3431f18ec760014ca04001c2220384743febe3626b4554034b4406d18"}},{"ruleId":"D1","level":"warning","message":{"text":"Flex::float_cast (cyclomatic 16): Flex::float_cast has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: Flex::float_scatter (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/float.rs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"69122b478e891c23bea10eea68b23258e8ba20ea9f70e696e5506dbe9a330d24"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::attention::naive_attention_head (cyclomatic 16): burn_flex::ops::attention::naive_attention_head has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a618049ae19cdae136b4c73cb1a64bd752f8bd37cfc1e9562401d55b38f63fa"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_flex::ops::gather_scatter::gather_2d (cyclomatic 16): burn_flex::ops::gather_scatter::gather_2d has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"171f9ab4f521f6b76753573d74cf42a49dc796e53c65b1b761297cd1972ac24f"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_linalg::functions::cholesky::cholesky (cyclomatic 16): burn_linalg::functions::cholesky::cholesky has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/functions/cholesky.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2461ba15e5257a918b05deaaebe1751849ed6e8c6c5f37e43820a28867535583"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_linalg::solve_cubecl::swap_and_solve_upper (cyclomatic 16): burn_linalg::solve_cubecl::swap_and_solve_upper has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f65773b3719fcf489a70f7506989b5e12e38c36ef012ae3659a60cf82a2d418"}},{"ruleId":"D1","level":"warning","message":{"text":"burn_linalg::svd_host::svd_host (cyclomatic 16): burn_linalg::svd_host::svd_host has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/svd_host.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca5ea7d7ac11e131ec2e2a209f64673ab74b37ce7326341d97f7f8f47394ede"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::solve_cubecl::blocked_rhs (cognitive 138): burn_linalg::solve_cubecl::blocked_rhs has cognitive complexity 138 (threshold 15). Drivers by points: if/else 25 (79 pts), loops 15 (50 pts), boolean chains 9 (nesting depth added 89). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb978776cc504914de9febadf541f344f6e7e415f9ad845efaa6ade0b49f4d1"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::pool::avg_pool3d_backward_impl (cognitive 116): burn_flex::ops::pool::avg_pool3d_backward_impl has cognitive complexity 116 (threshold 15). Drivers by points: if/else 11 (55 pts), loops 11 (53 pts), boolean chains 8 (nesting depth added 86). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa28e7aa4f62a0ec7b4ae75fe2458355362e135472c20bbe97adcced7333e929"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::cholesky_gpu::panel (cognitive 100): burn_linalg::cholesky_gpu::panel has cognitive complexity 100 (threshold 15). Drivers by points: if/else 28 (71 pts), loops 10 (21 pts), boolean chains 8 (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/cholesky_gpu.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea70b1d548e14b6aa28268cef14270118d57f9b5efe05d7ff7353a445024cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::svd_host::bidiag_host (cognitive 90): burn_linalg::svd_host::bidiag_host has cognitive complexity 90 (threshold 15). Drivers by points: loops 24 (81 pts), if/else 4 (9 pts) (nesting depth added 62). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/svd_host.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa948860622437bf847ad7327ce90fbadc1d73fb705c6a1db22fd6889d81dcd8"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::solve_cubecl::factor_panel (cognitive 89): burn_linalg::solve_cubecl::factor_panel has cognitive complexity 89 (threshold 15). Drivers by points: if/else 18 (56 pts), loops 13 (29 pts), boolean chains 4 (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a7347881591b8327168643bb028dd123b2c44eb97aafd2826b1b5a23273608"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::conv_transpose::conv_transpose3d_impl (cognitive 79): burn_flex::ops::conv_transpose::conv_transpose3d_impl has cognitive complexity 79 (threshold 15). Drivers by points: if/else 21 (43 pts), loops 10 (33 pts), boolean chains 3 (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv_transpose.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"135d0fa7bf911447922049f03dcdc02bf3bfb4acc84cf7db96059998eacba9e0"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_vision::backends::cpu::connected_components::spaghetti::process (cognitive 77): burn_vision::backends::cpu::connected_components::spaghetti::process has cognitive complexity 77 (threshold 15). Drivers by points: if/else 32 (70 pts), loops 4 (7 pts) (nesting depth added 41). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb8660dfb4177c7c8c0bcc06c27d7ca35d52a9ee7edb1c2dcc5b60d77904739"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::reduce::reduce_dim_f32 (cognitive 70): burn_flex::ops::reduce::reduce_dim_f32 has cognitive complexity 70 (threshold 15). Drivers by points: if/else 29 (39 pts), loops 7 (20 pts), boolean chains 10, match/switch 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bbb74596e3b94d834c3823f91fc32bd3322e193d106e0d500c85aad822dc72"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::tensor::copy_2d_tiled (cognitive 70): burn_flex::tensor::copy_2d_tiled has cognitive complexity 70 (threshold 15). Drivers by points: loops 16 (64 pts), if/else 5 (6 pts) (nesting depth added 49). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b703cf89f063d486095459fc222325071ce2b86b4824b8a147720183c435f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::solve_cubecl::factor_panel_shared (cognitive 69): burn_linalg::solve_cubecl::factor_panel_shared has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (41 pts), loops 11 (27 pts), boolean chains 1 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec45a93b5dd20e0e8ed28a0544df70ce53fee56299b4451317ee1f4eac56f57"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_vision::backends::cube::connected_components::prefix_sum::prefix_sum_kernel (cognitive 68): burn_vision::backends::cube::connected_components::prefix_sum::prefix_sum_kernel has cognitive complexity 68 (threshold 15). Drivers by points: if/else 24 (46 pts), loops 10 (21 pts), boolean chains 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/prefix_sum.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4166e13f2112a450509b7c38ac0b41a99c751831179c91750af4ea8ea6698a7c"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::slice::slice_write_impl (cognitive 64): burn_flex::ops::slice::slice_write_impl has cognitive complexity 64 (threshold 15). Drivers by points: if/else 22 (41 pts), loops 8 (21 pts), boolean chains 2 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/slice.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7523cbaa6ae6e592f37b709048b4b5554f631f04527f5a67d471eb8ef4611aeb"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorizationPlanner::run (cognitive 62): VectorizationPlanner::run has cognitive complexity 62 (threshold 15). Drivers by points: if/else 12 (26 pts), match/switch 11 (21 pts), loops 12 (15 pts) (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":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/planner.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2919661af889d97784e889a7798d7a0292aa9b3d47539618bdb017df1271548"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::deform_conv::deform_conv2d_f64 (cognitive 62): burn_flex::ops::deform_conv::deform_conv2d_f64 has cognitive complexity 62 (threshold 15). Drivers by points: loops 15 (52 pts), if/else 2 (10 pts) (nesting depth added 45). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"763b34dcef9078139b578c28ca921d60221ff3bfd400119f6f1a483e6892b52b"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::pool::max_pool3d::max_pool3d_forward_kernel (cognitive 60): burn_cubecl::kernel::pool::max_pool3d::max_pool3d_forward_kernel has cognitive complexity 60 (threshold 15). Drivers by points: if/else 11 (47 pts), loops 3 (12 pts), boolean chains 1 (nesting depth added 45). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/max_pool3d.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e34933daa7c576a4fe25c2bc041cf5929cf5654c160ce06891ad824ec5dfb18"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::deform_conv::deform_conv2d_backward_f32 (cognitive 60): burn_flex::ops::deform_conv::deform_conv2d_backward_f32 has cognitive complexity 60 (threshold 15). Drivers by points: loops 11 (42 pts), if/else 4 (18 pts) (nesting depth added 45). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d320c00908cf0907e3833009061c310089683bd5dce203ed642e7b5df27d57f"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::mask::mask_where (cognitive 60): burn_flex::ops::mask::mask_where has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (42 pts), loops 5 (14 pts), boolean chains 4 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd3683f79bc45dad719a35c7ea9afd539abbd6df84f65a448c250cafe7a31bd"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::attention::flash_attention_head (cognitive 59): burn_flex::ops::attention::flash_attention_head has cognitive complexity 59 (threshold 15). Drivers by points: if/else 13 (36 pts), loops 8 (20 pts), boolean chains 3 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"e745d6ff1513b8720ea5dc3399cf8168b25557962784fcdbf60561d7dac1b7ac"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::pool::adaptive_avg_pool3d_impl (cognitive 57): burn_flex::ops::pool::adaptive_avg_pool3d_impl has cognitive complexity 57 (threshold 15). Drivers by points: loops 14 (57 pts) (nesting depth added 43). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea78328d1d7b13c08d54f411e5d0b8fba559b5cad5a121296f3b4cd9dfdfd120"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_vision::backends::cube::connected_components::hardware_accelerated::strip_merge (cognitive 56): burn_vision::backends::cube::connected_components::hardware_accelerated::strip_merge has cognitive complexity 56 (threshold 15). Drivers by points: if/else 24 (48 pts), boolean chains 7, match/switch 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5fdefc86b9e163c110ceb47d0272a7bb3765d4afbbd965b485fabd499100e3"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::pool::avg_pool3d::avg_pool3d_forward_kernel (cognitive 51): burn_cubecl::kernel::pool::avg_pool3d::avg_pool3d_forward_kernel has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (39 pts), loops 3 (12 pts) (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e58c3d7f3195003f69bdceb765580612f9ba8bc584838f98cad72d5b3fd327"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::ctc::ctc_alpha_beta_kernel (cognitive 47): burn_cubecl::kernel::ctc::ctc_alpha_beta_kernel has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (31 pts), loops 8 (12 pts), boolean chains 4 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/ctc.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f35848cbcd3dd60df31d98ff87f92654da00d69626207a4a13250cd7224dc86"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterEngine::start (cognitive 47): FilterEngine::start has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 6 (20 pts), boolean chains 2 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter_engine.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"601fc4f2f79c7062d684de2d57dc976a9330fd7789b9ee9cee3c4b6a8c84f79b"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleOperationIr::visit_mut (cognitive 46): ModuleOperationIr::visit_mut has cognitive complexity 46 (threshold 15). Drivers by points: if/else 24 (45 pts), match/switch 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"353a55084655ca3e5679c92665e1eee661a36f25dfa10f47386923e145a118ef"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::pool::avg_pool3d::avg_pool3d_backward_kernel (cognitive 44): burn_cubecl::kernel::pool::avg_pool3d::avg_pool3d_backward_kernel has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (35 pts), loops 3 (9 pts) (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff16c3170b4dbf83d44296c9f8a9892ae9c36b758e5cee78ca8b2c16bb940f32"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::conv::conv3d_impl (cognitive 44): burn_flex::ops::conv::conv3d_impl has cognitive complexity 44 (threshold 15). Drivers by points: loops 16 (42 pts), boolean chains 1, if/else 1 (nesting depth added 26). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadb4d3969093aa93ba6e5cfa32cc401c0bc515ecfcd365069692d0eac0c8707"}},{"ruleId":"D2","level":"warning","message":{"text":"LBFGS::step (cognitive 44): LBFGS::step has cognitive complexity 44 (threshold 15). Drivers by points: if/else 19 (35 pts), loops 3 (9 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/lbfgs.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfd48f8abd4dcd26485fa2663f60a9dd2bd70ecff0572317778f58704f94ed5"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::gather_scatter::select (cognitive 43): burn_flex::ops::gather_scatter::select has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (28 pts), loops 6 (14 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a1bdb6df1895f00fb4c19efbe81d3c5992d3cc91fe45a7d12da67380775e33"}},{"ruleId":"D2","level":"warning","message":{"text":"MorphColumnVec::apply (cognitive 43): MorphColumnVec::apply has cognitive complexity 43 (threshold 15). Drivers by points: loops 12 (30 pts), if/else 6 (12 pts), boolean chains 1 (nesting depth added 24). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8fbbd96b08bcb7706e3c3a7e032f43482401d88dd73df22eff48577a8aa9cf"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterEngine::proceed (cognitive 43): FilterEngine::proceed has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 5 (13 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter_engine.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0844f3653d729c382ae8d2fa6681332a4936295c86a6ccf106a45c3390fbe354"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::deform_conv::deform_conv2d_f32 (cognitive 42): burn_flex::ops::deform_conv::deform_conv2d_f32 has cognitive complexity 42 (threshold 15). Drivers by points: loops 16 (39 pts), if/else 2 (3 pts) (nesting depth added 24). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1f816914ee0c9b8bfebc5c45ebf658ec74eab0f2ba626baa3b38b58d13b9f0"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_optim::optim::lbfgs::strong_wolfe (cognitive 42): burn_optim::optim::lbfgs::strong_wolfe has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (35 pts), boolean chains 5, loops 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/lbfgs.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"75aa25e6088fd6accc7e49a6ed21d4f5f0b42f4f506b0c2771d69b8fc8ff75ff"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_vision::backends::cube::connected_components::hardware_accelerated::strip_labeling (cognitive 41): burn_vision::backends::cube::connected_components::hardware_accelerated::strip_labeling has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 8, match/switch 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3886c248b0b80bc468a359c59ccf59dd6accfc2f7a774cba1a88a6b16fba9856"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::gather_scatter::select_2d (cognitive 39): burn_flex::ops::gather_scatter::select_2d has cognitive complexity 39 (threshold 15). Drivers by points: loops 9 (27 pts), if/else 10 (12 pts) (nesting depth added 20). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ef95f5a42c3edc29add1d2c1fdf20f6a94d79fc904b67c8cad8035ad8bab92"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::pool::avg_pool3d_impl (cognitive 39): burn_flex::ops::pool::avg_pool3d_impl has cognitive complexity 39 (threshold 15). Drivers by points: loops 11 (27 pts), if/else 4 (12 pts) (nesting depth added 24). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"4055bdb3fd12fcbd9481e339ae130a9638d63745e4f5927e043e957d25922a86"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_backend_extension::dispatch::expand (cognitive 38): burn_backend_extension::dispatch::expand has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (34 pts), loops 2 (3 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":"crates/burn-backend-extension/src/dispatch.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"409bf7aead5882b8fa8f030eb3e10204c1154bb9c5dd2aa8a4065d002487a3bb"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::pool::adaptive_avg_pool3d_backward_impl (cognitive 38): burn_flex::ops::pool::adaptive_avg_pool3d_backward_impl has cognitive complexity 38 (threshold 15). Drivers by points: loops 8 (32 pts), if/else 3 (4 pts), boolean chains 2 (nesting depth added 25). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5da2308352e657534ca7e103c4bd8a870310cb51fa16ecc108bdd0af27396e"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::svd_host::svd_host (cognitive 38): burn_linalg::svd_host::svd_host has cognitive complexity 38 (threshold 15). Drivers by points: loops 13 (34 pts), if/else 3 (4 pts) (nesting depth added 22). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/svd_host.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c6dc70948008d140683f1638c7fa39be647aff4de239acf9bffa84972b406e"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_backend_extension::extension::lower_extension (cognitive 36): burn_backend_extension::extension::lower_extension has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (23 pts), match/switch 3 (7 pts), boolean chains 3, 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":"crates/burn-backend-extension/src/extension.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f154369b842a64a06228ce5c1e95822cf4bbe2c2adf7b87c485f87ff2c09e69"}},{"ruleId":"D2","level":"warning","message":{"text":"Plan::new (cognitive 36): Plan::new has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 8 (12 pts), boolean chains 4, 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":"crates/burn-einsum/src/plan.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5541525f5cf8d0b16bb0b0cb779b82c33bc6b6811cc48991a1270193e43dd055"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::gather_scatter::gather_2d (cognitive 36): burn_flex::ops::gather_scatter::gather_2d has cognitive complexity 36 (threshold 15). Drivers by points: loops 10 (26 pts), if/else 9 (10 pts) (nesting depth added 17). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e315966809baf7566cd63eca797b19e94a9193d264f6c2d5aa83f0dcb1dbe4"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_vision::backends::cube::connected_components::hardware_accelerated::hardware_accelerated (cognitive 36): burn_vision::backends::cube::connected_components::hardware_accelerated::hardware_accelerated has cognitive complexity 36 (threshold 15). Drivers by points: if/else 29 (30 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"58521cc0682c132cb765ed6f77f68896d638fc34b2c1fc1a88bf015cff740685"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphMemoryManagement::useful_propagation (cognitive 35): GraphMemoryManagement::useful_propagation has cognitive complexity 35 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 4 (12 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/runtime/memory_management.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"389d5c8dce5ba12c16abf2b8db776b9206102f1e98ea150a7d7c8c484f3a096e"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_backend::backend::ops::pad::pad (cognitive 35): burn_backend::backend::ops::pad::pad has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 20). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/pad.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a84f5c2923255e73fee7e4355ed2c8d3121eb0d69be934cb441f5c8a025afa"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexTensor::copy_contiguous (cognitive 35): FlexTensor::copy_contiguous has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (21 pts), loops 3 (10 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf89c304fc5f2292e014e836c9a0cd1ee09d4de57e24199edb2d7ed25a888fe"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::mask::mask_fill (cognitive 34): burn_flex::ops::mask::mask_fill has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"491fa5b4f08b3ba03d6b48ae7e5ae2582da03e295bb2d52f025b99009ec648ea"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::conv::conv_transpose3d::transpose_direct::conv_transpose3d_kernel (cognitive 33): burn_cubecl::kernel::conv::conv_transpose3d::transpose_direct::conv_transpose3d_kernel has cognitive complexity 33 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 4 (13 pts), boolean chains 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose3d/transpose_direct.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3f7a7f1882c46cb22fd778684e570d6a5669a431e0f7ff265c2c7934a24b19"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::gather_scatter::select_update (cognitive 32): burn_flex::ops::gather_scatter::select_update has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 5 (11 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1076bc37fd066c3123b176be84d34224993fea18640593d2af4a31d6e584f2a"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::grid_sample::grid_sample_2d_impl (cognitive 32): burn_flex::ops::grid_sample::grid_sample_2d_impl has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 4 (10 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/grid_sample.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b7364365b114766838370f0edd5e7607008c15d6a855836036662786222fe8"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::pool::max_pool3d_with_indices_impl (cognitive 32): burn_flex::ops::pool::max_pool3d_with_indices_impl has cognitive complexity 32 (threshold 15). Drivers by points: loops 11 (27 pts), if/else 1 (4 pts), boolean chains 1 (nesting depth added 19). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1a89551c7fa198bb591ffb4a403d52a4fa6cd3957c27923762675ff68a24b6"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::conv::conv_plane_accumulate_oh_outer (cognitive 31): burn_flex::ops::conv::conv_plane_accumulate_oh_outer has cognitive complexity 31 (threshold 15). Drivers by points: loops 5 (16 pts), if/else 5 (13 pts), boolean chains 2 (nesting depth added 19). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"df58562e9484edb82cf136c46fd7f162ca14d4e7dc67dd5df720d0f6f1473ec4"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::reduce::reduce_dim_impl (cognitive 31): burn_flex::ops::reduce::reduce_dim_impl has cognitive complexity 31 (threshold 15). Drivers by points: loops 6 (18 pts), if/else 9 (11 pts), boolean chains 2 (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c120c8257b1e31bbbd1c39852ef610223ffb8f7063f4c8d5ba804d24648b7692"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputPlanner::inplace_output (cognitive 30): OutputPlanner::inplace_output has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 3 (9 pts), match/switch 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":"crates/burn-cubecl-fusion/src/engine/launch/output.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"940eb53e4b742e4dd79f3d8420171976d2f87df334523d215d4d9d6f80fb0c21"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl_fusion::engine::launch::vectorization::base::vectorization_swapped (cognitive 30): burn_cubecl_fusion::engine::launch::vectorization::base::vectorization_swapped has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 4, loops 2 (4 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1170c22b29894e091c064677ea675a346c0170f54f831aeeab1eea10dd727f10"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::attention::naive_attention_head (cognitive 30): burn_flex::ops::attention::naive_attention_head has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0d90253c569f3f04080d579c69058bd3957c3a2209b90c222717450d6c0d9b"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::solve_cubecl::solve_rhs_shared (cognitive 30): burn_linalg::solve_cubecl::solve_rhs_shared has cognitive complexity 30 (threshold 15). Drivers by points: loops 13 (25 pts), if/else 3 (5 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f08f940d008d0375a362919aa649247a8d8e88c2c6ef5852c8baaf51e8ec9f"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::solve_cubecl::solve_impl (cognitive 30): burn_linalg::solve_cubecl::solve_impl has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 4 (8 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"1634faf31c04ae889273289d5d87c9bb414d4f5064c5b090271342403a2e61c8"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_vision::utils::save::save_tensor_as_image (cognitive 30): burn_vision::utils::save::save_tensor_as_image has cognitive complexity 30 (threshold 15). Drivers by points: loops 4 (10 pts), match/switch 3 (10 pts), if/else 5 (8 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/utils/save.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b835c196283c5af605b6ba451d92d3fe5db8a7e88955a1acc401c54622d240dd"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceOperationFuser::fuse_base (cognitive 29): TraceOperationFuser::fuse_base has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (26 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/fuser.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0e73eec8605ddd3e4312f9785eed1b9981109f9be229df3f77e9333746597d"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::functions::solve::solve_impl (cognitive 29): burn_linalg::functions::solve::solve_impl has cognitive complexity 29 (threshold 15). Drivers by points: if/else 20 (24 pts), loops 4, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/functions/solve.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e8c6e3ab610eeedcca144bea1dda04dca8a75f4a3486aca08fc783d289e5b5"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::solve_cubecl::swap_and_solve_upper (cognitive 29): burn_linalg::solve_cubecl::swap_and_solve_upper has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 5 (10 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8624b357af5105b4b820717b231a7bc9466ae3a35e2c9035ec2c3e30e9e1d1"}},{"ruleId":"D2","level":"warning","message":{"text":"TensorInterpreter::execute_op (cognitive 29): TensorInterpreter::execute_op has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 12 (22 pts), if/else 2 (6 pts), boolean chains 1 (nesting depth added 14). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"47059467ba19a2972c6d7a3fc740baa1e827c4c5c9a7955a6eadca51211f177d"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::ops::base::q_reshape (cognitive 28): burn_cubecl::ops::base::q_reshape has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 6, match/switch 4 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/base.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47a68309ecdb0b758fea20ee2ce8b48a1e960dc0e015fb83315bf1e411b902c"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl_fusion::engine::launch::vectorization::planner::vector_sizes_quants (cognitive 28): burn_cubecl_fusion::engine::launch::vectorization::planner::vector_sizes_quants has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (8 pts), match/switch 4 (8 pts) (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/planner.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e2436fa4912d6925f4acb34307f812f2f961346c2a9a669bd5d10c95b999be"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::interpolate::interpolate_bicubic_impl (cognitive 28): burn_flex::ops::interpolate::interpolate_bicubic_impl has cognitive complexity 28 (threshold 15). Drivers by points: loops 9 (20 pts), if/else 5 (8 pts) (nesting depth added 14). Of this number, 20 points are the body\u0027s own statements and 8 belong 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":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"f497fe523dc455bead48086097f1e2efc8fe0837d18fdc6a25754fbdb804f8f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleOperationIr::mark_read_only (cognitive 28): ModuleOperationIr::mark_read_only has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (25 pts), match/switch 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":"crates/burn-ir/src/operation.rs"},"region":{"startLine":4386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6c31b7ed11974972836affb7ffc7af55bd9927f34421badba2c158ad811a51"}},{"ruleId":"D2","level":"warning","message":{"text":"LaunchPlanExecutor::execute (cognitive 27): LaunchPlanExecutor::execute has cognitive complexity 27 (threshold 15). Drivers by points: loops 11 (21 pts), match/switch 3 (5 pts), if/else 1 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/executor.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf93b230cf55ca9cd350dffecab03b328ef94782b2e5a6d36b970fc30925fa0"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl_fusion::engine::codegen::kernel::init_locals (cognitive 27): burn_cubecl_fusion::engine::codegen::kernel::init_locals has cognitive complexity 27 (threshold 15). Drivers by points: loops 6 (18 pts), match/switch 5 (9 pts) (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":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"caab59dcf0ae9ef2d5bd23b6a1d83e993c1153afe046180a94a39273cc4bbcbc"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleOperationIr::inputs (cognitive 27): ModuleOperationIr::inputs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 4 (6 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":4020}}}],"partialFingerprints":{"codehealthFindingId/v1":"1655dea29e83fe4ab02ff021343fd1b98fd38f6608a1359badf91c89c85a566b"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::ctc::ctc_loss_kernel (cognitive 26): burn_cubecl::kernel::ctc::ctc_loss_kernel has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 4 (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":"crates/burn-cubecl/src/kernel/ctc.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fed9691eabdc971981eb49be54f0de5918325f33ae634ee8876db25244b2c60"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::conv::conv_plane_accumulate_kh_outer (cognitive 26): burn_flex::ops::conv::conv_plane_accumulate_kh_outer has cognitive complexity 26 (threshold 15). Drivers by points: loops 5 (16 pts), if/else 4 (10 pts) (nesting depth added 17). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14c1973195186220f5be2c0cc9427912c4f9cacca415435653d4ccba29257c8"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::interpolate::interpolate_bicubic_backward_impl (cognitive 26): burn_flex::ops::interpolate::interpolate_bicubic_backward_impl has cognitive complexity 26 (threshold 15). Drivers by points: loops 6 (13 pts), if/else 5 (12 pts), boolean chains 1 (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cddb278ccb07c71b84e426985aab0db35a76abeecad816629e0db8d052b10d"}},{"ruleId":"D2","level":"warning","message":{"text":"Unpickler::run (cognitive 26): Unpickler::run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 4 (11 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pytorch-reader/src/pickle_reader.rs"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d6aeeb3bd6150c7d5afa5758b9e2543f78780bc9322487b0cedeb7a515731d"}},{"ruleId":"D2","level":"warning","message":{"text":"Autodiff::deform_conv2d (cognitive 25): Autodiff::deform_conv2d has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16, match/switch 5 (9 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cd65d51ccc419a41579547fde8ffcd8d7e05075bd0e6c910905850ed1a0dde"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl_fusion::engine::launch::vectorization::base::vectorization_reshape (cognitive 25): burn_cubecl_fusion::engine::launch::vectorization::base::vectorization_reshape has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3392dad563eddde9ea87440d18ddfcbf00ceac1af1bb27bb519b66ddd6e52541"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl_fusion::engine::launch::vectorization::planner::apply_vectorization_block (cognitive 25): burn_cubecl_fusion::engine::launch::vectorization::planner::apply_vectorization_block has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 2 (5 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":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/planner.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8332ccd3d9cc598d4aa73e1282a25a1d0cb2fd1a72cb2f5321571b13efe71c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigAnalyzerFactory::create_struct_analyzer (cognitive 25): ConfigAnalyzerFactory::create_struct_analyzer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (22 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":"crates/burn-derive/src/config/analyzer.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15bd8b7db00ff6299478fb33ac6ac442dde6e474c025efe48d2c91a9b473f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_einsum::parse (cognitive 25): burn_einsum::parse has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (7 pts), match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-einsum/src/lib.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9916ddd38e06a35eb0fee3dcc3eb27c5b7e5782863e5ddb9dfce17ffe6eae86a"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::fft::rfft_fiber (cognitive 25): burn_flex::ops::fft::rfft_fiber has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 3 (8 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a78928fe7b59844b24c61e2ce858f5057803c8f3bfce34954898bf6c1ec923"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::gather_scatter::scatter_nd (cognitive 25): burn_flex::ops::gather_scatter::scatter_nd has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 2 (8 pts), match/switch 1 (2 pts) (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0004493596b968f4672e62deb442aaa75a27b2190726c15a3bf637d86e5b5fdf"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::solve_cubecl::reduce_pivot (cognitive 25): burn_linalg::solve_cubecl::reduce_pivot has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b171e875bf11484239cb37d1e8ac18d6198c14090cc47e6b3b4b1beefb9d35ed"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_backend::backend::ops::sort::sort_slice (cognitive 24): burn_backend::backend::ops::sort::sort_slice has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (9 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/sort.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"365e1237b76b0d46fc5b33c41e08fa2455afdd6d2814295729cc3db4e25f9658"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleDisplay::format (cognitive 24): ModuleDisplay::format has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19 (23 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":"crates/burn-core/src/module/display.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"195b20968d8b69fec39c4a584723a6fac2da2cd0bad385078a7c368e31f6796f"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::pool::max_pool3d::max_pool3d_backward_kernel (cognitive 24): burn_cubecl::kernel::pool::max_pool3d::max_pool3d_backward_kernel has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (18 pts), loops 3 (6 pts) (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":"crates/burn-cubecl/src/kernel/pool/max_pool3d.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f037674751e34f7a3a94a91d097a75f264ca9fd9930f22c267be2e03fb6c78d"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_backend_extension::extension::extract_future_output_type (cognitive 23): burn_backend_extension::extension::extract_future_output_type has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 2 (7 pts), boolean chains 2 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/extension.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"daff3b055152926be9f8f593af6a58b121a7861d8b8a591ec33e1aec63bc9ab4"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_backend_extension::fusion::derive_adapter (cognitive 23): burn_backend_extension::fusion::derive_adapter has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (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":"crates/burn-backend-extension/src/fusion.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"505fa5b98d15e2ce5cb84b45650c8a0c25f0fdf745eab684bc8243639f282d6c"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputPlanner::run (cognitive 23): OutputPlanner::run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (9 pts), match/switch 2 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/output.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1b0334d616b54ba4e27ff2738d4f2c7113a00c2b237c871f7bd19bf120f639"}},{"ruleId":"D2","level":"warning","message":{"text":"Actions::gather (cognitive 23): Actions::gather has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 5 (8 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/axis.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e220244cd98d6d36494ad48336eeed0e1a88a1940bab67e9f9b4099e01340e7"}},{"ruleId":"D2","level":"warning","message":{"text":"TuneOutput::check_equivalence (cognitive 23): TuneOutput::check_equivalence has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 1 (4 pts), loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/trace/base.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"518d08bed937497e172acf2ea182feded455256b0c8c47baa2bcaeb998651295"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::conv::im2col_3d_tile (cognitive 23): burn_flex::ops::conv::im2col_3d_tile has cognitive complexity 23 (threshold 15). Drivers by points: loops 5 (16 pts), if/else 2 (6 pts), boolean chains 1 (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5a6b14aebcc9f6c47c1d6367328a414bee458d9c3644823a035149ac7b6faf"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::tensor::copy_2d_negative (cognitive 23): burn_flex::tensor::copy_2d_negative has cognitive complexity 23 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 5 (7 pts), boolean chains 1 (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe383d34f0b56912f075d8d8ceb0004bd42bf9e7daf5892977a4cbbc704292c6"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::svd_host::dbdsqr (cognitive 23): burn_linalg::svd_host::dbdsqr has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 4 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/svd_host.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d5d7b02bcda9b8c4b2dc71cf1d4d50c0082c9b848c20f99970b6544e4e3549"}},{"ruleId":"D2","level":"warning","message":{"text":"OffPolicyStrategy::train_loop (cognitive 23): OffPolicyStrategy::train_loop has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/off_policy.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1ee6674a6707367f84ce21486f826e76fc0e5a60c377436a04076b678f0ff0"}},{"ruleId":"D2","level":"warning","message":{"text":"DdpWorker::fit (cognitive 23): DdpWorker::fit has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/ddp/worker.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a435c4410f814b45316453503ec23c3f5584f30947f90faf3d3d41dac50a05"}},{"ruleId":"D2","level":"warning","message":{"text":"MorphColumnFilter::apply (cognitive 23): MorphColumnFilter::apply has cognitive complexity 23 (threshold 15). Drivers by points: loops 10 (22 pts), boolean chains 1 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec050522784d52cfc1a0f4f6664a6b88b406de18f73b5dc36cb77afd69ebab24"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl_fusion::engine::codegen::kernel::concat (cognitive 22): burn_cubecl_fusion::engine::codegen::kernel::concat has cognitive complexity 22 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 4 (9 pts), boolean chains 2 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8378a151e3a79588569fa121c0abf8adde071f76ff706fd7509b81c379b861e"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::deform_conv::bilinear_interpolate_backward_f32 (cognitive 22): burn_flex::ops::deform_conv::bilinear_interpolate_backward_f32 has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13, 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":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d83c084ee0a84d85d76757de3e879d560826255b58b4cdda06b871059ba7c6e"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::fft::simd_fft::radix4_simd (cognitive 22): burn_flex::ops::fft::simd_fft::radix4_simd has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (19 pts), if/else 2 (3 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"1485ff8ac7132d982e5f20f88cc7872acff48514fc06f35ae78682f904dfaa9d"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::solve_host::substitute (cognitive 22): burn_linalg::solve_host::substitute has cognitive complexity 22 (threshold 15). Drivers by points: loops 8 (16 pts), if/else 3 (6 pts) (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_host.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5427dccaf3d97084280fe4c6f5174faadc16915181d85b236cf014a8af715b92"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_tensor::tensor::api::einsum::execution::validate_broadcast (cognitive 22): burn_tensor::tensor::api::einsum::execution::validate_broadcast has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (12 pts), match/switch 1 (5 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":"crates/burn-tensor/src/tensor/api/einsum/execution.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b9673847383f5ee5317a03e2cf1da7c0dbae05eb30c9a044c0b2973e8e985a"}},{"ruleId":"D2","level":"warning","message":{"text":"FileMetricLogger::epochs (cognitive 22): FileMetricLogger::epochs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/logger/metric.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f048d9ee15b2c87f2427c1b658549def0ebd5a3e34ff7979ecb678316de7bd33"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::reduce::tune::with_routine_tunables (cognitive 21): burn_cubecl::kernel::reduce::tune::with_routine_tunables has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/reduce/tune.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"0596940c668ad070330eb6d148093baef1852ecf770bcf23690f885e363fb0cc"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::conv::conv2d_im2col_nchw (cognitive 21): burn_flex::ops::conv::conv2d_im2col_nchw has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (14 pts), if/else 3 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c44b1da735a309ab916ea78288df9fef2c94cf68bbd18bd143ace0b280e7e64"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::deform_conv::deform_im2col_f32 (cognitive 21): burn_flex::ops::deform_conv::deform_im2col_f32 has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 1 (6 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77b283bbd0de3e41557632127f74bf2c9c07c166b4cee821d6d4b3544a21e35"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::fft::irfft_f32 (cognitive 21): burn_flex::ops::fft::irfft_f32 has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d38ad88dcd481703985e492b621ce9e82b0d1dbf7705857c51da00e00fa8fdc"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::unary::unary_op_typed (cognitive 21): burn_flex::ops::unary::unary_op_typed has cognitive complexity 21 (threshold 15). Drivers by points: loops 4 (12 pts), if/else 5 (6 pts), boolean chains 2, match/switch 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/unary.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f77de7f1f5e4eb9864e457604896139af2499c15ac5d9afc2e7a1ddda7cd935"}},{"ruleId":"D2","level":"warning","message":{"text":"Dag::reachability (cognitive 21): Dag::reachability has cognitive complexity 21 (threshold 15). Drivers by points: loops 7 (17 pts), if/else 1 (3 pts), match/switch 1 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/search/graph/dag.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7ac895c81bd65dc0d5a408b6807dd99772ac915321f94d3924dd7a74e73efe"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiAgentEnvLoop::run_episodes (cognitive 21): MultiAgentEnvLoop::run_episodes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/env_runner/async_runner.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5b2a6ead1f8285fbe93c2f8b93e9ad937356d7e63c979819a2220552fdab1d"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_vision::backends::cpu::median::base::select_windows (cognitive 21): burn_vision::backends::cpu::median::base::select_windows has cognitive complexity 21 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 4 (9 pts), boolean chains 1 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/median/base.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6798058aee5a189f00c99d2d0ebda2db4e2608503fb0314aa4003ac9a99077a"}},{"ruleId":"D2","level":"warning","message":{"text":"CaptureScopeGuard::complete (cognitive 20): CaptureScopeGuard::complete has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, loops 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-capture/src/capture.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e234e3b95e42b2ce5fd300652bb3eebb8f7bae47b52c5cdf00ff01a75b84de8"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::conv::conv_transpose3d::col2im::col2im_3d_kernel (cognitive 20): burn_cubecl::kernel::conv::conv_transpose3d::col2im::col2im_3d_kernel has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3 (6 pts), boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a7eb5c3f9e1115dd26ecdc4e29a5a9befbfd78d1e3c28e94efb2bdf4324fc2"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl_fusion::engine::launch::vectorization::base::vectorization_default (cognitive 20): burn_cubecl_fusion::engine::launch::vectorization::base::vectorization_default has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 4 (14 pts), if/else 2 (3 pts), loops 3 (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a1528481fcc1be5501b0d1264b2449041deec78a7d7fddcdf88350aa9529ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout::slice (cognitive 20): Layout::slice has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 1 (2 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":"crates/burn-flex/src/layout.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ee959e7900569872eeda8156eaa8c552047178bb005728b94ee28733951534"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::fft::irfft_fiber (cognitive 20): burn_flex::ops::fft::irfft_fiber has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4 (8 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60b78ce0666baa210de9e74c6e4f7e614d99dce43cb813a1d98c91a16aa50ad"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphIr::classify (cognitive 20): GraphIr::classify has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (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":"crates/burn-ir/src/graph.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0227cf5067590a7fd0b0a05fcf1f0d77a535892221d706b10423d1adff2d4e62"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::functions::cholesky::cholesky (cognitive 20): burn_linalg::functions::cholesky::cholesky has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 2 (3 pts), boolean chains 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":"crates/burn-linalg/src/functions/cholesky.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6477d056edb889ed3980a9c4887281af58e00b0de3bea13f750721c2d784a08e"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplyResult::fmt (cognitive 20): ApplyResult::fmt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/apply_result.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7cdb7c6b82fcf50625f50a86a88f05c2592cef2d9fcbfd8e90eeb18715dd77"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposedCheckpointingStrategy::checkpointing (cognitive 20): ComposedCheckpointingStrategy::checkpointing has cognitive complexity 20 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 4 (8 pts), match/switch 1 (3 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/checkpoint/strategy/composed.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5780e4335893aaae09e9d63c9eb453a2ef33f80ff9a1d094c0a9bcca77c14ed"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryOrder::from_layouts (cognitive 19): MemoryOrder::from_layouts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/memory_order.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba172eb50cbed1a6562f9877e56215ed0db6a63a057e3962bc213ee31e563658"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputPlanner::normal_output (cognitive 19): OutputPlanner::normal_output has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (5 pts), boolean chains 2, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/output.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae76016b39ce9f81ae14b73195fde7801cf09b8070df0807091eba8a522c979"}},{"ruleId":"D2","level":"warning","message":{"text":"Flex::int_cast (cognitive 19): Flex::int_cast has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 9 (17 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":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c60d8f41933a350f1a397f48800ee9adb94ae7bb6d7d8c36046892f6809bb62"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::conv::im2col_nchw_row (cognitive 19): burn_flex::ops::conv::im2col_nchw_row has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab7170e0a4c4dd5417415514d3e785264932ae53dcc22e11b33ee9ff87a454a"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::fft::rfft_fiber_f64 (cognitive 19): burn_flex::ops::fft::rfft_fiber_f64 has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (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":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a049eecf2df459cb0e12f7eb1fb25851d26efbd6d28b06b06fb8fece5dce80"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_fusion::search::merging::merge_blocks_step2 (cognitive 19): burn_fusion::search::merging::merge_blocks_step2 has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), match/switch 5 (7 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/search/merging.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f79ebce6c8a2c21d5124d3f0198f620e68c6a2bcf15781f9baadd5f4444d17d"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_std::tensor::reshape_analysis (cognitive 19): burn_std::tensor::reshape_analysis has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (3 pts), match/switch 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-std/src/tensor/mod.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e9a97b1b162576da771f24aacd4c57ac9c4c909d470ad8d11374f337ca63dd"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentEnvAsyncLoop::new (cognitive 19): AgentEnvAsyncLoop::new has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 2 (6 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":"crates/burn-train/src/learner/rl/env_runner/async_runner.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6cdbd6714aaa92295768d8db718d81cf4ce32e8afffd7fc77ccbf1c3f015ad"}},{"ruleId":"D2","level":"warning","message":{"text":"LearnerSummary::fmt (cognitive 19): LearnerSummary::fmt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 6 (7 pts), match/switch 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/summary.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa58f5781cf77edb9dead0054eece2f3f1ef9440689e265161ffff387632c7e1"}},{"ruleId":"D2","level":"warning","message":{"text":"TuiMetricsRenderer::handle_post_training (cognitive 19): TuiMetricsRenderer::handle_post_training has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (14 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":"crates/burn-train/src/renderer/tui/renderer.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"36534904ca9534a01af6053a8980f16e9151c39881ffa81f3130a228ef559e71"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_vision::backends::cpu::morphology::filter_engine::border_interpolate (cognitive 19): burn_vision::backends::cpu::morphology::filter_engine::border_interpolate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter_engine.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1f7207eaa540b6296c72717a4473263c42c8bdc22d328d7b039ad4c3de883c"}},{"ruleId":"D2","level":"warning","message":{"text":"LazyMethod::new (cognitive 18): LazyMethod::new has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 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":"crates/burn-backend-extension/src/parse.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0adb0de67aa8f7ed1f91312b3e52d98bb34e03eb8fe7dda7fec5ff92b980a5"}},{"ruleId":"D2","level":"warning","message":{"text":"FusionBehavior::new (cognitive 18): FusionBehavior::new has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/parse.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"c149377434b55d4d67aaee3f9e3c63023780b3ca73c6d933b7a6e96a3261e24f"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_backend_extension::routing::extract_selected_input (cognitive 18): burn_backend_extension::routing::extract_selected_input has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/routing.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"baefbbc3e790fcf1e5fe21e7af9fde92045f158d19ebae966fa27cbc1cc08d17"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::conv::deform_conv2d::bilinear_interpolate (cognitive 18): burn_cubecl::kernel::conv::deform_conv2d::bilinear_interpolate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/deform_conv2d.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0089afa123a943648b37d40b48100eae497f63e3428c7209c1ba0a057c5f9ba3"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::conv::deform_conv_transpose2d::get_coordinate_weight (cognitive 18): burn_cubecl::kernel::conv::deform_conv_transpose2d::get_coordinate_weight has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/deform_conv_transpose2d.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05ff578c56166c04bb109aba1fd7ebad0d98b99eafcb3fa10b1bd358092e208"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::ops::qtensor::new_quantized (cognitive 18): burn_cubecl::ops::qtensor::new_quantized has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 7 (12 pts), if/else 3 (6 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/qtensor.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff28add03dbec00b01a7d58c81d1cb3a1328d869ad801204187fd6ca30b0197"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceOperationFuser::fuse (cognitive 18): TraceOperationFuser::fuse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/fuser.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23f26eed987a8f935cb4d4aad2b3cdc9dd943ada59699160e6147ffc1915a1f"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputPlanner::preferred_dim_order (cognitive 18): OutputPlanner::preferred_dim_order has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 4 (8 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":"crates/burn-cubecl-fusion/src/engine/launch/output.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"06327a909354f139d0fea2aed9c62831dfda3c7d69a2826c62a0d7ddeb87d3b4"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl_fusion::engine::codegen::io::read (cognitive 18): burn_cubecl_fusion::engine::codegen::io::read has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 4 (7 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/io.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cdc2923efc8ce1390a2adf45ab7f27577631812fd120208c71e706ac410a8f"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::cat::cat_impl (cognitive 18): burn_flex::ops::cat::cat_impl has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (10 pts), if/else 5 (7 pts), boolean chains 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/cat.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ef3a410ba18f8105b1cd0ccd25a6c83ee01fb71c86d7d962eabee69eb70d2b"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::fft::rfft_f32 (cognitive 18): burn_flex::ops::fft::rfft_f32 has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 5 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"788ae8340ba982da896060cf3fabcf4bc536546387c065f578209be6b133aab9"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::tensor::copy_inner_contiguous_run (cognitive 18): burn_flex::tensor::copy_inner_contiguous_run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c11ab7ce6c6914558f08da7d008aac6cf76a877456fc6609e0253572a21dbbc"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_fusion::search::graph::lifetime::is_valid_execution_order (cognitive 18): burn_fusion::search::graph::lifetime::is_valid_execution_order has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 5 (8 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/search/graph/lifetime.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be149e9969df1fa66d1f3d04f1eeadb3551e1c6a3e54040ecda703bba71332f"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::cholesky_cpu::factor_batch (cognitive 18): burn_linalg::cholesky_cpu::factor_batch has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 3 (6 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/cholesky_cpu.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b253783fb2348542cd21b86ddbefbad98ba652da958a18728c9ec5aad40a85"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::solve_host::factor (cognitive 18): burn_linalg::solve_host::factor has cognitive complexity 18 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 3 (6 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_host.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79df0f7a22262ee155475a051f0a293b935ff0e137407bc1373f6d8ed022a1a"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionHandler::process_task (cognitive 18): SessionHandler::process_task has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 7 (13 pts), loops 1 (3 pts), if/else 1 (2 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/server/worker.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fe7a6f5548bbca6428b62445160aaec0566b06ca8d9a5129e434c79967797f"}},{"ruleId":"D2","level":"warning","message":{"text":"NumericEntry::deserialize (cognitive 18): NumericEntry::deserialize has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (12 pts), if/else 5 (6 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/base.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe1185820871d19acdbfe312fe25e7b506bf36cf13959139c880d3bd0908c92"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_vision::backends::cpu::morphology::create_structuring_element::create_kernel (cognitive 18): burn_vision::backends::cpu::morphology::create_structuring_element::create_kernel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/mod.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb31c57c29a675c882b143d2f7b2f07ebcdbdd0a8092d092214e74c7c07264ac"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::conv::conv_transpose2d::transpose_direct::conv_transpose2d_direct_nhwc_kernel (cognitive 17): burn_cubecl::kernel::conv::conv_transpose2d::transpose_direct::conv_transpose2d_direct_nhwc_kernel has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 4 (8 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose2d/transpose_direct.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa703a84d68cf96dfdd471352042a908421cfe6ce126c3cbdb0b4968e5ee734"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl::kernel::conv::im2col::plan_taps (cognitive 17): burn_cubecl::kernel::conv::im2col::plan_taps has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 2 (6 pts), if/else 2 (5 pts), loops 3 (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":"crates/burn-cubecl/src/kernel/conv/im2col.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"6186d5fc5650e82a668457654bdbea494becabcb4e063452dbfe101d33e5a086"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputPlanner::select_reference_from_inputs (cognitive 17): OutputPlanner::select_reference_from_inputs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/output.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"105dfc2ca63b7d7d67a1bb820d01129f6a20b85e700709733a6937e1aed68147"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl_fusion::engine::launch::vectorization::base::vectorization_input (cognitive 17): burn_cubecl_fusion::engine::launch::vectorization::base::vectorization_input has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 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":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf7c5b2b8e96c081c80bf29e574b47d9d66baa103cf71d0ba94caab117bef28"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::conv::propagate_non_finite_padding (cognitive 17): burn_flex::ops::conv::propagate_non_finite_padding has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"946214f32f31951321c219549b2f9c7fc1a3c02d503cf4714994b5d56e7597c0"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::gather_scatter::scatter_update (cognitive 17): burn_flex::ops::gather_scatter::scatter_update has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecc0eae73a737bc739078e7842dd9d44eaac96f6dde8b351bf5d9f0a2b10e5b"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_linalg::solve_host::factor_panel (cognitive 17): burn_linalg::solve_host::factor_panel has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 4 (8 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_host.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b3ca1282af8f79454205e4d2636a2aa1f24521670b99d40dc89ad93dcafbd7"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentEnvAsyncLoop::run_episodes (cognitive 17): AgentEnvAsyncLoop::run_episodes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/env_runner/async_runner.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bffb5026e6628d8b8fffd0581c3a1c482648118e876541a3d938c6aceb51fa"}},{"ruleId":"D2","level":"warning","message":{"text":"SupervisedTraining::launch (cognitive 17): SupervisedTraining::launch has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 4 (7 pts), if/else 6, boolean chains 2, loops 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":"crates/burn-train/src/learner/supervised/paradigm.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b438f29c57407225011f7fb47b610298f87dd7537d185c846598008543d4181e"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiDeviceLearningStrategy::fit (cognitive 17): MultiDeviceLearningStrategy::fit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/multi/strategy.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"027b0d0227223b3fbfd7c2aecd1da2e8eb2f247ec4d64ea2593beb15248ba44e"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_backend::backend::ops::sort::sort_data_with_indices (cognitive 16): burn_backend::backend::ops::sort::sort_data_with_indices has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/sort.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc242bd3c39e2a2e5ec4f768306da6feabeaf96c359519551a642a8d36837e2b"}},{"ruleId":"D2","level":"warning","message":{"text":"InputPlanner::analyze_normal (cognitive 16): InputPlanner::analyze_normal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 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":"crates/burn-cubecl-fusion/src/engine/launch/input.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac48e5c3bb05c02d26be77dae0fa25c62f6b564c875165f0dfeca30d4b6d229"}},{"ruleId":"D2","level":"warning","message":{"text":"InputPlanner::analyze_view (cognitive 16): InputPlanner::analyze_view has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, 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":"crates/burn-cubecl-fusion/src/engine/launch/input.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"918a3bfd3b40689e2e68aa8112b593e8dd6848ef07192c79ceffb02acb8c0cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"ReduceBlockFuser::analyze (cognitive 16): ReduceBlockFuser::analyze has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce_broadcasted/fuser/block.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d24fe3fe48795526b36c14be7e01055d6633f93a8eeb39c3bfc92df08ed2f8e"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl_fusion::engine::codegen::kernel::select_indices (cognitive 16): burn_cubecl_fusion::engine::codegen::kernel::select_indices has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 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":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"08175d012583d48a6c6aaac4fa8779cf8254aa5dc8e4d45cbf330f3ae734e473"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_cubecl_fusion::engine::launch::output::remove_concrete_write (cognitive 16): burn_cubecl_fusion::engine::launch::output::remove_concrete_write has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/output.rs"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e863832f7d50760f1c6143a3bf6e5550404ad706afee671e6eee775895d40d"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::cumulative::cumulative_op (cognitive 16): burn_flex::ops::cumulative::cumulative_op has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (14 pts), if/else 2 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/cumulative.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7f867f09cbdc28ce98286762c72aedee75d7b1526afc7b17bb0150d1754118"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::interpolate::interpolate_lanczos3_impl (cognitive 16): burn_flex::ops::interpolate::interpolate_lanczos3_impl has cognitive complexity 16 (threshold 15). Drivers by points: loops 7 (14 pts), if/else 2 (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 4 belong 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":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"28af7f1386d2738d08b98de7a7affd7204bde59fef9c56d97b062062985450d5"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::pool::max_pool3d_backward_impl (cognitive 16): burn_flex::ops::pool::max_pool3d_backward_impl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (7 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":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"570b4d65126212cf23850c9271d871bff4298a20160a2e731790d0212c8322f9"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::reduce::layout_covers_storage_once (cognitive 16): burn_flex::ops::reduce::layout_covers_storage_once has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b10890ef5b32b20ec5f18715a7a617287d65538036740fb7674983bca4471df"}},{"ruleId":"D2","level":"warning","message":{"text":"burn_flex::ops::sort::sort_along_dim_with_indices (cognitive 16): burn_flex::ops::sort::sort_along_dim_with_indices has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (7 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/sort.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"435b08a2ad5f69025393c3fc4d6af102d17ff1f259f0968221b6ef21164e8940"}},{"ruleId":"D2","level":"warning","message":{"text":"Processor::process (cognitive 16): Processor::process has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 3 (6 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/execution/processor.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e328a9c037adca40f60e242593a0dd7cb0780bac1353cc483f1c811b1b97c26c"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryChecks::spawn_new (cognitive 16): MemoryChecks::spawn_new has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 3 (7 pts), loops 1 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/memory_checks.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"32859378bd860491f2cddf908ea1e0be78da89966b62744fc2dd60e9f3dc6c3a"}},{"ruleId":"D2","level":"warning","message":{"text":"Evaluator::eval_all (cognitive 16): Evaluator::eval_all has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (3 pts), 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":"crates/burn-train/src/evaluator/base.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3d5eaf01c62b019bcc9c0d707e9276e572b70d9858bcf912df9bf6d0fe7af4"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentEnvBaseLoop::run_episodes (cognitive 16): AgentEnvBaseLoop::run_episodes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/env_runner/base.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fd1a13d9c222e6b5afb8cbd9a9ea8b6e29516b60077aba916b7c876c63fc3a"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiDeviceTrainEpoch::run_optim_main (cognitive 16): MultiDeviceTrainEpoch::run_optim_main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (5 pts), match/switch 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. This shape REPEATS in the file: one other method here (MultiDeviceTrainEpoch::run_optim_distr) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad898086ef2aa04f1b040f944b92eef69d90313027507567f3ba79f3b55abef5"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiDeviceTrainEpoch::run_optim_distr (cognitive 16): MultiDeviceTrainEpoch::run_optim_distr has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (5 pts), match/switch 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. This shape REPEATS in the file: one other method here (MultiDeviceTrainEpoch::run_optim_main) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e916b6977057f85dfaddfb078d5cc66c2afc0543c4643c1e9cdf4635dcac9ae0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TensorInterpreter.execute_op: MethodTooLong \u2014 execute_op runs 1562 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1462 over it, 15.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce46b90ac6b50e203892f02a2978e839841be6e756e65e1aaf2afccfe21252f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Tensor: TooManyMethods \u2014 293 methods, declared across 15 files: api/base.rs (95), api/float.rs (57), api/orderable.rs (44), api/numeric.rs (34), \u002B11 more file(s). The bar is 30 methods; this is 263 over it, 9.77\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/base.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d694cf840d584180a67d890b1bb6e5278693f34614e6ed7bf34bdcf4774cdc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/operation.rs: FileTooLong \u2014 3641 significant 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 3141 over it, 7.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d8a08b32ccbaaf3ffacbab64bdedda4e7dfa16e18863efece58e6f07fab128"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/tensor.rs: FileTooLong \u2014 3254 significant 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 97% of them inside a single declaration: Autodiff (110-4887). The bar is 500 significant lines; this is 2754 over it, 6.51\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5ca0fa99d796a2f44e8462d673a9a740bb3b62db1ff5221a898d17b516f951"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TensorInterpreter: ClassTooLong \u2014 1805 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 45 methods, 4 blocks, lines 62-2628. The bar is 400 significant lines; this is 1405 over it, 4.51\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dbb176336470fdb938829aed105e3067a09c1d5ecf8b2b1a9cd72a7b283e2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModuleOperationIr.to_relative: MethodTooLong \u2014 to_relative runs 451 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 351 over it, 4.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45d778686f74845f36821401f396aa3d5bb46f6026a90051846591cd4c12772"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/tensor.rs: FileTooLong \u2014 2056 significant 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 99% of them inside a single declaration: Fusion (18-3051). The bar is 500 significant lines; this is 1556 over it, 4.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/ops/tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f29e46c43f24fbf88af8863538f8ac87acbe3f1b92472ab513d24ca023c491"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/interpreter.rs: FileTooLong \u2014 1882 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 96% of them inside a single declaration: TensorInterpreter (4 blocks, 62-2628). The bar is 500 significant lines; this is 1382 over it, 3.76\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d221c8bdf884b934640c8ddf538d5f0c6489b56509137af1f2ae89d2879899dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/module.rs: FileTooLong \u2014 1873 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 95% of them inside a single declaration: Autodiff (19-2456). The bar is 500 significant lines; this is 1373 over it, 3.75\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5016c7f2e878d6a236622c63df2bf6f665daf1417152a4e568757ddff924394b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/int_tensor.rs: FileTooLong \u2014 1696 significant 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 99% of them inside a single declaration: Fusion (18-2524). The bar is 500 significant lines; this is 1196 over it, 3.39\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/ops/int_tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f940ee94ecf559a4302ad0de45a4b687a765d7c3dd3c734a57013e4c24f43c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/module.rs: FileTooLong \u2014 1607 significant 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 98% of them inside a single declaration: Fusion (40-2102). The bar is 500 significant lines; this is 1107 over it, 3.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":"crates/burn-fusion/src/ops/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f339e2f5cd46fbc11bd7b19f4244302da0765cf6f52e661d086cfd46fb6aaf7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModuleOperationIr.visit_mut: MethodTooLong \u2014 visit_mut runs 321 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 221 over it, 3.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"b292d82039df8d307f25b16ffaae895034191ffad72afcaa0c872665f516175d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/reduce.rs: FileTooLong \u2014 1592 significant 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 1092 over it, 3.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":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3595c710d189de6c554c8232f6189caead5015e2555119ed0c9a56373f4e7171"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Autodiff.float_select_assign: MethodTooLong \u2014 float_select_assign runs 315 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 215 over it, 3.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b1dc33e4d4bae6d72e9e021e1dd58ef0a8cabfc62a88844449bc2160383dfa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TensorCheck: ClassTooLong \u2014 1111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 58 methods, 2 blocks, lines 36-1834. The bar is 400 significant lines; this is 711 over it, 2.78\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/check.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3940b0be4d3d1b3cf3746d75d8ff4bc7c1c506f11d92d2f5bb784f162bf4c267"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionHandler.process_task: MethodTooLong \u2014 process_task runs 273 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 173 over it, 2.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/server/worker.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"30502fd1a490b84f129bb32e97ccb3a10eb2380a2ff3fed8041d8f9583b6d284"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/conv.rs: FileTooLong \u2014 1312 significant 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 37 free functions. The bar is 500 significant lines; this is 812 over it, 2.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13f702a0414c4520d950c76f133b33b544c9f7e9062d7c19388cdb345cf18fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: simd/portable.rs: FileTooLong \u2014 1300 significant 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 99 free functions. The bar is 500 significant lines; this is 800 over it, 2.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bd505c38e9d2eda6215ad9aaf6ba1889638cdb39cbe9eec9cba96f02f35500"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stream/context.rs: FileTooLong \u2014 1298 significant 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 798 over it, 2.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b3b22d5e48349eaa4ec73cc9425f52b994083b61e42fa5daf11322a5ca503f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/builder.rs: FileTooLong \u2014 1285 significant 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 785 over it, 2.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6890740552e75ed95c322841a6088dfb7f9601319f35340f0e3495bf3e9c9e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/pool.rs: FileTooLong \u2014 1249 significant 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 75 free functions. The bar is 500 significant lines; this is 749 over it, 2.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":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3684e5c0635db293cd942970d6d7683d5c5efd11ea32a1567f9d261b65de9d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NumericOperationIr.to_relative: MethodTooLong \u2014 to_relative runs 246 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 146 over it, 2.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":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b22d155b681f5d30141663cce5e25640b92e917df1c2f100fc9e1b3dc4f897a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModuleOperationIr.mark_read_only: MethodTooLong \u2014 mark_read_only runs 239 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":4386}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92d4667baa6df8739122d73969330d57e66c11af3864fb19b6bb6e900e37410"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/tensor.rs: FileTooLong \u2014 1181 significant 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 98% of them inside a single declaration: BackendRouter (23-1686). The bar is 500 significant lines; this is 681 over it, 2.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":"crates/burn-router/src/ops/tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bdaf27416c700067a4af1450463f3ad20927389a1e17e34c930fd77e8e2ed1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pickle_reader.rs: FileTooLong \u2014 1169 significant 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 669 over it, 2.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pytorch-reader/src/pickle_reader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e073c868f750cce147a429c074b1fce46f5809a3b690d412a684631a42930f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/check.rs: FileTooLong \u2014 1167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 95% of them inside a single declaration: TensorCheck (2 blocks, 36-1834). The bar is 500 significant lines; this is 667 over it, 2.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/check.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8f3642766a71f135db9a33896c67447dbe32202c5d82d4b0baa2ce30ace156"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Autodiff.deform_conv2d: MethodTooLong \u2014 deform_conv2d runs 232 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"167f6ffff3c111ea289c57ad04083b58bf0a04ab421ff8b24aa43aa83edc19cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: modules/conv.rs: FileTooLong \u2014 1149 significant 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 649 over it, 2.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24de5c55942b0622350c08e51275573884272a9e88420a72c44028f7ea5c434"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/base.rs: FileTooLong \u2014 1132 significant 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: Tensor (7 blocks, 76-3843). The bar is 500 significant lines; this is 632 over it, 2.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/base.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f30172c85c0e6d9bd1a8a918470ac46823a6c44427990b023f32de99fc99fd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Unpickler.run: MethodTooLong \u2014 run runs 226 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pytorch-reader/src/pickle_reader.rs"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5066b9269a4377fc62173b48369768bcdd702955a03dd191e601b3156c373de"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModuleOperationIr: ClassTooLong \u2014 889 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 4 methods, 2 blocks, lines 224-5124. The bar is 400 significant lines; this is 489 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":"crates/burn-ir/src/operation.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b6ecc83ca715d9c7ab1d46497a84195ce509cfcf26a686308776d8e700388e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/fft.rs: FileTooLong \u2014 1109 significant 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 609 over it, 2.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"475cfcbb615dae37fc60e5ac80ce629a6c054ae74dafd4569b1dc269b96bc02c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::conv::conv3d_impl: FunctionTooLong \u2014 burn_flex::ops::conv::conv3d_impl runs 217 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ccbc02ab45f0c30c1ef52e0d177c6d8c567bc93876837211ff935302ca7dff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::conv_transpose::conv_transpose3d_impl: FunctionTooLong \u2014 burn_flex::ops::conv_transpose::conv_transpose3d_impl runs 217 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv_transpose.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dcd4bd7b8f91c05d5620ba2ddf29d915933523dccf59a744cd2741c1f65804"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/module.rs: FileTooLong \u2014 1075 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 99% of them inside a single declaration: BackendRouter (15-1384). The bar is 500 significant lines; this is 575 over it, 2.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/ops/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f83cdf0b97ac7ca030f092300e1c83f48b8697a7f5dc4438f24e395ce46e86"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Autodiff.float_scatter: MethodTooLong \u2014 float_scatter runs 213 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfe1dc48a2838e9e1b325b4d3c7b1b043680659bb0d7f6cb5dfdba20c1c78ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/gather_scatter.rs: FileTooLong \u2014 1036 significant 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 44 free functions. The bar is 500 significant lines; this is 536 over it, 2.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64c52c4dfb7dfdd418e9f063664e3402ecc63a7bda215ce291417c8371b618c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TensorData: TooManyMethods \u2014 61 methods, declared across 4 files: tensor/base.rs (29), tensor/conversion.rs (23), data/compare.rs (5), tensor/view.rs (4). The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-std/src/data/tensor/base.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6651da60bdd89eeeed6eb653c3bf2faf8d5b41df04930948950e20db892b22cc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Autodiff.float_scatter_nd: MethodTooLong \u2014 float_scatter_nd runs 200 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f9beb951aabdcd5be8e1ece4a51b1cc6af9330386259e56ec86c7b3d3ded3c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NumericOperationIr.visit_mut: MethodTooLong \u2014 visit_mut runs 200 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":3146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1307e6a5de01ce39515d1612118da608e2dfe1e790aee5d55ba648e865367dd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tensor/module.rs: FileTooLong \u2014 997 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 49 free functions. The bar is 500 significant lines; this is 497 over it, 1.99\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a153228a8a95cc291816662c4b0e550f529c90d551e57b801220ede9c7e657"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/int.rs: FileTooLong \u2014 993 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 93% of them inside a single declaration: Flex (110-1478). The bar is 500 significant lines; this is 493 over it, 1.99\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7429cc01ac5bd70da33ae2e82fd5e86196bab9cc64ddd845529d097d89aa82ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RemoteService: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/client/service.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3060979ee9f11805874e3ba92d5db34a1611b3d249d4100f8b37b4e2ebd16d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TensorCheck: TooManyMethods \u2014 58 methods. The bar is 30 methods; this is 28 over it, 1.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/check.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a625b61633dee3272a18def50d460e05d77cf1ea4bf1e9cca4e8e02ef4ad8851"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/int_tensor.rs: FileTooLong \u2014 953 significant 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 98% of them inside a single declaration: BackendRouter (22-1363). The bar is 500 significant lines; this is 453 over it, 1.91\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/ops/int_tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd7f69f899b603d3c7c90bcf4065e14bca5020d186432d4753c8c1f6718f561"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorizationPlanner.run: MethodTooLong \u2014 run 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":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/planner.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0edf6634989d8d0b8e831d4518726caf1af7879381692a27a44a6a8f4cf22a3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tensor: ClassTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 293 methods, 7 blocks, lines 76-3843. The bar is 400 significant lines; this is 331 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/base.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"145050b4ad948bacda4257b286af0807d4042b4330e35de832af924dc30074e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_vision::backends::cube::connected_components::hardware_accelerated::hardware_accelerated: FunctionTooLong \u2014 burn_vision::backends::cube::connected_components::hardware_accelerated::hardware_accelerated runs 179 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a568d7aa11e9060ecfcbba6dff48ac4b8c5f78609345fd3e2bece27e8b40a1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_derive::einsum::expand: FunctionTooLong \u2014 burn_derive::einsum::expand runs 178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/einsum/mod.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b71c00518e56195dcb821d133bf137a661da86e47f2e93d836b7e24dcb98c81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/float.rs: FileTooLong \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), about 96% of them inside a single declaration: Flex (50-1350). The bar is 500 significant lines; this is 386 over it, 1.77\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/float.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd713c94ac7a33d38f12af831764650afb82b902cea0a021b018a406e258f2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/routing.rs: FileTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 380 over it, 1.76\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"194f59e8356d142334c1dc4e26666cfc4bd28eb12749b993fac442b45cc5874a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/interpolate.rs: FileTooLong \u2014 858 significant 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 44 free functions. The bar is 500 significant lines; this is 358 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":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"216ee50b5fd96cca8af162460872567837ff9fbe246c52453167b2638b5c8b03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/bool_tensor.rs: FileTooLong \u2014 852 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 98% of them inside a single declaration: Fusion (21-1256). The bar is 500 significant lines; this is 352 over it, 1.70\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/ops/bool_tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d2c4514d8916022b98c211ad7c2ac5184c70046887595397b446693cf1dc51"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::deform_conv::deform_conv2d_f32: FunctionTooLong \u2014 burn_flex::ops::deform_conv::deform_conv2d_f32 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":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe57b8a4cad10a8fe1bd12205e82a729dbd7b93425a7c83560d5daea24637f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::deform_conv::deform_conv2d_backward_f32: FunctionTooLong \u2014 burn_flex::ops::deform_conv::deform_conv2d_backward_f32 runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d93d125497e5d94af718283cb06de0b4f5d7a7046d661ebdc3a16eb8e0e2669"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/solve_cubecl.rs: FileTooLong \u2014 821 significant 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 321 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":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e357f0679a8bd83be51d3dcf6fe5fe8f06690b7dada7f1794e192bf58389bc5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteService: ClassTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 58 methods, 5 blocks, lines 84-1297. The bar is 400 significant lines; this is 251 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/client/service.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c57ce3eb3c08c363024847b049c06603d8f80d7a703674179b02d15ef1ba8cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_backend::backend::ops::modules::grid_sample::float_grid_sample_2d_bilinear: FunctionTooLong \u2014 burn_backend::backend::ops::modules::grid_sample::float_grid_sample_2d_bilinear runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/grid_sample.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"42eafc9c4c594cbb376620f4ce0234a12c349895eebdb49cadab8b45594e1bbe"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModuleOps: ClassTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 68 methods. The bar is 400 significant lines; this is 241 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/base.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7b83dae5107368f42dfbc9f53869cdab6838bd9c3b318917835b66ecb7b1dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_vision::backends::cpu::connected_components::spaghetti::process: FunctionTooLong \u2014 burn_vision::backends::cpu::connected_components::spaghetti::process runs 160 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a8f8e3ecdef59a88528ae6d18ad4a08c26e93436fc5fbb7f9a8d6a8dc82b7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/module.rs: FileTooLong \u2014 794 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 99% of them inside a single declaration: Dispatch (2 blocks, 15-990). The bar is 500 significant lines; this is 294 over it, 1.59\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/ops/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e3a52edae7fd224d348b7579f7c91c350cce2649bbac9fafb78814c061ea82"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_optim::optim::lbfgs::strong_wolfe: FunctionTooLong \u2014 burn_optim::optim::lbfgs::strong_wolfe runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/lbfgs.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"858ac6d99d7d92274b51d728609a281bb57f64c4d83c18863ed38780fae47634"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Device: TooManyMethods \u2014 47 methods, declared across 5 files: src/device.rs (43), src/remote.rs (1), src/shard.rs (1), api/shard.rs (1), \u002B1 more file(s). The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/device.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cf3a24e12b1fbfdc0857847becdea976818f75297c57c450f3b64ba84c4bf1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AlphaCtx.compute: MethodTooLong \u2014 compute runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/ctc.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"784e1d7853c52770d6c3f592180091483c51e81326172c36ce76e73e838631d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/float.rs: FileTooLong \u2014 757 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 96% of them inside a single declaration: Float (6 blocks, 46-1151). The bar is 500 significant lines; this is 257 over it, 1.51\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/bridge/ops/float.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"639414e037eef9a055d4151741bb651ed29e5768eb885c1e072fef291f639186"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TensorInterpreter: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca9f52b2d693c75a6b73fd959a2f3913d92eb0796de66addf43261c6a0486f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/module.rs: FileTooLong \u2014 746 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 96% of them inside a single declaration: Flex (46-938). The bar is 500 significant lines; this is 246 over it, 1.49\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fac0e376b9e38d73e86259bea65b3f68d07341824abb0a05a92de92cafa90e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_linalg::cholesky_gpu::panel: FunctionTooLong \u2014 burn_linalg::cholesky_gpu::panel runs 148 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/cholesky_gpu.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea54bc563b8e6b621651a7380c3ee231117efdfc75df794653c8e33522c772e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/deform_conv.rs: FileTooLong \u2014 727 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 227 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c802a441dcbaa5f2dbbad6c89590bf4b756342b2b0cc4f8c8adc14b072552cd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nested/de.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). The bar is 500 significant lines; this is 226 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pytorch-reader/src/nested/de.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd072a8119b3cbdb4f71d1eada4cb6835ea103a2300a193e349d773722e38085"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/service.rs: FileTooLong \u2014 724 significant 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 90% of them inside a single declaration: RemoteService (5 blocks, 84-1297). The bar is 500 significant lines; this is 224 over it, 1.45\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/client/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0be90ec7bb4eb75ecbd6966800b99f3366f24832590126117d2c13674fa865f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OutputPlanner: ClassTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 13 methods, 2 blocks, lines 32-955. The bar is 400 significant lines; this is 178 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":"crates/burn-cubecl-fusion/src/engine/launch/output.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"435772689ac5ad151d4e41b804be24a85ea7c6a8ca75e6896847b9975695334f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_backend_extension::fusion::derive_adapter: FunctionTooLong \u2014 burn_backend_extension::fusion::derive_adapter 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":"crates/burn-backend-extension/src/fusion.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9f074f53d4f8244e7b8b0c5a1791a66eb92917a430a4ec7a0096d651d3eb6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: modules/base.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 90% of them inside a single declaration: ModuleOps (161-1282). 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":"crates/burn-backend/src/backend/ops/modules/base.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93725faf05bb3961aa700e1d4db7936a9dd442bfdde10bdc2c022b5f4dc320aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_cubecl::kernel::ctc::ctc_alpha_beta_kernel: FunctionTooLong \u2014 burn_cubecl::kernel::ctc::ctc_alpha_beta_kernel 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":"crates/burn-cubecl/src/kernel/ctc.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f5e38d808ac560f432f5739a610f44e43ec1ef3855510e0b137660b0bb7041"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseOperationIr.to_relative: MethodTooLong \u2014 to_relative runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"388f76145b52551ccc0796e1deb63a69446d2d99dc23cf91d5997ad2ec86ad66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LBFGS.step: MethodTooLong \u2014 step runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/lbfgs.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"239687bf913b31956bcc5ef1a20be37990a1717cac3dbf22f358de79b75fef81"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/attention.rs: FileTooLong \u2014 694 significant 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 194 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":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6192c856e5506c5dd90a3bf466766715653a0c6c7b014efb8f1bf342e959ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/activation.rs: FileTooLong \u2014 690 significant 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 190 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/activation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a54e1f7689f3b005e1ca8400c91b3a1ef945bfeffeb0b34f3fee5822e7b9c84"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MorphColumnVec.apply: MethodTooLong \u2014 apply runs 137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"029f945e1c910ed0ac028c30b9208cba71a6ef2df907fee18862196422087344"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: burn_tensor::tensor::activation::base: TooManyFunctions \u2014 41 free functions. The bar is 30 free functions; 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":"crates/burn-tensor/src/tensor/activation/base.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d87d3fa7f8d428b4cb6c63fc8dd15844eec097528ba4a5884cf23d75f06820"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::reduce::reduce_dim_f32: FunctionTooLong \u2014 burn_flex::ops::reduce::reduce_dim_f32 runs 135 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"070550cdea2e1d6ecb0226b114c0892b74bf142e663d330eecd1071a9998fb73"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FloatOperationIr.to_relative: MethodTooLong \u2014 to_relative runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab933b129a5c2b46d41e8b6f8354dad1b084aae2fc538272166a20f5b1b89a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_vision::backends::cube::connected_components::prefix_sum::prefix_sum_kernel: FunctionTooLong \u2014 burn_vision::backends::cube::connected_components::prefix_sum::prefix_sum_kernel runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/prefix_sum.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8883001b57f6d8cee31f614425e55fc2712bc98390dd795796f56d741abbf303"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: launch/output.rs: FileTooLong \u2014 659 significant 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: OutputPlanner (2 blocks, 32-955). The bar is 500 significant lines; this is 159 over it, 1.32\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/output.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7333c3da9956b3cebfbc256ee19f9fe8b74aded68cd8e22af4c058a183432c28"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/comparison.rs: FileTooLong \u2014 659 significant 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 55 free functions. The bar is 500 significant lines; this is 159 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/comparison.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a0d06614fd080a4f87884932c107e22c7c5d7e374164f460b6405d08b33d88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::fft::irfft_f32: FunctionTooLong \u2014 burn_flex::ops::fft::irfft_f32 runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adb93418b821c6ff86533d5e5b9e7147f2fb96555527c04411b25a5add01dc2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_linalg::solve_cubecl::blocked_rhs: FunctionTooLong \u2014 burn_linalg::solve_cubecl::blocked_rhs runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfb8f6f110af1d17644acc6433121a182aa087ea8e4f67cf81b86eb387cd6fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::attention::attention_naive_impl: FunctionTooLong \u2014 burn_flex::ops::attention::attention_naive_impl runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb7da5d74706b29b11d5bdbdc6c6b24bd184d6c4b1e1447da6714a06591248c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::deform_conv::deform_conv2d_f64: FunctionTooLong \u2014 burn_flex::ops::deform_conv::deform_conv2d_f64 runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3e34ee824578bce11942e251581f0031a8f4ebfb84ba71505432d795874bbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::attention::attention_impl: FunctionTooLong \u2014 burn_flex::ops::attention::attention_impl runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d82f8287d6be58ec2fcdd400710721664d0bb2b6551e708db59a80000bd42a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NumericOperationIr: ClassTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 4 methods, 2 blocks, lines 539-3405. The bar is 400 significant lines; this is 102 over it, 1.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b28add4ac31bf41f2a87cde274327965f8064cead2bcc613197e2f896821193"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TraceOperationFuser: ClassTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 20 methods, 4 blocks, lines 33-886. The bar is 400 significant lines; this is 101 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/fuser.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"219684f52def20788749b016ef6af86f941c0b8f68363e2224b056115f9400b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FloatOperationIr.visit_mut: MethodTooLong \u2014 visit_mut runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4db7f4d26ea5b2029bd3529fa628f04b6951ef5bf85c20723cbedf47947d132"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NumericOperationIr.mark_read_only: MethodTooLong \u2014 mark_read_only runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":2963}}}],"partialFingerprints":{"codehealthFindingId/v1":"d696cb55ac05d37d3d624aa6bd768463b0417316972b0e8be5c2a8a922e75b28"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: burn_cubecl::ops::numeric: TooManyFunctions \u2014 37 free functions. The bar is 30 free functions; 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":"crates/burn-cubecl/src/ops/numeric.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d32b1f48d6aea284465c1775c34ce61bff6dea046941dfd71ddd294a4723ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Flex.int_select_assign: MethodTooLong \u2014 int_select_assign runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62e10e28f2a41f73879fd603faa4d77860e6af7356dce7b88421596f686e4fa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SessionHandler: ClassTooLong \u2014 489 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 18 methods, 2 blocks, lines 89-814. The bar is 400 significant lines; this is 89 over it, 1.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":"crates/burn-remote/src/server/worker.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6986e05d15d7d01ea1c1f8854f323f892f9a8fb16a9f8e7f8f13d6008c25a798"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TraceOperationFuser.fuse_base: MethodTooLong \u2014 fuse_base runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/fuser.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f43fdf7f125df191ff51906ab42559af690744c412c03208f703af336e8f7cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_cubecl::kernel::conv::backward_data::tune::dgrad_autotune: FunctionTooLong \u2014 burn_cubecl::kernel::conv::backward_data::tune::dgrad_autotune runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1e1ccdb788fe9390849168945e4283a244e85d3194ef1f3602462ae727aa0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::attention::flash_attention_head: FunctionTooLong \u2014 burn_flex::ops::attention::flash_attention_head runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a004c2d4126e762ecbef3875621ed31874a974fefd486e19c5c8dfd478bab5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/tensor.rs: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 97% of them inside a single declaration: CubeBackend (22-910). The bar is 500 significant lines; this is 108 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed09dc45d56eec7b00d6034d8778e6549d78307da689eded996d86bd5ed7c3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: safetensors/store.rs: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 64% of them inside a single declaration: SafetensorsStore (5 blocks, 79-988). The bar is 500 significant lines; this is 102 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/safetensors/store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2a2879ae5426919be908a205d92149eb8e49a536221d6b785c11364db97afd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_cubecl::kernel::conv::backward_weight::tune::wgrad_autotune: FunctionTooLong \u2014 burn_cubecl::kernel::conv::backward_weight::tune::wgrad_autotune runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_weight/tune.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bd9e43ba3dae513034a152d1a887bd906efcd38ec4c6e3d2c149b09892af18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/backend.rs: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 79% of them inside a single declaration: Dispatch (6 blocks, 163-1259). The bar is 500 significant lines; this is 93 over it, 1.19\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/backend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61db7dab5b66465fe39a3da6d37f73616f12bd1669c640583c9c30e3bd61df66"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_cubecl::ops::qtensor::new_quantized: FunctionTooLong \u2014 burn_cubecl::ops::qtensor::new_quantized 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":"crates/burn-cubecl/src/ops/qtensor.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b1a8cc179c090941f2ac6eb053ccaf04026d4582618a49d9adcfa718fe638a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Dispatch: ClassTooLong \u2014 471 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 26 methods, 6 blocks, lines 163-1259. The bar is 400 significant lines; this is 71 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":"crates/burn-dispatch/src/backend.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f1c7789e5980e4ad7d77d787045949b13e02edcf2e1ce6e4e542ff6e9246a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/matmul.rs: FileTooLong \u2014 588 significant 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 88 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":"crates/burn-flex/src/ops/matmul.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc5547f9738255e0df1b3c83b4a79b5a49e6db9b7c0cbccf0626efc51a57a6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: conv/im2col.rs: FileTooLong \u2014 584 significant 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 84 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":"crates/burn-cubecl/src/kernel/conv/im2col.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b878193416d113b66e122c507317bb3ae136380dbc1410e48a70ec48083fa6d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SafetensorsStore: 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":"crates/burn-store/src/safetensors/store.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e5098a3dec0ec9ec83a55b437b1b0bbf1fe624c12f45940a79992e5eedf943"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_linalg::solve_cubecl::solve: FunctionTooLong \u2014 burn_linalg::solve_cubecl::solve runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60143c62554df6ada8d1c3f637b3aa6cdbad40b4588fa2f8a4e603f3d37700d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: optim/lbfgs.rs: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 60 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/lbfgs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd5087e5828679b7e2d7228ba3eaca7faec60e979ed5284e9679ea52470b993"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::conv::conv3d_1x1_impl: FunctionTooLong \u2014 burn_flex::ops::conv::conv3d_1x1_impl runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6dea638ad69d4f1de7aef9712da96da9c9e6852d8f3b19c3c03e9e4d9a8361"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_cubecl::kernel::conv::forward::tune::conv_autotune: FunctionTooLong \u2014 burn_cubecl::kernel::conv::forward::tune::conv_autotune runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/forward/tune.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bad1b910295709b369e592f0103b05676f0b795cb9e43a76d4364eac40977c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::conv::conv3d_small_channel_impl: FunctionTooLong \u2014 burn_flex::ops::conv::conv3d_small_channel_impl runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"2552ec62866bde040fae7a412be499db799c3531dabf65c8aa763a007711c73d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseOperationIr.visit_mut: MethodTooLong \u2014 visit_mut runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dc737fc9e492246c15d24f05bfc0dc3a613c92913c5632677a79e50f62170c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/fuser.rs: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: TraceOperationFuser (4 blocks, 33-886). The bar is 500 significant lines; this is 46 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/fuser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce44ad335efcb1cd5da2cea7a9d1da033e4ea626dd3c86f2649dd66c5097f4f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Flex.int_cast: MethodTooLong \u2014 int_cast runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d77b8adfc5285ad00eb28aa24c3e6b77137e13226d9ce57ab1eee10404725b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: conv/deform_conv_transpose2d.rs: FileTooLong \u2014 543 significant 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 43 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/deform_conv_transpose2d.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5057c8f2c8d1bf46f4010a418db2b2894ad2be2bdeedeeefc4818cb0a84b7612"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/device.rs: FileTooLong \u2014 543 significant 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 43 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/device.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2d6628c032a4fba29c701b36da7c157d18a639daefac40d0c7e23f20c1ff36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tensor.rs: FileTooLong \u2014 540 significant 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 40 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"317ef8b584075f12c2f22b54ec944948fc21b8cf0fb95314132fefdf99ad0a65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::gather_scatter::select: FunctionTooLong \u2014 burn_flex::ops::gather_scatter::select runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7757f03e9b789e251acf896e060bb38777738ad65e125d21ceb5cbaa2d66019"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Flex.int_scatter: MethodTooLong \u2014 int_scatter runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a795de98483d14786b3fd3a98c30ccd8c8142f74dd9cd74867db67b4ee0cd565"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::mask::mask_where: FunctionTooLong \u2014 burn_flex::ops::mask::mask_where runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6aeb3ce78bffd3ed79b3d532e9a6c3efb356a292ace7bfed5161420ac0362d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_linalg::solve_cubecl::factor_panel: FunctionTooLong \u2014 burn_linalg::solve_cubecl::factor_panel runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02cf716034fd72133a9a4546351aacc126d73af548c0605e4a647729f408385"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FloatTensorOps: ClassTooLong \u2014 428 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 130 methods. The bar is 400 significant lines; this is 28 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/tensor.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bfc3373927c11ed876c5fdce20fbe64a1841a61178d3247ad994cbdd3c5a77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::conv::conv3d_direct_impl: FunctionTooLong \u2014 burn_flex::ops::conv::conv3d_direct_impl runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"93aae70a9d3e4c88f982d7fa79ce266c57f2c6a7d11fd69fcb262e667e8bb333"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HandleContainer: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/handle.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5408c15d92d6b49cba094612e57be739761c0e782fdbf47111a49409c0b93871"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::pool::avg_pool3d_backward_impl: FunctionTooLong \u2014 burn_flex::ops::pool::avg_pool3d_backward_impl runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9c9f4de513ddabd0aeed6feb580fa71d4fce6a9a2c447fdfd9963210205529"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/int_tensor.rs: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 96% of them inside a single declaration: CubeBackend (30-778). The bar is 500 significant lines; this is 25 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/int_tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ece0c5245241e1dc9998312b1a36ce45ad5126b8a7b1cdd04d12cfb06ec28d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ops/collective.rs: FileTooLong \u2014 521 significant 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 21 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/collective.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5509e28c0301b1a53a8900c8d5781e2724f4acb21d35a15076ffa50e9eddfb2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/worker.rs: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 94% of them inside a single declaration: SessionHandler (2 blocks, 89-814). The bar is 500 significant lines; this is 20 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/server/worker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa871a54cff213a0cae5539e6108d7f4c478623782e92279d1294cf21012bce7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FusionMethod.implementation: MethodTooLong \u2014 implementation runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/fusion.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"95feda70d9171923978d44e6b8e035e538460af9f8915bfa373adb69c5f81825"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::fft::rfft_f32: FunctionTooLong \u2014 burn_flex::ops::fft::rfft_f32 runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"8781aca14be4a03ba4cdfab0373213e3e9f5e3e1d5d88204e16bfede2cfc6b60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::fft::rfft_f64: FunctionTooLong \u2014 burn_flex::ops::fft::rfft_f64 runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"0152cec6bfed1211470e3dbc791fc8af7a8b355daa2be6322a6987458709225c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::gather_scatter::select_update: FunctionTooLong \u2014 burn_flex::ops::gather_scatter::select_update runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b947f7070e8024cb796eb1a583ed03bf3e7d41c4e5f7adcc73e1f66ed87e4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: einsum/execution.rs: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/einsum/execution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeaa679583f9c8cb74ced2a8f6969e0122da6229bdd10d1a89d5e9e2bf063cf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CubeTensor: TooManyMethods \u2014 31 methods, declared across 3 files: tensor/base.rs (23), tensor/quantization.rs (6), tensor/stored.rs (2). The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/tensor/base.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d1814c0047e82eb2e7acbd7fe6a81b274c16e0b72ca4439b1b9fddd108bc38"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: burn_flex::ops::unary: TooManyFunctions \u2014 31 free functions. The bar is 30 free functions; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/unary.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da2a6985b449d97ae172ec9a35b5bc280f575b2e06dfd35aef63f5aa70b4ea6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_derive::record_state::try_derive_impl: FunctionTooLong \u2014 burn_derive::record_state::try_derive_impl runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/record_state/mod.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81de912a056d8d9ef01c8c20d1f1b78cd97e38d3373ea1c7181ca54cf7e31da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_flex::ops::gather_scatter::scatter_update: FunctionTooLong \u2014 burn_flex::ops::gather_scatter::scatter_update runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"443f9564b9d7de752eb63b2d0de10901a92bbdd37f29ebc6641a9b854dd741c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: burn_linalg::solve_cubecl::factor_panel_shared: FunctionTooLong \u2014 burn_linalg::solve_cubecl::factor_panel_shared runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e371b74bd80f3117daee90d881489d4a89b0799a253af6ab4943ae1713d934c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OffPolicyStrategy.train_loop: MethodTooLong \u2014 train_loop runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/off_policy.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c69ee3a2d59d919702c4464504d7fe9793c881d4167c14cbe622797ae879b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connected_components/hardware_accelerated.rs: FileTooLong \u2014 504 significant 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 4 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"326215679017b209188a8213031d4c7fb680f1fafbc8e0b52ed74f57052aa376"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 20 shared lines): crates/burn-autodiff/src/ops/tensor.rs:334-391 | crates/burn-autodiff/src/ops/tensor.rs:621-683 | crates/burn-autodiff/src/ops/tensor.rs:712-768 | crates/burn-autodiff/src/ops/tensor.rs:774-821 \u2014 These 4 members are variants of one another: a block of 20 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aa9a235cfbaa5b9de15538ea81272081c29d3f430d873722fdc89b456b8ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 18 shared lines): crates/burn-autodiff/src/ops/tensor.rs:426-492 | crates/burn-autodiff/src/ops/tensor.rs:528-592 | crates/burn-autodiff/src/ops/tensor.rs:712-768 | crates/burn-autodiff/src/ops/tensor.rs:3962-4038 \u2014 These 4 members are variants of one another: a block of 18 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"757cfa46f8977abf25c1ee93490a8c8494431f3a6f4974fea43705d932e1b00e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 14 shared lines): crates/burn-autodiff/src/ops/tensor.rs:334-391 | crates/burn-autodiff/src/ops/tensor.rs:426-492 | crates/burn-autodiff/src/ops/tensor.rs:528-592 | crates/burn-autodiff/src/ops/tensor.rs:621-683 \u2014 These 4 members are variants of one another: a block of 14 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"7721110313083d22c6898ab94c2a17f6aa4205dfea90ceb1d86b2e3b1c9f339e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 34 shared lines): crates/burn-cubecl/src/kernel/binary.rs:226-297 | crates/burn-cubecl/src/kernel/binary_float.rs:146-217 | crates/burn-cubecl/src/kernel/binary_int.rs:176-245 \u2014 These 3 members are variants of one another: a block of 34 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"535acdde432367be7cbbf31b83fa911b12efe68842a9ccf9e6a73b2bddaf96c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 29 shared lines): crates/burn-flex/src/ops/interpolate.rs:387-504 | crates/burn-flex/src/ops/interpolate.rs:568-707 | crates/burn-flex/src/ops/interpolate.rs:788-903 \u2014 These 3 members are variants of one another: a block of 29 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f446f05976c016cf17589890c681b6b5ff77388c836b44df174af8af927f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 13 shared lines): crates/burn-nn/src/modules/conv/conv1d.rs:79-100 | crates/burn-nn/src/modules/conv/conv2d.rs:123-141 | crates/burn-nn/src/modules/conv/conv3d.rs:127-148 \u2014 These 3 members are variants of one another: a block of 13 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv1d.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"16444f9b358913c8d1aa5283002a89f115da601fdc59c3bc55eb64ff26d84177"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (119 shared lines): crates/burn-flex/src/ops/attention.rs:258-415 | crates/burn-flex/src/ops/attention.rs:764-925 \u2014 These two members are variants of one another: 119 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7cd320283c004c3a6158443360670289f70238553c0c383773056d8c52138c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (94 shared lines): crates/burn-flex/src/ops/fft.rs:807-946 | crates/burn-flex/src/ops/fft.rs:1018-1151 \u2014 These two members are variants of one another: 94 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b753e9c4cece27c0ff7965a151f080f84d6f8b9d099c6fd109cf315c43fb782"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (71 shared lines): crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:68-164 | crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:173-264 \u2014 These two members are variants of one another: 71 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ee82bae8ad0ca5e5ba0dc06b75373129ff106e51040e84e7cdb4f970e5fdd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (64 shared lines): crates/burn-flex/src/ops/attention.rs:545-727 | crates/burn-flex/src/ops/attention.rs:940-1055 \u2014 These two members are variants of one another: 64 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"de329db7de487b81d2e84c7b09b96ba243d605d8728ae3d512d6cfa9d03b743f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (59 shared lines): crates/burn-flex/src/ops/pool.rs:263-398 | crates/burn-flex/src/ops/pool.rs:695-828 \u2014 These two members are variants of one another: 59 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74cacd1a8fed2ce8e7924108cbd906f5425ac573c11120e69e830538d5cad05"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): crates/burn-flex/src/ops/reduce.rs:858-1061 | crates/burn-flex/src/ops/reduce.rs:1203-1289 \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":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"03530be09cacc9134d14bc6a0bf7785c73895779f2675c809ddf3055c6f6355f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (47 shared lines): crates/burn-flex/src/ops/interpolate.rs:250-352 | crates/burn-flex/src/ops/interpolate.rs:918-1012 \u2014 These two members are variants of one another: 47 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1677eebcd7901be4f42805ddc6e244a6cf4e9d8018805d8fdb88a1ac66f32ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): crates/burn-cubecl/src/kernel/unary_float.rs:50-102 | crates/burn-cubecl/src/kernel/unary_numeric.rs:50-101 \u2014 These two members are variants of one another: 45 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/unary_float.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5895d3f8eeecccaa217490669f50a02f9506654655e61681680aed59f4536984"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (23 shared lines): crates/burn-flex/src/ops/reduce.rs:669-694 | crates/burn-flex/src/ops/reduce.rs:696-721 \u2014 These two members are variants of one another: 23 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"1003c10fcd54a72f19c92fac011bc4fe216afc1f753e3378a069c91b563e0a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): crates/burn-train/src/learner/rl/env_runner/async_runner.rs:222-296 | crates/burn-train/src/learner/rl/env_runner/async_runner.rs:436-526 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/env_runner/async_runner.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"279e6875cfb5a6bc507f349bdd1d9a43d5d6078ff867efbbd33bfae501bf6106"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/burn-nn/src/modules/transformer/decoder.rs:262-300 | crates/burn-nn/src/modules/transformer/encoder.rs:274-301 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/transformer/decoder.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fc04232e5727563c086b64bb0e7eaa583928a0fc23da7701c1e49ddfb2ba17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/burn-store/src/adapter.rs:615-648 | crates/pytorch-reader/src/pickle_reader.rs:950-978 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/adapter.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c00565bc93f610c6e712616d1d748acf7d1f46fc7c391ca465a1335d747e5fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/burn-flex/src/simd/portable.rs:1618-1704 | crates/burn-flex/src/simd/portable.rs:1667-1704 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"4733b8defd7a0d8b7da44b7ec93b814241bfa4f9fad11f69c0369fa0a67ccba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:155-174 | crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs:159-183 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"32151a7490f07d3d58e36df117474f8e051bc28f375af11f90b6e72942a02eb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): crates/burn-autodiff/src/ops/tensor.rs:849-887 | crates/burn-autodiff/src/ops/tensor.rs:3226-3262 | crates/burn-autodiff/src/ops/tensor.rs:3264-3302 | crates/burn-autodiff/src/ops/tensor.rs:3405-3445 | crates/burn-autodiff/src/ops/tensor.rs:3485-3522 | crates/burn-autodiff/src/ops/tensor.rs:3524-3560 | crates/burn-autodiff/src/ops/tensor.rs:3604-3639 | crates/burn-autodiff/src/ops/tensor.rs:3641-3676 | crates/burn-autodiff/src/ops/tensor.rs:3718-3756 | crates/burn-autodiff/src/ops/tensor.rs:3758-3797 | crates/burn-autodiff/src/ops/tensor.rs:3799-3837 | crates/burn-autodiff/src/ops/tensor.rs:3839-3878 | crates/burn-autodiff/src/ops/tensor.rs:3880-3919 | crates/burn-autodiff/src/ops/tensor.rs:3921-3960 \u2014 These 14 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a156253cf3f15f96a6b2ce357f61d04e9e29934902691681fbd264d7e7f3cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): crates/burn-autodiff/src/ops/module.rs:119-151 | crates/burn-autodiff/src/ops/tensor.rs:889-941 | crates/burn-autodiff/src/ops/tensor.rs:2734-2771 | crates/burn-autodiff/src/ops/tensor.rs:2773-2808 | crates/burn-autodiff/src/ops/tensor.rs:2844-2876 | crates/burn-autodiff/src/ops/tensor.rs:2878-2913 | crates/burn-autodiff/src/ops/tensor.rs:2915-3018 | crates/burn-autodiff/src/ops/tensor.rs:4040-4074 | crates/burn-autodiff/src/ops/tensor.rs:4076-4110 | crates/burn-autodiff/src/ops/tensor.rs:4112-4146 | crates/burn-autodiff/src/ops/tensor.rs:4148-4182 | crates/burn-autodiff/src/ops/tensor.rs:4707-4770 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"320db56c856eb51ff5b7ef1169e7c93d37d8a85e8f44ef5508fa20c6bd1be0b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): crates/burn-autodiff/src/ops/module.rs:25-106 | crates/burn-autodiff/src/ops/module.rs:165-275 | crates/burn-autodiff/src/ops/module.rs:300-416 | crates/burn-autodiff/src/ops/module.rs:423-551 | crates/burn-autodiff/src/ops/module.rs:558-677 | crates/burn-autodiff/src/ops/module.rs:686-992 | crates/burn-autodiff/src/ops/module.rs:1011-1141 | crates/burn-autodiff/src/ops/module.rs:1148-1267 | crates/burn-autodiff/src/ops/module.rs:1274-1404 | crates/burn-autodiff/src/ops/module.rs:2276-2367 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6b464b95c78c4b883b269df24d763e461c9c5cb022c6706f20f41568b4cdcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): crates/burn-flex/src/ops/conv.rs:248-544 | crates/burn-flex/src/ops/conv.rs:860-998 | crates/burn-flex/src/ops/conv.rs:1409-1523 | crates/burn-flex/src/ops/conv.rs:1634-1764 | crates/burn-flex/src/ops/conv.rs:1842-1976 | crates/burn-flex/src/ops/conv_transpose.rs:258-541 | crates/burn-flex/src/ops/deform_conv.rs:135-359 | crates/burn-flex/src/ops/deform_conv.rs:467-676 | crates/burn-flex/src/ops/deform_conv.rs:774-940 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"1126ce67fdeb8c5c62f5ccfeddef0ef8c19d4125ed6119416f4bbfa0898d9d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/burn-flex/src/ops/interpolate.rs:1023-1116 | crates/burn-flex/src/ops/interpolate.rs:1127-1213 | crates/burn-flex/src/ops/matmul.rs:672-754 | crates/burn-flex/src/ops/matmul.rs:774-823 | crates/burn-flex/src/ops/matmul.rs:826-900 | crates/burn-flex/src/ops/pool.rs:1238-1300 | crates/burn-flex/src/ops/pool.rs:1460-1592 | crates/burn-flex/src/ops/pool.rs:1658-1742 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca09f83776dc8296e83555bc52ab67a3be32afa524640d62b8e83cfa84c7ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/burn-flex/src/simd/kernels.rs:90-115 | crates/burn-flex/src/simd/kernels.rs:128-157 | crates/burn-flex/src/simd/portable.rs:50-87 | crates/burn-flex/src/simd/portable.rs:50-93 | crates/burn-flex/src/simd/portable.rs:50-99 | crates/burn-flex/src/simd/portable.rs:50-105 | crates/burn-flex/src/simd/portable.rs:50-116 | crates/burn-flex/src/simd/portable.rs:50-122 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/kernels.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ce93426d43fd377f2729cc13507ea90920ecb3b6225978d601cb80296fd059"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/burn-autodiff/src/ops/module.rs:300-416 | crates/burn-autodiff/src/ops/module.rs:423-551 | crates/burn-autodiff/src/ops/module.rs:558-677 | crates/burn-autodiff/src/ops/module.rs:1011-1141 | crates/burn-autodiff/src/ops/module.rs:1148-1267 | crates/burn-autodiff/src/ops/module.rs:1274-1404 | crates/burn-autodiff/src/ops/tensor.rs:4488-4543 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18edad1c686b22f999a27092e6f835b6a9f286d2e8fb6dee6844c2cc0770036"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/burn-flex/src/ops/pool.rs:460-471 | crates/burn-flex/src/ops/pool.rs:481-492 | crates/burn-flex/src/ops/pool.rs:502-513 | crates/burn-flex/src/ops/pool.rs:523-534 | crates/burn-flex/src/ops/pool.rs:1311-1324 | crates/burn-flex/src/ops/pool.rs:1335-1348 | crates/burn-flex/src/ops/pool.rs:1359-1372 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f21d80503ed7d7bdca818297d9810fb8d1b815219acb20e1fe827d74874672"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/burn-backend/src/backend/ops/modules/conv.rs:986-1006 | crates/burn-backend/src/backend/ops/modules/conv.rs:1013-1034 | crates/burn-backend/src/backend/ops/modules/conv.rs:1041-1063 | crates/burn-backend/src/backend/ops/modules/conv.rs:1266-1287 | crates/burn-backend/src/backend/ops/modules/conv.rs:1294-1316 | crates/burn-backend/src/backend/ops/modules/conv.rs:1323-1346 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"f755d2ec722fbb67d821b98d371a31ac9b5f0e0cf0b582a47b2e4a4328dca88f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/burn-backend/src/backend/ops/modules/conv.rs:1070-1114 | crates/burn-backend/src/backend/ops/modules/conv.rs:1121-1178 | crates/burn-backend/src/backend/ops/modules/conv.rs:1185-1259 | crates/burn-backend/src/backend/ops/modules/conv.rs:1353-1408 | crates/burn-backend/src/backend/ops/modules/conv.rs:1415-1472 | crates/burn-backend/src/backend/ops/modules/conv.rs:1479-1552 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"469bd24cf3cc987f14f1d854be47acd431fae94543d4170329e9cfc628eb2002"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/burn-flex/src/ops/reduce.rs:1819-1863 | crates/burn-flex/src/ops/reduce.rs:1870-1917 | crates/burn-flex/src/ops/reduce.rs:1927-1977 | crates/burn-flex/src/ops/reduce.rs:1985-2017 | crates/burn-flex/src/ops/reduce.rs:2027-2076 | crates/burn-flex/src/ops/reduce.rs:2084-2122 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"32542dfe90d1c1f4b10bee3c297d947f06f3ddb9020d658b5234726fe3909c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs:30-203 | crates/burn-cubecl/src/kernel/conv/backward_weight/tune.rs:33-206 | crates/burn-cubecl/src/kernel/conv/conv_transpose2d/tune.rs:16-39 | crates/burn-cubecl/src/kernel/conv/conv_transpose3d/tune.rs:23-46 | crates/burn-cubecl/src/kernel/conv/forward/tune.rs:57-221 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d061a21251c88ef0883d18bb90cb35640f547f75590cd57677594b162ec943f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:295-360 | crates/burn-cubecl/src/kernel/pool/base.rs:25-68 | crates/burn-cubecl/src/kernel/pool/base.rs:78-130 | crates/burn-cubecl/src/kernel/pool/base.rs:187-226 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:252-327 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"46248a70edb4d5372c4a2c0e14dbf354df45f8679310ad8030b43c93409f377c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/burn-flex/src/ops/comparison.rs:862-889 | crates/burn-flex/src/ops/reduce.rs:2129-2173 | crates/burn-flex/src/ops/reduce.rs:2184-2237 | crates/burn-flex/src/ops/reduce.rs:2250-2294 | crates/burn-flex/src/ops/reduce.rs:2307-2360 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/comparison.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7f700f28720a575e4a0994948b1cc52e3cb7183a946474f47020968478286a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/burn-autodiff/src/ops/tensor.rs:238-263 | crates/burn-autodiff/src/ops/tensor.rs:307-332 | crates/burn-autodiff/src/ops/tensor.rs:594-619 | crates/burn-autodiff/src/ops/tensor.rs:685-710 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48f238b1c766ee5f6b0fa03439e1fddee1c2cb2df71e439b4091cd778a5a017"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/burn-autodiff/src/ops/tensor.rs:3167-3182 | crates/burn-autodiff/src/ops/tensor.rs:4320-4335 | crates/burn-autodiff/src/ops/tensor.rs:4364-4379 | crates/burn-autodiff/src/ops/tensor.rs:4646-4667 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":3167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fada1d9b7bfa53bba1e5f9ee9ef1f3e40458db767bc5651eafa72ad14d0c9ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs:219-274 | crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs:282-311 | crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs:321-381 | crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs:394-474 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"784bc021fd0c3e6b7422fa8438094226e53c149aeef9ff3f62b38cbb9f195307"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:38-130 | crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:169-285 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:39-133 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:143-242 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4aa2f6193ff65a82c0b8fd0ef9e531f125517787d5cfd850e4af0a9767ba965"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/burn-flex/src/ops/mask.rs:101-132 | crates/burn-flex/src/ops/mask.rs:135-166 | crates/burn-flex/src/ops/mask.rs:179-210 | crates/burn-flex/src/ops/mask.rs:218-246 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"33310b2373be124d6d93d2b78f6f0ca16455ba9656fdd203e405542fac16cac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/burn-flex/src/ops/mask.rs:423-460 | crates/burn-flex/src/ops/mask.rs:463-500 | crates/burn-flex/src/ops/mask.rs:513-550 | crates/burn-flex/src/ops/mask.rs:553-588 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"132d3ff71d717c5ade75a149490512a9293d7b493627c933560167da7b848eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/burn-flex/src/ops/pool.rs:843-855 | crates/burn-flex/src/ops/pool.rs:866-878 | crates/burn-flex/src/ops/pool.rs:889-901 | crates/burn-flex/src/ops/pool.rs:912-924 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e12906b45a9dc56df42854fdf9cf021624e371bfebe32e6fda9365b07e35e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/burn-flex/src/simd/portable.rs:1730-1750 | crates/burn-flex/src/simd/portable.rs:1775-1795 | crates/burn-flex/src/simd/portable.rs:2057-2082 | crates/burn-flex/src/simd/portable.rs:2101-2124 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8d372bf51d412467ec0375db26dd1fb9479f8d7c696e57a36676c5687a42f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/burn-fusion/src/client.rs:333-367 | crates/burn-fusion/src/client.rs:378-412 | crates/burn-fusion/src/client.rs:424-458 | crates/burn-fusion/src/client.rs:469-503 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/client.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"be27362eb714970c7f38d21b0482210a36a07f77c2c3ccab9b8016cff9e1faa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/burn-train/src/metric/bleu.rs:331-405 | crates/burn-train/src/metric/cer.rs:84-142 | crates/burn-train/src/metric/rouge.rs:78-154 | crates/burn-train/src/metric/wer.rs:61-125 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/bleu.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e887147eb897728b4af9aaf0b7d08bd28f11d26515a4e6846f8e35c14b42835d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (296 corresponding lines): crates/burn-autodiff/src/ops/tensor.rs:1161-1464 | crates/burn-autodiff/src/ops/tensor.rs:1471-1766 \u2014 These two members are one piece of code written twice and then edited apart: 296 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2aea36498c293d6e174093be61f0b349a8ae3baf35979ca3a9865fd0898488f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): crates/burn-ir/src/operation.rs:2834-2893 | crates/burn-ir/src/operation.rs:2895-2962 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":2834}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffd424e8a101fd1e0e2a48a4538194809070f3eff947c75ed05e95798c8e8b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (154 corresponding lines): crates/burn-flex/src/ops/int.rs:219-372 | crates/burn-flex/src/ops/int.rs:451-624 \u2014 These two members are one piece of code written twice and then edited apart: 154 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"657716f94274449a14761330fbc38e86dfaf32f9e761dab58fb7c57df7c2635c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (143 corresponding lines): crates/burn-ir/src/operation.rs:2688-2830 | crates/burn-ir/src/operation.rs:3608-3772 \u2014 These two members are one piece of code written twice and then edited apart: 143 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":2688}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e0e573feebd086dec9b6d7fd7cc3d5e67fb3a989c2edada6244881952342d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/burn-ir/src/operation.rs:3408-3454 | crates/burn-ir/src/operation.rs:3455-3495 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":3408}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa63cd0dc556b4b87d5d56abaad28fadb7c4379d7b1a34baeccfb7e3aebe4c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (110 corresponding lines): crates/burn-ir/src/operation.rs:2576-2686 | crates/burn-ir/src/operation.rs:3497-3606 \u2014 These two members are one piece of code written twice and then edited apart: 110 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":2576}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac7104193fdab0d18daa871126f1f0529249c4287a3bfeed7a205cc40c710d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): crates/burn-flex/src/ops/float.rs:315-393 | crates/burn-flex/src/ops/float.rs:448-541 \u2014 These two members are one piece of code written twice and then edited apart: 79 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/float.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e254109b1559005342d4775d49d92546c22b05c881da72bc3d188147b9e8a9b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/burn-ir/src/operation.rs:2498-2539 | crates/burn-ir/src/operation.rs:2541-2574 \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":"crates/burn-ir/src/operation.rs"},"region":{"startLine":2498}}}],"partialFingerprints":{"codehealthFindingId/v1":"314ce33a94f2a324b5210c198fa989c602069e1f6857e0f2ea2025db877f0480"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (99 corresponding lines): crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:35-133 | crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs:38-150 \u2014 These two members are one piece of code written twice and then edited apart: 99 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"18abd12358514c0a64c5459f273d796102aa7762eda221657c12eb73517f82eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): crates/burn-vision/src/backends/cpu/morphology/filter.rs:116-173 | crates/burn-vision/src/backends/cpu/morphology/filter.rs:555-611 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc10d1a89c3267615b95b2fc44eef19d5f522125b64c30af6fc0a2cc0aa43415"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): crates/burn-fusion/src/stream/context.rs:959-1043 | crates/burn-fusion/src/stream/context.rs:1081-1159 \u2014 These two members are one piece of code written twice and then edited apart: 79 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c32d4ef32bd1b821c5dd55d35ac59090979d1bcc4fe4f013d704b77a2e25dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 44\u002B corresponding lines): crates/burn-flex/src/ops/reduce.rs:728-785 | crates/burn-flex/src/ops/reduce.rs:788-845 | crates/burn-flex/src/ops/reduce.rs:1605-1648 | crates/burn-flex/src/ops/reduce.rs:1651-1694 | crates/burn-flex/src/ops/reduce.rs:1697-1745 | crates/burn-flex/src/ops/reduce.rs:1748-1796 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 44 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"efca72e6612fed9668d3a51b464086822cde4072b4efd4cce9e722eb33328525"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): crates/burn-nn/src/modules/transformer/decoder.rs:323-392 | crates/burn-nn/src/modules/transformer/decoder.rs:400-487 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/transformer/decoder.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cdf289bfa3b41c81dd0d6de83993d3f481203498c238ecc37dbda283f346ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): crates/burn-ir/src/operation.rs:3866-3932 | crates/burn-ir/src/operation.rs:5422-5489 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":3866}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af7d1d22ea60b8348e4cc05115fe055b87d60e6d07660616ddd969b37170eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): crates/burn-flex/src/simd/portable.rs:284-331 | crates/burn-flex/src/simd/portable.rs:424-476 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42726f79f1b2dec71608d95f3e8308e104ab8fad30d7815042f86763f925eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): crates/burn-autodiff/src/ops/tensor.rs:3020-3085 | crates/burn-autodiff/src/ops/tensor.rs:3087-3152 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":3020}}}],"partialFingerprints":{"codehealthFindingId/v1":"636f4bd6d8bec910af5ea73c4190c81cdf2e6170665060fe83a3d09a2696e63d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): crates/burn-flex/src/ops/sort.rs:288-355 | crates/burn-flex/src/ops/sort.rs:365-430 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/sort.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffd7b0f48abad4e9d62201033968a508ac021ddb222e730df923989e18c0a82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:258-315 | crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs:268-339 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"215ddbaaea88869f6aa48088e5da11db5e1bf82740c7ee89594f4f84bceeeee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/burn-flex/src/ops/reduce.rs:245-275 | crates/burn-flex/src/ops/reduce.rs:391-421 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f6dec37670042f01d546de3fabe39b3308794cb6ecf36017090c12ad09d849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): crates/burn-train/src/metric/processor/minimal.rs:38-107 | crates/burn-train/src/metric/processor/minimal.rs:109-159 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/minimal.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f72d2ae5171ba018511063e1b370f019306e64c3f70add9fb3a4b645e488cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/burn-flex/src/ops/module.rs:764-819 | crates/burn-flex/src/ops/module.rs:826-871 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/module.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"6853b5a3f69450c5abdb9593239faf1f3f08942120370b671a9a016082314042"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): crates/burn-flex/src/zip.rs:123-182 | crates/burn-flex/src/zip.rs:385-459 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/zip.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0e236080e794acdfc1638fe72db6e9ab275a2cdc579e5becc9ea2f8826ef13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-ir/src/operation.rs:3812-3864 | crates/burn-ir/src/operation.rs:5408-5506 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":3812}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b759352f1f849b5df2ed369aff8bc7dc2ca1ade926bf749204718543a1938a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): crates/burn-train/src/learner/supervised/strategies/multi/strategy.rs:28-106 | crates/burn-train/src/learner/supervised/strategies/single/strategy.rs:53-118 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/multi/strategy.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b981ff1ef8e985856ac99cba45f1d81266a75df18882a00445bd1cefc2bc9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/burn-flex/src/ops/fft.rs:436-492 | crates/burn-flex/src/ops/fft.rs:511-547 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b785f4c43ad823f8adab90226be02cbf3f74ac8a6eaf16e1ff10fd0f44b0b643"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): crates/burn-flex/src/ops/activation.rs:712-775 | crates/burn-flex/src/ops/activation.rs:829-895 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/activation.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb03a8cb359a592370736a712781047baf3fc7f46b794c38e415d4785134ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): crates/burn-flex/src/ops/reduce.rs:1297-1350 | crates/burn-flex/src/ops/reduce.rs:1366-1417 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e7a7abb8690b1b228c5bf11fb1c1c43eb0dcff2554e84f220599c090b21656"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 54\u002B corresponding lines): crates/burn-autodiff/src/ops/tensor.rs:943-996 | crates/burn-autodiff/src/ops/tensor.rs:1048-1107 | crates/burn-autodiff/src/ops/tensor.rs:1816-1873 | crates/burn-autodiff/src/ops/tensor.rs:2316-2370 | crates/burn-autodiff/src/ops/tensor.rs:3350-3403 | crates/burn-autodiff/src/ops/tensor.rs:4574-4644 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 54 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"abedcb1bf4cd7d3fd0ec67360a17613cc09b465d46b1e4e8494c43331b941039"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/burn-train/src/metric/vision/fid/inception.rs:161-199 | crates/burn-train/src/metric/vision/fid/inception.rs:297-330 \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":"crates/burn-train/src/metric/vision/fid/inception.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad43f3509960901b7795b0119a6c5c6b04724b278356a861cc64d13cf8ce5379"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): crates/burn-cubecl-fusion/src/engine/trace/block.rs:259-321 | crates/burn-cubecl-fusion/src/engine/trace/block.rs:329-402 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/trace/block.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"a769d2a031b2f6d53e6026be4cc645c18bec49a2d21d685bdb18ed899fb5b7b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): crates/burn-nn/src/modules/rnn/basic.rs:331-397 | crates/burn-nn/src/modules/rnn/gru.rs:383-446 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/rnn/basic.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe7f3779887855c8852675e5bb80afb5df947ddafb3f558d56c6a48f0fb6df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/burn-ir/src/operation.rs:3776-3792 | crates/burn-ir/src/operation.rs:5396-5506 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":3776}}}],"partialFingerprints":{"codehealthFindingId/v1":"4176fbf30fea25c1a279facb148cda95e04bf63e37220715459c855656f60f2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/burn-train/src/metric/vision/dists/vgg16_l2pool.rs:129-168 | crates/burn-train/src/metric/vision/lpips/vgg.rs:75-111 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/dists/vgg16_l2pool.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd681698e969ccd4b411086019eda10d3a62bce301132bdd4f0cd26f74344c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): crates/burn-optim/src/optim/adam.rs:153-211 | crates/burn-optim/src/optim/adamw.rs:162-226 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/adam.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"151dcda1b4f4d70dd12ec3afdbc11cbeda9918ebc08d9cf428dfce94814ba2c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/burn-ir/src/operation.rs:3794-3810 | crates/burn-ir/src/operation.rs:5402-5506 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":3794}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c0b2efb24a28b862535c52c3abd5d15f3f9ba662608ab736e785fd3af7ea76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): crates/burn-dataset/src/nlp/text_folder.rs:197-247 | crates/burn-dataset/src/vision/image_folder.rs:558-612 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/nlp/text_folder.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf68802725a75e406c6f691af0d47fef613e2d63be558dc956ebce864548c8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/burn-autodiff/src/ops/tensor.rs:196-236 | crates/burn-autodiff/src/ops/tensor.rs:265-305 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"508ed8139fd4e82aa50fbb5ada20fbfb9ca76754b88cc0f77b5f1c5106fbbd2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 53\u002B corresponding lines): crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs:219-274 | crates/burn-cubecl/src/kernel/conv/backward_weight/tune.rs:222-283 | crates/burn-cubecl/src/kernel/conv/forward/tune.rs:237-289 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 53 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea21cd2e7ce4180847e4fba6b7a81369764ec872eec94b538a7d46f855f62b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/burn-flex/src/ops/cumulative.rs:43-95 | crates/burn-flex/src/ops/cumulative.rs:108-149 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/cumulative.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"492fc278f0bd15f06bde474d86eb1214cdd179683aa5d4df4c5867116989e48a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/burn-flex/src/ops/comparison.rs:518-544 | crates/burn-flex/src/ops/comparison.rs:557-581 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/comparison.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fea0d0347df1faa1896f41070efa0f36946d21b0249ac0d2c9d6f3a7aaecff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 40\u002B corresponding lines): crates/burn-autodiff/src/ops/module.rs:1429-1502 | crates/burn-autodiff/src/ops/module.rs:1512-1593 | crates/burn-autodiff/src/ops/module.rs:1616-1697 | crates/burn-autodiff/src/ops/module.rs:2218-2257 | crates/burn-autodiff/src/ops/module.rs:2375-2455 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a44f3b99b197110461fe41d2fcbabc3e3c76260b6302b240ce4f03914725a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/burn-flex/src/ops/sort.rs:40-56 | crates/burn-flex/src/ops/sort.rs:63-81 | crates/burn-flex/src/ops/sort.rs:84-100 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/sort.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa32bc2c099633ef1bb5cbdee170e75e4d394be9ddadb8fa8cb913fecf3c1ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/burn-train/src/learner/supervised/strategies/ddp/epoch.rs:38-86 | crates/burn-train/src/learner/supervised/strategies/single/epoch.rs:36-78 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/ddp/epoch.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"721a0b69eaf75436294019d76b6ae96665ebfa509abd244a2640b1a595f36dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): crates/burn-tensor/src/tensor/api/check.rs:1532-1585 | crates/burn-tensor/src/tensor/api/check.rs:1640-1696 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/check.rs"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe2a5f13fe494a3bc415588f116b3f27329ae7e91200d5adb8a1220425107c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/burn-autodiff/src/ops/tensor.rs:1113-1153 | crates/burn-autodiff/src/ops/tensor.rs:1768-1810 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc53722ed07a878f79251080b3f20c28f8d1bcbd496220385e02b024066f0f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): crates/burn-cubecl/src/kernel/mask/mask_fill.rs:55-111 | crates/burn-cubecl/src/kernel/mask/mask_where.rs:60-113 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/mask/mask_fill.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"756b9d8e9ad8441073cd93a5b7702d2f24db90c9e743639d08b7c4aee3e39454"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): crates/burn-nn/src/modules/conv/conv3d.rs:74-117 | crates/burn-nn/src/modules/conv/deform_conv2d.rs:80-137 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv3d.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fb37a322f860fde7b70ed43e828fde73f752a8bbfd01ccb99e774cb431626f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/burn-nn/src/modules/transformer/encoder.rs:315-359 | crates/burn-nn/src/modules/transformer/encoder.rs:369-423 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/transformer/encoder.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9df9d08a803c917b802bdd6671a5b4901bbd88b0081636208e768d576c4de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): crates/burn-dispatch/src/backend.rs:441-481 | crates/burn-dispatch/src/backend.rs:483-523 | crates/burn-dispatch/src/backend.rs:568-609 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/backend.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdacbafd7ef022e1e5dbb62d8471c7ac96d5bdc4594843072ca4c0ec03673beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/burn-flex/src/ops/sort.rs:170-196 | crates/burn-flex/src/ops/sort.rs:513-546 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/sort.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7780ae07f49c8421a9cc8663b35f21f0f8b31ef102a572d0117ab0914a9a0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/burn-flex/src/zip.rs:476-510 | crates/burn-flex/src/zip.rs:525-557 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/zip.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"1410b603a81419266680eded86f595612fbc62060241a420fe87bde05fd9998d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 37\u002B corresponding lines): crates/burn-autodiff/src/ops/tensor.rs:3188-3224 | crates/burn-autodiff/src/ops/tensor.rs:3447-3483 | crates/burn-autodiff/src/ops/tensor.rs:3562-3602 | crates/burn-autodiff/src/ops/tensor.rs:3678-3716 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 37 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":3188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8429ecf6fd38e7d4b43e7201a79a73ef539de6fc3388fdd5d4a48724c42bb9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/burn-cubecl/src/kernel/index/gather_nd.rs:24-63 | crates/burn-cubecl/src/kernel/index/scatter_nd.rs:29-77 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/gather_nd.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb9c64744f80fe9c7b4bce57bbdeb6b8b05f943d686d49f0ebee1d5ee4b26b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/burn-flex/src/ops/reduce.rs:428-462 | crates/burn-flex/src/ops/reduce.rs:465-497 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee35e1afcdad5b91ccdd5f0276391f41e08c40b284e8f23a1b66c4b03575c924"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs:93-135 | crates/burn-cubecl/src/kernel/conv/backward_weight/implicit_gemm/launch.rs:93-135 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"813584ef5686a5d7a709b4120410f091650a8e8913a1578f05d2ec146348a6fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): crates/burn-autodiff/src/ops/module.rs:2083-2120 | crates/burn-autodiff/src/ops/module.rs:2122-2159 | crates/burn-autodiff/src/ops/module.rs:2168-2205 \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":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":2083}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db8a25604fa59c81c1ebff665eb5516ef79338965b106d1b78fdfb726dd8ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/burn-flex/src/ops/comparison.rs:767-780 | crates/burn-flex/src/ops/comparison.rs:788-801 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/comparison.rs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c46e95f1f075d0600a2a7291ffa536903f486f832c4283ca8518069a98e1e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:372-416 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:339-388 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8f9fc7e77d653f442ff85428cec758ff07ba9efd6087c5d54fa578c630a391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/burn-flex/src/ops/conv.rs:1237-1301 | crates/burn-flex/src/ops/conv.rs:1326-1363 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcc16c9978539a20fe59b7179776b4aebee5a4ae6c2a5efbd457eccf2672e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/burn-autodiff/src/ops/tensor.rs:2667-2702 | crates/burn-autodiff/src/ops/tensor.rs:2704-2732 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":2667}}}],"partialFingerprints":{"codehealthFindingId/v1":"afab7f86c5aad1cadab7a0378d371ec6d84bfa21d60b1312ab5df71b3775e65f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 48\u002B corresponding lines): crates/burn-cubecl/src/kernel/binary.rs:302-354 | crates/burn-cubecl/src/kernel/binary_int.rs:250-297 | crates/burn-cubecl/src/kernel/unary_int.rs:47-95 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 48 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5ab7d1508f38a592a9049a480ee4abf10ca0b40cf6b78320d06eb11171fc76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/burn-flex/src/ops/sort.rs:139-162 | crates/burn-flex/src/ops/sort.rs:472-506 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/sort.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"342a9beed9308b2130e0e5a66c06a112e687a6020d7af85f1419c7b7d3d63db4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/burn-backend/src/backend/ops/modules/attention.rs:531-554 | crates/burn-backend/src/backend/ops/modules/attention.rs:562-591 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/attention.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"77909e684a001a9e5fe92ac88c8582da98e14057f9d40a69fdb1b43156d5c6ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/burn-train/src/metric/vision/lpips/metric.rs:299-319 | crates/burn-train/src/metric/vision/lpips/metric.rs:349-371 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/lpips/metric.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4046348499845f50b9802211bb70982cce48b77011ae1b8ea4ce253e885ec75a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/burn-flex/src/ops/bool.rs:153-192 | crates/burn-flex/src/ops/comparison.rs:689-714 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/bool.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"739a7fcd08229fcdc61e4eaebcdd9067d9d53af85b3d241f8efa0ae63afbebac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/burn-flex/src/ops/reduce.rs:57-73 | crates/burn-flex/src/ops/reduce.rs:348-364 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"208088d3723dce7460da76af53d18b4aec23e886d6e8f080f46bac0011c8a4e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/burn-autodiff/src/ops/tensor.rs:393-424 | crates/burn-autodiff/src/ops/tensor.rs:494-526 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"268f23790d0e3b401cd9674da95e195a9326ed3078bc84ab9aa4d942deb52bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:186-232 | crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs:192-236 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62f8dc62d31167758407bc69d49d60ba31e1a22129ae8d99b2439527e2af1f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/burn-tensor/src/tensor/module.rs:574-606 | crates/burn-tensor/src/tensor/module.rs:615-650 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/module.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"55378abf5d7d94bcc320a62bda742c2e9e902b7f6a378f0a4cd9f2b34d086853"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/burn-optim/src/parallel/training.rs:320-354 | crates/burn-optim/src/parallel/training.rs:447-483 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/parallel/training.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6473e5b80c4ca91f561ba43038df9f40cee2f390ad590fc2e0c101e6e541866"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/burn-dataset/src/vision/mnist.rs:185-232 | crates/burn-dataset/src/vision/mnist.rs:235-271 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/vision/mnist.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b6e25253b0d4bf6b03fb356aa380c5932b611379d449581f217f7c93056231"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/burn-train/src/metric/vision/fid/inception.rs:52-77 | crates/burn-train/src/metric/vision/fid/inception.rs:238-261 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/fid/inception.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0ac722a2cbc49acd73d5e85b0670249ce88f76036fef30c87fff8909690b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/burn-derive/src/module/codegen_enum.rs:34-70 | crates/burn-derive/src/module/codegen_enum.rs:123-165 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/module/codegen_enum.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e3d4f21e523a446a68db41980aba17ff4a33c1158504130992d26b890d2a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/burn-flex/src/ops/int.rs:143-160 | crates/burn-flex/src/ops/int.rs:199-211 | crates/burn-flex/src/ops/int.rs:431-443 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"482ecd740db5ef993b4540fb16b377091d407c93045e913a66317e1e32c736c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/burn-flex/src/ops/activation.rs:284-329 | crates/burn-flex/src/ops/activation.rs:477-568 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/activation.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c3d48175410bb2257a2fb3f8f76be4796b0ab225a3c08c1594f8894f63d0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): crates/burn-signal/src/functions/blackman_window.rs:58-90 | crates/burn-signal/src/functions/hamming_window.rs:37-64 | crates/burn-signal/src/functions/hann_window.rs:37-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 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-signal/src/functions/blackman_window.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"117aada156cbef476fa655e6693a3a3805ffe2ffdbd85746637bc574a6d6818b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/burn-backend/src/backend/ops/modules/conv.rs:463-499 | crates/burn-backend/src/backend/ops/modules/conv.rs:562-612 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"0920288f15be7ddc04a2480cabbdc977916d4a653879ead9c853da0dba9c704c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/burn-backend/src/backend/ops/cat.rs:17-45 | crates/burn-backend/src/backend/ops/repeat_dim.rs:18-44 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/cat.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2809cff0cf262b4c226b7f979a2d4056037152c367a47856cf655c3b31720e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/burn-flex/src/ops/int.rs:894-906 | crates/burn-flex/src/ops/int.rs:908-920 | crates/burn-flex/src/ops/int.rs:922-934 | crates/burn-flex/src/ops/int.rs:936-948 \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":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"94108c986556597a7008df4c0424fa585fe41329a523536a69100cd610229335"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/burn-train/src/metric/processor/metrics.rs:284-310 | crates/burn-train/src/metric/processor/metrics.rs:316-344 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/metrics.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c493ab96dbaa4ad607a3282a0fe176bfd1da74dbdb26af137152a1382ccec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/burn-tensor/src/tensor/module.rs:444-482 | crates/burn-tensor/src/tensor/module.rs:511-548 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/module.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"5998e716197e7b7807ea512fbe7192c1ec5e90b8f49573737328b59e4aad2f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): crates/burn-backend/src/backend/ops/modules/conv.rs:922-947 | crates/burn-backend/src/backend/ops/modules/conv.rs:955-979 | crates/burn-cubecl/src/kernel/conv/backward_data/fallback.rs:142-170 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"3580111d90eebc23a9f63200ba1cf8ea95e7bc40735fceec47148f8dc7988c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): crates/burn-train/src/metric/fbetascore.rs:127-148 | crates/burn-train/src/metric/precision.rs:95-116 | crates/burn-train/src/metric/recall.rs:92-113 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/fbetascore.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83690a5e9ab68aaf369f62123aff43d71ef0c72917352404a9e909dce924ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 49\u002B corresponding lines): crates/burn-autodiff/src/ops/module.rs:1769-1817 | crates/burn-autodiff/src/ops/module.rs:1899-1948 | crates/burn-autodiff/src/ops/module.rs:2020-2069 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 49 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"739dddc3f074fd381e2fd60305314c171923144a661c905c53fccb027dbc07e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/burn-flex/src/ops/fft.rs:693-725 | crates/burn-flex/src/ops/fft.rs:1275-1302 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bc46569ffb73f2d2c65664c8c2483ad49c09b1c0e97ef6fb74bff6405ff72a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): crates/burn-cubecl/src/kernel/reduce/tune.rs:283-321 | crates/burn-cubecl/src/kernel/reduce/tune.rs:366-410 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/reduce/tune.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"713a5f904625b238cf3178551fe442211a7e152062a673c184b959d4746dfb54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/burn-train/src/learner/rl/strategy.rs:55-94 | crates/burn-train/src/learner/supervised/strategies/base.rs:133-176 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/strategy.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bac3317a65b32fff01d3692f59d4f554b61505766dbfbb53750d815239b24cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/burn-cubecl/src/kernel/index/slice.rs:142-177 | crates/burn-cubecl/src/kernel/index/slice_assign.rs:57-96 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/slice.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cf27965cce103215cae23e2f33d096131037ac98f0fc793035e1758b31f498"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/burn-autodiff/src/ops/tensor.rs:2515-2547 | crates/burn-autodiff/src/ops/tensor.rs:4772-4804 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":2515}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2d6fba93b22e9843ab74744b8dc48dcc6ecca46cc81ecba0d34301bb910328"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/burn-train/src/learner/rl/paradigm.rs:80-114 | crates/burn-train/src/learner/supervised/paradigm.rs:87-125 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/paradigm.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b1585ab01396e5cc64114bfcbf05d91afe3d839a071e30954543e39eec6c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/burn-cubecl/src/kernel/fft/base.rs:12-31 | crates/burn-signal/src/backends/autodiff.rs:148-167 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/fft/base.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03eecceab41ef5a42783eeb32273d08003eff37d16464ee75058c1aedfbc7b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 34\u002B corresponding lines): crates/burn-nn/src/modules/conv/conv2d.rs:76-113 | crates/burn-nn/src/modules/conv/conv_transpose1d.rs:100-133 | crates/burn-nn/src/modules/conv/conv_transpose2d.rs:100-134 | crates/burn-nn/src/modules/conv/conv_transpose3d.rs:100-135 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv2d.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef832803b5615f5317b09dbffb2e3845d5905cf2b505302fd53551d865b8a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/burn-flex/src/zip.rs:86-115 | crates/burn-flex/src/zip.rs:352-380 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/zip.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cd357e6ad7d8d298b8e3d7bf16a000402ebf5ec80d35d4dae75925b5cd2c6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/burn-flex/src/simd/kernels.rs:209-236 | crates/burn-flex/src/simd/kernels.rs:239-266 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/kernels.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8755a1993b0e28bdd36c88b62ca7869b86b6b8dceed704fa1466c42f13d8eaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/burn-cubecl/src/ops/base.rs:151-179 | crates/burn-cubecl/src/ops/base.rs:182-209 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/base.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb9beac86ba8c7d306ce999b5e14853fec28d1daeb84b0e813d27f19f1010ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/burn-train/src/metric/vision/fid/inception.rs:79-99 | crates/burn-train/src/metric/vision/fid/inception.rs:201-224 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/fid/inception.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ad5fc1bd636e94d9bd678ae892bbeb08686ddf521b67f29a3c1c86ee21d7e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/burn-backend/src/backend/ops/modules/conv.rs:86-118 | crates/burn-backend/src/backend/ops/modules/conv.rs:129-162 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6144aec5110eb7cdc6f62dbbffd250e11be9f7e0990392f01fbf060c80dde859"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/burn-flex/src/ops/binary.rs:40-59 | crates/burn-flex/src/ops/comparison.rs:32-51 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/binary.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4d94c6e378507b3f6ffd15768d0f1ba6e64a724532185119bccc2ba78b4746"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/burn-remote/src/client/runner.rs:585-612 | crates/burn-remote/src/client/runner.rs:619-652 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/client/runner.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd91718a5040cefaed1e74de6ef3fe8dc14c767db5af8ade10b7b5e525bf597"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): crates/burn-flex/src/ops/conv.rs:121-136 | crates/burn-flex/src/ops/conv.rs:172-191 | crates/burn-flex/src/ops/conv_transpose.rs:93-111 | crates/burn-flex/src/ops/conv_transpose.rs:152-174 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7544fae83cdf51c274c076303e86b578234483374d2e1a26160416a777d28cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/burn-cubecl/src/kernel/index/gather.rs:42-81 | crates/burn-cubecl/src/kernel/index/select.rs:45-81 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/gather.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cae721e0bf0b94386df425fb6afed44ef4945c6ae3dac13f1fdae9e6ff6ebe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): crates/burn-backend/src/backend/ops/modules/conv.rs:663-700 | crates/burn-backend/src/backend/ops/modules/conv.rs:745-783 | crates/burn-backend/src/backend/ops/modules/conv.rs:831-870 \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":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"76128192b559181b6ba4a6fa79fb2ba275890a9b30ea8a2ec382333c1961a909"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/burn-train/src/learner/rl/env_runner/async_runner.rs:177-214 | crates/burn-train/src/learner/rl/env_runner/async_runner.rs:385-423 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/env_runner/async_runner.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db5b41d9e92d452b5a6f11f9890c1bee89af9fb9c38b82df5381c4fb4db617a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/burn-autodiff/src/ops/tensor.rs:823-847 | crates/burn-autodiff/src/ops/tensor.rs:4545-4572 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a7889a55b7635d399a7d089cd7b0c5ee24e5eab177d32af4b1930e961eb79e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): crates/burn-autodiff/src/ops/module.rs:1719-1759 | crates/burn-autodiff/src/ops/module.rs:1849-1889 | crates/burn-autodiff/src/ops/module.rs:1970-2010 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"223b44c3c85eadc64a1de022866c36572b0caa0c7dc9e56731af5e2861df8412"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/burn-router/src/interpreter.rs:131-152 | crates/burn-router/src/interpreter.rs:220-243 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc02546bf340d8ed0d26efdb9a19fad35ba51e7459c798fc8116b594dd7a12d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/burn-cubecl/src/kernel/conv/unit.rs:102-124 | crates/burn-cubecl/src/kernel/conv/unit.rs:132-154 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/unit.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"313529612bc349d2f724ec7753d2e32a93b400c4d5493cf0483e2e490875bb5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 28\u002B corresponding lines): crates/burn-cubecl/src/kernel/pool/base.rs:142-177 | crates/burn-cubecl/src/kernel/pool/base.rs:238-267 | crates/burn-cubecl/src/kernel/pool/base.rs:319-349 | crates/burn-cubecl/src/kernel/pool/base.rs:351-378 | crates/burn-cubecl/src/kernel/pool/base.rs:380-408 | crates/burn-cubecl/src/kernel/pool/base.rs:410-439 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/base.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"526a1453fa4425bfc9e15beb0fcb0522cec2706d861c19588370176f6fa13ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/burn-train/src/metric/processor/async_wrapper.rs:90-119 | crates/burn-train/src/metric/processor/async_wrapper.rs:126-153 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/async_wrapper.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7905c6f3617dc72f005b8ace5da1f62abe3f1265902e328021ba2352546b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 31\u002B corresponding lines): crates/burn-cubecl/src/kernel/index/scatter.rs:130-160 | crates/burn-cubecl/src/kernel/index/scatter.rs:178-215 | crates/burn-cubecl/src/kernel/index/select_assign.rs:122-159 | crates/burn-cubecl/src/kernel/index/select_assign.rs:166-197 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 31 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/scatter.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2ddb308786544206fb1bd5bfe922223a1ce74c6e9ab61ab59d604a4c10d55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/burn-cubecl/src/kernel/index/scatter.rs:93-123 | crates/burn-cubecl/src/kernel/index/select_assign.rs:76-108 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/scatter.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd98404369344189bd46a2c368ec0049310d00bde08eb8812f9e8ea548d39c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/burn-dispatch/src/backend.rs:743-768 | crates/burn-dispatch/src/backend.rs:771-796 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/backend.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7dc450c7d9afdbe02459403bdf728cca61e3d0b736b922fb38dcbf8f6c53e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/burn-flex/src/ops/matmul.rs:83-106 | crates/burn-flex/src/ops/matmul.rs:498-518 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/matmul.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5b5663f40dd7d66cf938239d88a152124a6ea752f10485a20125d2caaf97a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/burn-flex/src/ops/module.rs:597-637 | crates/burn-flex/src/ops/module.rs:695-735 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/module.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0468ddd0a00fc02bf5b510eda6bdbd3317ca6606ded1daf7c04d737518623d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/burn-tensor/src/tensor/api/check.rs:1476-1496 | crates/burn-tensor/src/tensor/api/check.rs:1504-1524 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/check.rs"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b33cbfc4931bd86556754bda5d865117a07c4ceeea9260326358d727d37dce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/burn-linalg/src/functions/lu.rs:377-393 | crates/burn-linalg/src/functions/lu.rs:396-411 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/functions/lu.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"2520715b277f9712bc5387d05a4a5d025b7d8ea21077e6d52af3af19ed9943a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/burn-backend-extension/src/ir.rs:110-136 | crates/burn-backend-extension/src/ir.rs:138-156 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/ir.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29015a000dbf45f89099ac28d480338f8bd173103518a5dd88fd6ef65dd57bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/burn-cubecl/src/kernel/index/flip.rs:63-98 | crates/burn-cubecl/src/kernel/index/slice.rs:101-130 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/flip.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07ce09916df645350f09593e3e49f192882ac59d23082c638ea92a19a3e17c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/burn-flex/src/ops/conv.rs:1989-2029 | crates/burn-flex/src/ops/conv_transpose.rs:557-602 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbef73f41e51c40b4e40c8ef138bedfe1dea5066262f982b53205a570063200"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-ir/src/operation.rs:3936-3945 | crates/burn-ir/src/operation.rs:3946-3955 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":3936}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c877d07c79d51327c9e2ae70feeb956dc4583e68f94053b04cacc2a9cb8bc67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): crates/burn-autodiff/src/ops/tensor.rs:4340-4362 | crates/burn-autodiff/src/ops/tensor.rs:4384-4406 | crates/burn-autodiff/src/ops/tensor.rs:4674-4696 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":4340}}}],"partialFingerprints":{"codehealthFindingId/v1":"518d46a330aeb8b93fe97abf022e273e40f8c7bc52cbce70f559a1cd17cdca81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-flex/src/ops/comparison.rs:733-742 | crates/burn-flex/src/ops/comparison.rs:750-759 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/comparison.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"32755eda5b0d1c02fdadfab3679613194290c40a04d1520fe62afc200ee25504"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/burn-derive/src/config/analyzer_enum.rs:35-59 | crates/burn-derive/src/config/analyzer_enum.rs:61-84 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/config/analyzer_enum.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2003aebb1e951f44bfe54f8af25741052343cb2b00a237d17b1df9ba29a38e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/burn-flex/src/simd/portable.rs:239-257 | crates/burn-flex/src/simd/portable.rs:369-388 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4164e6769f091c2b2d0a8ccf6d227c8da1eb069a3bce36292aaf280b76f4cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/burn-train/src/metric/mae.rs:43-62 | crates/burn-train/src/metric/mse.rs:43-62 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/mae.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b3343584dd1f6c13f97555dfdab411afa797ae58111c0d24ec81044bdd2962"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/burn-cubecl/src/kernel/conv/base.rs:108-135 | crates/burn-cubecl/src/kernel/conv/base.rs:150-177 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/base.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c809afa391d2028a8200712da0e9e6663ca90df666e14036a6b95792a44cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/burn-flex/src/ops/reduce.rs:1074-1110 | crates/burn-flex/src/ops/reduce.rs:1122-1149 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a5d77bdb88f4e32297f470575646112c8d0a2c78040cb5db0ee5a020c92bae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/burn-cubecl/src/kernel/clamp.rs:22-42 | crates/burn-cubecl/src/kernel/clamp.rs:49-71 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/clamp.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d912fba12b4fd090f99c8cbc9337c87d32eaa8300c48a2b0149abc31491de03e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/burn-store/src/burnpack.rs:485-524 | crates/burn-store/src/pytorch/store.rs:437-471 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/burnpack.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b228ed722dc3a2912f9d7fc88d1cea97bd3e967803c81147303ecf8d39a7aca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/burn-flex/src/ops/bool.rs:322-342 | crates/burn-flex/src/ops/comparison.rs:335-350 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/bool.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffe67f1ab9f5e21e58e6458e01fc68a2e5f9cb04f03c5603e637ffe4029f101"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/burn-backend/src/backend/ops/bool_tensor.rs:215-228 | crates/burn-backend/src/backend/ops/int_tensor.rs:170-183 | crates/burn-backend/src/backend/ops/tensor.rs:630-643 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/bool_tensor.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5f951138a7506aae3d2111ff5c36d1010744a8cb86d10ef2c35882822254a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/burn-flex/src/ops/conv.rs:1989-2027 | crates/burn-flex/src/ops/conv_transpose.rs:557-596 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ad00554bc222646ea24c6d6ed72c1850a8b008ca1c60927308454468848751"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/burn-flex/src/ops/conv.rs:1989-2028 | crates/burn-flex/src/ops/conv_transpose.rs:557-597 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"4055bd9439e54a1c85b4b53d47a9446a03a4c776370b6d5b227c9790c5f7ff1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 18\u002B corresponding lines): crates/burn-dispatch/src/device.rs:541-558 | crates/burn-dispatch/src/device.rs:621-638 | crates/burn-dispatch/src/device.rs:664-683 | crates/burn-dispatch/src/tensor.rs:290-307 | crates/burn-dispatch/src/tensor.rs:309-326 | crates/burn-dispatch/src/tensor.rs:349-366 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/device.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"1152569daece0bef0aa4849a76eed64641ed0178210eabb978742bd7a2ea49d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-backend/src/backend/ops/int_tensor.rs:1377-1388 | crates/burn-backend/src/backend/ops/tensor.rs:1817-1827 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/int_tensor.rs"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"194158f0a80fdabff164fb51098f8caceb8d41a654b6d6e1a33a12494afa5b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): crates/burn-flex/src/ops/reduce.rs:76-101 | crates/burn-flex/src/ops/reduce.rs:148-166 | crates/burn-flex/src/ops/reduce.rs:368-388 | crates/burn-flex/src/ops/reduce.rs:573-594 | crates/burn-flex/src/ops/reduce.rs:609-630 \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":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"942ba5a4984aef3c9d818d110eda93d9d102ca0f6183b2c39963437b33275c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/burn-dispatch/src/backend.rs:318-334 | crates/burn-dispatch/src/device.rs:642-662 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/backend.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f3a53fb5c92b118c39189e0e5a77e6115820a51b5d59c3b161cf79e638da01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-backend/src/backend/ops/modules/base.rs:333-345 | crates/burn-flex/src/ops/module.rs:915-937 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/base.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb1826ddb92306074ad5c18496cba1bf5b14a874a06c91378352cc877bb4b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/burn-derive/src/module/codegen_struct.rs:32-53 | crates/burn-derive/src/module/codegen_struct.rs:115-137 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/module/codegen_struct.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ee8a874701cca2c879c79d17d3e5c0b2fb3749fd919061b0259d94a5dcf623"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/burn-router/src/interpreter.rs:112-123 | crates/burn-router/src/interpreter.rs:2433-2446 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6b308a890d5773289258c162c9abb18a4983d0fb7baa51e058ee918389d3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/burn-train/src/metric/vision/dists/weights.rs:86-111 | crates/burn-vision/src/loss/gram_matrix/weights.rs:66-99 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/dists/weights.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d307bd6df7a16411a13e51bbbdec5607986ce023cce16168fe33c00731971ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/burn-cubecl/src/kernel/conv/conv_transpose2d/tune.rs:70-96 | crates/burn-cubecl/src/kernel/conv/conv_transpose3d/tune.rs:60-87 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose2d/tune.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc6bdc1d3a2fbcd0d2cc6a8d4751ebebeea9015974deda59f515117f8768068"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/burn-train/src/renderer/tui/metric_numeric.rs:112-130 | crates/burn-train/src/renderer/tui/metric_numeric.rs:133-149 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/renderer/tui/metric_numeric.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9112a62bc25c817dd630f09ac76de0c671f9ec1f01f22f611ccd9436efe525f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/burn-communication/src/websocket/client.rs:64-90 | crates/burn-communication/src/websocket/client.rs:154-169 | crates/burn-communication/src/websocket/server.rs:155-177 | crates/burn-communication/src/websocket/server.rs:240-252 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 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":"crates/burn-communication/src/websocket/client.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12ce6ea4ed6ef3e1c86d896ad8f1d5ec247cb9b41308537a6c89baa9898a0df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/burn-dataset/src/nlp/text_folder.rs:290-309 | crates/burn-dataset/src/vision/image_folder.rs:747-766 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/nlp/text_folder.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4b5efcbf391e07a7085e453906579aef3fbb9dee505d2105a4042bcd679b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/burn-derive/src/config/analyzer_struct.rs:96-121 | crates/burn-derive/src/config/analyzer_struct.rs:128-152 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/config/analyzer_struct.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"71dbbae36746d9355a4f7e915e59070091ec4b7343139482a29b6a8b864da682"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/burn-flex/src/ops/activation.rs:907-921 | crates/burn-flex/src/ops/activation.rs:931-944 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/activation.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b81757917902fffda462a3ed2d942bb17943f52d7038d99782f88ddbf47e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-flex/src/ops/unary.rs:237-251 | crates/burn-flex/src/ops/unary.rs:268-282 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/unary.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0345e36d3515ff77b90ab28fcf78acd217eb8e291946a9f62aeca21f2dfdd12b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): crates/burn-tensor/src/bridge/ops/float.rs:743-759 | crates/burn-tensor/src/bridge/ops/float.rs:934-950 | crates/burn-tensor/src/bridge/ops/float.rs:952-968 | crates/burn-tensor/src/bridge/ops/float.rs:988-1004 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/bridge/ops/float.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6efca1faa492edb75b9aecef09de5c31a3ee183f6d609f8836a6e85319325b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/burn-vision/src/backends/cpu/median/network.rs:9-26 | crates/burn-vision/src/backends/cpu/median/network.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":"crates/burn-vision/src/backends/cpu/median/network.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66f99d33022df896c70c766bb68ff158c6a7a2eec3770be458cf0fa7554b91a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-nn/src/padding.rs:73-83 | crates/burn-nn/src/padding.rs:131-144 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/padding.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7892e1f11173eefbb39627a26202d02f78bec0a32e5e2c2f04666af1fe1362df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/burn-tensor/src/tensor/api/check.rs:682-719 | crates/burn-tensor/src/tensor/api/check.rs:721-755 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/check.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f654ef49ebd75f4ecac967864d2ae7452bcd364c651f748aa4135675f623da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/burn-store/src/burnpack.rs:432-463 | crates/burn-store/src/pytorch/store.rs:377-417 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/burnpack.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c381f2ac81c6976d334254e2f96de42c4516e67ae374b47b880290600631b8bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): crates/burn-cubecl/src/kernel/index/flip.rs:21-46 | crates/burn-cubecl/src/kernel/index/repeat_dim.rs:17-45 | crates/burn-cubecl/src/kernel/index/select.rs:19-43 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/flip.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"80285a198a8950cf5eddb4ea98499697398e818d119d95b6e26a2c66d3806865"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-flex/src/ops/float.rs:299-307 | crates/burn-flex/src/ops/float.rs:432-440 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/float.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc76c7c6b8c48604cc459f85c82e1ce19ba76d25b7d485694f591be6f31ad6cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 41\u002B corresponding lines): crates/burn-flex/src/ops/module.rs:318-358 | crates/burn-flex/src/ops/module.rs:369-409 | crates/burn-flex/src/ops/module.rs:419-459 | crates/burn-flex/src/ops/module.rs:470-510 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 41 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/module.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce27d32aca9bccac9a1da851aa84039c70d0f8f864d597e3e8e07ab31ee355d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/burn-flex/src/simd/portable.rs:141-158 | crates/burn-flex/src/simd/portable.rs:179-199 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"917fc483fca576914dacd50dd14cb1cbdd7156f87870ad7cee892b8275e0dfd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): crates/burn-autodiff/src/ops/module.rs:2469-2489 | crates/burn-autodiff/src/ops/module.rs:2511-2531 | crates/burn-autodiff/src/ops/module.rs:2553-2573 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc26e480931cf5deb2406194877fd6642aaf9cdc14d56e826c8f36fab15d064"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/burn-cubecl/src/kernel/contiguous.rs:47-68 | crates/burn-cubecl/src/kernel/contiguous.rs:76-104 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/contiguous.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14a8d91d11642beab13960dccb3a22555ea6d7acb4fe4665864ae6e339e1daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/burn-flex/src/ops/qtensor.rs:268-283 | crates/burn-flex/src/ops/qtensor.rs:328-343 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/qtensor.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53bbb2b45e731d2ef9c7d85ef5f7db369d7bf161f0005ded03b79fc4ce17b95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/burn-autodiff/src/ops/base.rs:223-244 | crates/burn-autodiff/src/ops/base.rs:254-273 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/base.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2c2294252195c7162ab23b8a0b102de68393a4766457fb6e2e6ab638db2b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/burn-flex/src/ops/module.rs:52-61 | crates/burn-flex/src/ops/module.rs:68-77 | crates/burn-flex/src/ops/module.rs:254-263 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/module.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3876dd3db207e994d9ea017ac16d0e977d7f8cd358ce9d2bef0e166bd38384"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 16\u002B corresponding lines): crates/burn-flex/src/simd/portable.rs:1813-1829 | crates/burn-flex/src/simd/portable.rs:1833-1849 | crates/burn-flex/src/simd/portable.rs:1853-1869 | crates/burn-flex/src/simd/portable.rs:1889-1904 | crates/burn-flex/src/simd/portable.rs:1908-1923 | crates/burn-flex/src/simd/portable.rs:1927-1942 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"420ceb2e41de308c00bc2e877f1dfe0775d54f5664c0f5e25cc42144f6cc378f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/burn-backend/src/backend/ops/modules/pool.rs:15-32 | crates/burn-backend/src/backend/ops/modules/pool.rs:44-63 | crates/burn-backend/src/backend/ops/modules/pool.rs:101-117 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/pool.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95bce0381c35ec584b8d7d75a765ce6627f21e0b30ab75d3840c34b5cce6f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/burn-backend/src/backend/ops/modules/conv.rs:257-283 | crates/burn-flex/src/ops/pool.rs:155-181 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"743f2c40f2744aa258f1c992ea0e0b7e5a4f676ff5043c684d573e0bff51cf74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/burn-flex/src/ops/float.rs:879-891 | crates/burn-flex/src/ops/float.rs:893-905 | crates/burn-flex/src/ops/float.rs:907-919 | crates/burn-flex/src/ops/float.rs:921-933 \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":"crates/burn-flex/src/ops/float.rs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e0df13cb5c159c67cfab78107f4f6594287d875575da2518950f620efdc9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/burn-nn/src/modules/pixel_shuffle.rs:57-77 | crates/burn-nn/src/modules/pixel_shuffle.rs:130-160 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pixel_shuffle.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbc3f2fdb3d10c49a7127068f1c3f8f195d36a2029d53497c01071f20f680f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/burn-tensor/src/tensor/api/check.rs:519-543 | crates/burn-tensor/src/tensor/api/check.rs:545-571 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/check.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"0648ade09114fc44eff5d7eaee26d5638505da31c74edb79150a5d461d6a6ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/burn-train/src/metric/vision/fid/inception.rs:130-143 | crates/burn-train/src/metric/vision/fid/inception.rs:263-278 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/fid/inception.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"70adbe87fefa17a01f4ee34632b09a89065d1492b18094a68f9f44d0a250d2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-shard/src/backend/tensor.rs:229-241 | crates/burn-shard/src/backend/tensor.rs:272-289 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-shard/src/backend/tensor.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d2f0b44214fce2690e0d54357a981683e364b32873dc079f47bc608d017fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/burn-flex/src/ops/module.rs:571-587 | crates/burn-flex/src/ops/module.rs:669-685 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/module.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"98353a5426241e9742be6e4fa2260b639be65d67c7635698d3fc37f8afb872fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/burn-remote/src/client/service.rs:854-881 | crates/burn-remote/src/client/service.rs:1032-1055 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/client/service.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c71561c641ee7919a7aa849fac92f8e731aeec0f14f27dcce55589d6544f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-std/src/data/tensor/base.rs:692-706 | crates/burn-std/src/data/tensor/base.rs:712-728 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-std/src/data/tensor/base.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"beeb067be9dffd6b3864138d08264f79fc3146b70db5b99d74955f4134925510"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/burn-remote/src/client/service.rs:580-599 | crates/burn-remote/src/client/service.rs:610-632 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/client/service.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1486fd79af504bbcb5df3a53679b15ba3e884f6ce0d16b30e32bafe6c52dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): crates/burn-backend/src/backend/ops/modules/conv.rs:429-438 | crates/burn-backend/src/backend/ops/modules/conv.rs:542-554 | crates/burn-backend/src/backend/ops/modules/conv.rs:641-656 | crates/burn-backend/src/backend/ops/modules/conv.rs:729-738 | crates/burn-backend/src/backend/ops/modules/conv.rs:812-824 | crates/burn-backend/src/backend/ops/modules/conv.rs:899-914 \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":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb6488b51f6380e0664052e08d912cf27ab5e450019e12f894077f6bbdf1861"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/burn-flex/src/ops/activation.rs:370-387 | crates/burn-flex/src/ops/activation.rs:523-565 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/activation.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7c3c38bf6a2845e6cf509f09467137ebbe1f9c52c51e3f0c8f4b563f0d0667"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/burn-tensor/src/tensor/module.rs:844-863 | crates/burn-tensor/src/tensor/module.rs:871-890 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/module.rs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bccedcbf0fe974630187dcf0a30be224a20454dfd598347c043a138d22a49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-backend/src/backend/ops/tensor.rs:1096-1105 | crates/burn-flex/src/ops/float.rs:1275-1284 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/tensor.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf5fd437d811c8153352c3a2efd0ad26bf4c0fa3970419531cc56255ee67c0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-flex/src/ops/float.rs:1106-1120 | crates/burn-flex/src/ops/float.rs:1335-1349 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/float.rs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a3108f51724a4ed7eb55f636075b52703631a79843a95aefaee81bb7a7c055"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-backend/src/backend/ops/modules/conv.rs:341-351 | crates/burn-backend/src/backend/ops/modules/conv.rs:446-456 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cb499c3cb550f153d65823550bb6e83d368e1bf4d43c113c5a9045324c49f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/burn-cubecl-fusion/src/base.rs:121-145 | crates/burn-cubecl/src/kernel/contiguous.rs:16-33 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/base.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadc5afefd810870662a242df52986c3312919e50ebe9227f2f0c754ed3c0143"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-cubecl/src/kernel/reduce/bounds.rs:31-45 | crates/burn-cubecl/src/kernel/reduce/bounds.rs:50-68 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/reduce/bounds.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"28573bb1a180b78e0c20efefd0612ad0b37d14b93c8577581680b5917f177169"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): crates/burn-dataset/src/nlp/text_folder.rs:261-276 | crates/burn-dataset/src/vision/image_folder.rs:626-642 | crates/burn-dataset/src/vision/image_folder.rs:656-672 | crates/burn-dataset/src/vision/image_folder.rs:686-702 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/nlp/text_folder.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e2fcbb08a50d1a709296b24b5d5240a9934e2afb42ea5f56af0563faed4354"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:347-1100 | crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:1128-1133 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdfb75ab0f5bec7e3cfef8dc4e8cef29fe9db8ddcf537252b640a88fefb409c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/burn-nn/src/modules/norm/group.rs:81-105 | crates/burn-nn/src/modules/norm/instance.rs:63-80 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/norm/group.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0846554bcc5b3496c8dc43cde62898aa4fc20eb5a20b5924a94d19031586c3f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/burn-store/src/burnpack.rs:92-109 | crates/burn-store/src/burnpack.rs:112-129 | crates/burn-store/src/burnpack.rs:143-168 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/burnpack.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3201d871f97c7400bd1833471175ffd4593ddf1b1aaa4831ceb3e6cf6f70792f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/burn-core/src/store/mod.rs:202-217 | crates/burn-optim/src/optim/module/record/mod.rs:97-117 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-core/src/store/mod.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4ea9ba4229078974447ae763b801a882aa0f81b049ffba8636dc8f4374fd65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-instrument-report/src/components.rs:132-146 | crates/burn-instrument/src/breakdown/base.rs:400-414 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-instrument-report/src/components.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0093af00204b99df2a7e787b496c6f4282d9145d9a2ee30a45cca2a1a5f2d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): crates/burn-nn/src/modules/conv/conv2d.rs:146-165 | crates/burn-nn/src/modules/conv/conv3d.rs:153-170 | crates/burn-nn/src/modules/pool/max_pool2d.rs:89-105 | crates/burn-nn/src/modules/pool/max_pool3d.rs:91-109 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv2d.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b61aa22cfc9c01753e4c5f122a3ce9910e43df15df60895ec34eda357ffe5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/burn-tensor/src/tensor/api/check.rs:142-172 | crates/burn-tensor/src/tensor/api/check.rs:256-278 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/check.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a245fc8c31fdec0af29edc9f310d277e9e8ba9c3a64d95325578d4193edc2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-cubecl-fusion/src/engine/fuser.rs:741-755 | crates/burn-cubecl-fusion/src/engine/fuser.rs:783-798 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/fuser.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"6552e9116e8607a8dc3d0f7f5b1195d71999ad7c470edc61b14e20ea5f4866cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/burn-dataset/src/transform/partial.rs:19-42 | crates/burn-dataset/src/transform/selection.rs:199-221 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/transform/partial.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"05579fc45fa0d34564b3bce30d917ca84d2d83168ee370c6423c325b597cac17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-flex/src/ops/matmul.rs:521-535 | crates/burn-flex/src/ops/matmul.rs:757-771 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/matmul.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ed0874bf7dcd7c689a2e3a40609be8e6586ab2fd67fc809ae53cb7f1a99bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-store/src/pytorch/store.rs:38-46 | crates/burn-store/src/safetensors/store.rs:51-60 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/pytorch/store.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b25fbe8b8a5aaca55b9d370ef118b135b29b5d2768c88d71f727233d697bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/burn-tensor/src/tensor/module.rs:389-408 | crates/burn-tensor/src/tensor/module.rs:413-432 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/module.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7764b9168c1e1b7c10343b05b8c5bb4e62174342f1555cd4c1638a0fed0105"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/pytorch-reader/src/pickle_reader.rs:1308-1322 | crates/pytorch-reader/src/pickle_reader.rs:1325-1339 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pytorch-reader/src/pickle_reader.rs"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55ad62d339ed9c6d56e9c8bfb4f9373011a6ee4418c3caa6b20946e2ac0fbb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): crates/burn-derive/src/module/codegen_struct.rs:77-94 | crates/burn-derive/src/module/codegen_struct.rs:96-113 | crates/burn-derive/src/module/codegen_struct.rs:139-156 | crates/burn-derive/src/module/codegen_struct.rs:158-175 | crates/burn-derive/src/module/codegen_struct.rs:177-194 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/module/codegen_struct.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10c9296b77191c31acbbdc44f8738930bfbd9301bf517e7f85e3caf5c61864b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/burn-ir/src/builder.rs:1625-1648 | crates/burn-ir/src/builder.rs:1722-1745 | crates/burn-ir/src/builder.rs:1759-1782 \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":"crates/burn-ir/src/builder.rs"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"004aebc525581b7de3730679f554ba776251479e4c7e0624bfd512ac63fe9ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/burn-backend/src/backend/ops/int_tensor.rs:1014-1024 | crates/burn-backend/src/backend/ops/qtensor.rs:1015-1025 | crates/burn-backend/src/backend/ops/tensor.rs:1559-1569 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/int_tensor.rs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eeb37a098f192eeec828101b9e89c8082e09fdb1059b8a1319135a03bab90cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-backend/src/backend/ops/modules/pool.rs:68-77 | crates/burn-backend/src/backend/ops/modules/pool.rs:82-92 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/pool.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb0d1b95778381aee9b1b3c255964387a512c43f93de929c450b9f2b2bc8c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-backend/src/backend/ops/pad.rs:159-171 | crates/burn-backend/src/backend/ops/pad.rs:177-189 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/pad.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1cf644123d7cd3ee24e9b4a625a2735fc270729f6980cf50270ecc076ad2ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/burn-cubecl/src/kernel/conv/im2col.rs:390-409 | crates/burn-cubecl/src/kernel/conv/im2col.rs:423-440 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/im2col.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c4019ed607c9d1c582a1164df43516de5db472eeb37a4e208ce9566d074561"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/burn-ir/src/operation.rs:2205-2227 | crates/burn-ir/src/operation.rs:2259-2281 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":2205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c51e39e6d464a1d53606480b1503f940a2d95be1a1cca55e462bda9f581fdc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/burn-nn/src/modules/rnn/basic.rs:291-305 | crates/burn-nn/src/modules/rnn/gru.rs:343-358 | crates/burn-nn/src/modules/rnn/lstm/bilstm_module.rs:93-110 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/rnn/basic.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5675fa4077a13c48e886380daa8b0a38f99c00a69cd8511d2f3754dfc143837f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-store/src/bridge.rs:50-67 | crates/burn-store/src/safetensors/store.rs:1007-1017 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/bridge.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"867184bea89c2e5450b5833546d293425bc84bb79b9d0cfc20c0fc2decf7fb28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-tensor/src/tensor/api/base.rs:2858-2872 | crates/burn-tensor/src/tensor/api/base.rs:2903-2922 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/base.rs"},"region":{"startLine":2858}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d973f7fed2c99102bf9c5bf4e75852608ba7e4b558b0cefddadf38dfaa19fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): crates/burn-flex/src/ops/attention.rs:203-213 | crates/burn-flex/src/ops/attention.rs:218-228 | crates/burn-flex/src/ops/module.rs:24-31 | crates/burn-flex/src/ops/module.rs:37-44 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fd44a9b1535b4b1293132aa7d9b8c354ef7eb2c256ec154186cf6c0b5618ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): crates/burn-nn/src/modules/conv/conv1d.rs:156-162 | crates/burn-nn/src/modules/conv/conv2d.rs:168-174 | crates/burn-nn/src/modules/conv/conv3d.rs:173-179 \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":"crates/burn-nn/src/modules/conv/conv1d.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3549e11bfec248b5b63179a9664341a1c955d38aa60a52a422eb47f8c9980ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/burn-optim/src/optim/adagrad.rs:51-67 | crates/burn-optim/src/optim/adam.rs:68-85 | crates/burn-optim/src/optim/sgd.rs:74-95 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/adagrad.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3912dfa489df04487d4365eae5b2b6cb9644c90367c56d5faa4468528ad530a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-backend/src/backend/ops/modules/base.rs:308-316 | crates/burn-flex/src/ops/module.rs:890-900 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/base.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d0062d2ec248d4c809fd5f391f6ee1164d608e77b6d7ee15cf452fbbb7fbdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/burn-flex/src/ops/activation.rs:993-1001 | crates/burn-flex/src/ops/activation.rs:1012-1019 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/activation.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"054654e9cf2b4b1e146fae87e795f3c8ee8d0a946c02830c59171cfcac65cce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-nn/src/modules/pool/avg_pool2d.rs:97-111 | crates/burn-nn/src/modules/pool/avg_pool3d.rs:93-109 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pool/avg_pool2d.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46b857f20cb549bc1acbcc0432389c006d3b45ee955475f8159f8b8a6a8e3f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 15\u002B corresponding lines): crates/burn-backend/src/backend/ops/modules/conv.rs:408-422 | crates/burn-backend/src/backend/ops/modules/conv.rs:521-535 | crates/burn-backend/src/backend/ops/modules/conv.rs:620-634 | crates/burn-backend/src/backend/ops/modules/conv.rs:708-722 | crates/burn-backend/src/backend/ops/modules/conv.rs:791-805 | crates/burn-backend/src/backend/ops/modules/conv.rs:878-892 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0a347d50c96d4d028372d2a174f65812d645801a89b72240ebab9f45575204"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/burn-nn/src/modules/transformer/decoder.rs:117-132 | crates/burn-nn/src/modules/transformer/encoder.rs:145-160 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/transformer/decoder.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"91eb7afea107b576ec0685abf2f7c915c5ca91908fcafcd958c22b3b1fc738fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/burn-nn/src/modules/conv/conv_transpose1d.rs:85-95 | crates/burn-nn/src/modules/conv/conv_transpose2d.rs:85-95 | crates/burn-nn/src/modules/conv/conv_transpose3d.rs:85-95 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv_transpose1d.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b45ff76f7e06150feae66537488d5c49e1215e3e907872f9b93f59423022b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/burn-optim/src/lr_scheduler/cosine.rs:33-54 | crates/burn-optim/src/lr_scheduler/linear.rs:27-43 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/lr_scheduler/cosine.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"317bec1f38670f1c8e8e730644885446a808d624fee24434d8db2b048be78e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): crates/burn-tensor/src/bridge/ops/float.rs:508-518 | crates/burn-tensor/src/bridge/ops/float.rs:520-530 | crates/burn-tensor/src/bridge/ops/float.rs:558-568 | crates/burn-tensor/src/bridge/ops/float.rs:582-592 \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":"crates/burn-tensor/src/bridge/ops/float.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd99d7368e19ae23d628a37b817a25b6fa057b489c0c5830a83ef9cd969e2129"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-derive/src/module/codegen_enum.rs:356-366 | crates/burn-derive/src/module/codegen_enum.rs:368-377 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/module/codegen_enum.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd286382e865565b8a54f4c95742a6443867da8527056c6d854b03041884981"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 11\u002B corresponding lines): crates/burn-linalg/src/functions/vector_norm.rs:127-137 | crates/burn-linalg/src/functions/vector_norm.rs:197-207 | crates/burn-linalg/src/functions/vector_norm.rs:289-299 | crates/burn-linalg/src/functions/vector_norm.rs:348-358 | crates/burn-linalg/src/functions/vector_norm.rs:402-412 | crates/burn-linalg/src/functions/vector_norm.rs:472-482 | crates/burn-linalg/src/functions/vector_norm.rs:527-537 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/functions/vector_norm.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"165363d06fe7201a2c3df38494862d0a15e00070c0025f313b8462bab2cf0651"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-nn/src/modules/norm/group.rs:134-148 | crates/burn-nn/src/modules/norm/instance.rs:109-119 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/norm/group.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bc10dbff9ebd4dc743c3011a1f91a2d274209449ff46ae441d5c5b20b3fe3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-signal/src/backends/fusion.rs:30-44 | crates/burn-signal/src/backends/fusion.rs:51-66 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-signal/src/backends/fusion.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ad5bae06f6fd52f8596bec34c6c239391e693d50b160ffd5870b578fcccf92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/burn-flex/src/ops/activation.rs:785-792 | crates/burn-flex/src/ops/activation.rs:801-808 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/activation.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"706acd5b40c4c9d335d27c7581047f5fe331e0d0416d8ed72815b6b83786a466"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/burn-flex/src/ops/int.rs:1187-1196 | crates/burn-flex/src/ops/int.rs:1198-1205 | crates/burn-flex/src/ops/int.rs:1207-1214 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e6d03d832ed1fc3ebbc131c7f624daf55bee6dbaa6d5431a3bbab89dae6086"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/burn-flex/src/simd/portable.rs:2001-2014 | crates/burn-flex/src/simd/portable.rs:2028-2041 | crates/burn-flex/src/simd/portable.rs:2085-2098 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bd0683459460caa12b20edc6c3891e56ac90c24f90a9be4812636978d10d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/burn-flex/src/simd/portable.rs:1133-1143 | crates/burn-flex/src/simd/portable.rs:1153-1163 | crates/burn-flex/src/simd/portable.rs:1174-1183 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c47612437a81342fd546e464beb3d9064bcb5feda0e2cee3035fadecba5908"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/pytorch-reader/src/nested/de.rs:432-449 | crates/pytorch-reader/src/nested/de.rs:459-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":"crates/pytorch-reader/src/nested/de.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c33e45c2a83e44ca81808ee8c9a03502c4f39112137810137107db2734e3076"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-fusion/src/inspect.rs:298-312 | crates/burn-fusion/src/inspect.rs:315-327 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/inspect.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd6cbdf2a83bd97dd8cad075f001f28e5976fc5225e5d3564bd849595b90833"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/burn-flex/src/ops/qtensor.rs:294-305 | crates/burn-flex/src/ops/qtensor.rs:311-322 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/qtensor.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7de65e5ca5ae12b89f9f6b1f78540694ce0fe540f9c5ddf83f44ea600f3457"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): crates/burn-fusion/src/server.rs:76-89 | crates/burn-fusion/src/server.rs:98-111 | crates/burn-fusion/src/server.rs:120-133 | crates/burn-fusion/src/server.rs:142-155 \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":"crates/burn-fusion/src/server.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f88283c3b21113840acf1e3595723658274f688e8644fb5c2e3b783585a36d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/burn-router/src/interpreter.rs:2639-2646 | crates/burn-shard/src/backend/tensor.rs:406-413 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":2639}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a384af4cba5cd86d0b433f9e884a91fce052dcf15ea4f2e951f67cb4ba99125"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/burn-std/src/data/tensor/view.rs:174-190 | crates/burn-std/src/data/tensor/view.rs:281-297 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-std/src/data/tensor/view.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a712ae780c8ae40ed86dc7b821e95f7b17f50cc427ef13b16b394610f2d613"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/burn-train/src/metric/store/client.rs:57-73 | crates/burn-train/src/metric/store/client.rs:82-98 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/store/client.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c4026b1dffe32fc70d5986f98e80314ceb3966d77609b8838f0d1726c59f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-autodiff/src/ops/collective.rs:222-232 | crates/burn-autodiff/src/ops/collective.rs:252-262 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/collective.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ace1be2921ddbd4139c691af36670042ea337ed427d920aa6c49f2eef37b126"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/burn-cubecl/src/kernel/reduce/tune.rs:331-347 | crates/burn-cubecl/src/kernel/reduce/tune.rs:421-437 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/reduce/tune.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b379a73406762e2d7d906f12c7c088b9f7da96e32da1bf150934216acfd2757"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/burn-backend/src/backend/ops/collective.rs:279-290 | crates/burn-backend/src/backend/ops/collective.rs:306-317 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/collective.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1939097a8e91c326bce7f56e7d21e1571103fbcb6c1ecc51fb5e0131f90fa57e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): crates/burn-backend/src/backend/ops/int_tensor.rs:1406-1421 | crates/burn-backend/src/backend/ops/int_tensor.rs:1440-1457 | crates/burn-backend/src/backend/ops/tensor.rs:1845-1860 | crates/burn-backend/src/backend/ops/tensor.rs:1882-1898 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/int_tensor.rs"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9497a76908f448797ad9443264947287be5dcd847cd1a403cbc554a2a906ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): crates/burn-dispatch/src/tensor.rs:154-163 | crates/burn-dispatch/src/tensor.rs:164-173 | crates/burn-dispatch/src/tensor.rs:175-184 | crates/burn-dispatch/src/tensor.rs:186-195 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/tensor.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9f75d458bc885d69b45d263e4a33872f51fbbc83957a5afd3963f1895e0c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/burn-store/src/safetensors/store.rs:127-145 | crates/burn-store/src/safetensors/store.rs:148-167 | crates/burn-store/src/safetensors/store.rs:606-624 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/safetensors/store.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8af733dd1c21c87161e9358f63c58408566c40143f71ce50973a48d42af94fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-backend-extension/src/ir.rs:210-223 | crates/burn-derive/src/record_state/mod.rs:31-41 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/ir.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"184dcf814e6f837eee246ce6d0da0e071c91f4989223f56d2b40145dbcb311c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-core/src/data/dataloader/batch.rs:108-120 | crates/burn-core/src/data/dataloader/batch.rs:122-135 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-core/src/data/dataloader/batch.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"079d5e386ee0f5a8de48563a9d985e1256d9e1f13654071b706a2f490e9c0709"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): crates/burn-flex/src/simd/portable.rs:1523-1531 | crates/burn-flex/src/simd/portable.rs:2017-2025 | crates/burn-flex/src/simd/portable.rs:2044-2052 | crates/burn-flex/src/simd/portable.rs:2127-2140 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89fb056c330435a0d7a4eea7e31120ca755c24ba4c0f239fce7ada3c7059728"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-store/src/collector.rs:132-144 | crates/burn-store/src/collector.rs:152-162 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/collector.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5fa8ebcf5038e2d490b8c9d2c9ccc0364ed0743b5d41f6c2129b5fb09ced95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/burn-cubecl/src/kernel/prng/bernoulli.rs:13-27 | crates/burn-cubecl/src/kernel/prng/normal.rs:14-29 | crates/burn-cubecl/src/kernel/prng/uniform.rs:14-29 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/prng/bernoulli.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d949b41b6a43a85d6c4366de34f8f3e451c68c1ef9e29c680d3684f810d5223"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-remote/src/transport/iroh/transfer.rs:156-170 | crates/burn-remote/src/transport/iroh/transfer.rs:236-248 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/transport/iroh/transfer.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5389e4790c4091aa273709c92142ad05332c90d92d31da816567cc3dff6cc36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): crates/burn-tensor/src/tensor/module.rs:163-179 | crates/burn-tensor/src/tensor/module.rs:191-207 | crates/burn-tensor/src/tensor/module.rs:288-301 | crates/burn-tensor/src/tensor/module.rs:309-322 | crates/burn-tensor/src/tensor/module.rs:330-343 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/module.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"518e04a0c8e69c8eb88e709aff2deeb0bfb65bb75c003ebf0dfb2b0b140db441"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): crates/burn-flex/src/ops/conv_common.rs:66-75 | crates/burn-flex/src/ops/conv_common.rs:77-85 | crates/burn-flex/src/ops/interpolate.rs:1219-1228 | crates/burn-flex/src/ops/interpolate.rs:1230-1239 | crates/burn-flex/src/ops/pool.rs:1776-1785 | crates/burn-flex/src/ops/pool.rs:1787-1795 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv_common.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c873b22a841ffe98519a6d0172f32ecdac4feb98132d5b2c95b0d1e9623dc60e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): crates/burn-flex/src/simd/portable.rs:1467-1478 | crates/burn-flex/src/simd/portable.rs:1604-1702 | crates/burn-flex/src/simd/portable.rs:1873-1885 | crates/burn-flex/src/simd/portable.rs:1946-1957 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1f65a3a007cd7d95c056be7b16d8178bbb68181bec88d05b6650ecb5031c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/burn-flex/src/tensor.rs:166-178 | crates/burn-flex/src/tensor.rs:190-204 | crates/burn-flex/src/tensor.rs:212-230 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dee3d2e6bc2d5b554916df47ec66714b5bf1f224a763790ee5b765a640f41f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): crates/burn-store/src/applier.rs:344-362 | crates/burn-store/src/applier.rs:364-379 | crates/burn-store/src/applier.rs:384-399 \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":"crates/burn-store/src/applier.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c882696b2b5dd1db1f3f21d50266c43445abe30e40559c14bbb14110a414a1b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-train/src/metric/processor/async_wrapper.rs:224-238 | crates/burn-train/src/metric/processor/async_wrapper.rs:267-281 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/async_wrapper.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebec4f6e0cced186236b17c5f7abfe8572672e6cc752854d17bfd3bb8c29f705"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-dispatch/src/tensor.rs:61-70 | crates/burn-dispatch/src/tensor.rs:73-82 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/tensor.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b5e517900bfc8aa37639581795c6a55bf3febe21f98323a358bd7386f65789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-backend-extension/src/routing.rs:62-74 | crates/burn-backend-extension/src/routing.rs:76-86 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/routing.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77211202f1d950712d47ea6b272081bed2994730f14346ac13b06fff8c833d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 7\u002B corresponding lines): crates/burn-backend/src/backend/ops/int_tensor.rs:1298-1304 | crates/burn-backend/src/backend/ops/int_tensor.rs:1318-1324 | crates/burn-backend/src/backend/ops/int_tensor.rs:1337-1344 | crates/burn-backend/src/backend/ops/int_tensor.rs:1359-1366 | crates/burn-backend/src/backend/ops/tensor.rs:1734-1740 | crates/burn-backend/src/backend/ops/tensor.rs:1755-1761 | crates/burn-backend/src/backend/ops/tensor.rs:1774-1781 | crates/burn-backend/src/backend/ops/tensor.rs:1796-1803 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/int_tensor.rs"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ccad62d1d744becf61533ad4a7d54543a84cbdcaacb400124c90697db83eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/burn-fusion/src/client.rs:512-523 | crates/burn-fusion/src/client.rs:532-543 | crates/burn-fusion/src/client.rs:552-563 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/client.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"60db43251542ad570e353910e762bfac9a82abdeb14aeda4f411212c965beb99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): crates/burn-nn/src/modules/rnn/basic.rs:83-92 | crates/burn-nn/src/modules/rnn/basic.rs:277-286 | crates/burn-nn/src/modules/rnn/gru.rs:88-98 | crates/burn-nn/src/modules/rnn/gru.rs:323-338 | crates/burn-nn/src/modules/rnn/lstm/bilstm_module.rs:73-88 | crates/burn-nn/src/modules/rnn/lstm/lstm_module.rs:109-118 \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":"crates/burn-nn/src/modules/rnn/basic.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d56baf8e3527ae9b72cbed1bb8a38bebf9c8baba763108ef43030c3132d7737"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/burn-backend/src/backend/ops/activation.rs:19-26 | crates/burn-backend/src/backend/ops/activation.rs:81-86 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/activation.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"134fb7d0be43fc099cb77932d8b110b773fabe74b749c370399bd2082ee93ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/burn-backend/src/backend/ops/bool_tensor.rs:353-363 | crates/burn-backend/src/backend/ops/int_tensor.rs:279-289 | crates/burn-backend/src/backend/ops/tensor.rs:1461-1472 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/bool_tensor.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66cbde5174152dd9ba68e2e10d1f17b1a2a22f81722de0ad6d37544ecc75da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): crates/burn-cubecl/src/ops/collective.rs:74-82 | crates/burn-cubecl/src/ops/collective.rs:127-135 | crates/burn-cubecl/src/ops/collective.rs:151-159 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/collective.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cb90b33105071baeda955af4256608fdeb3d807a3053762f5fa3a91116b856"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): crates/burn-fusion/src/client.rs:248-259 | crates/burn-fusion/src/client.rs:269-280 | crates/burn-fusion/src/client.rs:290-301 | crates/burn-fusion/src/client.rs:311-322 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/client.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf1486f7c84cb3bcb358f8f34f40f04cbc759ef9e5ec564bbe0d95f6df8fa6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-store/src/safetensors/store.rs:823-832 | crates/burn-store/src/safetensors/store.rs:834-843 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/safetensors/store.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e80dbe34d7a378688b1e874435af51fa64035e454a851fe85e88ed486d4d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-cubecl-fusion/src/optim/reduce/fuser.rs:161-175 | crates/burn-cubecl-fusion/src/optim/reduce/fuser.rs:177-191 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce/fuser.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0c166ccab9a204f0c61bafc4857097f0c4df0296bc5364bc56cbf3147d80d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/burn-signal/src/custom.rs:27-35 | crates/burn-signal/src/custom.rs:43-48 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-signal/src/custom.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cb80bdd88a7a58bc5c3bf4da87edafb204611c9b0280fd82e9bdf6ac388021"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/burn-cubecl/src/ops/bool_tensor.rs:197-208 | crates/burn-cubecl/src/ops/bool_tensor.rs:261-272 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/bool_tensor.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2bc9c87cf94edd71c69f365d4a645cb43ef30c282b2a612e231c57f52db2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/burn-cubecl/src/ops/numeric.rs:305-318 | crates/burn-cubecl/src/ops/numeric.rs:321-334 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/numeric.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe9ceeb2368db3f11adb131b9727e56a5a6da90e50bcf73919638a9e251128c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/burn-shard/src/backend/tensor.rs:291-297 | crates/burn-shard/src/backend/tensor.rs:299-309 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-shard/src/backend/tensor.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5beeddb91a13a8871d8805343baa7783968e53b77f9b77136b4322c7fb9563bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-shard/src/rules/reduce.rs:30-40 | crates/burn-shard/src/rules/reshape.rs:30-40 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-shard/src/rules/reduce.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d687d12ab98aa3f381e7687d98fb8cf40324838e0d847b8350a60d17656dd990"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): crates/burn-tensor/src/tensor/api/base.rs:177-183 | crates/burn-tensor/src/tensor/api/base.rs:231-237 | crates/burn-tensor/src/tensor/api/base.rs:275-281 | crates/burn-tensor/src/tensor/api/base.rs:323-334 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/base.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f41412f36e7e635b6a8ab068b954e24ab5c70bed3292f236cb3daeb7ccf684"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-backend/src/backend/ops/activation.rs:124-133 | crates/burn-backend/src/backend/ops/activation.rs:164-175 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/activation.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9373450bc5b28dc40488006f8393b09c9cdd215fc995a0df60cd1567bc5fda33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-backend/src/backend/ops/int_tensor.rs:540-548 | crates/burn-flex/src/ops/int.rs:1405-1413 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/int_tensor.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5404e603f876e7451d268c14bb1d5d1e160675543ee0765da017b69afc0922"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/burn-communication/src/websocket/client.rs:184-192 | crates/burn-communication/src/websocket/server.rs:278-285 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-communication/src/websocket/client.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1143f8e9c4afd3695ce2c4ac4188104d328d27b0b2be9c778838b9cbf6cede48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-core/src/module/parallel/pipeline.rs:90-102 | crates/burn-core/src/module/parallel/pipeline.rs:110-122 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-core/src/module/parallel/pipeline.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d07f1db256e86e0a377c7b89d4eb3696a55efd18a38537e1f23fbe710d965a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-cubecl-fusion/src/engine/codegen/io.rs:281-290 | crates/burn-cubecl-fusion/src/engine/codegen/io.rs:460-468 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/io.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a7d9b5ae40aa0b693fb2e0d88e4cf0ff3f16faf2c1926ef78d4c493b7fe553"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): crates/burn-flex/src/ops/activation.rs:48-56 | crates/burn-flex/src/ops/float.rs:736-746 | crates/burn-flex/src/ops/float.rs:748-758 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/activation.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c345b30cda717abb418a99fb61b12202d651bbbefba532222183039c2c15ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-cubecl-fusion/src/base.rs:155-163 | crates/burn-cubecl/src/tensor/base.rs:302-310 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/base.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"219fd8748b375f2b009859aad80b8144fc9b72959e48e8b511616734e2764e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/burn-cubecl-fusion/src/engine/codegen/io.rs:849-866 | crates/burn-cubecl-fusion/src/engine/codegen/io.rs:875-892 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/io.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"42eb9deb79492c2984f99bb1135e3a1dbc13328d9c9e9ecbd0396c66a3f7e2cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-nn/src/modules/pos_encoding.rs:94-102 | crates/burn-nn/src/modules/rope_encoding.rs:139-148 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pos_encoding.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e9eb8ce1a0d6a2fc237064e7676708777edaa1b7c69331ec66be407473e258"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-std/src/data/tensor/base.rs:659-668 | crates/burn-std/src/data/tensor/base.rs:674-686 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-std/src/data/tensor/base.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f150544e410731fe0bb57138acaa4052cdafed6dc494134320ca5c31089cc7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-tensor/src/tensor/api/base.rs:3245-3257 | crates/burn-tensor/src/tensor/api/base.rs:3267-3279 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/base.rs"},"region":{"startLine":3245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8b4b920cf7ddcc537ed2fd79a821c153cd01e1884f1a8a9ecfeb540e1856b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/burn-train/src/metric/vision/afine/weights.rs:125-137 | crates/burn-train/src/metric/vision/afine/weights.rs:139-150 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/afine/weights.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74b8f0b4e6576bfa98b574f7d6b93ed2948f3d59cfd79535460bc14950e58a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 7\u002B corresponding lines): crates/burn-vision/src/ops/base.rs:249-255 | crates/burn-vision/src/ops/base.rs:263-269 | crates/burn-vision/src/ops/base.rs:296-302 | crates/burn-vision/src/ops/base.rs:310-316 | crates/burn-vision/src/ops/base.rs:343-349 | crates/burn-vision/src/ops/base.rs:357-363 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/ops/base.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"85972e1d2a61dbe1e91142de8df5eabd8c0b151090e158d16c080f04a1fbfbdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-core/src/module/display.rs:423-435 | crates/burn-core/src/module/display.rs:449-459 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-core/src/module/display.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b970a69dd5c399c0d461239334e87257d0d1cef10f2f248724babc8d784b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-cubecl-fusion/src/engine/trace/base.rs:428-438 | crates/burn-cubecl-fusion/src/engine/trace/base.rs:441-451 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/trace/base.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae354391f9212f7fc879cca89547098079a8c25da48e9a5c96c2dee8beda43c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 9\u002B corresponding lines): crates/burn-cubecl/src/ops/collective.rs:34-44 | crates/burn-cubecl/src/ops/collective.rs:46-54 | crates/burn-cubecl/src/ops/collective.rs:60-68 | crates/burn-cubecl/src/ops/collective.rs:87-97 | crates/burn-cubecl/src/ops/collective.rs:99-107 | crates/burn-cubecl/src/ops/collective.rs:113-121 | crates/burn-cubecl/src/ops/collective.rs:137-145 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/collective.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e5241f18b4546824c8aa0e012c14ec1a94e0f770162aada6ed88ace043cb54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-flex/src/ops/fft.rs:1208-1216 | crates/burn-flex/src/ops/fft.rs:1218-1226 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea85da33c083d9a14f5b841958952c08891d7a0237de9b4c7ded14e12b4a12e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/burn-train/src/learner/rl/paradigm.rs:294-305 | crates/burn-train/src/learner/supervised/paradigm.rs:323-336 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/paradigm.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1056b0707ea82234e8358c8de16bfc3bdd840a491593586ace820b8b9b27c2a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): crates/burn-backend/src/backend/ops/bool_tensor.rs:525-530 | crates/burn-backend/src/backend/ops/bool_tensor.rs:544-549 | crates/burn-backend/src/backend/ops/bool_tensor.rs:561-567 | crates/burn-backend/src/backend/ops/bool_tensor.rs:581-587 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/bool_tensor.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d0765dc0d8ec970ab87ac949974eee7b454c6b67ece706aa4612e8c7cd5cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-backend/src/backend/ops/sort.rs:400-410 | crates/burn-cubecl-fusion/src/base.rs:201-211 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/sort.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b226744ab26cb6e1c441b97a02cd4f0b21c18b65c8cdeaf397a1a2a625d6fae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/burn-derive/src/module/codegen_struct.rs:12-30 | crates/burn-derive/src/module/codegen_struct.rs:55-75 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/module/codegen_struct.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"13140496bf88b923db8ba60ef5075816ba53f02ebd740dcb99363486c2c7ff53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/burn-flex/src/ops/unary.rs:405-412 | crates/burn-flex/src/ops/unary.rs:415-422 | crates/burn-flex/src/ops/unary.rs:425-432 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/unary.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d44b0ace1e7ca2ce8eb73a977cd5621c1969fd68bd8e412bee1c144c1436a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/burn-fusion/src/custom.rs:143-191 | crates/burn-fusion/src/custom.rs:396-481 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/custom.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"53901725eb15f97c8e2b1d561803bc3bec2e2ba3da0212095da586c7d976fa29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/burn-ir/src/builder.rs:559-571 | crates/burn-ir/src/builder.rs:1523-1535 | crates/burn-ir/src/builder.rs:1545-1560 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/builder.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee8bf0ccbecf5ad56b45706c3a3f14cf77e7b6c1c4dd2e99ee08bd50c12698d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 8\u002B corresponding lines): crates/burn-store/src/safetensors/store.rs:195-202 | crates/burn-store/src/safetensors/store.rs:214-221 | crates/burn-store/src/safetensors/store.rs:232-239 | crates/burn-store/src/safetensors/store.rs:246-253 | crates/burn-store/src/safetensors/store.rs:265-272 | crates/burn-store/src/safetensors/store.rs:278-285 | crates/burn-store/src/safetensors/store.rs:288-295 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/safetensors/store.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8f69c7b50e288f4d53d54568e36ded232e44ed00d14032487bc33742f067fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/burn-train/src/renderer/cli.rs:100-109 | crates/burn-train/src/renderer/tui/renderer.rs:305-310 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/renderer/cli.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0294783e7c8745249e2393287ec252127b49fdbd549a31330ea2fc14d61a86df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/burn-backend/src/backend/ops/activation.rs:235-241 | crates/burn-backend/src/backend/ops/activation.rs:256-261 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/activation.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed7bd029af23af098f534a0a62de9ac7978c7c7d8b54d69fdacb7ce26f63ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/burn-backend/src/backend/ops/int_tensor.rs:969-974 | crates/burn-backend/src/backend/ops/int_tensor.rs:986-991 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/int_tensor.rs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"71740d8c79a4cfe04974859bb5090450ccc38c4cc08fe19b00e5f4a0498ccb45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/burn-backend/src/backend/ops/tensor.rs:1505-1514 | crates/burn-backend/src/backend/ops/tensor.rs:1528-1533 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/tensor.rs"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb4ee1f7e78f4357b2fb04c785bfc0cf430e2e1615e24a6c63ebd0f34169adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): crates/burn-derive/src/module/codegen_enum.rs:91-105 | crates/burn-derive/src/module/codegen_enum.rs:107-121 | crates/burn-derive/src/module/codegen_enum.rs:167-181 | crates/burn-derive/src/module/codegen_enum.rs:183-197 | crates/burn-derive/src/module/codegen_enum.rs:199-213 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/module/codegen_enum.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b1024171f8a5837fa9cef17bc63928622f2217e718d02095f4b18289dbeaee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/burn-flex/src/layout.rs:18-25 | crates/burn-flex/src/ops/gather_scatter.rs:1213-1220 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/layout.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac02d96dac31313549d2565dd8b0af7297a33564bcf7ac38ac172028b1d66f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/burn-flex/src/ops/fft.rs:1572-1578 | crates/burn-flex/src/ops/fft.rs:1585-1591 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"482352dbbd11b64a41bd6f5e9c709804840995b3ddd397b4be2d0ed360c15821"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/burn-flex/src/ops/int.rs:750-757 | crates/burn-flex/src/ops/int.rs:766-774 | crates/burn-flex/src/ops/int.rs:1311-1318 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f668a4f479ea38d0a3937dfbf50a101de457be9ba34110c2c784130370a67e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-flex/src/zip.rs:63-75 | crates/burn-flex/src/zip.rs:338-350 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/zip.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"790c15799666e921d0ebf6d66d49aba3e1155fb214ea44fa142fb70bcee23a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/burn-fusion/src/custom.rs:143-177 | crates/burn-fusion/src/custom.rs:396-463 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/custom.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5bbded8b3c223b490d5cbea812ce27b5eed66fe8114c5c784b05e4ae0b47a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): crates/burn-shard/src/backend/tensor.rs:419-423 | crates/burn-shard/src/backend/tensor.rs:428-432 | crates/burn-shard/src/backend/tensor.rs:437-441 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-shard/src/backend/tensor.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a3062e62645f54191b8cbc9d32bfa2c0d9c5d2bc09e27a26d2b2b88cdb6aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 10\u002B corresponding lines): crates/burn-tensor/src/bridge/ops/float.rs:134-145 | crates/burn-tensor/src/bridge/ops/float.rs:203-214 | crates/burn-tensor/src/bridge/ops/float.rs:259-270 | crates/burn-tensor/src/bridge/ops/float.rs:295-304 | crates/burn-tensor/src/bridge/ops/float.rs:861-873 | crates/burn-tensor/src/bridge/ops/float.rs:875-887 | crates/burn-tensor/src/bridge/ops/float.rs:889-901 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/bridge/ops/float.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcadfd7939476d1efcc9f9736b69664f3845eb8652f2815e157d21269cfe1b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-tensor/src/tensor/module.rs:487-499 | crates/burn-tensor/src/tensor/module.rs:553-565 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/module.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bdb23fade4d0a93929ab21551e9dcb168f5bfa36fde16267afcb50561484fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-backend/src/backend/ops/int_tensor.rs:1473-1482 | crates/burn-backend/src/backend/ops/tensor.rs:1919-1927 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/int_tensor.rs"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cac095953c7c6d4452bbd75afc28a7a14d195ae50e80c569496419c31cec30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-nn/src/modules/transformer/decoder.rs:517-526 | crates/burn-nn/src/modules/transformer/encoder.rs:207-223 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/transformer/decoder.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"688028114be74f8979d3a5b1c22b6bf5caeebc0a599d3fb05b9c8ee70a563a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/burn-std/src/config/logger.rs:143-152 | crates/burn-std/src/config/logger.rs:160-169 | crates/burn-std/src/config/logger.rs:177-186 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-std/src/config/logger.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd696ac3d321e050f87f055410ced409fd3eb810364c98f26e1db71728e08e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-train/src/metric/processor/async_wrapper.rs:214-222 | crates/burn-train/src/metric/processor/async_wrapper.rs:254-265 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/async_wrapper.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e84359194a9b35cd65979dc22e0f5ceef1c70e6a69a8bd153d6e419ee4b4ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): crates/pytorch-reader/src/nested/de.rs:605-615 | crates/pytorch-reader/src/nested/de.rs:628-639 | crates/pytorch-reader/src/nested/de.rs:652-663 | crates/pytorch-reader/src/nested/de.rs:676-687 \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":"crates/pytorch-reader/src/nested/de.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"885543e0243c594550511dde6d3a256bdd0020735765a103a70817e71850bcd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/burn-autodiff/src/ops/collective.rs:270-280 | crates/burn-backend/src/backend/ops/collective.rs:371-378 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/collective.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ccb247e3baa69c6fd264a60aeb99b74c7ce8273ca52eb93763641e1eba7441"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-communication/src/websocket/client.rs:92-105 | crates/burn-communication/src/websocket/client.rs:133-143 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-communication/src/websocket/client.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a18e049e00b66c96564c9c671e886e19140f9dfa8013427692cb3afe8aab33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-flex/src/ops/gather_scatter.rs:1443-1455 | crates/burn-flex/src/ops/gather_scatter.rs:1479-1491 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c8850fb4cfff4e329486464af96924ec056655f60bada6e1c66d6c437d6f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-linalg/src/check.rs:10-22 | crates/burn-tensor/src/tensor/api/check.rs:1295-1308 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/check.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba909e020f722a62486ed241398a30f59b82de7d98fb8bae1a27c73ef2216b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/burn-nn/src/modules/attention/mha.rs:483-490 | crates/burn-nn/src/modules/attention/mha.rs:494-501 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/attention/mha.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58b6eed50e020304b7f6474d8187f086d5f7827d6bc5dd0789e9e048d95dab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 8\u002B corresponding lines): crates/burn-nn/src/modules/pool/avg_pool2d.rs:71-79 | crates/burn-nn/src/modules/pool/avg_pool3d.rs:67-75 | crates/burn-nn/src/modules/pool/lp_pool2d.rs:49-56 | crates/burn-nn/src/modules/pool/max_pool2d.rs:63-71 | crates/burn-nn/src/modules/pool/max_pool3d.rs:65-73 | crates/burn-nn/src/modules/unfold.rs:49-56 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pool/avg_pool2d.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddc710964fd24fd2f8b0d3a89583916653b1f0ab543be54b4e5ffe7e8bf4ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/burn-rl/src/policy/async_policy.rs:274-286 | crates/burn-rl/src/policy/async_policy.rs:292-306 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-rl/src/policy/async_policy.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"2529111b633f126aed4d998757eb03b5bcf562f92d7e178599b91ee6932602b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/burn-tensor/src/tensor/api/base.rs:1788-1803 | crates/burn-tensor/src/tensor/api/base.rs:1931-1940 | crates/burn-tensor/src/tensor/api/base.rs:2009-2025 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/base.rs"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebeae9b9dc6a7b66c5948aa5348090f9a2401a8efeaa43575768674367539174"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/burn-backend/src/backend/ops/modules/conv.rs:394-401 | crates/burn-backend/src/backend/ops/modules/conv.rs:507-514 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14b6a6a682db11b5de34064c8e47432acf39faffa28fc04ad0545687a2dae6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/burn-core/src/module/param/base.rs:529-541 | crates/burn-core/src/module/param/base.rs:581-593 | crates/burn-core/src/module/param/base.rs:637-649 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-core/src/module/param/base.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f5468e1e0ba637c073bab39a55a8a079c7bb854231e1104dd052fcdaec645a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-tensor/src/tensor/api/orderable.rs:706-715 | crates/burn-tensor/src/tensor/api/orderable.rs:963-972 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/orderable.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dc6a97b10986c95194e3ef7fd88c0eb1af15f92fcc1282453e07b04ea62f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/burn-train/src/metric/processor/metrics.rs:412-423 | crates/burn-train/src/metric/processor/metrics.rs:425-436 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/metrics.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5840ce0831b2f91d60d85a742766c9b8d9c59a91ee8f1d86f1d7f67022b52c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-cubecl-fusion/src/base.rs:67-77 | crates/burn-cubecl/src/tensor/base.rs:82-91 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/base.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65d2d9256d5d34d571b71015d81bd94b6342a179b988d0282a0a75c92215994"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 6\u002B corresponding lines): crates/burn-flex/src/ops/int.rs:715-722 | crates/burn-flex/src/ops/int.rs:728-735 | crates/burn-flex/src/ops/int.rs:741-748 | crates/burn-flex/src/ops/int.rs:759-764 | crates/burn-flex/src/ops/int.rs:966-971 | crates/burn-flex/src/ops/int.rs:977-982 | crates/burn-flex/src/ops/int.rs:988-993 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46f09f3654c0f62332f8fdd4c50dc5d156337d360320fda6d77844ffc4456bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/burn-flex/src/ops/pool.rs:596-607 | crates/burn-flex/src/ops/pool.rs:939-951 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"067a726e859283a6ec246ad2ab9730e8b272b8caa26a866fc64861f95c1f3937"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/burn-nn/src/modules/transformer/encoder.rs:166-178 | crates/burn-nn/src/modules/transformer/decoder.rs:493-499 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/transformer/encoder.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d44d851c9a04f446c246bb18d37da3ce0b83343f189e22f495b42ad87d442d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/burn-optim/src/lr_scheduler/module_lr_scheduler.rs:159-167 | crates/burn-optim/src/lr_scheduler/composed.rs:132-139 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/lr_scheduler/module_lr_scheduler.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"004d411731a34b1e3c15486c414b1050f786a16839e593d69393516597aba36a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-train/src/learner/supervised/step/train.rs:85-93 | crates/burn-train/src/learner/supervised/strategies/ddp/strategy.rs:49-57 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/step/train.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a312657fa14cfc119dc6f3f83ffc4441f571c1fab8c7d354caf4c91a250757a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/burn-nn/src/activation/swiglu.rs:55-62 | crates/burn-nn/src/modules/linear.rs:173-180 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/activation/swiglu.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f8c6afb12e2ec43bd719f5c4b48891887d53d99d08368486707d3112b056dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-flex/src/simd/portable.rs:1534-1544 | crates/burn-flex/src/simd/portable.rs:1604-1706 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fae066aed309b18595fbba9378f654328b710d54d0c11027a0622dcd496f0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/burn-nn/src/loss/cross_entropy.rs:48-59 | crates/burn-nn/src/loss/binary_cross_entropy.rs:30-40 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/loss/cross_entropy.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d6d994b559945f7617af3656871be4c6acd84f8a98ada60c87571fc04b204b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/burn-optim/src/lr_scheduler/composed.rs:141-152 | crates/burn-optim/src/lr_scheduler/module_lr_scheduler.rs:170-187 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/lr_scheduler/composed.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a283c6826203292d09851f74c49c0b755c6b6dd2705b7622456154d73c07b01c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/burn-train/src/metric/processor/error.rs:139-150 | crates/burn-train/src/learner/supervised/step/train.rs:45-56 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/error.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd17867599e88119d2afbd251197defe21c6e2b47d133356234eb69c44428fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/burn-train/src/checkpoint/async_checkpoint.rs:95-102 | crates/burn-train/src/logger/async_logger.rs:49-56 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/checkpoint/async_checkpoint.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dcb110dfa2b7e04077d8ac71339607f86c8b339c33a1dfdfa3f2d23da66471"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/burn-vision/src/tensor.rs:94-105 | crates/burn-vision/src/tensor.rs:107-118 | crates/burn-vision/src/tensor.rs:158-171 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/tensor.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73ee6b9136be08f0feeaffc9f30580925f8f910bf404867d8ca6e5d24269751"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-train/src/renderer/tui/full_history.rs:101-109 | crates/burn-train/src/renderer/tui/recent_history.rs:83-91 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/renderer/tui/full_history.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b06d305a73e20d65e45441c55d3ee202bb28941694c6b5746bd3973b64a129"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): crates/burn-nn/src/activation/rrelu.rs:67-73 | crates/burn-nn/src/modules/dropout.rs:81-89 | crates/burn-nn/src/modules/noise.rs:78-84 \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":"crates/burn-nn/src/activation/rrelu.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccd28eeeefca7268aa75e97978cace03fdfcca9eddef1bc58634dcefdc11b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): crates/burn-remote/src/client/service/conn.rs:229-236 | crates/burn-remote/src/client/service/conn.rs:238-245 | crates/burn-remote/src/client/service/conn.rs:257-264 | crates/burn-remote/src/client/service/conn.rs:266-273 | crates/burn-remote/src/server/transport.rs:64-71 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/client/service/conn.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fa54e44299f7d71246ad0c5ebe9bf4212a5587dd539cbaf0041474e3d19793"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/burn-train/src/learner/classification.rs:33-47 | crates/burn-train/src/learner/regression.rs:32-46 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/classification.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59f97fa590d7469a2672e92552aeba0f74973f892706f2e1cd4119df5f9a470"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/burn-flex/src/ops/conv_common.rs:55-60 | crates/burn-flex/src/ops/pool.rs:1749-1752 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv_common.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"464103102bc44cfcc11b589a51efd8e6a807867801b08b8cf2d79b4956adf62a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/burn-train/src/checkpoint/async_checkpoint.rs:148-159 | crates/burn-train/src/logger/async_logger.rs:81-90 | crates/burn-train/src/metric/store/client.rs:161-170 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/checkpoint/async_checkpoint.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e883d365a97f587a00072af72f470a7e07c1bfff08294295e27c1613835cf963"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/burn-backend/src/backend/ops/qtensor.rs:1178-1183 | crates/burn-backend/src/backend/ops/tensor.rs:1665-1670 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/qtensor.rs"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"57465f21e2a23e27ec4e846298ceeb29229e6344b3204c5f90d0575b43908a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/burn-backend/src/backend/ops/int_tensor.rs:593-597 | crates/burn-backend/src/backend/ops/tensor.rs:214-218 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/int_tensor.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2c312803bfd05c21a12d66c0984a68474f2c7ef8fc2981ddd158ca894498b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/burn-backend/src/backend/ops/int_tensor.rs:609-613 | crates/burn-backend/src/backend/ops/tensor.rs:230-234 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/int_tensor.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"1124d42d8aefb393332bd66116b2bb4205163e3cff1a8ac3510f12980275530d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): crates/burn-train/src/metric/vision/afine/weights.rs:48-57 | crates/burn-train/src/metric/vision/dists/weights.rs:20-31 | crates/burn-train/src/metric/vision/fid/weights.rs:11-22 | crates/burn-train/src/metric/vision/lpips/weights.rs:45-56 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/afine/weights.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8461415272dd64e402901b2a851541d6a86f7a64063a63b182457e7f274eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/burn-cubecl/src/kernel/attention/backward.rs:32-36 | crates/burn-cubecl/src/kernel/attention/tile.rs:100-106 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/attention/backward.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"179d4c3d908a1e03fc4aa6196f9045481b648a5e77e29a3966b029c5bf908552"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-dataset/src/nlp/text_folder.rs:312-321 | crates/burn-dataset/src/vision/image_folder.rs:781-793 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/nlp/text_folder.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d466564dde21240c8238d5ab31f728a690f4d2075bc4dd8a287e23268892445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/burn-nn/src/modules/pool/avg_pool1d.rs:71-79 | crates/burn-nn/src/modules/pool/lp_pool1d.rs:49-56 | crates/burn-nn/src/modules/pool/max_pool1d.rs:63-71 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pool/avg_pool1d.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8c0b3cba707f0832b37d8a71db2c6164ec8e8de5395900c9fb4c1bfa146ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/burn-tensor/src/bridge/ops/float.rs:250-257 | crates/burn-tensor/src/tensor/api/float.rs:1219-1226 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/bridge/ops/float.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8774c6597910b3b3669c8ffb161c510d03be709ab9214a31f954b0e30b84ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/burn-cubecl/src/ops/base.rs:138-149 | crates/burn-cubecl/src/ops/numeric.rs:169-173 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/base.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b144bd3661b1f17b0b8a717f029b6e8e1a65626815b9f8b7573e46fbdc1da7df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/burn-flex/src/ops/conv_common.rs:50-53 | crates/burn-flex/src/ops/pool.rs:1755-1758 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv_common.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"72550ee14fc1a26fc2afe0230d81554d9e46b75f641296c287a2d6f0b49d554b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/burn-nn/src/modules/norm/layer.rs:130-137 | crates/burn-nn/src/modules/norm/rms.rs:106-112 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/norm/layer.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f0671f0fcbae68e69338a78f94b80addf422da09722402e4ab61bee738fc94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/burn-nn/src/modules/norm/layer.rs:76-84 | crates/burn-nn/src/modules/norm/rms.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":"crates/burn-nn/src/modules/norm/layer.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88cdd5c2a30c87cb25744841eb25679511c041b931cbd9508f281a4336b44df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/burn-nn/src/modules/rope_encoding.rs:125-131 | crates/burn-nn/src/modules/transformer/pwff.rs:73-81 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/rope_encoding.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6decd09a968eb2c38818bfc0c8943d4665a68240d6ec991e7b539740fd3014"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-train/src/metric/cpu_use.rs:20-28 | crates/burn-train/src/metric/memory_use.rs:23-32 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/cpu_use.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f7a3a48be02e03d77ef097b8149015bf61c00c4cc2f4e8b15bb718ecb94b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/burn-nn/src/modules/norm/group.rs:69-76 | crates/burn-nn/src/modules/norm/instance.rs:52-58 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/norm/group.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"53072a6be242f0b27b94a84676a2f88cde4c4737beb577f809433a9ff71ab1c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-train/src/metric/vision/dice.rs:43-52 | crates/burn-train/src/metric/vision/ms_ssim.rs:55-63 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/dice.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5d2dcea3fffe6e8fee00f89b8fdbb9ed5742fb97d4408661181f99649ff636"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/burn-cubecl/src/kernel/cast/base.rs:16-22 | crates/burn-cubecl/src/kernel/cast/bool_cast.rs:21-30 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/cast/base.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2501b37edbb413853c3bc312666ee01c178c660bfdfff58f8584b0c78a0b44c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/burn-nn/src/modules/pool/avg_pool1d.rs:84-92 | crates/burn-nn/src/modules/pool/max_pool1d.rs:76-84 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pool/avg_pool1d.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a218410cbc09830dc7b78a6c01e8f2c18d0514ba0c413619a311ec3f7334d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): crates/burn-nn/src/modules/pool/avg_pool2d.rs:84-92 | crates/burn-nn/src/modules/pool/avg_pool3d.rs:80-88 | crates/burn-nn/src/modules/pool/max_pool2d.rs:76-84 | crates/burn-nn/src/modules/pool/max_pool3d.rs:78-86 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pool/avg_pool2d.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec7f97de01a7e6749ffd19faa1b018ca02588a706177a3ada4febed2bd2fd82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): crates/burn-train/src/metric/auc_pr.rs:34-43 | crates/burn-train/src/metric/auroc.rs:29-38 | crates/burn-train/src/metric/precision.rs:27-39 | crates/burn-train/src/metric/recall.rs:27-39 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/auc_pr.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"348fc48641eca9cc365fdec692c4a741ccf482b28dfa57477fb66308af4a0bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/burn-cubecl/src/fusion/registry.rs:299-304 | crates/burn-shard/src/backend/plan.rs:54-60 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/fusion/registry.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78968c30e0ca35ef24d3d8c193aa6be53975a810034cf3bc1bba12d49a2fbb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/burn-tensor/src/tensor/api/base.rs:1848-1851 | crates/burn-tensor/src/tensor/api/orderable.rs:1066-1069 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/base.rs"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"907a5e6256545f69e7138df2e8a93e032d8346e509c2a95cb14136bfc47ed94a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/burn-tensor/src/tensor/api/base.rs:2591-2594 | crates/burn-tensor/src/tensor/api/orderable.rs:536-539 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/base.rs"},"region":{"startLine":2591}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47cd3b4e2fb2822a14be16c7f8a9805857bd5f9440246f697c17fd90b5e1bf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/burn-cubecl-fusion/src/engine/settings.rs:36-45 | crates/burn-cubecl-fusion/src/optim/nhwc_relayout/fuser.rs:59-70 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/settings.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1199ed8ce2762b6378a91e00c83166d02c6e8c004f1d7b8fa93ac6f024f8b94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/burn-cubecl-fusion/src/optim/matmul/optimization.rs:111-124 | crates/burn-cubecl-fusion/src/optim/reduce/optimization.rs:247-263 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/matmul/optimization.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7232d538c760da2523d8e74e73f9cd81444b3698dc68853c90871337e9e147"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): crates/burn-train/src/metric/vision/lpips/alexnet.rs:99-101 | crates/burn-train/src/metric/vision/lpips/squeezenet.rs:156-163 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/lpips/alexnet.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"464408ccc94a9aea12c8c99d1860023a80973d98e4194ba6aa02ccc8d20e2f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): crates/burn-tensor/src/tensor/api/base.rs:2569-2572 | crates/burn-tensor/src/tensor/api/float.rs:802-805 | crates/burn-tensor/src/tensor/api/orderable.rs:514-517 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/base.rs"},"region":{"startLine":2569}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b7520924df239ffd0ac30aa197e95d8ab5052e6e8ab4bcc75b2ceaeac2a932"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): crates/burn-train/src/metric/cer.rs:61-67 | crates/burn-train/src/metric/rouge.rs:55-61 | crates/burn-train/src/metric/wer.rs:39-45 \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":"crates/burn-train/src/metric/cer.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f849ef91141ab77ee233cfde31d893fadfa724ab5d0c1c8041e8c3fa4dfdffd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61\u201362 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:385-446 | crates/burn-flex/src/ops/conv.rs:467-527 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:385\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1282d16409699d9e3a99a5a5816edde0507b98fa5c01cd29a335c11e6472e9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53\u201354 lines \u00D7 2): crates/burn-train/src/learner/rl/env_runner/async_runner.rs:234-287 | crates/burn-train/src/learner/rl/env_runner/async_runner.rs:466-518 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-train/src/learner/rl/env_runner/async_runner.rs:289\u0060 calls \u0060push\u0060 and \u0060crates/burn-train/src/learner/rl/env_runner/async_runner.rs:520\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/env_runner/async_runner.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e296b1aa7ea119dd82d9b030d08d5b697c3e380c43c6f06eab3b32f221288f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201349 lines \u00D7 2): crates/burn-flex/src/ops/deform_conv.rs:202-250 | crates/burn-flex/src/ops/deform_conv.rs:284-331 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/deform_conv.rs:202\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5272938c5647ec42144503d719400c1c8da474088707447093e66e4639748ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201346 lines \u00D7 2): crates/burn-cubecl/src/kernel/ctc.rs:240-285 | crates/burn-cubecl/src/kernel/ctc.rs:466-507 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/ctc.rs:240\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/ctc.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7464a1b4037e67f43259efe89bd99d09ccac397cb5299673f6133bd937045a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): crates/burn-cubecl/src/kernel/binary.rs:258-297 | crates/burn-cubecl/src/kernel/binary_float.rs:178-217 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/binary.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/binary_float.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/binary.rs:258\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a131fa8679d0063e5a201fc35266c584703598185a616419f8bb69b16619cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/conv.rs:1221-1259 | crates/burn-backend/src/backend/ops/modules/conv.rs:1515-1552 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1221\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3a7b5fb88d7549981783a09b381b50ad65a3ec39de9adda6a063b8d861fa04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64\u201365 lines \u00D7 2): crates/burn-flex/src/ops/attention.rs:297-361 | crates/burn-flex/src/ops/attention.rs:806-869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/attention.rs:297\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4433d68bc8ba0d638dba8412f2f896573ddf3ece1ee8c5376a9317ee4f643d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/burn-flex/src/ops/attention.rs:612-649 | crates/burn-flex/src/ops/attention.rs:980-1017 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/attention.rs:612\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47fc481af6f3fe8af856a608a81f85df9bae9274828ee20085cbd0204d5397f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/burn-flex/src/ops/deform_conv.rs:406-443 | crates/burn-flex/src/ops/deform_conv.rs:984-1021 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/deform_conv.rs:406\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e78a3a8b0bf5ecd8592a6ac76dfdd0fafffc9b73548f006b084da724600be09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:3036-3072 | crates/burn-autodiff/src/ops/tensor.rs:3103-3139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:3036\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":3036}}}],"partialFingerprints":{"codehealthFindingId/v1":"923425af3edc205f5568272bdcf4eb677ee125d3be47c5ba354c84aed6678888"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): crates/burn-cubecl/src/kernel/ctc.rs:205-239 | crates/burn-cubecl/src/kernel/ctc.rs:431-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/ctc.rs:205\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/ctc.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"659ecffd44450ac6e1b62632f7c2f5b4eb70c876cefc96216fe34f753f8f5d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/trace/block.rs:260-292 | crates/burn-cubecl-fusion/src/engine/trace/block.rs:330-362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/trace/block.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a100a5b6ed7fbd9ab97cb7be5cfedd512207b024ab3ad16f48e96ed533b5a744"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201332 lines \u00D7 2): crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:296-324 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:253-284 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/pool/max_pool3d.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:253\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0fc0d5edc777474d86ea03d60696e39f39304940f2e63f59a458a13edac781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:859-890 | crates/burn-flex/src/ops/reduce.rs:1204-1234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:859\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"393170d8bdca8fee5efa152b273b86160e85ac50f6a10d4fe7b1f7bc664d528e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/burn-tensor/src/tensor/api/check.rs:1010-1041 | crates/burn-tensor/src/tensor/api/check.rs:1082-1113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-tensor/src/tensor/api/check.rs:1010\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/check.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"af387155a5157c7e32018f0bda6d58e1754a1a7097b27b324767f130bab9d56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): crates/burn-flex/src/ops/fft.rs:457-487 | crates/burn-flex/src/ops/fft.rs:520-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 \u0060crates/burn-flex/src/ops/fft.rs:457\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e31919f1ceeb6e09194fcaba4b42b2195af4c12da568655b7ae599f666527e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): crates/burn-flex/src/ops/fft.rs:894-922 | crates/burn-flex/src/ops/fft.rs:1095-1124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/fft.rs:894\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f9828bf1dd3f0732cdee99db0e21769c1ba8f6d12df68fbd7edf6b83dae0e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): crates/burn-train/src/metric/bleu.rs:350-379 | crates/burn-train/src/metric/rouge.rs:93-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/bleu.rs:350\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/bleu.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a50734929d96c4045504c175678ef3c0502d502acf3ff970a31a3e066eea1c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/burn-cubecl-fusion/src/optim/reduce/fuser.rs:225-253 | crates/burn-cubecl-fusion/src/optim/reduce/fuser.rs:255-283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce/fuser.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad53d980f6760088a586f5a3c38c96fd53e1c0b30c0984b90d361b854cc77734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/burn-cubecl/src/kernel/binary.rs:227-256 | crates/burn-cubecl/src/kernel/binary_float.rs:147-176 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/binary.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/binary_float.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/binary.rs:227\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8ce2381ca1d4f1d50063812b37a4b053930957245f38e8298c7b2b47b94070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): crates/burn-flex/src/ops/deform_conv.rs:81-107 | crates/burn-flex/src/ops/deform_conv.rs:872-900 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/deform_conv.rs:81\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e27ec8d416345c2ff03461b53a214ecf6a08d4982c91ef385f4793f16a5879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/conv.rs:1151-1178 | crates/burn-backend/src/backend/ops/modules/conv.rs:1445-1472 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c68c5efddee8d386f3771e215487f0cd2b40548f249ed09517baf21b76dc66e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 4): crates/burn-flex/src/ops/conv.rs:403-429 | crates/burn-flex/src/ops/conv.rs:484-510 | crates/burn-flex/src/ops/deform_conv.rs:211-237 | crates/burn-flex/src/ops/deform_conv.rs:293-318 \u2014 before extracting anything, compare \u0060crates/burn-flex/src/ops/conv.rs\u0060 and \u0060crates/burn-flex/src/ops/deform_conv.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:403\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3855d0e2db885edeb5713d50e749d0b595c88ef41237d5e39e0269eb4fa38f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/burn-flex/src/ops/fft.rs:808-834 | crates/burn-flex/src/ops/fft.rs:1019-1045 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f44ad088cad77a69c73b42d66f1ab74ed3ea671f5266f3944c70f2cd2c27034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): crates/burn-flex/src/ops/gather_scatter.rs:545-571 | crates/burn-flex/src/ops/gather_scatter.rs:584-609 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/gather_scatter.rs:545\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"30747178b43c13b4a3d58ecbb9456e4444b63885dd344000eef126c9967460c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): crates/burn-nn/src/modules/transformer/decoder.rs:269-295 | crates/burn-nn/src/modules/transformer/encoder.rs:275-298 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/transformer/decoder.rs\u0060 and \u0060crates/burn-nn/src/modules/transformer/encoder.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/transformer/decoder.rs:269\u0060 it does not close everything it opens, so those exact 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 \u0060config\u0060 to \u0060\u0026TransformerDecoderConfig\u0060 in one and \u0060\u0026TransformerEncoderConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/transformer/decoder.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf17d01bd9761b3df968180a8a0ea0519d175d602fdc3a010cd6538831f8c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:120-146 | crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:222-248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/learner/supervised/strategies/multi/epoch.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":"crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc8392b2bb6a6447b28b0ffb1d3a9824437891174b2684031fd960712fc9015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201326 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/conv.rs:470-485 | crates/burn-backend/src/backend/ops/modules/conv.rs:573-598 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:573\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"706bd341c692e03a770a40c2127c5828c36653a52f64ec1e26835e2d6e487165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/burn-flex/src/ops/deform_conv.rs:364-389 | crates/burn-flex/src/ops/deform_conv.rs:944-969 \u2014 both copies are in the same file, so extract the block 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 \u0060a\u0060 to \u0060\u0026[f32]\u0060 in one and \u0060\u0026[f64]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ec3824385013ecfc0104f0c05132608efacaa1376652cf65e825df0d943643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/burn-train/src/learner/rl/env_runner/async_runner.rs:189-214 | crates/burn-train/src/learner/rl/env_runner/async_runner.rs:398-423 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/learner/rl/env_runner/async_runner.rs:189\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-train/src/learner/rl/env_runner/async_runner.rs:395\u0060 calls \u0060send\u0060, \u0060Step\u0060, \u0060expect\u0060 and \u0060crates/burn-train/src/learner/rl/env_runner/async_runner.rs:187\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/env_runner/async_runner.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d11aa7108b5974ca96c819739ca60196a4afbb3e3b9370f0e0aa50e366788e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201325 lines \u00D7 3): crates/burn-cubecl/src/kernel/pool/base.rs:26-47 | crates/burn-cubecl/src/kernel/pool/base.rs:79-103 | crates/burn-cubecl/src/kernel/pool/base.rs:188-208 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/pool/base.rs:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/base.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec002299d01ad3faa0908fe419d72412d0de322407af65170b4afb221857c829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/burn-flex/src/ops/mask.rs:272-302 | crates/burn-flex/src/ops/mask.rs:323-353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/mask.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"57950f59fb9324cbc6acdc294c8c67e4f8548cb1cdaf4e013b22a55f3467ac0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1953-1977 | crates/burn-flex/src/ops/reduce.rs:2052-2076 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1953\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"318f2254b43ee551f3395729d73acfb11556505396101fb58e4dac7a7587b7d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:2213-2237 | crates/burn-flex/src/ops/reduce.rs:2336-2360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:2213\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":2213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd50f25f35b06798bed7a668ba686158c36a4ee5137eed442535b27f3b257b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): crates/burn-nn/src/modules/rnn/basic.rs:366-389 | crates/burn-nn/src/modules/rnn/gru.rs:417-441 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/rnn/basic.rs\u0060 and \u0060crates/burn-nn/src/modules/rnn/gru.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/rnn/basic.rs:366\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/rnn/basic.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28b395ffb079c7aa038f85f3061237cae9036b265a9ad45eb0a9e60acac54ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 6): crates/burn-backend/src/backend/ops/modules/conv.rs:1072-1094 | crates/burn-backend/src/backend/ops/modules/conv.rs:1123-1145 | crates/burn-backend/src/backend/ops/modules/conv.rs:1192-1215 | crates/burn-backend/src/backend/ops/modules/conv.rs:1355-1377 | crates/burn-backend/src/backend/ops/modules/conv.rs:1417-1439 | crates/burn-backend/src/backend/ops/modules/conv.rs:1486-1509 \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 \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1072\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8109be4ee192aa01e3db146bc3c13ee3e818386eaa2f3c41f23f004c1e5cca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:769-792 | crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:818-839 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:769\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb52f0f020746495392d757afde60e2e66cda8fe8295e7d738ecc7435ce8bf62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:71-94 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:74-97 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/pool/max_pool3d.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83b75f3f49d2a034b272c9ff1f1ea0c43ce7cd2631ce20cadbd6fe993f8a6cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): crates/burn-autodiff/src/ops/tensor.rs:1389-1411 | crates/burn-autodiff/src/ops/tensor.rs:1694-1716 | crates/burn-autodiff/src/ops/tensor.rs:2224-2246 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"0210c3ebb542d032235dd5dcd829d8ae7207c6a4ad73cb156c66ee5c8e9e89e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/burn-cubecl/src/kernel/ctc.rs:186-208 | crates/burn-cubecl/src/kernel/ctc.rs:406-428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/ctc.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a410dd24d276ccaed7982c5d9e2e19024cac35d987206e66227047aef4ac06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): crates/burn-cubecl/src/kernel/ctc.rs:287-309 | crates/burn-cubecl/src/kernel/ctc.rs:510-529 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/ctc.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":"crates/burn-cubecl/src/kernel/ctc.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e0978347dc66885fa2b37c59e5998e78e38beec0d51c51a61c98278108c232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201323 lines \u00D7 2): crates/burn-flex/src/ops/activation.rs:291-313 | crates/burn-flex/src/ops/activation.rs:840-856 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/activation.rs:291\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/activation.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78b75b8de675305d413556407472ad46350f2d9e6bcd82226f7a1fe1e3a2edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201323 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:1074-1096 | crates/burn-flex/src/ops/conv_transpose.rs:226-242 \u2014 before extracting anything, compare \u0060crates/burn-flex/src/ops/conv.rs\u0060 and \u0060crates/burn-flex/src/ops/conv_transpose.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 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":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dc44e4e064ff5aa070fc96ab60f0fbb3804e094beaac3017c675a9517db8a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:1438-1459 | crates/burn-flex/src/ops/conv.rs:1664-1686 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:1438\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f473ccf6277a172977b6e2267c7ccab01b7947d7d2fcabdd2a47827f6944d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs:245-266 | crates/burn-cubecl/src/kernel/conv/forward/tune.rs:261-281 \u2014 \u0060crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/forward/tune.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 3 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs:245\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c01734097cba15dc1a8e6186ba54109696f8fbd76d104396a8a316d89c0d74d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/burn-store/src/adapter.rs:626-646 | crates/pytorch-reader/src/pickle_reader.rs:956-977 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-store/src/adapter.rs:626\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/adapter.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf453d6cf50d18ae37275b61b9fb5f4d925d0a137bf8c9852f38ad635030a446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 4): crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs:254-274 | crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs:292-311 | crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs:361-381 | crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs:454-474 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs:254\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c2ee744bb2fa2bb1461f2cd9927a609156e34255aefda9e848b6418f8f803b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): crates/burn-autodiff/src/ops/module.rs:1729-1749 | crates/burn-autodiff/src/ops/module.rs:1859-1879 | crates/burn-autodiff/src/ops/module.rs:1980-2000 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:1729\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42b38fdc04397451b4667100e130b7ccc2153e793c941b6bfd74bae4464fec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/burn-autodiff/src/ops/module.rs:738-758 | crates/burn-autodiff/src/ops/module.rs:774-794 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:738\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25f929aa4524b9899ba55a378f0e9b20cfe0284ccc7b0c413cb4f179d21fa51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/burn-autodiff/src/ops/module.rs:888-908 | crates/burn-autodiff/src/ops/module.rs:925-945 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:888\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"598c43e39a2d6580196c0f4424386c2db89c108fcc11e5ca0c1687a49c281a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs:95-115 | crates/burn-cubecl/src/kernel/conv/backward_weight/implicit_gemm/launch.rs:95-115 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/backward_weight/implicit_gemm/launch.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7237b34ab98066bbc62a3d5fa37b469b4a8074d6c21583e7cfaefdbe4712b963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): crates/burn-cubecl/src/kernel/index/gather_nd.rs:33-51 | crates/burn-cubecl/src/kernel/index/scatter_nd.rs:33-53 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/index/gather_nd.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/index/scatter_nd.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/gather_nd.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"796aedc2c548cee7330df47b20e0bb22e62ee23a83ff3ea69ef63d47afaa30b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201321 lines \u00D7 2): crates/burn-flex/src/ops/fft.rs:695-715 | crates/burn-flex/src/ops/fft.rs:995-1007 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/fft.rs:695\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca2d5bc8722c01406995e9f4667d3f0d1d36e1024fde9217cf1d9d9d7d9be6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u201321 lines \u00D7 8): crates/burn-flex/src/simd/kernels.rs:95-115 | crates/burn-flex/src/simd/kernels.rs:138-156 | crates/burn-flex/src/simd/portable.rs:87-87 | crates/burn-flex/src/simd/portable.rs:93-93 | crates/burn-flex/src/simd/portable.rs:99-99 | crates/burn-flex/src/simd/portable.rs:105-105 | crates/burn-flex/src/simd/portable.rs:116-116 | crates/burn-flex/src/simd/portable.rs:122-122 \u2014 there are 8 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 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/simd/kernels.rs:95\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/kernels.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ec2acaeaaa378df2fe0f7e84e0d061c69c11e4f96c70ed3b509aff47b4fcbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201332 lines \u00D7 4): crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:39-66 | crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:170-201 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:40-67 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:144-174 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/pool/max_pool3d.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"25014196c257bd81f01ac5ff52aa174f841d3127584014f6b4d195b5e75e8761"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs:230-249 | crates/burn-cubecl/src/kernel/conv/backward_weight/tune.rs:233-252 \u2014 \u0060crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/backward_weight/tune.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 3 separate duplicated blocks between them, totalling at least 39 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs:230\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bd27469e446bdac60f4896ca52b6bf2f1cf612c82e2cd9d38eb9a5f25fe06d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/burn-cubecl/src/kernel/ctc.rs:494-513 | crates/burn-cubecl/src/kernel/ctc.rs:583-602 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/ctc.rs:494\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/ctc.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"7672e17888ed363f300a7a8b6eec74ea94fbd13f45d9091d3ac860739f6bb32b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/conv.rs:87-105 | crates/burn-backend/src/backend/ops/modules/conv.rs:130-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9511094cf046361187ae71b7fd4fb3eee7fda3fdf6e7533f308dccc6dbafa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:627-645 | crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:687-705 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:627\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d68ac159385daedad5313ff51006f045397cdccc0cc6ccfe479cff36be55acd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/launch/output.rs:807-825 | crates/burn-cubecl-fusion/src/engine/launch/output.rs:884-902 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/engine/launch/output.rs:807\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-cubecl-fusion/src/engine/launch/output.rs:882\u0060 calls \u0060swap\u0060 and \u0060crates/burn-cubecl-fusion/src/engine/launch/output.rs:806\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/output.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37aa80a44f88dfd7490968104f81517e0e5461c208bbc8a62f9b361a3e8e321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/burn-cubecl/src/kernel/index/slice.rs:147-165 | crates/burn-cubecl/src/kernel/index/slice_assign.rs:62-80 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/index/slice.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/index/slice_assign.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/index/slice.rs:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/slice.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2d28eb3c014c0f6ae941af6f3d941e0396adea7331d4f5264bd8aca906fdaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/burn-derive/src/config/analyzer_struct.rs:291-309 | crates/burn-derive/src/config/analyzer_struct.rs:316-334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-derive/src/config/analyzer_struct.rs:291\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/config/analyzer_struct.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b4c6497c4aeeee545193d10c030beae9465460f077365794260506027821f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:923-940 | crates/burn-flex/src/ops/conv.rs:958-976 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:923\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"96977c72590837a4034027c21a23369623590714c55d00ef5117622fe666ae8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:1283-1301 | crates/burn-flex/src/ops/conv.rs:1345-1363 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:1283\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9a9a8f2eafa441b689575a236a9f9833336472e7116706a3f05ba1b2dcd450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): crates/burn-flex/src/ops/deform_conv.rs:321-339 | crates/burn-flex/src/ops/deform_conv.rs:908-924 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/deform_conv.rs:321\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"096918df0d37bfc3142b0de0f269d8e40cd1e8cb11a614004aa0249261b48dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/burn-flex/src/ops/gather_scatter.rs:1105-1123 | crates/burn-flex/src/ops/gather_scatter.rs:1151-1169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"683e94a0a4b0411ad1edea92b276b6f296905d1de4d9c77de9327e4828ab5715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/burn-flex/src/ops/mask.rs:115-132 | crates/burn-flex/src/ops/mask.rs:149-166 | crates/burn-flex/src/ops/mask.rs:193-210 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/mask.rs:115\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 \u0060value\u0060 to \u0060f32\u0060 in one and \u0060f64\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b11f58d4f7e209ea4e2d8579ff76ebb52314645d8e84255dcfc917927e3f779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/burn-autodiff/src/ops/module.rs:1517-1534 | crates/burn-autodiff/src/ops/module.rs:1621-1638 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:1517\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7a32aac1459dfc33cc47b14a7c9579b6bff23671b16a19033f2bed3c1c4158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:532-547 | crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:722-739 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:532\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda43d41bfc6f31ec5486061e7a8042bd4f530aedfacb8e87f3fb541661b0219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:1417-1434 | crates/burn-flex/src/ops/conv.rs:1643-1660 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd0c81f0bcd6f79c7165778fa898b72016d2c9f2cbf9b7c98be895b5de70385"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:1493-1510 | crates/burn-flex/src/ops/conv.rs:1728-1745 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:1493\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a391f163da70ec6a34335bcd0acd450ef1304055c477f37c7e5f394245845a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/burn-flex/src/ops/cumulative.rs:44-61 | crates/burn-flex/src/ops/cumulative.rs:109-125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/cumulative.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c232bfcd01237b4aa89e38f85b9b9085d9101d3e5bfb989a467888cf14c07ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/burn-flex/src/ops/deform_conv.rs:173-190 | crates/burn-flex/src/ops/deform_conv.rs:810-827 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8029baa5b7a6596362f22ad37d9fd94b095eb6f674b5b99b0680b5f29642951a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/burn-flex/src/ops/fft.rs:854-871 | crates/burn-flex/src/ops/fft.rs:1050-1066 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-flex/src/ops/fft.rs:1068\u0060 calls \u0060re\u0060, \u0060im\u0060, \u0060offsets\u0060 and \u0060crates/burn-flex/src/ops/fft.rs:874\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd4bd0a7c2bccef12665eb0f0e327dac3669d9439f9c1558c8ae84a7820d51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/burn-flex/src/ops/pool.rs:1042-1059 | crates/burn-flex/src/ops/pool.rs:1088-1105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:1042\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"df08f1db45372bdc72392bd4684c15031f3ecab2e25ee83d423de3c8c37f6fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1900-1917 | crates/burn-flex/src/ops/reduce.rs:2105-2122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1900\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7145987dbfcc6136caa9de4950ceb539146f9d70280d591b374e7643079ca2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:2156-2173 | crates/burn-flex/src/ops/reduce.rs:2277-2294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:2156\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a97b08e7d89b37fda3d0784000422f96a2686e97b73224efbe37ceacc049ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): crates/burn-train/src/learner/supervised/strategies/ddp/epoch.rs:48-65 | crates/burn-train/src/learner/supervised/strategies/single/epoch.rs:46-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/learner/supervised/strategies/ddp/epoch.rs:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/ddp/epoch.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f747d6276366153307a441212607c6a8e93e1eb7456b5f7623cb47411fd01c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): crates/burn-train/src/learner/supervised/strategies/ddp/epoch.rs:122-139 | crates/burn-train/src/learner/supervised/strategies/single/epoch.rs:123-138 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/learner/supervised/strategies/ddp/epoch.rs:122\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/ddp/epoch.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f07896a10f237bd57c3a5fb997be52533c49ceca5582064cd8a7f437224844"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): crates/burn-train/src/metric/cer.rs:96-110 | crates/burn-train/src/metric/wer.rs:74-91 \u2014 before extracting anything, compare \u0060crates/burn-train/src/metric/cer.rs\u0060 and \u0060crates/burn-train/src/metric/wer.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/cer.rs:96\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/cer.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c99c55cd83a7cd35c1b124a2e2b3aea13ac1048efc991c4d006ae466e76351e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/burn-train/src/metric/processor/full.rs:55-72 | crates/burn-train/src/metric/processor/rl_processor.rs:71-88 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/full.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dffa08bf58ed1daa99bdc1102e72c7a4b316db80f42da71c5392015b6036d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/burn-train/src/metric/processor/full.rs:75-92 | crates/burn-train/src/metric/processor/rl_processor.rs:91-108 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/full.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"929fc315b46c761de38ed6dab6ffa3b233d9fd2ca7245a6df1a7e6d0496051bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): crates/burn-fusion/src/client.rs:351-367 | crates/burn-fusion/src/client.rs:396-412 | crates/burn-fusion/src/client.rs:442-458 | crates/burn-fusion/src/client.rs:487-503 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-fusion/src/client.rs:351\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/client.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b9395a3a4f0bf7855fd6506562b23afe0bf8bb68531d054071462c8c1e0ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): crates/burn-cubecl/src/kernel/ctc.rs:270-286 | crates/burn-cubecl/src/kernel/ctc.rs:493-508 | crates/burn-cubecl/src/kernel/ctc.rs:582-597 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/ctc.rs:270\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/ctc.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d6c0e0981cc21d35ad12a2763ef5081f410b79c0028457abc335a281df2692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/forward/depthwise.rs:63-78 | crates/burn-cubecl/src/kernel/conv/forward/implicit_gemm/launch.rs:119-135 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-cubecl/src/kernel/conv/forward/depthwise.rs:59\u0060 calls \u0060skip_large_filter\u0060, \u0060Err\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/forward/implicit_gemm/launch.rs:117\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/forward/depthwise.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c624c964d408d16895f58631a0c43f8e69223d393c354e71737a73676c93f480"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/burn-cubecl/src/kernel/index/slice.rs:206-222 | crates/burn-cubecl/src/kernel/index/slice_assign.rs:204-220 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/index/slice.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/index/slice_assign.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060slices\u0060 to \u0060\u0026[Slice]\u0060 in one and \u0060\u0026[burn_backend::Slice]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/slice.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a5d9951a81e4ac6e409031f677c21216a31da91181ce6c12ecd885c52f99d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:971-987 | crates/burn-flex/src/ops/conv.rs:1955-1968 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:971\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a747a88bb1994b833cb88bdd9a401872469b55f5c92faa0e266126cf426ec75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/burn-flex/src/ops/interpolate.rs:637-653 | crates/burn-flex/src/ops/interpolate.rs:853-869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/interpolate.rs:637\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb8bb8ade9838fc1bb4898ca56b2a3d20dcbfefdff98d557b6b1e20a4289551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/burn-flex/src/ops/pool.rs:267-283 | crates/burn-flex/src/ops/pool.rs:699-715 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c318b32648f44b2aaf413f29bf5d957fe6327dbd5e3a96fa250ceef779572656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1300-1316 | crates/burn-flex/src/ops/reduce.rs:1369-1385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1300\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c61dfa4c1309368df7804dba00a36cdb333627dfd7b7747bbc4a8722ad240f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:69-85 | crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:174-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"352d7384d663635e47e93a5b90da54fd65fa38e11053773414dd83f89f047624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:147-164 | crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:227-244 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:147\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:165\u0060 calls \u0060to_u8\u0060, \u0060update\u0060 and \u0060crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:245\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c494b03ef7c7db05555028265f201c5bb3bd329e3435b45b438ec01f976e5527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): crates/burn-flex/src/ops/interpolate.rs:251-266 | crates/burn-flex/src/ops/interpolate.rs:394-409 | crates/burn-flex/src/ops/interpolate.rs:576-591 | crates/burn-flex/src/ops/interpolate.rs:795-810 | crates/burn-flex/src/ops/interpolate.rs:919-934 | crates/burn-flex/src/ops/interpolate.rs:1030-1045 | crates/burn-flex/src/ops/interpolate.rs:1135-1150 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66bfd6aafc9590e0a778fb0e11b5d337a16c3968974783f05ce278bcc20798a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): crates/burn-autodiff/src/ops/module.rs:309-324 | crates/burn-autodiff/src/ops/module.rs:432-447 | crates/burn-autodiff/src/ops/module.rs:567-582 | crates/burn-autodiff/src/ops/module.rs:1020-1035 | crates/burn-autodiff/src/ops/module.rs:1157-1172 | crates/burn-autodiff/src/ops/module.rs:1283-1298 \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 \u0060crates/burn-autodiff/src/ops/module.rs:309\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b5f19b8af4a1f5ed2c731d9c1ca60120d3a3333191140ca5acb1513b7dd568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:298-313 | crates/burn-cubecl/src/kernel/pool/base.rs:28-43 | crates/burn-cubecl/src/kernel/pool/base.rs:81-96 | crates/burn-cubecl/src/kernel/pool/base.rs:189-204 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:255-270 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/pool/max_pool3d.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"71edbf62d1fcd8ca55ef1df01aa77fcf30d1e7a2baf7f67eeeddaf6c7fd4b96d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 4): crates/burn-autodiff/src/ops/tensor.rs:1220-1233 | crates/burn-autodiff/src/ops/tensor.rs:1290-1305 | crates/burn-autodiff/src/ops/tensor.rs:1992-2005 | crates/burn-autodiff/src/ops/tensor.rs:2460-2473 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1220\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-autodiff/src/ops/tensor.rs:1235\u0060 calls \u0060float_zeros\u0060, \u0060dtype\u0060, \u0060into\u0060 and \u0060crates/burn-autodiff/src/ops/tensor.rs:1306\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ade91adca45e19e86ce7b555f4785915b8a3091fc2c17e9ce52a62a90a0173e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/burn-autodiff/src/ops/module.rs:1465-1480 | crates/burn-autodiff/src/ops/module.rs:1556-1571 | crates/burn-autodiff/src/ops/module.rs:1660-1675 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:1465\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2089d8bea7865b216a46f317380831427de8d230101af2a345731369530b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): crates/burn-autodiff/src/ops/tensor.rs:1530-1545 | crates/burn-autodiff/src/ops/tensor.rs:1596-1609 | crates/burn-autodiff/src/ops/tensor.rs:2400-2413 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1530\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"1589a4eae20457d98c92edf5f69491fe40ea00bf4d4d94967d96c41df6d5c3c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/burn-cubecl/src/kernel/unary_float.rs:66-81 | crates/burn-cubecl/src/kernel/unary_int.rs:60-75 | crates/burn-cubecl/src/kernel/unary_numeric.rs:65-80 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/unary_float.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/unary_int.rs\u0060 as WHOLE FILES: this scan already matched 5 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/unary_float.rs:66\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/unary_float.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d245784d7240096e47cc93a70ec4ab341c19a89453aac9cd5f60144c21504ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 2): crates/burn-communication/src/websocket/client.rs:75-90 | crates/burn-communication/src/websocket/client.rs:158-169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-communication/src/websocket/client.rs:75\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-communication/src/websocket/client.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7929bfc9e48b77f80e19d5c080b688ef1aa884cfcf9589c85c88636af89f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/codegen/io.rs:90-105 | crates/burn-cubecl-fusion/src/engine/codegen/io.rs:123-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 \u0060crates/burn-cubecl-fusion/src/engine/codegen/io.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":"crates/burn-cubecl-fusion/src/engine/codegen/io.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"532bec24532a74d29338e34f4f73c627d7811124de2cf00a6ee6f9290e11a62c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/fuser.rs:354-369 | crates/burn-cubecl-fusion/src/engine/fuser.rs:371-386 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/fuser.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04d265d4ea03a7db0e161598e9173447eac30bcfae3c88f4c0dc0603bd8a6f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/trace/block.rs:306-321 | crates/burn-cubecl-fusion/src/engine/trace/block.rs:387-402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/engine/trace/block.rs:306\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/trace/block.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7986b0c9e92a9aa2fb8dacc623915f664a43512f497a7fc6ff59c1804c65fc6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:345-360 | crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:401-416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:345\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"9947cd7b278a2657aea21e4178091c1d11f9b71164f691d291f717899179ff66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-cubecl/src/kernel/unary_float.rs:87-102 | crates/burn-cubecl/src/kernel/unary_numeric.rs:86-101 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/unary_float.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/unary_numeric.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/unary_float.rs:87\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/unary_float.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1c85bf62e796280daf305b56540d6df181cf76ecd535c7dba10c76f35a47cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-dispatch/src/backend.rs:466-481 | crates/burn-dispatch/src/backend.rs:508-523 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-dispatch/src/backend.rs:466\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/backend.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"961fe3693c63f787e4d973863034f83d26fa25dafa5aab8e7854697a4d544f41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-flex/src/ops/activation.rs:372-387 | crates/burn-flex/src/ops/activation.rs:548-563 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/activation.rs:372\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 \u0060input\u0060 to \u0060\u0026[f32]\u0060 in one and \u0060\u0026[f64]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/activation.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7a9767159a6d71f0702974fc6036b5b4c8528c3bda2685abe9b8b56edc8db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:1993-2008 | crates/burn-flex/src/ops/conv_transpose.rs:563-578 \u2014 before extracting anything, compare \u0060crates/burn-flex/src/ops/conv.rs\u0060 and \u0060crates/burn-flex/src/ops/conv_transpose.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:1993\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"0914b218ef6c37ab883fbd9d7add203b38e2e4096579f0032835ea53df163d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-flex/src/ops/fft.rs:786-801 | crates/burn-flex/src/ops/fft.rs:976-991 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/fft.rs:786\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b953f95b47c2ce1f27a6a83f0e936ee52116b6999882328153d6ece83c9eb98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/burn-flex/src/ops/fft.rs:932-946 | crates/burn-flex/src/ops/fft.rs:1136-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 \u0060crates/burn-flex/src/ops/fft.rs:932\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3ac2ee787575ababefbf386f205520eaff262a047660ab849f632eba361fc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-flex/src/ops/gather_scatter.rs:719-734 | crates/burn-flex/src/ops/gather_scatter.rs:737-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 \u0060crates/burn-flex/src/ops/gather_scatter.rs:719\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b9e1fadbda666537085ec0b8a5eb78cae135650ea62e6b5ad58670a154473b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1227-1242 | crates/burn-flex/src/ops/reduce.rs:1311-1324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9498726d4c1b0c58b431d19ce781457470cab932e5df2c0e05d99cf17cafc5bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-flex/src/tensor.rs:857-872 | crates/burn-flex/src/tensor.rs:903-918 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/tensor.rs:857\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f9b19ab988cd15ddeee93c5a32b993bc78dba816fd43acf911e9cd07900b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-nn/src/modules/conv/conv2d.rs:82-97 | crates/burn-nn/src/modules/conv/conv3d.rs:86-101 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/conv/conv2d.rs\u0060 and \u0060crates/burn-nn/src/modules/conv/conv3d.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/conv/conv2d.rs:82\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv2d.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fa3ab9e8d9b0456dd0cd198771c62a39806da5fe817afd9528a83f4ababf5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/burn-train/src/learner/rl/paradigm.rs:333-347 | crates/burn-train/src/learner/supervised/paradigm.rs:383-398 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/paradigm.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"377d52704e4ebcc847700da09b7b3586b3b53f6e2a3bf75906892157f549ad46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/burn-train/src/learner/supervised/strategies/multi/strategy.rs:91-106 | crates/burn-train/src/learner/supervised/strategies/single/strategy.rs:103-118 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/learner/supervised/strategies/multi/strategy.rs:91\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/multi/strategy.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a794a4638a404599375487ea9a63ac49e2c6851b93397ec4b36593ba54ec402a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): crates/burn-autodiff/src/ops/module.rs:347-361 | crates/burn-autodiff/src/ops/module.rs:474-488 | crates/burn-autodiff/src/ops/module.rs:606-620 | crates/burn-autodiff/src/ops/module.rs:1062-1076 | crates/burn-autodiff/src/ops/module.rs:1196-1210 | crates/burn-autodiff/src/ops/module.rs:1325-1339 \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 \u0060crates/burn-autodiff/src/ops/module.rs:347\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bf939cfee8ea82f48d3cf22996a982dfef3a128574c2661f18584fb951d517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): crates/burn-backend/src/backend/ops/modules/conv.rs:1157-1171 | crates/burn-backend/src/backend/ops/modules/conv.rs:1237-1251 | crates/burn-backend/src/backend/ops/modules/conv.rs:1451-1465 | crates/burn-backend/src/backend/ops/modules/conv.rs:1531-1544 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1157\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1252\u0060 calls \u0060from\u0060 and \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1172\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"918b9e54648f65b88cdd8da8e240bf92165b729a2cce0cdc62a60ba50053ef8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): crates/burn-autodiff/src/ops/module.rs:709-728 | crates/burn-autodiff/src/ops/module.rs:750-767 | crates/burn-autodiff/src/ops/module.rs:786-803 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:709\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb7070591cf6bcbfcf657d78941fcb05e2b1393dda88c78bd9a9ea2f63a2b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): crates/burn-cubecl/src/kernel/binary.rs:282-295 | crates/burn-cubecl/src/kernel/binary_float.rs:202-215 | crates/burn-cubecl/src/kernel/binary_int.rs:231-245 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/binary.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/binary_float.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/binary.rs:282\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3341e16c3fc411c836f00b8eb90ee068f8058f68939f3ed7a8e72ee61dc29b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): crates/burn-flex/src/ops/pool.rs:1032-1046 | crates/burn-flex/src/ops/pool.rs:1080-1092 | crates/burn-flex/src/ops/pool.rs:1684-1696 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:1032\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c6c0e3edf55ed60bd0b5553d6806da7b2ee5cf00c4b32739a94d6db5aa4c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/burn-autodiff/src/ops/module.rs:578-592 | crates/burn-autodiff/src/ops/module.rs:616-629 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:578\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f07c8a67ead529531fe6e7e6a9995a0b7a7a7a4b95136ee059d8442b9d546b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/burn-autodiff/src/ops/module.rs:1168-1182 | crates/burn-autodiff/src/ops/module.rs:1206-1219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:1168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"96da10ce554cb728498da4441b413de7ff0cde4b761f8e7ea764f5cee0f3c3b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:203-217 | crates/burn-autodiff/src/ops/tensor.rs:272-286 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:203\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"772861e4278d59f9e3930597d350bf2491535aa27405124e24bba867aa69249a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:545-559 | crates/burn-autodiff/src/ops/tensor.rs:638-652 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:545\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d498fbf433a9046c6878ac92e97d840a6f04c886048dd35fd0537d499a431c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/conv.rs:258-272 | crates/burn-flex/src/ops/pool.rs:158-171 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:258\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e24f1d233f9e45dd265f148896f53dd321d301d44c6f5f76e99712441e4f7df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs:234-248 | crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs:426-440 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs:234\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/base.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9313b8bc4dab81a7114b286a7c1c4edaef5a857e7f29e02b04317f41cd516dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:373-387 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:341-355 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/pool/max_pool3d.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"25175e54a0415971577423a77d6383060ae1be761f255464ef74adcb97e5d342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/burn-flex/src/ops/bool.rs:80-94 | crates/burn-flex/src/ops/float.rs:138-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/bool.rs:80\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/bool.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5596c87f7ad4ddad45ba2c5e5650af7784d4952c54bcd665572960281446e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:660-674 | crates/burn-flex/src/ops/conv.rs:1991-2003 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:660\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c94853fe1c6c1d8e745fdb687d16659f757982856a405ed5cafddb3d6eb604c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/burn-flex/src/ops/gather_scatter.rs:321-334 | crates/burn-flex/src/ops/gather_scatter.rs:338-352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/gather_scatter.rs:321\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4c0a78777abca9cb89d586a3da94add0bc2879c435fc6a6206bc405e45c463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/burn-flex/src/ops/pool.rs:331-345 | crates/burn-flex/src/ops/pool.rs:761-773 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:331\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-flex/src/ops/pool.rs:330\u0060 calls \u0060as_mut_ptr\u0060 and \u0060crates/burn-flex/src/ops/pool.rs:760\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d75412be1c913a3adbb10bbb66b3c61de0be16f7a6c7409c27132ba5e66c0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): crates/burn-optim/src/optim/adamw.rs:163-177 | crates/burn-optim/src/optim/lamb.rs:75-86 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-optim/src/optim/adamw.rs:163\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/adamw.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0e04efac679540d662b6e96341ce110da2b496d6ba85961933e4c714e5e84e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/burn-store/src/burnpack.rs:115-129 | crates/burn-store/src/burnpack.rs:154-168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-store/src/burnpack.rs:115\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/burnpack.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c13628969d24cd7975a1d470e3895cbd6052ffcf0a2f926d5bd08241fb0b251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/burn-tensor/src/tensor/api/check.rs:1482-1496 | crates/burn-tensor/src/tensor/api/check.rs:1510-1524 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-tensor/src/tensor/api/check.rs:1482\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/check.rs"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e9508fbeab043d20690d568c7858ff845a1581e996b29cc6e19c96f1c505fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs:316-330 | crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs:369-383 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs:384\u0060 calls \u0060end_distance\u0060 and \u0060crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs:331\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"882bf323fb6fc30cdac915a96f429f3e5523d5e7848b2e220b0efcc8b3ddac83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): crates/burn-autodiff/src/ops/tensor.rs:4046-4059 | crates/burn-autodiff/src/ops/tensor.rs:4082-4095 | crates/burn-autodiff/src/ops/tensor.rs:4118-4131 | crates/burn-autodiff/src/ops/tensor.rs:4154-4167 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":4046}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e5791fe1fc25680ad94823431e705b3858f23a0633f3dedad2786f62df4194"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/burn-cubecl/src/kernel/binary.rs:265-278 | crates/burn-cubecl/src/kernel/binary_float.rs:185-198 | crates/burn-cubecl/src/kernel/binary_int.rs:214-227 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/binary.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/binary_float.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/binary.rs:265\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a24af218b15dfeccbc15ca0a23318763b50ea8533e287e55c6354e038c1ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/burn-cubecl/src/kernel/index/slice.rs:72-85 | crates/burn-cubecl/src/kernel/index/slice.rs:143-156 | crates/burn-cubecl/src/kernel/index/slice_assign.rs:58-71 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/index/slice.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/index/slice_assign.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/index/slice.rs:72\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/slice.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f775305f24bd00a4a6bb8cf6b011417e240ba40ec74efd002b75eb41c052541e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): crates/burn-flex/src/ops/fft.rs:855-867 | crates/burn-flex/src/ops/fft.rs:1052-1063 | crates/burn-flex/src/ops/fft.rs:1435-1448 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e69f50d8352cbf9ccc8fbf34639a24c266fbeaad2f3befe00e8f1a8ed0f636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/burn-flex/src/ops/pool.rs:1287-1300 | crates/burn-flex/src/ops/pool.rs:1579-1592 | crates/burn-flex/src/ops/pool.rs:1729-1742 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:1287\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6955c63b6bafbc74a9003baa223d09c6a2506ac507b683ad8b88f8e75fdd9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/burn-flex/src/ops/reduce.rs:1298-1311 | crates/burn-flex/src/ops/reduce.rs:1367-1380 | crates/burn-flex/src/ops/reduce.rs:1521-1534 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-flex/src/ops/reduce.rs:1296\u0060 calls \u0060Fn\u0060 and \u0060crates/burn-flex/src/ops/reduce.rs:1519\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"732952ee607118f5c68b9b6f742295c43685d8f828ced101b3abd5ad93d14993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): crates/burn-nn/src/modules/conv/conv1d.rs:87-100 | crates/burn-nn/src/modules/conv/conv2d.rs:129-141 | crates/burn-nn/src/modules/conv/conv3d.rs:135-148 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/conv/conv2d.rs\u0060 and \u0060crates/burn-nn/src/modules/conv/conv3d.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/conv/conv1d.rs:87\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv1d.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f079fa92712503c33c4e11852d75e0034ce8a47fcdf37a5a553a634bbe43428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/burn-autodiff/src/ops/module.rs:320-333 | crates/burn-autodiff/src/ops/module.rs:357-370 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:320\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e02d049c211904ebdbf94c9f94af6684ec74832c9326a502105b8e3b8e3971b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/burn-autodiff/src/ops/module.rs:443-456 | crates/burn-autodiff/src/ops/module.rs:484-496 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:443\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e278c6d15e5b746f7af54c99c01577da2c59495af11f83f9cfdc1681d915ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/burn-autodiff/src/ops/module.rs:1031-1044 | crates/burn-autodiff/src/ops/module.rs:1072-1084 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:1031\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"365437b4f67bca357e5fe62bea56946a9aff6bafb4b848131fd5d6411e56b246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/burn-autodiff/src/ops/module.rs:1294-1307 | crates/burn-autodiff/src/ops/module.rs:1335-1347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:1294\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14a583f33a3ba2ec7fcd4862b1f6d212c8e88271a56484ce0af3a08ad319654"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/conv.rs:643-656 | crates/burn-backend/src/backend/ops/modules/conv.rs:901-914 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:643\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9162cacc45cc6619878627695d9e593763b99990a75b1c2abfc0797f9cf3ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:668-680 | crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:795-808 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:795\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"df44521dc68d39cd05c18c2b0d26458768105be99bf5da31b0d82b96cf4d3864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/burn-cubecl/src/kernel/reduce/tune.rs:334-347 | crates/burn-cubecl/src/kernel/reduce/tune.rs:424-437 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/reduce/tune.rs:334\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/reduce/tune.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6ed1b22ded9ff9e2f840e80535d75640e98c85fab89d77ac4b9230a3c8fce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/burn-flex/src/ops/attention.rs:387-400 | crates/burn-flex/src/ops/attention.rs:897-910 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/attention.rs:387\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a00f882353b7dd49ea3baa276a2a6f19d30149f0a319733405374c85a72164e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/burn-flex/src/ops/attention.rs:402-415 | crates/burn-flex/src/ops/attention.rs:912-925 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/attention.rs:402\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ee102ad6d8e65cf317bcfdede3fcf53842a0217b1374c72f01ad99d82b7286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/burn-flex/src/ops/attention.rs:597-610 | crates/burn-flex/src/ops/attention.rs:968-979 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/attention.rs:597\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f392cfce721e31da7834d995af0cb969c2f0c629623b48efcc8d1e74de45410"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:1481-1491 | crates/burn-flex/src/ops/conv.rs:1711-1724 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:1481\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba196f3f1f6b8bdecc243c6de7d94d273a579483d500402830d2fc1179cfe31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/burn-flex/src/ops/interpolate.rs:320-333 | crates/burn-flex/src/ops/interpolate.rs:982-995 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/interpolate.rs:320\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1b1517df88ee6615a92a90705fac4da349b01d93620fabc42ab49444a8e5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/burn-flex/src/ops/pool.rs:1241-1254 | crates/burn-flex/src/ops/pool.rs:1660-1673 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab6059690975d3f2aea01d0c19763bf6a69d0a9cb66f7ac7c30fb50ec3bb419"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/burn-nn/src/modules/transformer/decoder.rs:467-479 | crates/burn-nn/src/modules/transformer/encoder.rs:403-416 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/transformer/decoder.rs\u0060 and \u0060crates/burn-nn/src/modules/transformer/encoder.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/transformer/decoder.rs:467\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/transformer/decoder.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"840bef7d95dddbcb8f421664d19fbe9f10705cb575925bb5c72b028ef22f7c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/burn-tensor/src/tensor/module.rs:850-863 | crates/burn-tensor/src/tensor/module.rs:877-890 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-tensor/src/tensor/module.rs:850\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/module.rs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0def7cfdc5c206be9f07778bfb25e22a0627da4ff5ff970188f40edd40da26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:95-108 | crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:199-212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:95\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:93\u0060 calls \u0060first\u0060, \u0060expect\u0060, \u0060clone\u0060 and \u0060crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:197\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7cc72dfeb54e049caa8e7a236e390f309983d7e91b754137f8863b41868ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:142-154 | crates/burn-train/src/learner/supervised/strategies/single/epoch.rs:171-184 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:142\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"00290696a2ce759cfc293b839e01558ddf595367299831f110e61417210bd771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 8): crates/burn-flex/src/ops/interpolate.rs:1093-1105 | crates/burn-flex/src/ops/interpolate.rs:1190-1202 | crates/burn-flex/src/ops/matmul.rs:729-741 | crates/burn-flex/src/ops/matmul.rs:800-811 | crates/burn-flex/src/ops/matmul.rs:878-889 | crates/burn-flex/src/ops/pool.rs:1276-1287 | crates/burn-flex/src/ops/pool.rs:1568-1579 | crates/burn-flex/src/ops/pool.rs:1718-1729 \u2014 there are 8 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/interpolate.rs:1093\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"eead69fdf05cca2556c791b4ec7b5a990943b6492f8317c53feec7828aee0704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 5): crates/burn-backend/src/backend/ops/modules/conv.rs:1158-1170 | crates/burn-backend/src/backend/ops/modules/conv.rs:1238-1250 | crates/burn-backend/src/backend/ops/modules/conv.rs:1389-1401 | crates/burn-backend/src/backend/ops/modules/conv.rs:1452-1464 | crates/burn-backend/src/backend/ops/modules/conv.rs:1532-1543 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1158\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1252\u0060 calls \u0060from\u0060 and \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1172\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dba008283ea0d9985bf13347d4f30fae23771e455378299cce85069f39ffb0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/burn-autodiff/src/ops/module.rs:2088-2100 | crates/burn-autodiff/src/ops/module.rs:2127-2139 | crates/burn-autodiff/src/ops/module.rs:2173-2185 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:2088\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":2088}}}],"partialFingerprints":{"codehealthFindingId/v1":"5545db971f33105c742100a257aac407f6491d426faec9d27cca4df5266a6aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/burn-backend/src/backend/ops/modules/conv.rs:1270-1282 | crates/burn-backend/src/backend/ops/modules/conv.rs:1298-1310 | crates/burn-backend/src/backend/ops/modules/conv.rs:1327-1339 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1270\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1311\u0060 calls \u0060from\u0060 and \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1283\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4110b5f129ba574f2cb4ccb769d956a8c5a2014661a6f37047db9ba4b505e94a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): crates/burn-fusion/src/search/merging.rs:175-185 | crates/burn-fusion/src/search/merging.rs:190-200 | crates/burn-fusion/src/search/merging.rs:205-217 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-fusion/src/search/merging.rs:175\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/search/merging.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b754aed563ce902575d42cf0662cb953571f3e7e09ce4d4c12100914ea4e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/burn-nn/src/modules/conv/conv2d.rs:90-102 | crates/burn-nn/src/modules/conv/conv3d.rs:94-106 | crates/burn-nn/src/modules/conv/deform_conv2d.rs:113-125 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/conv/conv2d.rs\u0060 and \u0060crates/burn-nn/src/modules/conv/conv3d.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv2d.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb6cc5d1d35339e150e94fc54e5b28d151d97048d4df760070bb4f3341f34b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/burn-autodiff/src/ops/module.rs:181-193 | crates/burn-autodiff/src/ops/module.rs:214-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 \u0060crates/burn-autodiff/src/ops/module.rs:181\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07d7ce405ee057db48bb9978fc1e606c0c5b28e93d34e17008c5aa2ff288eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/burn-cubecl/src/kernel/binary.rs:251-263 | crates/burn-cubecl/src/kernel/binary_int.rs:200-212 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/binary.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/binary_int.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060crates/burn-cubecl/src/kernel/binary.rs:251\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b627fe9cf5583f9c8728fb6f9bb7e673d9cacad957558c3feeb9686916bff138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:161-169 | crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs:165-177 \u2014 \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.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 5 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:161\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9be174ca587c79200aeebf5978c3a8bbe7cfa358603600d01b90fa1846fc21a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): crates/burn-flex/src/ops/deform_conv.rs:639-651 | crates/burn-flex/src/ops/matmul.rs:465-474 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/deform_conv.rs:639\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"67728bf6339557c3215abc565529f8eaadb738793f20f4b8fc0a9721ea9f75c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/burn-flex/src/ops/fft.rs:201-213 | crates/burn-flex/src/ops/fft.rs:1169-1181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"227313dc19a6973b56565c2fe6bc092fcf1acb998bc1aad2eccb1c72c4e55255"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1039-1051 | crates/burn-flex/src/ops/reduce.rs:1268-1280 \u2014 both copies are in the same file, so extract the block 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, \u0060crates/burn-flex/src/ops/reduce.rs:1038\u0060 calls \u0060with_capacity\u0060 and \u0060crates/burn-flex/src/ops/reduce.rs:1266\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf47154f9236fd299e92f5343df85ca7e5930c23dc2f7744407b8c40bdac5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1851-1863 | crates/burn-flex/src/ops/reduce.rs:2005-2017 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1851\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"039ef663a33856b05df3f7251447510c365ade79df306af37aab4d12bbf7abdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/burn-flex/src/ops/sort.rs:289-301 | crates/burn-flex/src/ops/sort.rs:366-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/sort.rs:289\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/sort.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd331d780fa6f0d561fdc689c5b7bed6f5cec861b0e667ef7261507ee4b2345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201313 lines \u00D7 3): crates/burn-flex/src/simd/portable.rs:285-297 | crates/burn-flex/src/simd/portable.rs:425-434 | crates/burn-flex/src/simd/portable.rs:437-438 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/simd/portable.rs:285\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3ea3e3967ba20d461ee8cf133a81187203e7935abea7b85ace0d548b2dca0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/burn-nn/src/loss/binary_cross_entropy.rs:43-55 | crates/burn-nn/src/loss/cross_entropy.rs:62-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/loss/binary_cross_entropy.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62d9a451362dfc0a57f4b69fed538905d43123a00d6779468d54e7bfbdbc9db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/burn-nn/src/modules/conv/conv_transpose2d.rs:106-118 | crates/burn-nn/src/modules/conv/conv_transpose3d.rs:107-119 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/conv/conv_transpose2d.rs\u0060 and \u0060crates/burn-nn/src/modules/conv/conv_transpose3d.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/conv/conv_transpose2d.rs:106\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv_transpose2d.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1f31a0351fb59a9bc85e6fd2849d6133dbb2f6c7b06c1536070cb4552937e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/burn-nn/src/modules/transformer/decoder.rs:353-365 | crates/burn-nn/src/modules/transformer/decoder.rs:438-449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/transformer/decoder.rs:353\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/transformer/decoder.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"9283c28451e1eae1539ccb6cfa6b80f1ac274fa4b00acb2f953609d8894ac123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:152-164 | crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:252-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs:152\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6577de0b5b709beff07308204ce63adde157d923736716527fbfdb09a332894f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): crates/burn-flex/src/ops/gather_scatter.rs:720-731 | crates/burn-flex/src/ops/gather_scatter.rs:738-749 | crates/burn-flex/src/ops/gather_scatter.rs:760-771 | crates/burn-flex/src/ops/gather_scatter.rs:1110-1121 | crates/burn-flex/src/ops/gather_scatter.rs:1156-1167 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"af125362cdc65b71180059915180d936a669af94b2ed0c49742f4e4c17dce44a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/burn-autodiff/src/ops/module.rs:716-727 | crates/burn-autodiff/src/ops/module.rs:755-766 | crates/burn-autodiff/src/ops/module.rs:791-802 | crates/burn-autodiff/src/ops/module.rs:826-837 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-autodiff/src/ops/module.rs:713\u0060 calls \u0060Some\u0060, \u0060retrieve_node_output\u0060 and \u0060crates/burn-autodiff/src/ops/module.rs:752\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"773c18fd51f9ed38e0209d6987cf8b38d94de02ec7369908bf1883452944e50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/burn-autodiff/src/ops/tensor.rs:205-216 | crates/burn-autodiff/src/ops/tensor.rs:274-285 | crates/burn-autodiff/src/ops/tensor.rs:1913-1924 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:205\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8e3d817a37ba4293c63e1ee6c84b9cce4ece7e43cad67713eadb71b7991f64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/burn-backend/src/backend/ops/modules/conv.rs:990-1001 | crates/burn-backend/src/backend/ops/modules/conv.rs:1017-1028 | crates/burn-backend/src/backend/ops/modules/conv.rs:1045-1056 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:990\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1029\u0060 calls \u0060from\u0060 and \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1002\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"0746bfad31dab354d14afa7535a401ab87effb5d50a1cfb09afe0f2ec401e726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): crates/burn-cubecl/src/kernel/pool/base.rs:145-154 | crates/burn-cubecl/src/kernel/pool/base.rs:240-251 | crates/burn-cubecl/src/kernel/pool/base.rs:354-363 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/pool/base.rs:240\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-cubecl/src/kernel/pool/base.rs:144\u0060 calls \u0060into_contiguous_aligned\u0060, \u0060permute_nchw_to_nhwc\u0060 and \u0060crates/burn-cubecl/src/kernel/pool/base.rs:239\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/base.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f56bcece30622749d75c35131a33dd78422491978f9b46cf87360c4f61f5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/burn-flex/src/ops/attention.rs:584-595 | crates/burn-flex/src/ops/attention.rs:955-966 | crates/burn-flex/src/ops/attention.rs:1036-1047 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/attention.rs:584\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9ad7a37dbb68de7285c65beea6c4e18c75a26507e0f9452610e42bbe60e877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/burn-flex/src/ops/interpolate.rs:476-487 | crates/burn-flex/src/ops/interpolate.rs:679-690 | crates/burn-flex/src/ops/interpolate.rs:875-886 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/interpolate.rs:476\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"277987da06d84993c9e2198c7d0d3173ec3c38784c71866bb1ec0caef53e82c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/burn-tensor/src/tensor/module.rs:595-606 | crates/burn-tensor/src/tensor/module.rs:639-650 | crates/burn-tensor/src/tensor/module.rs:1038-1049 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-tensor/src/tensor/module.rs:595\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 \u0060options\u0060 to \u0060MaxPoolOptions\u003C1\u003E\u0060 in one and \u0060MaxPoolOptions\u003C2\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/module.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c89d44911b41fd702b7921fb2f598b32cee41f9b18e3bf221df3e68ea20c64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-backend-extension/src/routing.rs:1036-1048 | crates/burn-backend-extension/src/routing.rs:1137-1148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend-extension/src/routing.rs:1036\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/routing.rs"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca00a59d19fc22c9dccd3f1c971e2708cf59358fc862c5ac0bf063d949c7636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:148-159 | crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:202-212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b98dc8f91d99499c85512fa2ed8a4745c2cbb6192bbd86294fb1b9118fa4659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:276-287 | crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs:288-299 \u2014 \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.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 5 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54d7ea5559d8023ba4b454722ca5660754f569c0b444a83dd06ccba49d1d09b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/deform_conv_transpose2d.rs:349-360 | crates/burn-cubecl/src/kernel/conv/deform_conv_transpose2d.rs:601-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/deform_conv_transpose2d.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90fd7a9947021476033d2c332f389065e9cd94ba311cc442e9b85c283cab5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-cubecl/src/kernel/reduce/base.rs:504-515 | crates/burn-cubecl/src/kernel/reduce/base.rs:616-627 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/reduce/base.rs:504\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-cubecl/src/kernel/reduce/base.rs:615\u0060 calls \u0060clone\u0060, \u0060binding\u0060 and \u0060crates/burn-cubecl/src/kernel/reduce/base.rs:503\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/reduce/base.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00d0732a58b9168d4691a2a4b985a5e160e527d7882f39acd4d593fd2da539b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-dataset/src/nlp/ag_news.rs:100-111 | crates/burn-dataset/src/vision/cifar.rs:144-155 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-dataset/src/nlp/ag_news.rs:100\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/nlp/ag_news.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3f908bf1109bb1c181a9285997a90de23c7011ed41bc7e64f93f45d6c80ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-dataset/src/nlp/text_folder.rs:214-225 | crates/burn-dataset/src/vision/image_folder.rs:576-587 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-dataset/src/nlp/text_folder.rs:214\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/nlp/text_folder.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5140f7bb52c6b236d20b6390666d5be0084bb71ceb2efd74a271423a9718e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-flex/src/ops/bool.rs:478-489 | crates/burn-flex/src/ops/bool.rs:496-507 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/bool.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc57a8df0cb7335a310761a2054609ed3ab442517b4fa47fb1652f75894a0a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/burn-flex/src/ops/deform_conv.rs:151-161 | crates/burn-flex/src/ops/deform_conv.rs:482-493 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3070f298a92057b1c8cb166c62c20a285250de401968f1055e670f0c356281a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-flex/src/ops/pool.rs:1477-1488 | crates/burn-flex/src/ops/pool.rs:1670-1681 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:1477\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d597123e4d6c95f912e727495da359eb05dbc8e170e7057959ffae23ab752bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-flex/src/ops/pool.rs:1555-1566 | crates/burn-flex/src/ops/pool.rs:1705-1716 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:1555\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec790e95897caef0ed5f4bb60cb37ffbe046826ec8c61aa57f4d417e599c404b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-flex/src/simd/kernels.rs:210-221 | crates/burn-flex/src/simd/kernels.rs:240-251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/simd/kernels.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/kernels.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cbbeac540c94b377107fc631d0bb0f8550ba4e13c87e628cd30da170b5e3b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-nn/src/modules/rnn/basic.rs:333-344 | crates/burn-nn/src/modules/rnn/gru.rs:385-396 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/rnn/basic.rs\u0060 and \u0060crates/burn-nn/src/modules/rnn/gru.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/rnn/basic.rs:333\u0060 it does not close everything it opens, so those exact 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 \u0060state\u0060 to \u0060Option\u003CRnnState\u003C3\u003E\u003E\u0060 in one and \u0060Option\u003CTensor\u003C3\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/rnn/basic.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f4d9865ee954a160f4a72726db14a991a1e0b23761f43cca7decdaaf6a59d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-train/src/metric/processor/metrics.rs:285-296 | crates/burn-train/src/metric/processor/metrics.rs:317-328 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/processor/metrics.rs:285\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/metrics.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c11a431665a7ea586710e9806af7b1d0eb490ae0ba4293415e4de0b54cfa0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/burn-autodiff/src/ops/tensor.rs:245-255 | crates/burn-autodiff/src/ops/tensor.rs:314-324 | crates/burn-autodiff/src/ops/tensor.rs:601-611 | crates/burn-autodiff/src/ops/tensor.rs:692-702 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"576b443edc6d1a938a00f98ae8b5a1d3ded8575e76cb5635d566a93b6b6a8b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/burn-flex/src/ops/mask.rs:443-453 | crates/burn-flex/src/ops/mask.rs:483-493 | crates/burn-flex/src/ops/mask.rs:533-543 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/mask.rs:443\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8aa0282d3b63baa54d24c2b080e42d44cd0d56508d816cab1d1660cad78455"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/burn-flex/src/ops/matmul.rs:336-346 | crates/burn-flex/src/ops/matmul.rs:673-683 | crates/burn-flex/src/ops/matmul.rs:827-837 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-flex/src/ops/matmul.rs:688\u0060 calls \u0060iter\u0060, \u0060product\u0060 and \u0060crates/burn-flex/src/ops/matmul.rs:843\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/matmul.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa79bb10bdbe29bde18db6540e4ceb141ff7e146f2c5ffc652ccc17bb3ee5de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): crates/burn-flex/src/ops/reduce.rs:1226-1236 | crates/burn-flex/src/ops/reduce.rs:1310-1318 | crates/burn-flex/src/ops/reduce.rs:1379-1387 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"55871d4e4c0be40f6b9b77f3835d817597c3107323075abb3e9a0af5d1d24ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/burn-flex/src/simd/portable.rs:1731-1740 | crates/burn-flex/src/simd/portable.rs:1776-1785 | crates/burn-flex/src/simd/portable.rs:2058-2068 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/simd/portable.rs:1731\u0060 it does not close everything it opens, so those exact 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 \u0060a\u0060 to \u0060\u0026[u8]\u0060 in one and \u0060\u0026mut [u8]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92cbaa99c6b830334e17f5ba53aaf394e30f4c85c5ad84fe6afad8fc0e49036"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/burn-nn/src/modules/conv/conv_transpose1d.rs:110-120 | crates/burn-nn/src/modules/conv/conv_transpose2d.rs:111-121 | crates/burn-nn/src/modules/conv/conv_transpose3d.rs:112-122 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/conv/conv_transpose1d.rs\u0060 and \u0060crates/burn-nn/src/modules/conv/conv_transpose2d.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv_transpose1d.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8063b768d4a17499e8743588e99686ef74a31926641c648615c28ccb06b644e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/burn-nn/src/modules/conv/conv_transpose1d.rs:150-160 | crates/burn-nn/src/modules/conv/conv_transpose2d.rs:151-161 | crates/burn-nn/src/modules/conv/conv_transpose3d.rs:152-162 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/conv/conv_transpose1d.rs\u0060 and \u0060crates/burn-nn/src/modules/conv/conv_transpose2d.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060input\u0060 to \u0060\u0026Tensor\u003C3\u003E\u0060 in one and \u0060\u0026Tensor\u003C4\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv_transpose1d.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ce6145fefb20812695049a5d1877ebf42587e84cdc75334dec5259dda7c15a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/burn-router/src/interpreter.rs:1985-1995 | crates/burn-router/src/interpreter.rs:2030-2040 | crates/burn-router/src/interpreter.rs:2075-2085 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-router/src/interpreter.rs:1985\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee0072b45c69f7c23410e46b35ef129e6a522db96075810155a974862cc559b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/burn-signal/src/functions/blackman_window.rs:59-69 | crates/burn-signal/src/functions/hamming_window.rs:38-48 | crates/burn-signal/src/functions/hann_window.rs:38-48 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-signal/src/functions/blackman_window.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb47595fe6f25abef101aec717b65e1dd630c7b4d1df581b0c1e78e454a4291d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:4419-4429 | crates/burn-autodiff/src/ops/tensor.rs:4493-4503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:4419\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":4419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f720a9fc1523cd056bd00f0feab44d22e2fc2b53281961dd87d44b4952831a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/attention.rs:538-548 | crates/burn-backend/src/backend/ops/modules/attention.rs:569-579 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/attention.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f944edb46da4bf1426a6c0eed9d742073e6ca34ae4f78431bc2300d4bfce5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/conv.rs:544-554 | crates/burn-backend/src/backend/ops/modules/conv.rs:814-824 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:544\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae68de2fde30a11b36eaa384796fa89045f06234d8a34156da3349e9c6a6780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/ctc.rs:380-389 | crates/burn-backend/src/backend/ops/modules/ctc.rs:397-407 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/ctc.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fa73aaa374abe82ff6075548f33891a0dc2d1815eda329e760416054307038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:121-131 | crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:133-143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"073def070314a3c74ad1ea66320412e1f47338e90aca4314bcbe091ae11bfea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/burn-cubecl-fusion/src/optim/reduce/optimization.rs:475-485 | crates/burn-cubecl-fusion/src/optim/reduce_broadcasted/fuser/full.rs:86-95 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/optim/reduce/optimization.rs:475\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce/optimization.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"5516777c9f3aa40eaa12cd068a3726cbaf3e7c5e18e5e683f6cb67438ce93898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-cubecl/src/kernel/comparison.rs:211-221 | crates/burn-cubecl/src/kernel/comparison.rs:280-290 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/comparison.rs:211\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/comparison.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"364f21962c19c93ce95323bc54c01180d624b993adbd61848c298073336b2af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/backward_weight/tune.rs:232-242 | crates/burn-cubecl/src/kernel/conv/forward/tune.rs:247-257 \u2014 \u0060crates/burn-cubecl/src/kernel/conv/backward_weight/tune.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/forward/tune.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 3 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_weight/tune.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"274bc0103c21d8fe9d4de5c71d45c82cc5485a22eccfc1052e4a004542d9756a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-cubecl/src/kernel/index/scatter.rs:98-108 | crates/burn-cubecl/src/kernel/index/select_assign.rs:83-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 \u0060crates/burn-cubecl/src/kernel/index/scatter.rs:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/scatter.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4202114bfdb0f0320e77c57713e32bab8995fa489f8b36525c8a4bc4d756912c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-cubecl/src/ops/collective.rs:479-489 | crates/burn-cubecl/src/ops/collective.rs:493-503 \u2014 both copies are in the same file, so extract the block 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 \u0060buffers\u0060 to \u0060Vec\u003CMemberBuffers\u003E\u0060 in one and \u0060MemberBuffers\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/collective.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"1838b85e7f3e07f4bbf2b4803f434a2e30b45f23bd8f2ccaf501e140f6af6213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-dispatch/src/backend.rs:569-579 | crates/burn-dispatch/src/backend.rs:700-710 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-dispatch/src/backend.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":"crates/burn-dispatch/src/backend.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4dc17d54239fa3bef65bbf26500e09d85e29689dbeed0a165b1438696fffa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-flex/src/ops/activation.rs:723-733 | crates/burn-flex/src/ops/activation.rs:852-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 \u0060crates/burn-flex/src/ops/activation.rs:723\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/activation.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"771f2b8f74137c29b9e36cd2988e9f67061e8a51a8ce63969fc16679613d328d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-flex/src/ops/attention.rs:259-269 | crates/burn-flex/src/ops/attention.rs:765-775 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbbbbbb16b693396e36b3b8a6a74e722353583528ce4e36206adb5d46c053c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:258-267 | crates/burn-flex/src/ops/conv_transpose.rs:267-277 \u2014 before extracting anything, compare \u0060crates/burn-flex/src/ops/conv.rs\u0060 and \u0060crates/burn-flex/src/ops/conv_transpose.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 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 \u0060options\u0060 to \u0060\u0026ConvOptions\u003C2\u003E\u0060 in one and \u0060\u0026ConvTransposeOptions\u003C2\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f1dca108fafe9bc803f33b780404e1cbb05c7b97e46374ba198fd5b56ac27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:911-921 | crates/burn-flex/src/ops/conv.rs:946-956 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:911\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"d163ef59fa1779f9719fea95a4cad29b47b7d54432e56b4c8c7ff6e5c0a4b82e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/burn-flex/src/ops/fft.rs:287-303 | crates/burn-flex/src/ops/fft.rs:304-321 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/fft.rs:287\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"763b3a66766fe0bf2a9c6fd7488ebe50a0a6993483a95ebe52bf48e240c11405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/burn-flex/src/ops/gather_scatter.rs:572-581 | crates/burn-flex/src/ops/gather_scatter.rs:1125-1135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/gather_scatter.rs:572\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"4213fce1ea25e97c90f623d0ceca3eb1f4b361aba8a8d3bb66a4f7a7d245fa0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): crates/burn-flex/src/ops/gather_scatter.rs:848-858 | crates/burn-flex/src/ops/gather_scatter.rs:894-902 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/gather_scatter.rs:848\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a24bfb60591a3c19030641964a5d238d4d16461e19865cbe9986093489ec2c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-flex/src/ops/interpolate.rs:1049-1059 | crates/burn-flex/src/ops/interpolate.rs:1154-1164 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/interpolate.rs:1049\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a7e359dbe21b2ce8154a9a6abede34d3a773f3af5b5b1ea11a18c4757ace39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-flex/src/ops/pool.rs:295-305 | crates/burn-flex/src/ops/pool.rs:736-746 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:295\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ef6dff88a046d02c11fcef905809cd53a1c448eb6151a427027baf8af6f159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-flex/src/ops/pool.rs:770-780 | crates/burn-flex/src/ops/pool.rs:800-810 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:770\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c46adc24eb680e914826632e5f98d4e69604284fff358b9190d641f746c4afd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1088-1098 | crates/burn-flex/src/ops/reduce.rs:1132-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 \u0060crates/burn-flex/src/ops/reduce.rs:1088\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabc4581059e1cb6ec0431d580c67ced7572ed997fc3a709b952db8861ae867e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-fusion/src/search/merging.rs:146-156 | crates/burn-fusion/src/search/merging.rs:161-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-fusion/src/search/merging.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":"crates/burn-fusion/src/search/merging.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"de97d708951f77a95316f5935c2e5103265a2caf2a71433f0cff2f18e152edb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-ir/src/builder.rs:1723-1733 | crates/burn-ir/src/builder.rs:1760-1770 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/builder.rs"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"f146c9405677e525337c9326b42ee072698f20e7674a6f0931ac1c25348382d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/burn-linalg/src/check.rs:54-63 | crates/burn-linalg/src/check.rs:79-89 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-linalg/src/check.rs:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/check.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"23812db9182ff053f04887e0929ffa10f451a05d8d040a614d72f82f30639327"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-router/src/interpreter.rs:1748-1758 | crates/burn-router/src/interpreter.rs:1771-1781 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"020123db7e8ab813c9b033040c7324c933cb9b9c3ced9b86471fbcfc0b66f068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-train/src/metric/vision/fid/inception.rs:89-99 | crates/burn-train/src/metric/vision/fid/inception.rs:214-224 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/vision/fid/inception.rs:89\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/fid/inception.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"083ec2425e4dde5b4e2b0ee2fa214f2677f1fa9332bc5dd65da87a20a9424f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-train/src/renderer/tui/full_history.rs:125-136 | crates/burn-train/src/renderer/tui/recent_history.rs:94-105 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/renderer/tui/full_history.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecaf2ea6c02e262c3c7f5396e39c7d97a7b23c4a0be6373cd90b33dd32a0a2b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 14): crates/burn-autodiff/src/ops/tensor.rs:856-865 | crates/burn-autodiff/src/ops/tensor.rs:3233-3242 | crates/burn-autodiff/src/ops/tensor.rs:3271-3280 | crates/burn-autodiff/src/ops/tensor.rs:3412-3421 | crates/burn-autodiff/src/ops/tensor.rs:3492-3501 | crates/burn-autodiff/src/ops/tensor.rs:3531-3540 | crates/burn-autodiff/src/ops/tensor.rs:3611-3620 | crates/burn-autodiff/src/ops/tensor.rs:3648-3657 | crates/burn-autodiff/src/ops/tensor.rs:3725-3734 | crates/burn-autodiff/src/ops/tensor.rs:3765-3774 | crates/burn-autodiff/src/ops/tensor.rs:3806-3815 | crates/burn-autodiff/src/ops/tensor.rs:3846-3855 | crates/burn-autodiff/src/ops/tensor.rs:3887-3896 | crates/burn-autodiff/src/ops/tensor.rs:3928-3937 \u2014 all 14 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:856\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-autodiff/src/ops/tensor.rs:3281\u0060 calls \u0060float_add_scalar\u0060, \u0060into\u0060 and \u0060crates/burn-autodiff/src/ops/tensor.rs:3243\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"600856cd2c9736e9502c32ad8f9f4a8380a31f3c74e50e88bc2fecd4524ec737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 8): crates/burn-autodiff/src/ops/module.rs:174-181 | crates/burn-autodiff/src/ops/module.rs:309-316 | crates/burn-autodiff/src/ops/module.rs:432-439 | crates/burn-autodiff/src/ops/module.rs:567-574 | crates/burn-autodiff/src/ops/module.rs:1020-1027 | crates/burn-autodiff/src/ops/module.rs:1157-1164 | crates/burn-autodiff/src/ops/module.rs:1283-1290 | crates/burn-autodiff/src/ops/module.rs:2300-2309 \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 \u0060crates/burn-autodiff/src/ops/module.rs:174\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced523eefbfc46b240b79da9ebf5b7fcfdf5361d1eff350be3411f0f55fffdc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 7): crates/burn-autodiff/src/ops/module.rs:379-387 | crates/burn-autodiff/src/ops/module.rs:506-514 | crates/burn-autodiff/src/ops/module.rs:639-647 | crates/burn-autodiff/src/ops/module.rs:963-971 | crates/burn-autodiff/src/ops/module.rs:1094-1103 | crates/burn-autodiff/src/ops/module.rs:1229-1237 | crates/burn-autodiff/src/ops/module.rs:1357-1366 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:379\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"be521ef61b150a2e1260da5706a9ac4fdaa708734206dbb3c037d3bd32c3b1f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 7): crates/burn-flex/src/ops/conv.rs:253-261 | crates/burn-flex/src/ops/conv.rs:1415-1423 | crates/burn-flex/src/ops/conv.rs:1640-1648 | crates/burn-flex/src/ops/conv_transpose.rs:263-272 | crates/burn-flex/src/ops/deform_conv.rs:144-152 | crates/burn-flex/src/ops/deform_conv.rs:477-485 | crates/burn-flex/src/ops/deform_conv.rs:783-791 \u2014 before extracting anything, compare \u0060crates/burn-flex/src/ops/conv.rs\u0060 and \u0060crates/burn-flex/src/ops/conv_transpose.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed684b93a536a290641ea5be16165c581c30b1d24ea80bd254ddca33cecc1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/burn-autodiff/src/ops/tensor.rs:347-356 | crates/burn-autodiff/src/ops/tensor.rs:541-550 | crates/burn-autodiff/src/ops/tensor.rs:634-643 | crates/burn-autodiff/src/ops/tensor.rs:723-732 | crates/burn-autodiff/src/ops/tensor.rs:785-794 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:347\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-autodiff/src/ops/tensor.rs:358\u0060 calls \u0060float_mul\u0060, \u0060unwrap\u0060 and \u0060crates/burn-autodiff/src/ops/tensor.rs:554\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a933696fe50c0e13e572fd393fcc0afbe062bbf3122b8dfc9fd79315716e59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 4): crates/burn-autodiff/src/ops/tensor.rs:1227-1235 | crates/burn-autodiff/src/ops/tensor.rs:1537-1546 | crates/burn-autodiff/src/ops/tensor.rs:1999-2007 | crates/burn-autodiff/src/ops/tensor.rs:2407-2414 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1227\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e45619b8db19b6651296c86b1034a8e254c80ce77f83acda91589f6a49f66a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/burn-flex/src/ops/reduce.rs:881-890 | crates/burn-flex/src/ops/reduce.rs:1225-1234 | crates/burn-flex/src/ops/reduce.rs:1307-1316 | crates/burn-flex/src/ops/reduce.rs:1376-1385 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:881\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7163a22541a0a550c18df60e2e043708435af6dd0c1877e483bb165eda40d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:148-157 | crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:192-201 | crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:228-237 | crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:254-263 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:222\u0060 calls \u0060index_axis\u0060, \u0060Axis\u0060, \u0060slice_mut\u0060 and \u0060crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:191\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4757084a74c040cf8ba41d25636134535c261c5d04fd9fb097821cb084d3e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/burn-cubecl-fusion/src/engine/trace/block.rs:190-200 | crates/burn-cubecl-fusion/src/engine/trace/block.rs:308-318 | crates/burn-cubecl-fusion/src/engine/trace/block.rs:389-399 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/trace/block.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ab0c9b1c5c8fc0c26e96a55a8de56065cbfecd7893ea6d083f7fb9305858c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs:282-291 | crates/burn-cubecl/src/kernel/conv/backward_weight/tune.rs:291-300 | crates/burn-cubecl/src/kernel/conv/forward/tune.rs:297-306 \u2014 \u0060crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/backward_weight/tune.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 3 separate duplicated blocks between them, totalling at least 39 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"867a612a9378f5f5230ed24780ed22339a326625b2f79188b042ec491f3dfc93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): crates/burn-flex/src/ops/binary.rs:252-261 | crates/burn-flex/src/ops/bool.rs:169-177 | crates/burn-flex/src/ops/comparison.rs:285-293 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/binary.rs:252\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/binary.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d843bc032f29c035115424f197e2c0de8e41bfd65bfe5ba35607516ecb8e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/burn-flex/src/ops/pool.rs:264-273 | crates/burn-flex/src/ops/pool.rs:696-705 | crates/burn-flex/src/ops/pool.rs:1006-1015 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd555cc0ab1d33f6cba0648ed7abc1caa0610630c5ea7dc534f8c7863cf5f9ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-autodiff/src/ops/base.rs:224-233 | crates/burn-autodiff/src/ops/base.rs:255-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":"crates/burn-autodiff/src/ops/base.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"264debabe7967bf6bf5a4e8094394f60806f621ce6248275cc665e7831bc41a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/burn-autodiff/src/ops/module.rs:38-47 | crates/burn-autodiff/src/ops/module.rs:812-819 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c18a437a3694d705bcd8d9b49e84db5e2834593cf8cec24a456d90b8ca5a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:1068-1077 | crates/burn-autodiff/src/ops/tensor.rs:4595-4604 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1068\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd36850b671763db99b211585c41afa7c487a347550b5dc0b10ae55b50c0a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:1775-1784 | crates/burn-autodiff/src/ops/tensor.rs:2338-2347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1775\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1775}}}],"partialFingerprints":{"codehealthFindingId/v1":"62593869fddf7f6f889b0ac4424816009efc9c312028c94df30c09133beff2cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:193-202 | crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs:195-204 \u2014 \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.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 5 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8be546999a20cec38f3461cb4377b87b0dc7d8a3d3ffadc01502975af09baf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-derive/src/config/analyzer_enum.rs:122-131 | crates/burn-derive/src/config/analyzer_struct.rs:375-384 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-derive/src/config/analyzer_enum.rs:122\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/config/analyzer_enum.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b19168739d75124ee80a13f601669dcb3e9732f24d0cf5f69ee734212302eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-flex/src/ops/binary.rs:125-134 | crates/burn-flex/src/ops/binary.rs:150-159 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/binary.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":"crates/burn-flex/src/ops/binary.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e7fb20f96978f1dc4a1f7d139222143ea3e65b230175db938543377bd1c435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:374-383 | crates/burn-flex/src/ops/pool.rs:1019-1027 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:374\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c521e6f9dc41dc9d127b574a4798c5980dda8447fe4010c781afa7beb59534e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/burn-flex/src/ops/gather_scatter.rs:300-308 | crates/burn-flex/src/ops/gather_scatter.rs:310-319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/gather_scatter.rs:310\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"44db5a3bd61f15b085d02656a16ecc3cf762e46bb32d4868c4664e1c2b0fb650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-flex/src/ops/interpolate.rs:623-632 | crates/burn-flex/src/ops/interpolate.rs:842-851 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/interpolate.rs:623\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"5340ea2ce01b89465d9accd071e1843177e56b1968d18ecec466e8875bfc3cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-flex/src/ops/interpolate.rs:698-707 | crates/burn-flex/src/ops/interpolate.rs:894-903 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/interpolate.rs:698\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e2e21bc474b325f4f831e4ba31636f471e9cab20015d4302d0b9e037599488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-flex/src/ops/pool.rs:788-798 | crates/burn-flex/src/ops/pool.rs:1068-1078 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:788\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cde2227494e7eeae7e741e875b55e596fb7bc347436344337afce9ca06d9bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1022-1031 | crates/burn-flex/src/ops/reduce.rs:1252-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b9432e990d38302320803c646c4be49a4e944c86e6a35ec18140a02baf51ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1326-1335 | crates/burn-flex/src/ops/reduce.rs:1395-1404 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1326\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bc25066954e26e12a1784b2250c8a75a534dcb5875e888f4e5664ca5e12e0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1882-1891 | crates/burn-flex/src/ops/reduce.rs:1939-1944 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1882\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e31bbeffd7b2282fbc7d186a86c7e6296e5be81fc2e45dd100532bff6de0b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-flex/src/ops/slice.rs:195-204 | crates/burn-flex/src/ops/slice.rs:226-235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/slice.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"813965f37ccd6fdbf5c712e87f24317c70cbef60b7c3358204717537ed5a0a89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-instrument-report/src/components.rs:137-146 | crates/burn-instrument/src/breakdown/base.rs:405-414 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-instrument-report/src/components.rs:137\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-instrument-report/src/components.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e32d62456556cf081d4253ec6a1c1dedcfdef0903a41b88886a123c3f92e0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/burn-nn/src/modules/conv/conv3d.rs:155-163 | crates/burn-nn/src/modules/pool/max_pool3d.rs:93-102 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv3d.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee51ea313ad4a9332c62aaee4712b40ec1015077066817addc0b4ac9ccabe33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-nn/src/modules/transformer/decoder.rs:103-112 | crates/burn-nn/src/modules/transformer/encoder.rs:101-110 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/transformer/decoder.rs\u0060 and \u0060crates/burn-nn/src/modules/transformer/encoder.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 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":"crates/burn-nn/src/modules/transformer/decoder.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a32f603ec1524ed29a23b93b05f231a35e5bead6d50413292443aa6bf05e955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-nn/src/modules/transformer/decoder.rs:377-386 | crates/burn-nn/src/modules/transformer/encoder.rs:344-354 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/transformer/decoder.rs\u0060 and \u0060crates/burn-nn/src/modules/transformer/encoder.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/transformer/decoder.rs:377\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/transformer/decoder.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0cb120e6cdfd65e5faa98784549496c54a706bca552d0aa38cffe660f92e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-train/src/learner/rl/paradigm.rs:90-99 | crates/burn-train/src/learner/supervised/paradigm.rs:99-108 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/learner/rl/paradigm.rs:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/paradigm.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0691d33d22a08b3c161799b888dc3f6b1fb01ce51fc5e558453e1e694fdde7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-train/src/metric/precision.rs:107-116 | crates/burn-train/src/metric/recall.rs:104-113 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/precision.rs:107\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/precision.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d89932ccf6603a9126ccdcfe887a66cb9f6865b47fe22d047ae4c5ea6950d39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-train/src/metric/processor/full.rs:364-373 | crates/burn-train/src/metric/processor/minimal.rs:144-153 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-train/src/metric/processor/full.rs:374\u0060 calls \u0060end_split\u0060 and \u0060crates/burn-train/src/metric/processor/minimal.rs:154\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/full.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6aff70d162a36b2ec2a0b848fdeefd6ccf1703a3d0b8926c6b0b587329736a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/burn-train/src/renderer/tui/metric_numeric.rs:114-123 | crates/burn-train/src/renderer/tui/metric_numeric.rs:135-143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/renderer/tui/metric_numeric.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 \u0060self\u0060 to \u0060crate) fn update_progress_valid(\u0026mut\u0060 in one and \u0060crate) fn update_progress_test(\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/renderer/tui/metric_numeric.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c450af58f62d400df3e4b1b9b4b8bd88b972c4e13328acc18d95bc8f9f92754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 12): crates/burn-autodiff/src/ops/module.rs:126-134 | crates/burn-autodiff/src/ops/tensor.rs:912-920 | crates/burn-autodiff/src/ops/tensor.rs:2741-2749 | crates/burn-autodiff/src/ops/tensor.rs:2780-2788 | crates/burn-autodiff/src/ops/tensor.rs:2851-2859 | crates/burn-autodiff/src/ops/tensor.rs:2885-2893 | crates/burn-autodiff/src/ops/tensor.rs:2922-2930 | crates/burn-autodiff/src/ops/tensor.rs:4048-4055 | crates/burn-autodiff/src/ops/tensor.rs:4084-4091 | crates/burn-autodiff/src/ops/tensor.rs:4120-4127 | crates/burn-autodiff/src/ops/tensor.rs:4156-4163 | crates/burn-autodiff/src/ops/tensor.rs:4730-4738 \u2014 there are 12 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 12 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3743f0293a3ba250c2d9d25aa15315361e03149e7dd3c194a60b16e6342c9da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 8): crates/burn-flex/src/ops/conv.rs:252-259 | crates/burn-flex/src/ops/conv.rs:1414-1422 | crates/burn-flex/src/ops/conv.rs:1639-1647 | crates/burn-flex/src/ops/conv.rs:1846-1854 | crates/burn-flex/src/ops/conv_transpose.rs:262-269 | crates/burn-flex/src/ops/deform_conv.rs:143-151 | crates/burn-flex/src/ops/deform_conv.rs:476-484 | crates/burn-flex/src/ops/deform_conv.rs:782-790 \u2014 before extracting anything, compare \u0060crates/burn-flex/src/ops/conv.rs\u0060 and \u0060crates/burn-flex/src/ops/conv_transpose.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-flex/src/ops/deform_conv.rs:139\u0060 calls \u0060to_contiguous\u0060, \u0060layout\u0060, \u0060shape\u0060 and \u0060crates/burn-flex/src/ops/conv.rs:250\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c34399756e762fe635f02340c4b1b9112860efa3c1f2cad18e4f6ee829bb32a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 7): crates/burn-autodiff/src/ops/module.rs:399-406 | crates/burn-autodiff/src/ops/module.rs:531-538 | crates/burn-autodiff/src/ops/module.rs:659-666 | crates/burn-autodiff/src/ops/module.rs:1120-1128 | crates/burn-autodiff/src/ops/module.rs:1249-1256 | crates/burn-autodiff/src/ops/module.rs:1383-1391 | crates/burn-autodiff/src/ops/tensor.rs:4529-4536 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:399\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62b13e46cf6a4d4ea06acb24c2e46c87d70fc6258291f035b2b8e7298d9a08a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20139 lines \u00D7 8): crates/burn-autodiff/src/ops/tensor.rs:343-351 | crates/burn-autodiff/src/ops/tensor.rs:435-443 | crates/burn-autodiff/src/ops/tensor.rs:537-545 | crates/burn-autodiff/src/ops/tensor.rs:630-638 | crates/burn-autodiff/src/ops/tensor.rs:719-727 | crates/burn-autodiff/src/ops/tensor.rs:781-789 | crates/burn-autodiff/src/ops/tensor.rs:2096-2099 | crates/burn-autodiff/src/ops/tensor.rs:3971-3979 \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 \u0060crates/burn-autodiff/src/ops/tensor.rs:343\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-autodiff/src/ops/tensor.rs:444\u0060 calls \u0060duplicate\u0060 and \u0060crates/burn-autodiff/src/ops/tensor.rs:353\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df3859cdf5d53a40188b5ffe76843d4f4365c3aec4291224327e596987c28b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/burn-autodiff/src/ops/tensor.rs:464-472 | crates/burn-autodiff/src/ops/tensor.rs:562-570 | crates/burn-autodiff/src/ops/tensor.rs:743-751 | crates/burn-autodiff/src/ops/tensor.rs:4009-4017 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:464\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"558421aec23ee3d957d10c13c9263e0027820a79512034133908d21ed08c2c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/burn-autodiff/src/ops/tensor.rs:1118-1126 | crates/burn-autodiff/src/ops/tensor.rs:1218-1226 | crates/burn-autodiff/src/ops/tensor.rs:1836-1844 | crates/burn-autodiff/src/ops/tensor.rs:1990-1998 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1118\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"72341880ef3d049957d4ccee78d525d70cedee981c8e7fc781233eab9ca4199c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/burn-backend/src/backend/ops/modules/conv.rs:1026-1034 | crates/burn-backend/src/backend/ops/modules/conv.rs:1055-1063 | crates/burn-backend/src/backend/ops/modules/conv.rs:1308-1316 | crates/burn-backend/src/backend/ops/modules/conv.rs:1338-1346 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1026\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1054\u0060 calls \u0060from\u0060 and \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:1025\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d31eb09be4b47545f61ab41015b89ba8aa16b9b69340dc13485a91c8fa6ec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): crates/burn-autodiff/src/ops/module.rs:849-857 | crates/burn-autodiff/src/ops/module.rs:889-896 | crates/burn-autodiff/src/ops/module.rs:926-933 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:849\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-autodiff/src/ops/module.rs:858\u0060 calls \u0060checkpoint\u0060 and \u0060crates/burn-autodiff/src/ops/module.rs:897\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a85a6452a4d544808aba7520cbad382756f63af01c28a03b1580cfe728223b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): crates/burn-autodiff/src/ops/tensor.rs:377-384 | crates/burn-autodiff/src/ops/tensor.rs:668-676 | crates/burn-autodiff/src/ops/tensor.rs:2136-2143 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:377\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"60eb5e2e56210792de20c64a8b7129836ec89cd0098a38cc0d72fba35d21c8b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/burn-autodiff/src/ops/tensor.rs:1020-1028 | crates/burn-autodiff/src/ops/tensor.rs:2817-2825 | crates/burn-autodiff/src/ops/tensor.rs:4779-4787 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1020\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acf399d4fe767f67ab1a9463147bb41ae19aae417570c5232378a7cc5d1e426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs:112-120 | crates/burn-cubecl/src/kernel/conv/backward_weight/implicit_gemm/launch.rs:112-120 | crates/burn-cubecl/src/kernel/conv/forward/implicit_gemm/launch.rs:147-155 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/backward_weight/implicit_gemm/launch.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df8bcbf6616640f961049d9b46150a3e42e8ad6a48d1d1d2b642eca2bd757dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/burn-cubecl/src/kernel/unary_float.rs:56-64 | crates/burn-cubecl/src/kernel/unary_int.rs:50-58 | crates/burn-cubecl/src/kernel/unary_numeric.rs:55-63 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/unary_float.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/unary_int.rs\u0060 as WHOLE FILES: this scan already matched 5 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/unary_float.rs:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/unary_float.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc1158e9ffbaf0b9b0b9dfff68c34b7b33f5f18a75740fef29502366bd655c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20139 lines \u00D7 4): crates/burn-flex/src/ops/mask.rs:102-110 | crates/burn-flex/src/ops/mask.rs:136-144 | crates/burn-flex/src/ops/mask.rs:180-188 | crates/burn-flex/src/ops/mask.rs:226-229 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/mask.rs:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060f32\u0060 in one and \u0060f64\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, \u0060crates/burn-flex/src/ops/mask.rs:110\u0060 calls \u0060num_elements\u0060 and \u0060crates/burn-flex/src/ops/mask.rs:229\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"df74f26e1940f59892caa53c36792e2fb6dd6ff452d624aa31e03f04b4e5015e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/burn-fusion/src/stream/context.rs:444-452 | crates/burn-fusion/src/stream/context.rs:457-465 | crates/burn-fusion/src/stream/context.rs:480-488 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-fusion/src/stream/context.rs:444\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20ec0e90c0c43e7723d4f96eca872d81758b6bad8a39ea4923463780db3a484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/burn-fusion/src/stream/context.rs:543-551 | crates/burn-fusion/src/stream/context.rs:577-585 | crates/burn-fusion/src/stream/context.rs:611-619 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-fusion/src/stream/context.rs:543\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"922aafca8ed634bda6246362d081ab46033259a1192fa5082b3174a27268bc2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/burn-fusion/src/stream/context.rs:556-564 | crates/burn-fusion/src/stream/context.rs:590-598 | crates/burn-fusion/src/stream/context.rs:624-632 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-fusion/src/stream/context.rs:556\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bed689e9effeff552687fcd16e42a104e4f0b2462491623f777b0a22cff4ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/burn-train/src/learner/rl/env_runner/async_runner.rs:243-254 | crates/burn-train/src/learner/rl/env_runner/async_runner.rs:474-485 | crates/burn-train/src/learner/rl/env_runner/base.rs:248-256 \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 \u0060crates/burn-train/src/learner/rl/env_runner/async_runner.rs:243\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/env_runner/async_runner.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"df841b6251b8a59ba6eb517ab43574a5c6a6a6933ed649666e8cd087c346f04f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201319 lines \u00D7 3): crates/burn-train/src/metric/vision/lpips/metric.rs:301-319 | crates/burn-train/src/metric/vision/lpips/metric.rs:326-344 | crates/burn-train/src/metric/vision/lpips/metric.rs:351-363 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/vision/lpips/metric.rs:351\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/lpips/metric.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1663d1c4def4576f279782fc262c7f276138039f25ef2d7bdb548e1beacd2111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:478-486 | crates/burn-autodiff/src/ops/tensor.rs:576-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 \u0060crates/burn-autodiff/src/ops/tensor.rs:478\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0557ca51a8204f7c6697cdc8d610fc0b6ccea5c5c12fd82f015a755dad18d90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:1528-1536 | crates/burn-autodiff/src/ops/tensor.rs:1773-1781 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1528\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e868feb7f3819ebce2d2636363593201a5441c8fcb1e507c6eab035e853374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:2336-2344 | crates/burn-autodiff/src/ops/tensor.rs:2398-2406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:2336\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9eb73edf8a0f35c7302e00f4db0073c73089aad042be0cf09b8814ddc131f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:2672-2680 | crates/burn-autodiff/src/ops/tensor.rs:2709-2717 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:2672\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":2672}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f94e892fc55b1d2565770f5d727c7f92ea27c952bc6d93cd51c58005e4f289c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/conv.rs:998-1006 | crates/burn-backend/src/backend/ops/modules/conv.rs:1279-1287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:998\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8138dd0fe75880d79310f72b4fa5796084cbb8102ac8f90a1082893e33c37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/ctc.rs:492-500 | crates/burn-backend/src/backend/ops/modules/ctc.rs:513-521 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/ctc.rs:492\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/ctc.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa405724d9c09a6f63c51a1d9c3d308f255b7899a415cdd56ed0a9b0ba72b7ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/codegen/io.rs:543-551 | crates/burn-cubecl-fusion/src/engine/codegen/io.rs:573-581 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/engine/codegen/io.rs:543\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/io.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"4197ffba51524fd59fcb6ea5e30cef874e8188f0de49f4747f6c865d4a59aae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-cubecl/src/kernel/binary.rs:199-207 | crates/burn-cubecl/src/kernel/binary_int.rs:146-154 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/binary.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/binary_int.rs\u0060 as WHOLE FILES: this scan already matched 6 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"461eae1d9c56537becd5eeff1bb1448264636a3f48328453724d442c1c77f76d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-cubecl/src/kernel/binary_float.rs:53-61 | crates/burn-cubecl/src/kernel/binary_float.rs:82-90 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary_float.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d835bcd8b99ce2fe1b5d256966f94692f2cf7fb3fc761962e55be1a53f6c8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-cubecl/src/kernel/comparison.rs:165-173 | crates/burn-cubecl/src/kernel/comparison.rs:255-263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/comparison.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d7bbfa95616ce07b0d768f7ebc2986c939dccda4f031372b938a7ac43ed1e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:98-106 | crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs:124-132 \u2014 \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.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 5 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:98\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed42fdd9936144a231b89956446cf61ea45fa6ea659cf043abe0c7d0a14d1ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs:57-80 | crates/burn-flex/src/ops/conv_transpose.rs:286-294 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6a39e29a8ef0a22f357967a5437d3d4eeb1b4ebcafb974c1eb0a411a6905b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/unit.rs:104-112 | crates/burn-cubecl/src/kernel/conv/unit.rs:134-142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/unit.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":"crates/burn-cubecl/src/kernel/conv/unit.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0510f5f24b3b6fe712b276e73e752cd3a698d02d689a51ecce05dc61fe042b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-cubecl/src/kernel/fft/base.rs:13-21 | crates/burn-signal/src/backends/autodiff.rs:149-157 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/fft/base.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":"crates/burn-cubecl/src/kernel/fft/base.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7dc4d20e9dc20ad9e9b372431b6ceacb1631c361790ef9f15877387f0107189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-cubecl/src/kernel/index/gather.rs:45-53 | crates/burn-cubecl/src/kernel/index/gather_nd.rs:82-90 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/gather.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bd80e0ea1e2f2a4ece5aea58de9c1634b3dc697663671e0adde4bd4eda36a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-cubecl/src/kernel/index/slice.rs:182-190 | crates/burn-cubecl/src/ops/bool_tensor.rs:87-95 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/index/slice.rs:182\u0060 it does not close everything it opens, so those exact 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 \u0060tensor\u0060 to \u0060CubeTensor\u0060 in one and \u0060BoolTensor\u003CSelf\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/slice.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4507a972205b4bbd672402d323b9ff4d0fdf4864ff41faae1a6346499f89f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-dataset/src/nlp/text_folder.rs:293-301 | crates/burn-dataset/src/vision/image_folder.rs:750-758 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/nlp/text_folder.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e636ef770de0c4f43560ac721950365ca8b6be91438d96d953a35331aa1411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-dispatch/src/tensor.rs:39-47 | crates/burn-dispatch/src/tensor.rs:50-58 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/tensor.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b24b3f4615ecb3d4dbfde03a229b72d01fe441d4d705ef9a2cab1417a30b185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:174-181 | crates/burn-flex/src/ops/conv_transpose.rs:155-163 \u2014 before extracting anything, compare \u0060crates/burn-flex/src/ops/conv.rs\u0060 and \u0060crates/burn-flex/src/ops/conv_transpose.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c155449c8d0e9cea7e01b2704f4befe36a44ecc0101ec325366e625cb8bec09f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-flex/src/ops/interpolate.rs:276-284 | crates/burn-flex/src/ops/interpolate.rs:944-952 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/interpolate.rs:276\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d092d23f0ce7bf3844f01bbe780c2af6479fbb3d7967dacdb1bc6adcde50ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-flex/src/ops/matmul.rs:522-530 | crates/burn-flex/src/ops/matmul.rs:758-766 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/matmul.rs:522\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/matmul.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"d704a8efc418e14128b00e98aaf2d1fe2bf19fe5700a8858ac671987ab548b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-flex/src/ops/matmul.rs:688-696 | crates/burn-flex/src/ops/matmul.rs:842-850 \u2014 both copies are in the same file, so extract the block 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, \u0060crates/burn-flex/src/ops/matmul.rs:687\u0060 calls \u0060iter\u0060, \u0060product\u0060 and \u0060crates/burn-flex/src/ops/matmul.rs:840\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/matmul.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d91766bedd04fbb54ee7bf889316dda67b439572c143c97733914eeb21e0202"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-flex/src/ops/pool.rs:363-371 | crates/burn-flex/src/ops/pool.rs:795-803 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:363\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ec0fe9ee43a57aa72dd7ca47f6055b7cd234f8e47f67a7053ecd2582ab2a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1875-1883 | crates/burn-flex/src/ops/reduce.rs:2089-2097 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1875\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9a02ce40b54cc8fd994c782bdb1de7e75dd78b5723517c33449b721764b005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1932-1940 | crates/burn-flex/src/ops/reduce.rs:2032-2040 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1932\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"8416fe8b846e93666c243325c5e00f0a7bf61dd337d90e169948c137deabbc4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-flex/src/ops/unary.rs:238-246 | crates/burn-flex/src/ops/unary.rs:269-277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/unary.rs:238\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/unary.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6d527067eba628a8231f58e2d7a652f255da2df44e20001a4cccb2fe337c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-flex/src/simd/portable.rs:1619-1630 | crates/burn-flex/src/simd/portable.rs:1668-1679 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/simd/portable.rs:1619\u0060 it does not close everything it opens, so those exact 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 \u0060a\u0060 to \u0060\u0026[u8]\u0060 in one and \u0060\u0026mut [u8]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bab5b2eb366712677fd6fce4d5b00c4ebb088eb25ffcb3c660b608509b25c39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/burn-flex/src/tensor.rs:621-628 | crates/burn-flex/src/tensor.rs:635-643 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/tensor.rs:635\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-flex/src/tensor.rs:628\u0060 calls \u0060copy_2d_tiled\u0060 and \u0060crates/burn-flex/src/tensor.rs:643\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e04e4c821559ee448beae02304d64b9bc536b707d07e11766d7f89fc545c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-flex/src/tensor.rs:829-837 | crates/burn-flex/src/tensor.rs:877-885 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/tensor.rs:829\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"883b42e9681c277efe36cd3a710b6867c6ca9f96d4929b6b675571efd8f824f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/burn-nn/src/modules/rnn/basic.rs:214-222 | crates/burn-nn/src/modules/rnn/gru.rs:227-234 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/rnn/basic.rs\u0060 and \u0060crates/burn-nn/src/modules/rnn/gru.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/rnn/basic.rs:214\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/rnn/basic.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a30b8bcb81c1dbce084317463c68a62dde80e3ba964bcb131794a270ee430cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-train/src/metric/processor/full.rs:328-336 | crates/burn-train/src/metric/processor/minimal.rs:114-122 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/processor/full.rs:328\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-train/src/metric/processor/full.rs:337\u0060 calls \u0060start_split\u0060, \u0060into\u0060 and \u0060crates/burn-train/src/metric/processor/minimal.rs:123\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/full.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"1619eae3710b6a8729726e4700a05fa117d61c9d19ac2a1d4db522609121f504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pytorch-reader/src/nested/de.rs:436-444 | crates/pytorch-reader/src/nested/de.rs:460-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 \u0060crates/pytorch-reader/src/nested/de.rs:436\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pytorch-reader/src/nested/de.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51a449b3bbe13f60ae36dbdc3f0f650aa9e505cd4fd12c632667d2472844355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): crates/burn-autodiff/src/ops/module.rs:207-214 | crates/burn-autodiff/src/ops/module.rs:347-354 | crates/burn-autodiff/src/ops/module.rs:474-481 | crates/burn-autodiff/src/ops/module.rs:606-613 | crates/burn-autodiff/src/ops/module.rs:1062-1069 | crates/burn-autodiff/src/ops/module.rs:1196-1203 | crates/burn-autodiff/src/ops/module.rs:1325-1332 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:207\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"5915ee887cc134af9bf28545bd98efd4f1b95464ed43f8b27a66f565749024da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): crates/burn-flex/src/ops/conv.rs:249-256 | crates/burn-flex/src/ops/conv.rs:861-868 | crates/burn-flex/src/ops/conv.rs:1411-1418 | crates/burn-flex/src/ops/conv.rs:1636-1643 | crates/burn-flex/src/ops/conv.rs:1843-1850 | crates/burn-flex/src/ops/conv_transpose.rs:259-266 \u2014 before extracting anything, compare \u0060crates/burn-flex/src/ops/conv.rs\u0060 and \u0060crates/burn-flex/src/ops/conv_transpose.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ee9a8a5b7f609feffb511e6d491b385a40c75dce03f17ec4dd603db807b89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/burn-autodiff/src/ops/module.rs:1436-1443 | crates/burn-autodiff/src/ops/module.rs:1525-1534 | crates/burn-autodiff/src/ops/module.rs:1629-1638 | crates/burn-autodiff/src/ops/module.rs:2224-2231 | crates/burn-autodiff/src/ops/module.rs:2395-2402 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:1436\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de3899b21bcdb5df34a690c610aebd52b156ebb2a474bca58a0f34cb7ecc04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): crates/burn-autodiff/src/ops/tensor.rs:3169-3176 | crates/burn-autodiff/src/ops/tensor.rs:4322-4329 | crates/burn-autodiff/src/ops/tensor.rs:4366-4373 | crates/burn-autodiff/src/ops/tensor.rs:4648-4654 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:3169\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":3169}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbc80cb55eee4c59e5a9498b2404daa418c69b64d506d7f5c848f5b2a2bb99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/burn-cubecl/src/kernel/cast/bool_cast.rs:44-51 | crates/burn-cubecl/src/kernel/unary_float.rs:56-63 | crates/burn-cubecl/src/kernel/unary_int.rs:50-57 | crates/burn-cubecl/src/kernel/unary_numeric.rs:55-62 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/unary_float.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/unary_int.rs\u0060 as WHOLE FILES: this scan already matched 5 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/cast/bool_cast.rs:44\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/cast/bool_cast.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0320c58fb8e8ad21d447d1f7f01153e1129ba11541d40ba6d01a5d81b632564b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): crates/burn-cubecl/src/kernel/comparison.rs:251-257 | crates/burn-cubecl/src/kernel/unary_float.rs:53-60 | crates/burn-cubecl/src/kernel/unary_int.rs:48-54 | crates/burn-cubecl/src/kernel/unary_numeric.rs:53-59 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/unary_float.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/unary_int.rs\u0060 as WHOLE FILES: this scan already matched 5 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-cubecl/src/kernel/unary_float.rs:51\u0060 calls \u0060shape\u0060, \u0060in_memory_order\u0060 and \u0060crates/burn-cubecl/src/kernel/unary_int.rs:47\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/comparison.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a94c4192970f832b3c295ac7f4ac0f7643c150fe196f6cb7f37ec032f9f96d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/burn-flex/src/ops/pool.rs:848-855 | crates/burn-flex/src/ops/pool.rs:871-878 | crates/burn-flex/src/ops/pool.rs:894-901 | crates/burn-flex/src/ops/pool.rs:917-924 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:848\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"8658cfdad7e2d5dfb8df78ed3f52fe80226f559c7bccf0f4c9e8c86a11ae216b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/burn-flex/src/ops/reduce.rs:2130-2142 | crates/burn-flex/src/ops/reduce.rs:2185-2197 | crates/burn-flex/src/ops/reduce.rs:2251-2263 | crates/burn-flex/src/ops/reduce.rs:2308-2320 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2922c3a937af9c36fea42861fa0b6bbb340a66c6f623a501d9948c58746d9b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-dataset/src/vision/image_folder.rs:635-642 | crates/burn-dataset/src/vision/image_folder.rs:665-672 | crates/burn-dataset/src/vision/image_folder.rs:695-702 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-dataset/src/vision/image_folder.rs:635\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/vision/image_folder.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a41a2509d2c5cd6aa7603101d81a50e84842da2167d06a45ee4c973b5b01c62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-flex/src/ops/int.rs:1048-1055 | crates/burn-flex/src/ops/int.rs:1063-1070 | crates/burn-flex/src/ops/int.rs:1078-1085 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/int.rs:1048\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc536459bba44e512e62f81032b79cbc9d3656e83375bc1c31360625fcf5ff84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-flex/src/ops/pool.rs:1241-1248 | crates/burn-flex/src/ops/pool.rs:1462-1469 | crates/burn-flex/src/ops/pool.rs:1660-1667 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-flex/src/ops/pool.rs:1240\u0060 calls \u0060to_contiguous\u0060 and \u0060crates/burn-flex/src/ops/pool.rs:1461\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"b992c8d1a42881063a853129193de29bb482d07150dc7f996ea820f59a3af113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): crates/burn-flex/src/ops/pool.rs:1259-1265 | crates/burn-flex/src/ops/pool.rs:1484-1491 | crates/burn-flex/src/ops/pool.rs:1677-1684 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:1259\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-flex/src/ops/pool.rs:1256\u0060 calls \u0060storage\u0060 and \u0060crates/burn-flex/src/ops/pool.rs:1480\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d9d3f79702c019cc2a072445d39beeb2c7cd3333b17d7f946022dfdbc155eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-fusion/src/stream/context.rs:422-429 | crates/burn-fusion/src/stream/context.rs:432-439 | crates/burn-fusion/src/stream/context.rs:468-475 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-fusion/src/stream/context.rs:422\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e19c722c0d8e0eb541e2b18798785d1e8a8df9a89020a8c7bfdd8757ade1d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-fusion/src/stream/context.rs:722-729 | crates/burn-fusion/src/stream/context.rs:741-748 | crates/burn-fusion/src/stream/context.rs:760-767 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-fusion/src/stream/context.rs:722\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc9c5301d1b7ad47ea46a5ccbc65c9dec71086a928a341d4bd970f7727047ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-train/src/metric/bleu.rs:349-357 | crates/burn-train/src/metric/cer.rs:98-105 | crates/burn-train/src/metric/wer.rs:76-84 \u2014 before extracting anything, compare \u0060crates/burn-train/src/metric/cer.rs\u0060 and \u0060crates/burn-train/src/metric/wer.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/bleu.rs:349\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/bleu.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf30ba8643344fe2e46296bbea290d6c851a3e271d6c08e3f03b78613933b3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-train/src/metric/vision/fid/inception.rs:59-66 | crates/burn-train/src/metric/vision/fid/inception.rs:115-122 | crates/burn-train/src/metric/vision/fid/inception.rs:309-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 \u0060crates/burn-train/src/metric/vision/fid/inception.rs:59\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/fid/inception.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3fd0ddadca81140cffa2479921fe909b8dca42488ab3119d2d711f347111df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:830-837 | crates/burn-autodiff/src/ops/tensor.rs:4552-4560 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:830\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"09be39fed45424ad1c3551e1f94324194c86633c547abaffcf03ec88ecdd7871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:1328-1335 | crates/burn-autodiff/src/ops/tensor.rs:1636-1643 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1328\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bed0b3861a567b8957f6f26071e4c69e6a0a5b05da714039f180bf40d277f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:1560-1567 | crates/burn-autodiff/src/ops/tensor.rs:2490-2497 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1560\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-autodiff/src/ops/tensor.rs:2498\u0060 calls \u0060shape\u0060 and \u0060crates/burn-autodiff/src/ops/tensor.rs:1568\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"8037d69c550c0afc82ef6754df233893307ccf8b06f9e1c94ef4a7dbc75a46bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-backend-extension/src/derive.rs:253-260 | crates/burn-backend-extension/src/derive.rs:279-286 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend-extension/src/derive.rs:253\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/derive.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"404d2742d365d0bdae86d2a06b098e4ca9fd27ba433383a7d8af6c360b89715c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-backend/src/backend/ops/cat.rs:33-40 | crates/burn-backend/src/backend/ops/repeat_dim.rs:32-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/cat.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8b8d876636b4d3e7d09cebdda34f09e7eef3a643c376d2a2baea55fbf006f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-backend/src/backend/ops/qtensor.rs:518-525 | crates/burn-backend/src/backend/ops/qtensor.rs:529-536 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/qtensor.rs:518\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/qtensor.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aebfab5820700035e7f3d1e7f4f3c431843fef3bfa2586cac714f0778ca1487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:73-80 | crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs:91-98 \u2014 \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.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 5 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs:73\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/conv_transpose2d/col2im.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"57175ae7addaee829d7c26b7020601be2a61fe87cb0556b72955cfbc555e0c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/forward/depthwise.rs:49-56 | crates/burn-cubecl/src/kernel/conv/forward/implicit_gemm/launch.rs:110-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-cubecl/src/kernel/conv/forward/depthwise.rs:59\u0060 calls \u0060skip_large_filter\u0060, \u0060Err\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/forward/implicit_gemm/launch.rs:119\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/forward/depthwise.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77a9f387021883eb4974b0059f1d2b70ca2643f6a853ebcd5d3bb0ded336b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 3): crates/burn-backend/src/backend/ops/modules/ctc.rs:68-71 | crates/burn-cubecl/src/kernel/ctc.rs:327-334 | crates/burn-cubecl/src/kernel/ctc.rs:624-631 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-cubecl/src/kernel/ctc.rs:334\u0060 calls \u0060shape\u0060 and \u0060crates/burn-backend/src/backend/ops/modules/ctc.rs:71\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/ctc.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb2a784babf86e1199912e0913da7584f8af779cf09d01b5da9fb8f4add950b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-cubecl/src/kernel/fft/base.rs:39-46 | crates/burn-cubecl/src/kernel/fft/base.rs:111-118 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/fft/base.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c780562d98421bab8fb07370b35c35714e1bae1a142d34c04c00bbc53277dbe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-cubecl/src/kernel/index/gather_nd.rs:66-74 | crates/burn-cubecl/src/kernel/index/scatter_nd.rs:196-204 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/index/gather_nd.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/index/scatter_nd.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060indices\u0060 to \u0060CubeTensor\u0060 in one and \u0060\u0026CubeTensor\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/gather_nd.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8d1da4e43a0de9e04701b3015171c88ac70600af30d2f264a2bfc6af98eaa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:278-285 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:235-242 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/pool/max_pool3d.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:278\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc82c183bacb028cfe61d05583134619c26b1930c1fe774c292619832eb1dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-dispatch/src/backend.rs:442-449 | crates/burn-dispatch/src/backend.rs:484-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 \u0060crates/burn-dispatch/src/backend.rs:442\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/backend.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"4770f33945db857e5fcb8ea67ecf0040768b8c09e2eb2a14540c978722cb3ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-dispatch/src/backend.rs:744-751 | crates/burn-dispatch/src/backend.rs:772-779 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-dispatch/src/backend.rs:744\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/backend.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f33f601cb56a35cd719cd6451ac39da5b68788b0c45ca9b10e69d17c38ebc6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-flex/src/ops/attention.rs:364-371 | crates/burn-flex/src/ops/attention.rs:872-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"214e1f4d58dd2183d3faefed3e8c9ca32d5882a7e4c30580a83308aed23725d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-flex/src/ops/conv.rs:893-900 | crates/burn-flex/src/ops/conv.rs:1875-1882 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da69cab8915ee9c84e1f4f060790b929b83f8c71629a7726ee9585d146953b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-flex/src/ops/gather_scatter.rs:536-543 | crates/burn-flex/src/ops/gather_scatter.rs:1086-1093 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/gather_scatter.rs:536\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"061ed43aaf94af998dcdea23a414a14c6f6297fa5845d622bcc92719706cd4ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-flex/src/ops/gather_scatter.rs:868-875 | crates/burn-flex/src/ops/gather_scatter.rs:879-886 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/gather_scatter.rs:868\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f13ca169be01f54983b55b60a067ed0a5a825e4a21d52761657c9a8ad4f7a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-flex/src/ops/interpolate.rs:263-274 | crates/burn-flex/src/ops/interpolate.rs:931-942 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a118939992254b8e3e324fc6a1baee4e4af47c2aa2baf86c28e29dd913b29a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:2140-2147 | crates/burn-flex/src/ops/reduce.rs:2261-2268 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:2140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"27aaa5c12852d8d68bde2d1d12a99d45123beb015d499928e09a25a6ff369ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:2195-2202 | crates/burn-flex/src/ops/reduce.rs:2318-2325 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:2195\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fd6d3d31bf30d55e4c942730d461281aa7308c2f856f726ae9f03622e1663e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-flex/src/ops/sort.rs:140-147 | crates/burn-flex/src/ops/sort.rs:473-480 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/sort.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5800e7c2077135e48d917cc92a44d201374183de2f639005f435dc34a43475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/burn-flex/src/simd/portable.rs:2063-2079 | crates/burn-flex/src/simd/portable.rs:2106-2121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/simd/portable.rs:2063\u0060 it does not close everything it opens, so those exact 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 \u0060out\u0060 to \u0060\u0026mut [u64]\u0060 in one and \u0060\u0026mut [u8]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e34d0c3214e4cb9c86c80b4bc3c9483fc9e3cb19e828f2c6896f9aab76ba65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-linalg/src/cholesky_gpu.rs:122-129 | crates/burn-linalg/src/cholesky_gpu.rs:131-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 \u0060crates/burn-linalg/src/cholesky_gpu.rs:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/cholesky_gpu.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c348ec96bde35a4972f2bddf9974b4e776a08861cc5f2bb2abf2ae71d1f98d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-nn/src/modules/conv/conv2d.rs:77-84 | crates/burn-nn/src/modules/conv/conv_transpose2d.rs:101-108 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv2d.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3b194fa4e7110e9246a5993c0aa423e33cbcb5252036cfe5e3a15097c80e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-nn/src/modules/norm/group.rs:88-95 | crates/burn-nn/src/modules/norm/instance.rs:64-71 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/norm/group.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b019228982327cbbef71777d4cfff11c54ba29f545bba2abd0a55fad1c014a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-nn/src/modules/pool/avg_pool2d.rs:72-79 | crates/burn-nn/src/modules/pool/avg_pool3d.rs:68-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pool/avg_pool2d.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bee18a5423a4852a612ff00adc94b7838aa5470a76c429f8d69995ab7193a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/burn-nn/src/modules/transformer/decoder.rs:334-341 | crates/burn-nn/src/modules/transformer/decoder.rs:413-419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/transformer/decoder.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7f75ec8766e031e6245531949ced8662371262f20f3006f48a4f60e9c7daeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-train/src/metric/processor/full.rs:130-137 | crates/burn-train/src/metric/processor/full.rs:236-243 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/full.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9fdb1a3b0d89925acb9a337952927bcc779832c6f03ad8c332bb7d87561387"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-train/src/metric/processor/full.rs:281-288 | crates/burn-train/src/metric/processor/full.rs:354-361 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/processor/full.rs:281\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/full.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dd0e9bd06289bce352ce30a44dafb925bd81f8cbbe36e34cdba3827bb58e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-train/src/metric/vision/dists/weights.rs:96-103 | crates/burn-train/src/metric/vision/lpips/weights.rs:157-164 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/vision/dists/weights.rs:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/dists/weights.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"640c661396b2a33cfc42cf9ed100dac0b83d0f43eb0d269ad2341660c51123ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-train/src/metric/vision/lpips/metric.rs:157-164 | crates/burn-train/src/metric/vision/lpips/metric.rs:179-186 | crates/burn-train/src/metric/vision/lpips/metric.rs:190-205 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/vision/lpips/metric.rs:157\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/lpips/metric.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfbb82658b6a3cdaf1563939574b7a394327b6dc5570538bc5c6c5c31d78f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-train/src/metric/vision/lpips/weights.rs:204-211 | crates/burn-train/src/metric/vision/lpips/weights.rs:215-222 | crates/burn-train/src/metric/vision/lpips/weights.rs:225-232 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/vision/lpips/weights.rs:225\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/lpips/weights.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf2aa33a9605c372b6d06123a0bf3592be7aa6181a252641821073deb6c4d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-vision/src/backends/cpu/median/network.rs:10-17 | crates/burn-vision/src/backends/cpu/median/network.rs:35-42 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-vision/src/backends/cpu/median/network.rs:10\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/median/network.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b09d6ca7b28bf8d739a42ad694c73f3433adcea83506eb74385149828627db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-vision/src/backends/cpu/morphology/filter.rs:462-473 | crates/burn-vision/src/backends/cpu/morphology/filter.rs:510-521 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d858b5e461a10a1253447b1965f2aae54badb39f5b10f1be7357200d02756f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/pytorch-reader/src/pickle_reader.rs:1663-1670 | crates/pytorch-reader/src/pickle_reader.rs:1680-1687 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pytorch-reader/src/pickle_reader.rs"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"508b6240820dd15ee38c2af9a3426954f42562d22c52394236e16aa0892fce38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 11): crates/burn-autodiff/src/ops/module.rs:70-76 | crates/burn-autodiff/src/ops/module.rs:379-384 | crates/burn-autodiff/src/ops/module.rs:506-511 | crates/burn-autodiff/src/ops/module.rs:639-644 | crates/burn-autodiff/src/ops/module.rs:889-894 | crates/burn-autodiff/src/ops/module.rs:926-931 | crates/burn-autodiff/src/ops/module.rs:963-968 | crates/burn-autodiff/src/ops/module.rs:1094-1099 | crates/burn-autodiff/src/ops/module.rs:1229-1234 | crates/burn-autodiff/src/ops/module.rs:1357-1362 | crates/burn-autodiff/src/ops/module.rs:2330-2335 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3903dd2dda0162680381dc73cd67deb17de0bdb6ea7b17343cabfebce164b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10): crates/burn-autodiff/src/ops/module.rs:41-47 | crates/burn-autodiff/src/ops/module.rs:175-181 | crates/burn-autodiff/src/ops/module.rs:310-316 | crates/burn-autodiff/src/ops/module.rs:433-439 | crates/burn-autodiff/src/ops/module.rs:568-574 | crates/burn-autodiff/src/ops/module.rs:813-819 | crates/burn-autodiff/src/ops/module.rs:1021-1027 | crates/burn-autodiff/src/ops/module.rs:1158-1164 | crates/burn-autodiff/src/ops/module.rs:1284-1290 | crates/burn-autodiff/src/ops/module.rs:2303-2309 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:41\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb440a557832b623d3952867f6f7b9355b4420ec3ebffb078c142a41015c9dac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): crates/burn-ir/src/operation.rs:4740-4746 | crates/burn-ir/src/operation.rs:4762-4768 | crates/burn-ir/src/operation.rs:4788-4794 | crates/burn-ir/src/operation.rs:4814-4820 | crates/burn-ir/src/operation.rs:4873-4879 | crates/burn-ir/src/operation.rs:4881-4887 | crates/burn-ir/src/operation.rs:4889-4895 \u2014 all 7 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":4740}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a13879336b20e4d4a5c256d884c1957021fc84ca7d17767a92ee8d1b5bc292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): crates/burn-fusion/src/stream/context.rs:276-282 | crates/burn-fusion/src/stream/context.rs:285-291 | crates/burn-fusion/src/stream/context.rs:309-315 | crates/burn-fusion/src/stream/context.rs:318-324 | crates/burn-fusion/src/stream/context.rs:342-348 | crates/burn-fusion/src/stream/context.rs:351-357 \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 \u0060crates/burn-fusion/src/stream/context.rs:276\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"42449d6f142e8be17df68cc27c264f7dac236dfcee9e711317b04e3c39672592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): crates/burn-autodiff/src/ops/tensor.rs:1227-1234 | crates/burn-autodiff/src/ops/tensor.rs:1537-1545 | crates/burn-autodiff/src/ops/tensor.rs:1999-2006 | crates/burn-autodiff/src/ops/tensor.rs:2407-2413 | crates/burn-autodiff/src/ops/tensor.rs:2467-2473 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1227\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a12827324711e0bdf897884e012da5031af73b0e10d6e685762128dfed91c64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): crates/burn-flex/src/ops/comparison.rs:864-870 | crates/burn-flex/src/ops/reduce.rs:2131-2137 | crates/burn-flex/src/ops/reduce.rs:2186-2192 | crates/burn-flex/src/ops/reduce.rs:2252-2258 | crates/burn-flex/src/ops/reduce.rs:2309-2315 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/comparison.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"0282811cc311cf49ded34e33d77aca5991033dbfcd5d841259aa31f932d4a5e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/burn-autodiff/src/ops/module.rs:239-246 | crates/burn-autodiff/src/ops/module.rs:259-265 | crates/burn-autodiff/src/ops/tensor.rs:755-761 | crates/burn-autodiff/src/ops/tensor.rs:806-812 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:239\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"52045f19d4d9e6d9a0688da3dcf775dd98758f08046ab48517aa6c05ee856346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 5): crates/burn-autodiff/src/ops/tensor.rs:1897-1903 | crates/burn-autodiff/src/ops/tensor.rs:1976-1982 | crates/burn-autodiff/src/ops/tensor.rs:2073-2079 | crates/burn-autodiff/src/ops/tensor.rs:2189-2195 | crates/burn-autodiff/src/ops/tensor.rs:2389-2391 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1897\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"afceee469ea3c0bc148842c5d9156cc4672bb81dc2834fd758a43521bbe2561c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/burn-flex/src/ops/mask.rs:432-440 | crates/burn-flex/src/ops/mask.rs:472-480 | crates/burn-flex/src/ops/mask.rs:522-530 | crates/burn-flex/src/ops/mask.rs:564-572 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/mask.rs:432\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02a6ad2eba184e5c17f92ae598a6c76e62f21a009d75b4486684e2ea3acc1fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/burn-flex/src/ops/pool.rs:465-471 | crates/burn-flex/src/ops/pool.rs:486-492 | crates/burn-flex/src/ops/pool.rs:507-513 | crates/burn-flex/src/ops/pool.rs:528-534 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:465\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e391984e8e059b74d70fbe07a0e8aef229f7a577b926b12aba0b9dfa3f29d3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/burn-autodiff/src/ops/module.rs:1721-1727 | crates/burn-autodiff/src/ops/module.rs:1851-1857 | crates/burn-autodiff/src/ops/module.rs:1972-1978 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/module.rs:1721\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a0002b59c6f73caf4e877f9ec4c8b0d23cacaa4c2769befc8e674cb35b86b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/burn-cubecl/src/kernel/index/gather_nd.rs:41-47 | crates/burn-cubecl/src/kernel/index/scatter_nd.rs:42-48 | crates/burn-cubecl/src/kernel/index/scatter_nd.rs:56-62 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/index/gather_nd.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/index/scatter_nd.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/index/gather_nd.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":"crates/burn-cubecl/src/kernel/index/gather_nd.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2396f712f297c73d03c955b1818e51e76dacf583103791eb4cf2b4a940390f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/burn-flex/src/ops/deform_conv.rs:414-420 | crates/burn-flex/src/ops/deform_conv.rs:711-718 | crates/burn-flex/src/ops/deform_conv.rs:992-998 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/deform_conv.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"92857b1114ba2c10d8720757825295ce987999a316c6ef87cfc6a5542d0edc2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): crates/burn-flex/src/ops/fft.rs:704-710 | crates/burn-flex/src/ops/fft.rs:1001-1006 | crates/burn-flex/src/ops/fft.rs:1281-1287 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"06404cbd19a347b186f960a5dd695c4d670c1e5e2a44c1d228d0994b3c75494e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/burn-flex/src/ops/pool.rs:1250-1256 | crates/burn-flex/src/ops/pool.rs:1476-1482 | crates/burn-flex/src/ops/pool.rs:1669-1675 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-flex/src/ops/pool.rs:1257\u0060 calls \u0060storage\u0060 and \u0060crates/burn-flex/src/ops/pool.rs:1484\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca80da298eaa9c628f0fce710a42b50cbdd5f073763fc4879121264a0c3bd515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/burn-flex/src/ops/pool.rs:1318-1324 | crates/burn-flex/src/ops/pool.rs:1342-1348 | crates/burn-flex/src/ops/pool.rs:1366-1372 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:1318\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fc5b7fd2726ea0557fab38b08f4541f16adb64845ba2c41c04c19e00a42b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/burn-flex/src/ops/reduce.rs:1238-1247 | crates/burn-flex/src/ops/reduce.rs:1320-1329 | crates/burn-flex/src/ops/reduce.rs:1389-1398 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1238\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-flex/src/ops/reduce.rs:1249\u0060 calls \u0060is_contiguous\u0060 and \u0060crates/burn-flex/src/ops/reduce.rs:1331\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2127fad84863826639281ff758aa95d3e78472c1305f3a52ed41c57c27340ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/burn-nn/src/modules/conv/conv2d.rs:77-83 | crates/burn-nn/src/modules/conv/conv_transpose2d.rs:101-107 | crates/burn-nn/src/modules/conv/conv_transpose3d.rs:101-107 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/conv/conv_transpose2d.rs\u0060 and \u0060crates/burn-nn/src/modules/conv/conv_transpose3d.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/conv/conv2d.rs:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv2d.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d793a91b15d69548f49cc8ecbb0704feee89879dc73c0508402e07045d6368c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-tensor/src/tensor/api/check.rs:1615-1622 | crates/burn-tensor/src/tensor/api/check.rs:1667-1674 | crates/burn-tensor/src/tensor/api/check.rs:1681-1688 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-tensor/src/tensor/api/check.rs:1615\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/check.rs"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8289dd2ec5520547eaad6e03479b35cf804cb256e0d388880221699453d3b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-autodiff/src/ops/maxmin.rs:18-26 | crates/burn-autodiff/src/ops/sort.rs:18-26 \u2014 before extracting anything, compare \u0060crates/burn-autodiff/src/ops/maxmin.rs\u0060 and \u0060crates/burn-autodiff/src/ops/sort.rs\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"crates/burn-autodiff/src/ops/maxmin.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e189763e138a421df4731b1f4d0a1f98eeb89daff738776f77a11f3a5ebd07c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-backend/src/backend/ops/collective.rs:280-286 | crates/burn-backend/src/backend/ops/collective.rs:307-313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/collective.rs:280\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/collective.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"327a23cf1ba58af52f310a2a182192982a2416a29a3ca587a80852aa4317cc76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/conv.rs:941-947 | crates/burn-backend/src/backend/ops/modules/conv.rs:973-979 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:941\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e627269d309e2e4538f410008b6eb6330d26135d116affad7995dcd63b6c15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-communication/src/websocket/server.rs:168-177 | crates/burn-communication/src/websocket/server.rs:246-252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-communication/src/websocket/server.rs:168\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-communication/src/websocket/server.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78309623c2516c635a8fa9e1f4ff6fdee01c8b7066e3bf0f50e0c7b89a4880c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/fuser.rs:389-395 | crates/burn-cubecl-fusion/src/engine/fuser.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/engine/fuser.rs:389\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/fuser.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc19e1329db6b07a446ff825dd0eed7be9b8ed364065056529c2e502e5ba275"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/trace/block.rs:108-114 | crates/burn-cubecl-fusion/src/engine/trace/block.rs:163-169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/engine/trace/block.rs:108\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/trace/block.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d56755e69fa3d1bc1949b7ff1583b115f8e4f4725da90c0e727cc461435eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/backward_weight/fallback.rs:95-101 | crates/burn-cubecl/src/kernel/conv/backward_weight/fallback.rs:121-127 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/backward_weight/fallback.rs:95\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_weight/fallback.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a4616b8d450f871230a626ca57ebf1dcf7a3259ee405c3c486cc76abe4a7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-cubecl/src/kernel/ctc.rs:342-348 | crates/burn-cubecl/src/kernel/ctc.rs:637-643 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/ctc.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1a8ab685e480588c44a28aece24407f915b0056ab3bde2529b681c58d3064f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs:278-284 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:116-122 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/pool/max_pool3d.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/avg_pool3d.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c7293c5c534999509f12e0d50a3ed88af916e4f2fc589b7da285333ef2bc80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-cubecl/src/kernel/pool/base.rs:101-107 | crates/burn-cubecl/src/kernel/pool/max_pool3d.rs:282-288 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/base.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"991d1dd6fe3628017130fd7e111cf654b1e4103b898fd34b66cb14794609bf9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-dataset/src/vision/mnist.rs:190-196 | crates/burn-dataset/src/vision/mnist.rs:240-246 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-dataset/src/vision/mnist.rs:190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/vision/mnist.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbf44be25a9b9f6dabc1501f4ecac0863206a00f57541056d6db574127dadae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-flex/src/ops/binary.rs:213-230 | crates/burn-flex/src/ops/binary.rs:233-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/binary.rs:213\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/binary.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa1d33cff2c971dd7fe19d3ecc3ef25ed610d8a26a6b81d9c80581564e86542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-flex/src/ops/conv_transpose.rs:505-511 | crates/burn-flex/src/ops/conv_transpose.rs:514-520 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv_transpose.rs:505\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv_transpose.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fea0f8580056e295940df38cfdd666038ec7303173895994d8901319b56422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-flex/src/ops/cumulative.rs:79-85 | crates/burn-flex/src/ops/cumulative.rs:130-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/cumulative.rs:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/cumulative.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f672a8a16ab610695b8caf70e6365600cb869c8f60d0a0f79b2b91053acd2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-flex/src/ops/fft.rs:448-455 | crates/burn-flex/src/ops/fft.rs:512-518 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"55500b7ca32cb2691c3e7bcb4e7220eba2d95846fc16dfe6de4ea6b21d53c7a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-flex/src/ops/fft.rs:868-875 | crates/burn-flex/src/ops/fft.rs:1448-1454 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/fft.rs:868\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32545e17818ad4c851658852b41b10e8451d8d21ef7cc284ddcdd213517e80e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-flex/src/ops/qtensor.rs:272-278 | crates/burn-flex/src/ops/qtensor.rs:332-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 \u0060crates/burn-flex/src/ops/qtensor.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/qtensor.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b7229effac955b2f8b8392942214da0467ea422002d05833eb4ffc1cf8d4bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-flex/src/tensor.rs:658-664 | crates/burn-flex/src/tensor.rs:675-681 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/tensor.rs:658\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d01cf583a396aaef4e6c53204397ed36c312f1b8aa29bae395b0b66d33ab78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-ir/src/builder.rs:587-593 | crates/burn-ir/src/builder.rs:1580-1587 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-ir/src/builder.rs:587\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-ir/src/builder.rs:1579\u0060 calls \u0060as_ref\u0060 and \u0060crates/burn-ir/src/builder.rs:586\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/builder.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bd11b45451ba20f7e9ab5050d93a2d2543b5663918ecd42b710238cd8cf7ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-linalg/src/solve_cubecl.rs:219-225 | crates/burn-linalg/src/solve_cubecl.rs:366-372 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff7455bf4b7ba61badff53ed230e46450f9a56b5165670138c111958ff58b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/burn-linalg/src/svd_host.rs:54-59 | crates/burn-linalg/src/svd_host.rs:63-69 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-linalg/src/svd_host.rs:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/svd_host.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bdd80bac65d1fe0521209505c06116ce2474c7b9e70e229221f56092a2c575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-optim/src/parallel/training.rs:321-327 | crates/burn-optim/src/parallel/training.rs:448-454 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-optim/src/parallel/training.rs:321\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/parallel/training.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ed8cb625f5335b0e8288574186deb76ebe7d11335c5a8685937fb6a1b33019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:165-171 | crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbac432570a7b4259d5378d20f4070e495205498b67acb033c19c143f26e56b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/burn-vision/src/backends/cpu/morphology/filter.rs:234-245 | crates/burn-vision/src/backends/cpu/morphology/filter.rs:353-364 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4558ebd35bcbea61c2be6811f2c49274c91e0782b735ab73277f7291db9614e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/burn-vision/src/backends/cpu/morphology/filter.rs:367-373 | crates/burn-vision/src/backends/cpu/morphology/filter.rs:576-581 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-vision/src/backends/cpu/morphology/filter.rs:367\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdb60aae8cfb3f416b7f613b684f170dc279aff1f861462a56a77a1913f90d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs:331-337 | crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs:387-393 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs:331\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs:384\u0060 calls \u0060end_distance\u0060 and \u0060crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs:330\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b94dfa024931f2c8e7c3266c0d2a4fb84ff99d7b43ff07b7f4c18b18a2755c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): crates/burn-flex/src/ops/pool.rs:464-469 | crates/burn-flex/src/ops/pool.rs:485-490 | crates/burn-flex/src/ops/pool.rs:506-511 | crates/burn-flex/src/ops/pool.rs:527-532 | crates/burn-flex/src/ops/pool.rs:1317-1322 | crates/burn-flex/src/ops/pool.rs:1341-1346 | crates/burn-flex/src/ops/pool.rs:1365-1370 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:464\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe68312881deb250af500fd4f423e24d6d8c706dcb525d62c1f7560da50e64b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): crates/burn-ir/src/operation.rs:4032-4037 | crates/burn-ir/src/operation.rs:4048-4053 | crates/burn-ir/src/operation.rs:4064-4069 | crates/burn-ir/src/operation.rs:4080-4085 | crates/burn-ir/src/operation.rs:4130-4135 | crates/burn-ir/src/operation.rs:4137-4142 | crates/burn-ir/src/operation.rs:4144-4149 \u2014 all 7 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":4032}}}],"partialFingerprints":{"codehealthFindingId/v1":"589c36a3a642b4df029799585b44a6bf07aba064b6d72d76ba7d97ed5f3aecc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): crates/burn-router/src/interpreter.rs:1594-1599 | crates/burn-router/src/interpreter.rs:1625-1630 | crates/burn-router/src/interpreter.rs:1666-1671 | crates/burn-router/src/interpreter.rs:1707-1712 | crates/burn-router/src/interpreter.rs:1807-1812 | crates/burn-router/src/interpreter.rs:1818-1823 | crates/burn-router/src/interpreter.rs:1829-1834 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a540b1f5a5ee8b83902817c98de20a4c9aadb77eb98f05c52960ae213628c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): crates/burn-autodiff/src/ops/tensor.rs:378-384 | crates/burn-autodiff/src/ops/tensor.rs:669-676 | crates/burn-autodiff/src/ops/tensor.rs:756-761 | crates/burn-autodiff/src/ops/tensor.rs:807-812 | crates/burn-autodiff/src/ops/tensor.rs:2138-2143 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:378\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc40deb566066cbdf0fd34f41e98a17f83e5d211ef3e841c991c9c4c5d5dda2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs:31-39 | crates/burn-cubecl/src/kernel/conv/backward_weight/tune.rs:34-39 | crates/burn-cubecl/src/kernel/conv/conv_transpose2d/tune.rs:17-22 | crates/burn-cubecl/src/kernel/conv/conv_transpose3d/tune.rs:24-29 | crates/burn-cubecl/src/kernel/conv/forward/tune.rs:58-63 \u2014 \u0060crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/backward_weight/tune.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 3 separate duplicated blocks between them, totalling at least 39 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_data/tune.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"50342c75b385b1d7c7ccc78373a42578add8aa92352c2a9835dd864b4b3a8e7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/burn-backend/src/backend/ops/bool_tensor.rs:216-224 | crates/burn-backend/src/backend/ops/int_tensor.rs:171-179 | crates/burn-backend/src/backend/ops/tensor.rs:631-639 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/bool_tensor.rs:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/bool_tensor.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f491e364f84fb9327f1f51f0d0d3760a1ef4d6038d2f3721234f6647a10c480"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/burn-cubecl/src/kernel/binary.rs:241-246 | crates/burn-cubecl/src/kernel/binary_float.rs:161-166 | crates/burn-cubecl/src/kernel/binary_int.rs:189-194 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/binary.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/binary_float.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 105 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bebdeafa12ea5c6f0054e095af2a42cd195d4694598449fb5cc047f19471fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/burn-flex/src/ops/conv_common.rs:69-75 | crates/burn-flex/src/ops/interpolate.rs:1222-1228 | crates/burn-flex/src/ops/pool.rs:1779-1785 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv_common.rs:69\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv_common.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"288cc12ea27ec094dde13fd72a5635d43b69bf1e77426c43010807bdcc28f36a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/burn-flex/src/ops/conv_common.rs:79-85 | crates/burn-flex/src/ops/interpolate.rs:1233-1239 | crates/burn-flex/src/ops/pool.rs:1789-1795 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv_common.rs:79\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv_common.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"417cfda6d677430937fcd70b9e8359461f1d9f0a2e7a2ecf16cb16eca1e349ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/burn-flex/src/ops/int.rs:1120-1125 | crates/burn-flex/src/ops/int.rs:1135-1140 | crates/burn-flex/src/ops/int.rs:1150-1155 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/int.rs:1120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"75891895f09695570846655145e5fd3088371fcac0a79b5ff8cac5d90d0825ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/burn-flex/src/ops/pool.rs:363-368 | crates/burn-flex/src/ops/pool.rs:795-800 | crates/burn-flex/src/ops/pool.rs:1075-1080 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:363\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5682d0c8411a4fce7e5a6bf546cf6ed7ebd34c15066beb519b0d5025195c0d43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/burn-flex/src/ops/reduce.rs:1850-1855 | crates/burn-flex/src/ops/reduce.rs:2160-2165 | crates/burn-flex/src/ops/reduce.rs:2281-2286 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1850\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03c2438b10af986874bc1a15b0c45f427b4b1fec74537963980406906487009"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/burn-flex/src/ops/reduce.rs:1904-1909 | crates/burn-flex/src/ops/reduce.rs:2004-2009 | crates/burn-flex/src/ops/reduce.rs:2109-2114 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1904\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b757e76dbdff8cd3b9de791e61c3c851b7ff39c9f178dc98b8ba34047e816f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/burn-fusion/src/stream/context.rs:396-401 | crates/burn-fusion/src/stream/context.rs:405-410 | crates/burn-fusion/src/stream/context.rs:414-419 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-fusion/src/stream/context.rs:396\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3c31907f92b804a32c26ef6efd4b4c4d73382a2070425c0e8c1d574de5a73d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:3342-3348 | crates/burn-flex/src/ops/float.rs:1278-1284 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:3342\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 \u0060lhs\u0060 to \u0060FloatTensor\u003CSelf\u003E\u0060 in one and \u0060FloatTensor\u003CFlex\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":3342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd52a8fe746e83fd3b05005164b2115e135246026e7cca6bbc06c9dff6af751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-cubecl-fusion/src/optim/reduce/optimization.rs:358-363 | crates/burn-cubecl-fusion/src/optim/reduce_broadcasted/launch.rs:66-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce/optimization.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"004e184b7dcb766b5bf2b7061137440211628fbbd2b28b55816ecf02fb971c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-cubecl/src/kernel/unary_float.rs:198-205 | crates/burn-cubecl/src/kernel/unary_float.rs:213-220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/unary_float.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3ae0be4e76d6ab0fafaae3618c847ed9884876d810c0c67200993c9506fa0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-flex/src/ops/bool.rs:165-171 | crates/burn-flex/src/ops/comparison.rs:692-697 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/bool.rs:165\u0060 it does not close everything it opens, so those exact 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 \u0060lhs\u0060 to \u0060BoolTensor\u003CFlex\u003E\u0060 in one and \u0060FlexTensor\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/bool.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f30a96c1c385dcbae4ca881d6bc7d27af4313688d80c40d9dd6d2e0f644309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-flex/src/ops/matmul.rs:782-787 | crates/burn-flex/src/ops/matmul.rs:852-857 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/matmul.rs:782\u0060 it does not close everything it opens, so those exact 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 \u0060lhs\u0060 to \u0060\u0026FlexTensor\u0060 in one and \u0060FlexTensor\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/matmul.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee3a195a0727d8f2deeb628f9e233805ce0835b8632cfe5a67de4f0e984da9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-flex/src/ops/pool.rs:285-290 | crates/burn-flex/src/ops/pool.rs:725-730 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e9fb194844a45d7b14572c7055ca73b46a207918ad8a134194e7557c93a833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:670-675 | crates/burn-flex/src/ops/reduce.rs:697-702 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:670\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"08424aa03dd7c5b81dfd76b8f9695e70e671e2be3ebc0926b69785ea70ffbdd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-flex/src/ops/sort.rs:171-176 | crates/burn-flex/src/ops/sort.rs:514-519 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-flex/src/ops/sort.rs:521\u0060 calls \u0060iter\u0060, \u0060to_f32\u0060, \u0060collect\u0060 and \u0060crates/burn-flex/src/ops/sort.rs:179\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/sort.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce283105ef9dd57feb242caf97caac16635a805053269fa82e46b0e4ab9eb64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 3): crates/burn-flex/src/ops/sort.rs:185-190 | crates/burn-flex/src/ops/sort.rs:207-210 | crates/burn-flex/src/ops/sort.rs:385-390 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/sort.rs:185\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-flex/src/ops/sort.rs:184\u0060 calls \u0060sort_unstable_by\u0060, \u0060cmp\u0060 and \u0060crates/burn-flex/src/ops/sort.rs:207\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/sort.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"50485216f101f62d98a192973de3ae3c647409f82ba2ac0acbc2ac1cc259ac77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-flex/src/simd/portable.rs:240-245 | crates/burn-flex/src/simd/portable.rs:371-376 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/simd/portable.rs:240\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86514ccec977bf263fd83047c149a2f17834bf4d350477dec2add230e6244c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-flex/src/tensor.rs:849-854 | crates/burn-flex/src/tensor.rs:896-901 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/tensor.rs:849\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0973f94ecaf89ad4b50e77c0c653d8b88fdccacfce059ae24ea7c8a2d0df2b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-linalg/src/functions/det.rs:98-105 | crates/burn-linalg/src/functions/det.rs:108-115 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-linalg/src/functions/det.rs:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/functions/det.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54aac9d234154b9c44ba5d228d3e46ee81ef8dec88b07a60431d31a1dc405b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-linalg/src/solve_cubecl.rs:640-647 | crates/burn-linalg/src/solve_cubecl.rs:789-796 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/solve_cubecl.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cbe0bbac8ba4102edfba098fca96aa307fd2f4b8a1e08bb6d0c3c2f48f5769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-store/src/safetensors/store.rs:825-830 | crates/burn-store/src/safetensors/store.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/safetensors/store.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"e297598e31b1aaffd071fabaf8231f2862c57d2343aedd0cf6fbf833c27af570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-vision/src/backends/cpu/morphology/filter.rs:276-283 | crates/burn-vision/src/backends/cpu/morphology/filter.rs:375-382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f031b13c469490d342d4ac2eec69dd05db59e4d53d508edf354b0b619ecdc630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): crates/burn-autodiff/src/ops/module.rs:1443-1448 | crates/burn-autodiff/src/ops/module.rs:1534-1539 | crates/burn-autodiff/src/ops/module.rs:1638-1643 | crates/burn-autodiff/src/ops/module.rs:2471-2475 | crates/burn-autodiff/src/ops/module.rs:2513-2517 | crates/burn-autodiff/src/ops/module.rs:2555-2559 \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 \u0060crates/burn-autodiff/src/ops/module.rs:1443\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f0ce1ea88055f9c3c543c599c3a6f4c23a9ed2c7445ef5ee22d99cd6287caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): crates/burn-flex/src/ops/reduce.rs:1820-1828 | crates/burn-flex/src/ops/reduce.rs:1871-1879 | crates/burn-flex/src/ops/reduce.rs:1928-1936 | crates/burn-flex/src/ops/reduce.rs:1986-1994 | crates/burn-flex/src/ops/reduce.rs:2028-2036 | crates/burn-flex/src/ops/reduce.rs:2085-2093 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060dim\u0060 to \u0060usize) -\u003E (FlexTensor\u0060 in one and \u0060usize\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a03bf33704effad2e5ca073bfb86223e0e9c325828915f98ded39fdcf31b927"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): crates/burn-flex/src/ops/interpolate.rs:462-466 | crates/burn-flex/src/ops/interpolate.rs:484-488 | crates/burn-flex/src/ops/interpolate.rs:662-666 | crates/burn-flex/src/ops/interpolate.rs:687-691 | crates/burn-flex/src/ops/interpolate.rs:883-887 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/interpolate.rs:462\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-flex/src/ops/interpolate.rs:467\u0060 calls \u0060bilinear_sample\u0060 and \u0060crates/burn-flex/src/ops/interpolate.rs:667\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/interpolate.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb28faad7fbee1be9afd361008384c0c78b8692d68f1d5427afcac59ea1f81c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/burn-autodiff/src/ops/tensor.rs:377-381 | crates/burn-autodiff/src/ops/tensor.rs:478-482 | crates/burn-autodiff/src/ops/tensor.rs:576-580 | crates/burn-autodiff/src/ops/tensor.rs:668-673 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:377\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"815e9e5c0a2820a9a1615b444935032bcf3cac3d6ae66c998db9b3e2ae379f57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/burn-backend/src/backend/ops/modules/grid_sample.rs:148-152 | crates/burn-backend/src/backend/ops/modules/grid_sample.rs:153-157 | crates/burn-backend/src/backend/ops/modules/grid_sample.rs:158-162 | crates/burn-backend/src/backend/ops/modules/grid_sample.rs:163-167 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/grid_sample.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fbba8aa9b1e28b74a75dfe90bbc347001d3d987bd565ddcd46485df0543fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/burn-cubecl/src/kernel/binary.rs:303-308 | crates/burn-cubecl/src/kernel/comparison.rs:249-253 | crates/burn-cubecl/src/kernel/unary_float.rs:51-56 | crates/burn-cubecl/src/kernel/unary_numeric.rs:51-55 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/unary_float.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/unary_numeric.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/binary.rs:303\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"8538a996520098aa14bfdda2133ac2e0e6dbce59111234ffc1df5873703b740b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/burn-flex/src/ops/int.rs:1105-1109 | crates/burn-flex/src/ops/int.rs:1120-1124 | crates/burn-flex/src/ops/int.rs:1135-1139 | crates/burn-flex/src/ops/int.rs:1150-1154 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/int.rs:1105\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1549a525e0c3d17e2e926bde761b4d3c8eb33d927b39d0970579a8869d0ebfcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/burn-train/src/metric/processor/minimal.rs:65-69 | crates/burn-train/src/metric/processor/rl_processor.rs:131-135 | crates/burn-train/src/metric/processor/rl_processor.rs:147-151 | crates/burn-train/src/metric/processor/rl_processor.rs:165-169 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/minimal.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a22d8500e8752c150326916e63f9f2fc82547edf8bfd1ceba16571f91badb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/burn-flex/src/ops/fft.rs:286-291 | crates/burn-flex/src/ops/fft.rs:303-308 | crates/burn-flex/src/ops/fft.rs:321-326 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a18dd833f489e12de3767b5f1f24b484f081e6b58c91503b469e0233b9d4adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/burn-flex/src/ops/int.rs:1047-1051 | crates/burn-flex/src/ops/int.rs:1062-1066 | crates/burn-flex/src/ops/int.rs:1153-1157 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fa59f21ee9047aded4391c6131926d1e999a5e5447ca471a75a9b9c97f2b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/burn-flex/src/ops/int.rs:1046-1050 | crates/burn-flex/src/ops/int.rs:1137-1141 | crates/burn-flex/src/ops/int.rs:1152-1156 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/int.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"df37b830afb436b59bc287fee3a2c01937d8d273245272dc4e9e5e366f10f91f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/burn-fusion/src/stream/context.rs:269-273 | crates/burn-fusion/src/stream/context.rs:302-306 | crates/burn-fusion/src/stream/context.rs:335-339 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-fusion/src/stream/context.rs:269\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"943e3a15334f93afe6cb0cc0511e4d773d00719a0d2ffa5c8b30cdf02bd67295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/burn-train/src/metric/processor/minimal.rs:125-129 | crates/burn-train/src/metric/processor/rl_processor.rs:209-213 | crates/burn-train/src/metric/processor/rl_processor.rs:225-229 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/minimal.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"007519d1f3eda6caaca20f26e3b5df622656b8e611f1d829ae9ed6b5ad7f2536"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:227-231 | crates/burn-autodiff/src/ops/tensor.rs:296-300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:227\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a1992183a24925294fc8a8bc6c73dcc26eda7f68b93842cc096518a98b7360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:1098-1102 | crates/burn-autodiff/src/ops/tensor.rs:4635-4639 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:1098\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4b492458d580fd7fb987175697f5825c92859ed025b7dc34937ac594b2ecb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-autodiff/src/ops/tensor.rs:2473-2477 | crates/burn-autodiff/src/ops/tensor.rs:2479-2483 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-autodiff/src/ops/tensor.rs:2473\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"b352ed39491555672c791bd308ab0f7c34d51024c7b03bd26e0b297747bcc263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/conv.rs:433-438 | crates/burn-backend/src/backend/ops/modules/conv.rs:733-738 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/modules/conv.rs:433\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ad58b867a7693cb106f95f52173e8f27cd2658e152b812c5318a9999296def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-backend/src/backend/ops/pad.rs:123-127 | crates/burn-backend/src/backend/ops/pad.rs:137-143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-backend/src/backend/ops/pad.rs:137\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/pad.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"962a0b8b3bbe6fc095f6ba70f06a51029f7084ba9f8b116cb82ace5788d346fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-cubecl/src/kernel/conv/deform_conv_transpose2d.rs:380-385 | crates/burn-cubecl/src/kernel/conv/deform_conv_transpose2d.rs:626-631 \u2014 both copies are in the same file, so extract the block 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, \u0060crates/burn-cubecl/src/kernel/conv/deform_conv_transpose2d.rs:378\u0060 calls \u0060stride\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/deform_conv_transpose2d.rs:624\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/deform_conv_transpose2d.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc5e442ed0bf2ed6715bd27a012fb4fe5869b7ed3a263a38a31896ea7148ca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-flex/src/ops/activation.rs:423-427 | crates/burn-flex/src/ops/activation.rs:1052-1059 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/activation.rs:423\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/activation.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae5cb32815e8ef0f3acf84c195ee9c5794f0ff84fb715bc263aa46736da4111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-flex/src/ops/binary.rs:277-281 | crates/burn-flex/src/ops/comparison.rs:316-321 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/binary.rs:277\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/binary.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3330c9d008689d027b986e101be3d87ab43d29454da04a9f513ec38429aea6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/burn-flex/src/ops/gather_scatter.rs:1232-1244 | crates/burn-flex/src/ops/gather_scatter.rs:1304-1316 \u2014 both copies are in the same file, so extract the block 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, \u0060crates/burn-flex/src/ops/gather_scatter.rs:1231\u0060 calls \u0060to_contiguous\u0060 and \u0060crates/burn-flex/src/ops/gather_scatter.rs:1303\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16a8d0ff90eeaa537af4cb1810af40384009128629fb757f3c3a4f164621a0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-flex/src/ops/pool.rs:342-346 | crates/burn-flex/src/ops/pool.rs:368-372 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/pool.rs:342\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3df14482ec9f4f3b94089da5291f6b74ac42af8c4ba77100b94358ba8731298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:732-737 | crates/burn-flex/src/ops/reduce.rs:792-797 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a26d9c2b5760bc9e1921c805f9c25c094c0aaacf8b14653726feea16fbfd12b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-flex/src/ops/sort.rs:179-183 | crates/burn-flex/src/ops/sort.rs:522-526 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/sort.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-flex/src/ops/sort.rs:521\u0060 calls \u0060iter\u0060, \u0060to_f32\u0060, \u0060collect\u0060 and \u0060crates/burn-flex/src/ops/sort.rs:178\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/sort.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d60bdbeca305f01e9b7d279eda92fb1e5e1fe7c6fc7f4c9a2a601413d84397"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-flex/src/ops/sort.rs:307-311 | crates/burn-flex/src/ops/sort.rs:343-347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/sort.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"187a5290198f42fb31b3c7fdfa7bdbf50b29be0312ca90061b4b4236d2bb3208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-ir/src/operation.rs:5029-5033 | crates/burn-ir/src/operation.rs:5042-5046 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":5029}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0bd986db8b220156f8142a3e03c502ed7555d1b26353ae876801d0d0531821"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-linalg/src/functions/lu.rs:138-142 | crates/burn-linalg/src/functions/lu.rs:247-251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/functions/lu.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8495c34a3652dcc7a30d1fe6cfd590f9521e7cdbd237d1f74776535b9947b452"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-linalg/src/functions/lu.rs:296-302 | crates/burn-linalg/src/functions/qr.rs:69-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/functions/lu.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4210a2e15a98405f73947fe65289c77fd24d6f4bce4f4a58bbbf263cb4887d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-nn/src/modules/conv/conv_transpose2d.rs:91-95 | crates/burn-nn/src/modules/conv/conv_transpose3d.rs:91-95 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/conv/conv_transpose2d.rs\u0060 and \u0060crates/burn-nn/src/modules/conv/conv_transpose3d.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/conv/conv_transpose2d.rs:91\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv_transpose2d.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ac3810c3aa562d0de741e0c4d7c804467c6bb82c0eca02add8e6c4d20ac390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-nn/src/modules/fold.rs:59-63 | crates/burn-nn/src/modules/unfold.rs:52-56 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/fold.rs:59\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-nn/src/modules/fold.rs:57\u0060 calls \u0060add\u0060 and \u0060crates/burn-nn/src/modules/unfold.rs:50\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/fold.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd842862df1562ad3ecb36f9906d8302029138a265ab782442ad5c553d7802aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-nn/src/modules/pool/max_pool2d.rs:67-71 | crates/burn-nn/src/modules/pool/max_pool3d.rs:69-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/modules/pool/max_pool2d.rs:67\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pool/max_pool2d.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"28287db5797be044bea156a27e46ddff6d71f13a7da389556416f87964d8aaa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-store/src/bridge.rs:57-61 | crates/burn-store/src/safetensors/store.rs:1009-1013 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/bridge.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"953753b58eb12b886e4e8a985dc29bc303c3d7c4eb59499fda7acd83426dce19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-store/src/pytorch/store.rs:41-46 | crates/burn-store/src/safetensors/store.rs:55-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-store/src/pytorch/store.rs:41\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/pytorch/store.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"576adee9c371fac0ea423f35c0f5bfe426540feb3f40de464bdb9ba0dd37a847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-train/src/metric/processor/minimal.rs:76-80 | crates/burn-train/src/metric/processor/minimal.rs:136-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/processor/minimal.rs:76\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/minimal.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7bb6635022917e0fc626d3d243defc1a694d34fb7d246cacd2ff05eecbf46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-train/src/renderer/cli.rs:44-49 | crates/burn-train/src/renderer/tui/renderer.rs:253-258 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-train/src/renderer/tui/renderer.rs:252\u0060 calls \u0060send_event\u0060, \u0060LabelUpdate\u0060 and \u0060crates/burn-train/src/renderer/cli.rs:43\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/renderer/cli.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"479d83acd78c6028a52ed8d7ed263a057d4e2d29e79545a860683f4b25bd727e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:179-183 | crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:245-249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs:179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1eb75cbab7ee553dbf1630ca3f177fae00a9fdd526e7be50e46ccc7515372b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-backend/src/backend/ops/tensor.rs:1146-1152 | crates/burn-flex/src/ops/float.rs:1304-1310 \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 \u0060tensor\u0060 to \u0060FloatTensor\u003CB\u003E\u0060 in one and \u0060FloatTensor\u003CFlex\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/tensor.rs"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"874048fa789d3a2fdf96f5502f885a7c2a347b26847ad0e7eca874b0995d1131"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs:1142-1146 | crates/burn-cubecl/src/kernel/binary_float.rs:121-125 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"454fb06b7db42d56bab1d9db4eee8938472f102edb18f3d765756e3ffe8cc733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-cubecl-fusion/src/optim/elemwise/optimization.rs:60-67 | crates/burn-cubecl-fusion/src/optim/nhwc_relayout/optimization.rs:48-55 \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 \u0060state\u0060 to \u0060ElemwiseOptimizationState\u0060 in one and \u0060RelayoutOptimizationState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/elemwise/optimization.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e662f890eb54fd99efbbc43d5b0afb04c25a21d5050446f53ff50d77db569b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-cubecl-fusion/src/optim/reduce/tune.rs:160-164 | crates/burn-cubecl-fusion/src/optim/reduce_broadcasted/tune.rs:146-150 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl-fusion/src/optim/reduce/tune.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060input\u0060 to \u0060TuneInput\u003CReduceOptimizationTuneArg\u003E\u0060 in one and \u0060TuneInput\u003CReduceBroadcastedOptimizationTuneArg\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce/tune.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c856c3f55d7342cd5add73ab1e66556e3ef3534624c967dc5bcb443a3e23c170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-cubecl/src/kernel/attention/backward.rs:137-145 | crates/burn-cubecl/src/kernel/conv/im2col.rs:242-250 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/attention/backward.rs:137\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/attention/backward.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5e3d584f61b5470c9e7439e0494f1892e4b476fdd185f8312948156d451620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-cubecl/src/kernel/binary.rs:215-224 | crates/burn-cubecl/src/kernel/binary_int.rs:162-171 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/binary.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/binary_int.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060crates/burn-cubecl/src/kernel/binary.rs:215\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b20363342100f254cdef1a1862665f3c604ed1498cf7ebc67638aec3286fbba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/burn-flex/src/ops/bool.rs:402-408 | crates/burn-flex/src/ops/float.rs:1225-1231 | crates/burn-flex/src/ops/int.rs:1360-1366 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060tensor\u0060 to \u0060BoolTensor\u003CFlex\u003E\u0060 in one and \u0060FloatTensor\u003CFlex\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/bool.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b45eea304b6001abd4e55e8c793b343db1c205502b0dc4ddbd50e2b0f77949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-fusion/src/tensor/base.rs:136-143 | crates/burn-router/src/tensor.rs:94-101 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/tensor/base.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77e1fe00d3880863bcea5b2194a3aa78cfcec8d8e2577f00bf5d5025d1c395f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-nn/src/loss/gaussian_nll.rs:86-93 | crates/burn-nn/src/loss/margin_ranking.rs:83-90 | crates/burn-nn/src/loss/triplet_margin.rs:86-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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/loss/gaussian_nll.rs:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/loss/gaussian_nll.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"00afa971b1b3f3dbfd696828955053cd7eeec700e6ba3837fece31e9111c1c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): crates/burn-nn/src/loss/hinge_embedding.rs:74-81 | crates/burn-nn/src/loss/huber.rs:90-97 | crates/burn-nn/src/loss/lp_loss.rs:145-153 | crates/burn-nn/src/loss/mse.rs:35-42 | crates/burn-nn/src/loss/multi_margin.rs:95-102 | crates/burn-nn/src/loss/poisson.rs:134-141 | crates/burn-nn/src/loss/soft_margin.rs:40-47 | crates/burn-vision/src/loss/gram_matrix/gram_matrix_loss.rs:169-177 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-nn/src/loss/hinge_embedding.rs:74\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/loss/hinge_embedding.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66b83f493ca2b83aa7d9a3461ed22f941585d15fe809e9eb47f9d745f1d52e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-nn/src/modules/interpolate/interpolate1d.rs:143-149 | crates/burn-nn/src/modules/interpolate/interpolate2d.rs:137-143 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/interpolate/interpolate1d.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f747ef4701a7233e48a29c487f4f262e0625893ae8d2a244fc010bb774da83c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-nn/src/modules/norm/group.rs:111-119 | crates/burn-nn/src/modules/norm/instance.rs:86-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/norm/group.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea629035b3a61c266a9f6c2a6c8b2a37728cf0fde2f39869c95898fb9aabc37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-nn/src/modules/pool/adaptive_avg_pool2d.rs:36-40 | crates/burn-nn/src/modules/pool/adaptive_avg_pool3d.rs:36-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pool/adaptive_avg_pool2d.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a523a0a5ca633450d33d6fe6eeb8f537d843682fc9d666d81ac76f65d255f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/burn-nn/src/modules/pool/avg_pool1d.rs:111-119 | crates/burn-nn/src/modules/pool/avg_pool2d.rs:114-122 | crates/burn-nn/src/modules/pool/avg_pool3d.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 all 3 call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060input\u0060 to \u0060\u0026Tensor\u003C3\u003E\u0060 in one and \u0060\u0026Tensor\u003C4\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pool/avg_pool1d.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e08615df2ccc195192496065b7851aa92d90fde011b0fe20933cc60d69700a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/burn-nn/src/modules/pool/max_pool1d.rs:104-112 | crates/burn-nn/src/modules/pool/max_pool2d.rs:108-116 | crates/burn-nn/src/modules/pool/max_pool3d.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 all 3 call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060input\u0060 to \u0060\u0026Tensor\u003C3\u003E\u0060 in one and \u0060\u0026Tensor\u003C4\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pool/max_pool1d.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8122032028dff0b28b73cf6603c1097dbc33c60b4e0e4e6b48fd70fc78f0956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): crates/burn-optim/src/optim/adafactor.rs:128-134 | crates/burn-optim/src/optim/adagrad.rs:97-103 | crates/burn-optim/src/optim/adam.rs:117-123 | crates/burn-optim/src/optim/adamw.rs:140-146 | crates/burn-optim/src/optim/adan.rs:127-133 | crates/burn-optim/src/optim/lamb.rs:161-167 | crates/burn-optim/src/optim/lion.rs:65-71 | crates/burn-optim/src/optim/rmsprop.rs:64-71 \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 8 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-optim/src/optim/adagrad.rs:88\u0060 calls \u0060as_ref\u0060 and \u0060crates/burn-optim/src/optim/rmsprop.rs:55\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/adafactor.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f359ea5201fc0b168e5927d40315a759a633c4a58796e21dec72750485a452b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-store/src/applier.rs:324-333 | crates/burn-store/src/collector.rs:187-196 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/applier.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"5190ecdf12ff32aacfa8c9b57a1d31618212a8329be267ffa73e62ae86612fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-store/src/applier.rs:335-342 | crates/burn-store/src/collector.rs:198-205 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/applier.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6b069c1d29418106b0b0bc09f00c78b1287e51226aa5e1e992f5613258f2c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): crates/burn-train/src/metric/acc.rs:85-89 | crates/burn-train/src/metric/cer.rs:144-148 | crates/burn-train/src/metric/fbetascore.rs:150-154 | crates/burn-train/src/metric/hamming.rs:97-101 | crates/burn-train/src/metric/precision.rs:118-122 | crates/burn-train/src/metric/recall.rs:115-119 | crates/burn-train/src/metric/rouge.rs:156-160 | crates/burn-train/src/metric/top_k_acc.rs:118-122 | crates/burn-train/src/metric/wer.rs:127-131 \u2014 before extracting anything, compare \u0060crates/burn-train/src/metric/cer.rs\u0060 and \u0060crates/burn-train/src/metric/wer.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/burn-train/src/metric/acc.rs:91\u0060 calls \u0060clear\u0060, \u0060reset\u0060 and \u0060crates/burn-train/src/metric/wer.rs:133\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/acc.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"698d3a7d2f78600aebd97c5a62372a65c3c81467fcc8a0bada0ed2abfb094ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-train/src/metric/auc_pr.rs:123-132 | crates/burn-train/src/metric/auroc.rs:161-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 \u0060crates/burn-train/src/metric/auc_pr.rs:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/auc_pr.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc70759ee88dca82d522d6bd0c11982b47c5fb864e3aade1974720352831796e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-train/src/metric/precision.rs:61-68 | crates/burn-train/src/metric/recall.rs:61-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/precision.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ed19dcf889017f26b1943576de70a95b9f2040ded787e8d799fcb9b1a2929f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-train/src/metric/processor/metrics.rs:81-86 | crates/burn-train/src/metric/processor/rl_metrics.rs:150-155 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/metrics.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1adaee6391426a20863c5966b4098ef3f8d2a938cc27baa316663e81b41268e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/burn-train/src/metric/vision/afine/weights.rs:59-65 | crates/burn-train/src/metric/vision/dists/weights.rs:34-40 | crates/burn-train/src/metric/vision/fid/weights.rs:24-30 | crates/burn-train/src/metric/vision/lpips/weights.rs:59-65 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/afine/weights.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c71f186a633b64af97922120214c860f22ecaeabfa5f55f1ca09721c7387757"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-train/src/metric/vision/dists/metric.rs:170-177 | crates/burn-train/src/metric/vision/lpips/metric.rs:412-419 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/dists/metric.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2a62a106ce9d92dd957d59ffe13ab470302bfa85a8567f88e7754ee6488d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-train/src/metric/vision/psnr.rs:40-48 | crates/burn-train/src/metric/vision/ssim.rs:42-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":"crates/burn-train/src/metric/vision/psnr.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e06e4b1f4be1ca8596ec331ed53c768309019518f4d28cd39852753356e1df3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-train/src/renderer/cli.rs:76-80 | crates/burn-train/src/renderer/tui/renderer.rs:261-265 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/renderer/cli.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66ff73277235f96c97d886554e869a34f0328802f6b4c6db288064334648ac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/burn-backend-extension/src/lib.rs:63-67 | crates/burn-backend-extension/src/lib.rs:289-293 | crates/burn-instrument-macros/src/lib.rs:54-58 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/lib.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bc923e60eb08d420d30f82575c366890498e3652b9b35b232f6c08fb6c0535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/burn-backend/src/backend/ops/bool_tensor.rs:325-335 | crates/burn-backend/src/backend/ops/int_tensor.rs:251-261 | crates/burn-backend/src/backend/ops/tensor.rs:168-178 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060tensor\u0060 to \u0060BoolTensor\u003CB\u003E\u0060 in one and \u0060IntTensor\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":"crates/burn-backend/src/backend/ops/bool_tensor.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cf8392a3138a3f0c3661027a1efc39aa04c7a5ca2ea6657d2abdfe3d081790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): crates/burn-backend/src/backend/ops/int_tensor.rs:1047-1052 | crates/burn-backend/src/backend/ops/int_tensor.rs:1095-1100 | crates/burn-backend/src/backend/ops/int_tensor.rs:1125-1130 | crates/burn-backend/src/backend/ops/qtensor.rs:1053-1058 | crates/burn-backend/src/backend/ops/qtensor.rs:1107-1112 | crates/burn-backend/src/backend/ops/qtensor.rs:1161-1166 | crates/burn-backend/src/backend/ops/tensor.rs:1593-1598 | crates/burn-backend/src/backend/ops/tensor.rs:1648-1653 | crates/burn-backend/src/backend/ops/tensor.rs:1703-1708 \u2014 there are 9 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060tensor\u0060 to \u0060IntTensor\u003CB\u003E\u0060 in one and \u0060QuantizedTensor\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":"crates/burn-backend/src/backend/ops/int_tensor.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"be87dc20ab194390d79e13c0d3ebf6fd474551bf253c7b14c9cfd0930c3cdd8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/burn-backend/src/backend/ops/qtensor.rs:1070-1075 | crates/burn-backend/src/backend/ops/qtensor.rs:1124-1129 | crates/burn-backend/src/backend/ops/tensor.rs:1610-1615 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060tensor\u0060 to \u0060QuantizedTensor\u003CB\u003E\u0060 in one and \u0060FloatTensor\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":"crates/burn-backend/src/backend/ops/qtensor.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e3b39785f518d56652064a4b9f0ba12aec516307d5004535efcc972bd1cd34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/burn-backend/src/backend/ops/qtensor.rs:1091-1096 | crates/burn-backend/src/backend/ops/qtensor.rs:1145-1150 | crates/burn-backend/src/backend/ops/tensor.rs:1632-1637 \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 \u0060crates/burn-backend/src/backend/ops/qtensor.rs:1091\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060tensor\u0060 to \u0060QuantizedTensor\u003CB\u003E\u0060 in one and \u0060FloatTensor\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":"crates/burn-backend/src/backend/ops/qtensor.rs"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65787692e53a58c026b96817452e592fed199debd6210236fc09e308ad070b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-communication/src/websocket/client.rs:111-117 | crates/burn-communication/src/websocket/server.rs:201-207 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-communication/src/websocket/server.rs:195\u0060 calls \u0060peer_addr\u0060 and \u0060crates/burn-communication/src/websocket/client.rs:108\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-communication/src/websocket/client.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee153ba45575172a31aa0c4fdbbcd68a77070fb1cc3268cac71488558391224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-cubecl-fusion/src/optim/elemwise/fuser.rs:61-67 | crates/burn-cubecl-fusion/src/optim/nhwc_relayout/fuser.rs:111-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/elemwise/fuser.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"800389fdf824199f97d9c77933f0bedc38d21bb471c3b8db4f62a409804487ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs:21-36 | crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs:44-59 | crates/burn-cubecl/src/kernel/conv/backward_weight/implicit_gemm/launch.rs:21-36 | crates/burn-cubecl/src/kernel/conv/backward_weight/implicit_gemm/launch.rs:44-59 | crates/burn-cubecl/src/kernel/conv/forward/implicit_gemm/launch.rs:26-41 | crates/burn-cubecl/src/kernel/conv/forward/implicit_gemm/launch.rs:49-64 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/backward_weight/implicit_gemm/launch.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs:21\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"addbb040c31f25bb0aa2a81a870d7fad349d1462803fcbcc6081cb9305987325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs:67-78 | crates/burn-cubecl/src/kernel/conv/backward_weight/implicit_gemm/launch.rs:67-78 | crates/burn-cubecl/src/kernel/conv/forward/implicit_gemm/launch.rs:79-90 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/conv/backward_weight/implicit_gemm/launch.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs:67\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/conv/backward_data/implicit_gemm/launch.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"76efe1966950cb4eccf5b6e127501f0afa92814a1d2cb27974a0d63f5f7991c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/burn-cubecl/src/kernel/unary_float.rs:33-42 | crates/burn-cubecl/src/kernel/unary_int.rs:32-41 | crates/burn-cubecl/src/kernel/unary_numeric.rs:33-42 \u2014 before extracting anything, compare \u0060crates/burn-cubecl/src/kernel/unary_float.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/unary_int.rs\u0060 as WHOLE FILES: this scan already matched 5 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/unary_float.rs:33\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/unary_float.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4571760d4117c544ee03cac6eb1b0219b67c33173b355ec3e0aff157ee1503e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/burn-nn/src/modules/conv/conv1d.rs:173-181 | crates/burn-nn/src/modules/conv/conv2d.rs:198-206 | crates/burn-nn/src/modules/conv/conv3d.rs:190-198 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/conv/conv2d.rs\u0060 and \u0060crates/burn-nn/src/modules/conv/conv3d.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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 \u0060input\u0060 to \u0060Tensor\u003C3\u003E\u0060 in one and \u0060Tensor\u003C4\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv1d.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"053cd8551bd36f3a5af6e5185435222c21f89d0f1e262e677bdf0ddf27299260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-nn/src/modules/conv/conv_transpose1d.rs:171-178 | crates/burn-nn/src/modules/conv/conv_transpose2d.rs:172-179 | crates/burn-nn/src/modules/conv/conv_transpose3d.rs:173-180 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/conv/conv_transpose1d.rs\u0060 and \u0060crates/burn-nn/src/modules/conv/conv_transpose2d.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 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 \u0060input\u0060 to \u0060Tensor\u003C3\u003E\u0060 in one and \u0060Tensor\u003C4\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv_transpose1d.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0df5bcbc77f1e0857683bc9ebbb5445853816750c635b81ad8234b9413fe01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-train/src/metric/rl/cum_reward.rs:46-51 | crates/burn-train/src/metric/rl/ep_len.rs:46-51 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/rl/cum_reward.rs:46\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026CumulativeRewardInput\u0060 in one and \u0060\u0026EpisodeLengthInput\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/rl/cum_reward.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13e89db9ece7438be0c42e936274983935d50ac643df2541c73e04800b78700"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/burn-signal/src/functions/stft.rs:88-101 | crates/burn-signal/src/functions/stft.rs:210-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-signal/src/functions/stft.rs:88\u0060 it does not close everything it opens, so those exact 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 \u0060window\u0060 to \u0060Option\u003CTensor\u003C1\u003E\u003E\u0060 in one and \u0060Tensor\u003C1\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-signal/src/functions/stft.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5f6a7e606458adf0e410f1ff9fe7faa4338927b4f8cc793c2f66927091435b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/burn-tensor/src/tensor/api/check.rs:1546-1558 | crates/burn-tensor/src/tensor/api/check.rs:1601-1613 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-tensor/src/tensor/api/check.rs:1546\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/check.rs"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c38a1d1697f56225639873dde48ac95bdc1ed219586151d38177d977b6849a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/burn-cubecl/src/kernel/pool/base.rs:58-67 | crates/burn-cubecl/src/kernel/pool/base.rs:214-225 | crates/burn-cubecl/src/kernel/pool/base.rs:339-348 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/pool/base.rs:214\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/base.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a142b3833dd709abed5eea338269f3cd531101c85e42950f1261771d5d51c9c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:684-694 | crates/burn-flex/src/ops/reduce.rs:711-721 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:684\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"707e5d92d47ea24c987d0c7694ca20a0a0335ab73afc130613df5bc305e5c326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-tensor/src/tensor/module.rs:462-471 | crates/burn-tensor/src/tensor/module.rs:998-1007 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/burn-tensor/src/tensor/module.rs:996\u0060 calls \u0060device\u0060, \u0060get_or_init_settings\u0060 and \u0060crates/burn-tensor/src/tensor/module.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":"crates/burn-tensor/src/tensor/module.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"556d3503dedecd64682e8f8c016d3d6ea7d1ecbc58d758ed27f601e8c30092c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-signal/src/functions/fft.rs:374-383 | crates/burn-signal/src/functions/fft.rs:475-482 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-signal/src/functions/fft.rs:374\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-signal/src/functions/fft.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d4314157b365dce82b0a828bc83304282f8cd3296390d6770b104fd4ea4324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-cubecl/src/kernel/pool/base.rs:254-263 | crates/burn-cubecl/src/kernel/pool/base.rs:367-374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/pool/base.rs:254\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/base.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8977f75df7d50c50dc8fa47bf5ff529e7645ab271188049d3c0f2cdf9b1edf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-train/src/metric/bleu.rs:336-344 | crates/burn-train/src/metric/rouge.rs:83-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/bleu.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9603c389c5fec9571d8a88cb5a8ca4c63b33d8c17a56d9ff0a91a5a06e188f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/burn-flex/src/tensor.rs:168-176 | crates/burn-flex/src/tensor.rs:192-200 | crates/burn-flex/src/tensor.rs:214-222 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/tensor.rs:168\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"26921155ded497b3e20f759e75da15b0e26b485b93c7f79bf0cecbfa75445b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/burn-tensor/src/tensor/module.rs:446-453 | crates/burn-tensor/src/tensor/module.rs:513-520 | crates/burn-tensor/src/tensor/module.rs:980-987 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-tensor/src/tensor/module.rs:446\u0060 it does not close everything it opens, so those exact 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 \u0060MaxPoolOptions\u003C3\u003E\u0060 in one and \u0060AvgPoolOptions\u003C3\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/module.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"0623bd3505d8623044c48097c854b9a9291947467c93378e9c37f53c3ca4157f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-flex/src/ops/attention.rs:275-282 | crates/burn-flex/src/ops/attention.rs:781-788 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/attention.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cfdbd962cc04aa350c672412263c48df01c448bc58c884b01cc6c2e2e30bc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-tensor/src/tensor/module.rs:1477-1484 | crates/burn-tensor/src/tensor/module.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 \u0060crates/burn-tensor/src/tensor/module.rs:1477\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/module.rs"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd2f50373c795ce9eb42a64b80f1e5ff3364ab0730b004fe6381ea565135e4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1699-1706 | crates/burn-flex/src/ops/reduce.rs:1750-1757 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1699\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"d554f97946d7c60aa652649b379072c08428d1fa1155adac73f755fec910fecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/burn-flex/src/ops/conv.rs:282-287 | crates/burn-flex/src/ops/conv.rs:1433-1439 | crates/burn-flex/src/ops/conv.rs:1659-1665 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:282\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed4a969a83df0583609018e2ec94b44b9866e0c110f2dfd1619ec64f0c8adff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/burn-cubecl/src/kernel/pool/base.rs:119-125 | crates/burn-cubecl/src/kernel/pool/base.rs:258-264 | crates/burn-cubecl/src/kernel/pool/base.rs:369-375 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/kernel/pool/base.rs:119\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/pool/base.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b660ad798969c544a7939a1e301e59212397ed762ee7fa631298eae48f834cc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:677-682 | crates/burn-flex/src/ops/reduce.rs:704-709 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:677\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"c412a640c198cc56b054c87e756548d0a627be6c75541ada73e7a196914b45ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-flex/src/ops/reduce.rs:1606-1611 | crates/burn-flex/src/ops/reduce.rs:1652-1657 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/reduce.rs:1606\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae5558a8529e065648b437f63b0a8318e50e797380016fafd88b633412825e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/burn-flex/src/ops/conv.rs:282-287 | crates/burn-flex/src/ops/conv.rs:882-887 | crates/burn-flex/src/ops/conv.rs:1433-1438 | crates/burn-flex/src/ops/conv.rs:1659-1664 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/conv.rs:282\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb69ddbc1e67122873cd99145ccbcb1b08690d4ae200bc59e4197b5bb437837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-flex/src/ops/matmul.rs:86-91 | crates/burn-flex/src/ops/matmul.rs:501-506 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/matmul.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e472b1357af28bfb544d28a0a39baaa1fe2900b5f5868d77943a90173dee4bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-train/src/metric/mae.rs:45-50 | crates/burn-train/src/metric/mse.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-train/src/metric/mae.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":"crates/burn-train/src/metric/mae.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"13eec89335b402fa8c8b7495bff5db6541077eb4f4cf0f9f723c080f838fcd6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-backend-extension/src/fusion.rs:341-345 | crates/burn-backend-extension/src/remote.rs:395-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":"crates/burn-backend-extension/src/fusion.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb78e4ca0a268e2759f7ba3ded31e31e0761aa911f87fc74157783c0a3d3bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-backend/src/backend/ops/modules/grid_sample.rs:59-64 | crates/burn-backend/src/backend/ops/modules/grid_sample.rs:65-70 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/grid_sample.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3cdca5ed79fe82acf70b798581f65965411d91f64b5eca2956527bf81278f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-cubecl/src/ops/collective.rs:35-39 | crates/burn-cubecl/src/ops/collective.rs:88-92 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-cubecl/src/ops/collective.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/collective.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d8049338b78c0a6aa9b1e03c5ad43294e821dbeeae00509e191873f73decb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/burn-flex/src/ops/fft.rs:878-882 | crates/burn-flex/src/ops/fft.rs:1077-1081 | crates/burn-flex/src/ops/fft.rs:1457-1461 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/fft.rs:878\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/fft.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d50c76ec0432a24f458e2393851702c435ba13c1ea100a184aaebc3bf5715fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-flex/src/ops/mask.rs:83-87 | crates/burn-flex/src/ops/mask.rs:375-379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/mask.rs:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47cd74648183a0817ab3856df77978ad373761db8a96979abca7ee91bbdaa31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/burn-flex/src/ops/mask.rs:263-270 | crates/burn-flex/src/ops/mask.rs:314-321 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/mask.rs:263\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"4441902701aab117f34b866138e65104646046cee0e19ff6de8623eb44d9aefd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/burn-flex/src/ops/mask.rs:424-429 | crates/burn-flex/src/ops/mask.rs:464-469 | crates/burn-flex/src/ops/mask.rs:514-519 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/ops/mask.rs:424\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/mask.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0ac807cd5757aee9ab3fc10caa3e81c33ef1e92a5b46ffcadcf7cb6d0863b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/burn-flex/src/simd/portable.rs:716-722 | crates/burn-flex/src/simd/portable.rs:767-773 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/simd/portable.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8cc970eee8b1b9a76c70dd0f0a9b81951933a93b37c010ce63edb3ca3725c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-flex/src/zip.rs:489-493 | crates/burn-flex/src/zip.rs:538-542 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-flex/src/zip.rs:489\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/zip.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f5d24e270c45b79cc212cc309aa39f7cfceb2d90c71d00b54a0b6aa8a63427"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-fusion/src/search/optimization/blocks.rs:144-148 | crates/burn-fusion/src/search/optimization/stream.rs:276-280 \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 \u0060self\u0060 to \u0060mut\u0060 in one and \u0060\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/search/optimization/blocks.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5868e2b73b0b7a1fa47a32d8673c152260e5bbf38f038ff612081d8a6a697521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-linalg/src/svd_host.rs:132-136 | crates/burn-linalg/src/svd_host.rs:137-141 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/svd_host.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"208618f13c33e0b87fd66636944ac5409fa850baa017f82830db16df4000fb84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-nn/src/modules/attention/mha.rs:225-229 | crates/burn-nn/src/modules/attention/mha.rs:305-309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/attention/mha.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"669a701db6f683c60d95781c808153dd670dff08073b09af5502776e2b9e89c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/burn-nn/src/modules/conv/conv2d.rs:169-174 | crates/burn-nn/src/modules/conv/conv3d.rs:174-179 \u2014 before extracting anything, compare \u0060crates/burn-nn/src/modules/conv/conv2d.rs\u0060 and \u0060crates/burn-nn/src/modules/conv/conv3d.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060input\u0060 to \u0060\u0026Tensor\u003C4\u003E\u0060 in one and \u0060\u0026Tensor\u003C5\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv2d.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a2faae58e25eacb38898d95058e6ebbde93433a303da901fb5465f6ec4f065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/burn-train/src/metric/fbetascore.rs:128-132 | crates/burn-train/src/metric/precision.rs:96-100 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/fbetascore.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad6f6ee35d8fed7097cdb8b153a05548c3ac422759f11124b67167feecffc04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/burn-no-std-tests/src/burnpack.rs:69-93 | crates/burn-no-std-tests/src/safetensors.rs:59-82 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-no-std-tests/src/burnpack.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b85cac6b10136fe51fb0d2e51e80f49befe9104ba1da138f6e1760b1468e2d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/burn-no-std-tests/src/burnpack.rs:39-66 | crates/burn-no-std-tests/src/burnpack.rs:125-148 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-no-std-tests/src/burnpack.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67080e58acb61438be91feccfada4847b8421ceacea650161e1ded7ecc04b3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/burn-no-std-tests/src/burnpack.rs:96-118 | crates/burn-no-std-tests/src/safetensors.rs:85-104 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-no-std-tests/src/burnpack.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"276e31d87a5d6dff9e987d3d95577438714d53ffb37cfce1b633773c341ca8b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/burn-no-std-tests/src/burnpack.rs:20-26 | crates/burn-no-std-tests/src/safetensors.rs:19-24 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-no-std-tests/src/burnpack.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58c04b9500fa0925858609b1f1fd9226f9d25ac96400cc2bbb51aab77b7875b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/burn-no-std-tests/src/burnpack.rs:45-57 | crates/burn-no-std-tests/src/burnpack.rs:130-141 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-no-std-tests/src/burnpack.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3be73c232c8fdca8514c6f7a70966e9f5a86e16871bcc10686cc92b9e4fafe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/burn-no-std-tests/src/burnpack.rs:85-93 | crates/burn-no-std-tests/src/safetensors.rs:74-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/burn-no-std-tests/src/burnpack.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":"crates/burn-no-std-tests/src/burnpack.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ddf5180a11235ff0af57339936937aa9588a48c0db4879af566b81b1217123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/burn-no-std-tests/src/safetensors.rs:39-49 | crates/burn-no-std-tests/src/safetensors.rs:92-101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-no-std-tests/src/safetensors.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8207ead6c74f840c0eb52b9d47de3ac14daadb3be48d4309a1c596a24f0edf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/burn-no-std-tests/src/burnpack.rs:45-55 | crates/burn-no-std-tests/src/burnpack.rs:104-113 | crates/burn-no-std-tests/src/burnpack.rs:130-139 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-no-std-tests/src/burnpack.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc228e280f0ea9e1061a092ec7ecb22ea33dab651d79c6a33198e28b93a174f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): xtask/src/commands/test.rs:627-637 | xtask/src/commands/test.rs:654-664 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/commands/test.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa134e03c0e6174afe387de2de9323be46287bd5e7a801377fdf661c828f67e"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project burn-dispatch: burn-dispatch has instability 0.83 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6fce2fac36fd9734859902ed553da64fd3f61caf727acd2f5f5194110d087c8f"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project burn-signal: burn-signal has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"92edf031396fba3f4df7926dbb2ee277b825a76148ead7495e4f37d8a3783e19"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project burn-train: burn-train has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"734994b6921bb3637e94e96ea5c26fcba3856a47dcc9baceca9a67fddd063c30"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project burn-vision: burn-vision has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"75b1669bbc2ebc67d0169d87701a7c13e5211aec4e9c06fd03c136e0fafdb21a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: burn-einsum: burn-einsum: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c73da105467205c521b311e2e99e5a295afaa64c59a326998a20874b8097382a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pytorch-reader: pytorch-reader: abstractness 0.09, instability 0.00, distance 0.91 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f3836ba64a0a1bac1f47b9c7ea61a896a6aad2ee14b4edf65b0ddb9d7d73571f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: burn-ir: burn-ir: abstractness 0.02, instability 0.15, distance 0.82 \u2014 zone of pain \u2014 concrete and depended on by 11 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"723b6b22bb917ba53a1658585d6c39e4dba671c6864af744a7c55fca41c4e308"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: burn-std: burn-std: abstractness 0.21, instability 0.00, distance 0.79 \u2014 zone of pain \u2014 concrete and depended on by 21 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32bec6bb52a9a4406eed8d31a509c4612dd623a9fe979109b01946aadb7505e4"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: burn-backend: burn-backend: abstractness 0.23, instability 0.05, distance 0.71 \u2014 zone of pain \u2014 concrete and depended on by 18 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd276bbb108273bf5aae50ced580de423439c4012b45e7ce4f86fb9c6f42722b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Tensor (LCOM4 10): Tensor\u0027s methods fall into 10 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 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-pack/src/tensor.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e34b5c7035358ac9d6692f8f8a2de25368e6723af4d88471a39dd7491a1e78e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Tensor (LCOM4 8): Tensor\u0027s methods fall into 8 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 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/base.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ade313e8ce5007a75f9e5e0825a546de3ab35986e00a818919bf94271cde8ea"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DisplaySettings (LCOM4 7): DisplaySettings\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-core/src/module/display.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"167c4ddc7d61180843af32138fd269dc7457cda716b503572cb744e264a05272"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HostSpec (LCOM4 7): HostSpec\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/client/host.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42d76b41682ba11e739c1dda0e8ffc6fa68038ef20400baa299c854cd0a155f"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: should_behave_the_same_with_multithread: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Flaky test\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-tests/tests/autodiff/multithread.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c458b2f257db3f41add1c2f7e1b026bc67dcaf2537a69e3bc8278b864be63a"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: should_handle_multi_threads_no_async_op_no_wait: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022Flaky test\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-tests/tests/tensor/multi_threads.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a15f8be673a7bec3296545890d9b5fa09d20f2948bb652aa81b38c032fd727f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-router/src/interpreter.rs: crates/burn-router/src/interpreter.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 340 in TensorInterpreter::execute_op at line 287. 3 of those changes were fix/bug commits, and the other 27 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-router/src/interpreter.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c4ae407d1de4752c66cde8acf35cdacb2ec71d46d82f7e57f53997cc926b57"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-ir/src/operation.rs: crates/burn-ir/src/operation.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in ModuleOperationIr::visit_mut at line 4717. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-ir/src/operation.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"2165f6b5fcae06611b93312a78a6d30e885f31d21a6e1e6bbb95a423efd3e392"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/pytorch-reader/src/pickle_reader.rs: crates/pytorch-reader/src/pickle_reader.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in Unpickler::run at line 1341. 3 of those changes were fix/bug commits, and the other 10 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/pytorch-reader/src/pickle_reader.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pytorch-reader/src/pickle_reader.rs"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3df14f1bbadafe389cb0dc0e82781909269573e70fcba2d0c326541c49e9243"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-remote/src/server/worker.rs: crates/burn-remote/src/server/worker.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in SessionHandler::process_task at line 272. 2 of those changes were fix/bug commits, and the other 11 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-remote/src/server/worker.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/server/worker.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b502c34f3ebc0da9e0bd73e5ac410df1f3bce8b193c71fb2a90b5988768355"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-cubecl/src/ops/base.rs: crates/burn-cubecl/src/ops/base.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in burn_cubecl::ops::base::q_reshape at line 346. 3 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-cubecl/src/ops/base.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/base.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"947a0152d7136764129d40ae8c9bc2084e13f6a4910e121ebf9819a14d2f6deb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-flex/src/ops/reduce.rs: crates/burn-flex/src/ops/reduce.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in burn_flex::ops::reduce::reduce_dim_f32 at line 858. 3 of those changes were fix/bug commits, and the other 3 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-flex/src/ops/reduce.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/reduce.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fc3eec187275e4fcd25b2abf5ba3fed5fe3a512d6c8c38bb5f1a115fe2735a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-flex/src/ops/pool.rs: crates/burn-flex/src/ops/pool.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in burn_flex::ops::pool::avg_pool3d_backward_impl at line 1446. 3 of those changes were fix/bug commits, and the other 5 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-flex/src/ops/pool.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/pool.rs"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5747aae8417e126d36a9fcd11b3046f883abd02247e8b392ab3a819169dec21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs: crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in burn_cubecl_fusion::engine::codegen::kernel::init_locals at line 109. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/kernel.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a8eb8f67cceba178e9237e2eceb9163ad7c76880e0bd9c4577aa7579f82630"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-backend-extension/src/extension.rs: crates/burn-backend-extension/src/extension.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in burn_backend_extension::extension::lower_extension at line 143. 2 of those changes were fix/bug commits, and the other 4 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-backend-extension/src/extension.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-extension/src/extension.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddf8762ec410e575e44859e4fd4c9df6a8501af58fa1a652405959236f330ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-flex/src/ops/conv_transpose.rs: crates/burn-flex/src/ops/conv_transpose.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in burn_flex::ops::conv_transpose::conv_transpose3d_impl at line 246. 1 of those changes was a fix/bug commit, and the other 3 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-flex/src/ops/conv_transpose.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv_transpose.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1c118d9d87a1af764d683c12abb8152d2e8a04141059fd29da6367c9df0037"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-optim/src/optim/lbfgs.rs: crates/burn-optim/src/optim/lbfgs.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in LBFGS::step at line 674. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-optim/src/optim/lbfgs.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/lbfgs.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd65fd0795bbaa61a80c59404d5f0b2365306de3b52a9b9d838c603c3a394db5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs: crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in burn_vision::backends::cube::connected_components::hardware_accelerated::hardware_accelerated at line 477. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cube/connected_components/hardware_accelerated.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6f19167256da7a545a2d343227584a2025528edea0c3fc0e0314fe98855324"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-cubecl-fusion/src/engine/launch/vectorization/planner.rs: crates/burn-cubecl-fusion/src/engine/launch/vectorization/planner.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in VectorizationPlanner::run at line 40. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-cubecl-fusion/src/engine/launch/vectorization/planner.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/planner.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"956444681135b1e7fda9538c93b0b463492e8c5550883a42c9a5442a0212f175"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-flex/src/ops/conv.rs: crates/burn-flex/src/ops/conv.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in burn_flex::ops::conv::conv3d_impl at line 238. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-flex/src/ops/conv.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/conv.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44e69965826064c9fc4aa7163d254b952d4b65ee7e2b87cfb45980d36818146"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-cubecl-fusion/src/engine/launch/executor.rs: crates/burn-cubecl-fusion/src/engine/launch/executor.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in LaunchPlanExecutor::execute at line 40. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-cubecl-fusion/src/engine/launch/executor.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/executor.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff99f0fa41f6aca2cd08ea881de73f7bdfd57dc4220195ddfb4ac10a664173f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/burn-vision/src/utils/save.rs: crates/burn-vision/src/utils/save.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in burn_vision::utils::save::save_tensor_as_image at line 65. 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-vision/src/utils/save.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/utils/save.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3aae396b4fa3eed0350a53a14c3357877f1edbf3675e35f1ed93bc242d44c00"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-autodiff/src/ops/tensor.rs: crates/burn-autodiff/src/ops/tensor.rs changed 14 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is Autodiff::float_scatter at line 1155), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(backend)!: separate device settings queries from initialization (#5869)\u201D; \u201Cfix(tensor): make TensorData fields private and validate construction (#5838)\u201D; \u201Cfix(autodiff): correct repeat_dim gradient ordering (#5837)\u201D; \u201Cfix(autodiff): preserve gradients for zero scalar exponents (#5692)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-autodiff/src/ops/tensor.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/tensor.rs"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eedd594c1ea82241d9d50a32cd2e075b821bb71450bb4d98c2f1916985d7082"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-std/src/data/tensor/base.rs: crates/burn-std/src/data/tensor/base.rs changed 12 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is TensorData::random_dtype at line 444), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(std)!: validate quantized tensor data lengths (#5978)\u201D; \u201Cfix(std): preserve Flex32 dtype in full data (#6069)\u201D; \u201Cfix: preserve Flex32 dtype in TensorData conversions (#6062)\u201D; \u201Cfix(tensor): display quantized tensors as metadata without panicking (#5868)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-std/src/data/tensor/base.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-std/src/data/tensor/base.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37d0c9096c63d48fd2c0b91335042fbc48fc4fa11aedeef9f429307eb659392"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-core/src/backend.rs: crates/burn-core/src/backend.rs changed 8 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is ExtensionType::autodiff_routing at line 105), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(dispatch): route autodiff only for associated float inputs (#6109)\u201D; \u201Cfix(metal): require native MSL for explicit Metal devices (#5921)\u201D; \u201Cfix(dispatch): require explicit backend selection and support backend-free builds (#5722)\u201D; \u201Cfix(dispatch): decouple CubeCL runtime facade crates (#5570)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-core/src/backend.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-core/src/backend.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35fedd3737618c7f527ac599bff9c90a2c15379597ddf4ee57c6b4a0c7fc2a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-store/src/applier.rs: crates/burn-store/src/applier.rs changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is Applier::apply_tensor at line 211), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(nn): train and persist stateful PWFF activations (#5932)\u201D; \u201Cfix(tensor): make TensorData fields private and validate construction (#5838)\u201D; \u201Cfix(store): reject a loaded tensor whose dtype is the wrong kind (#5490)\u201D; \u201Cfix(store): exclude adapter-matched tensors from unused (#5536)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-store/src/applier.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/applier.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"88199d143c269cd0b6e5add416b8b4a623cfd618a3673da07996b0c2525e3b34"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-pack/src/writer.rs: crates/burn-pack/src/writer.rs changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is Writer::resolve_path at line 281), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(store): enforce overwrite(false) at publish time, not just before the save (#5781)\u201D; \u201Cfix(pack): validate tensor byte lengths when reading (#5576)\u201D; \u201Cfix(store): write safetensors files atomically (#5489)\u201D; \u201Cfix(store): preserve extensionless burnpack paths (#5494)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-pack/src/writer.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-pack/src/writer.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f2cdbd2fd45632e3ff2b428b6db39ad49f9fe9fdbf75cd5efc611cae2783fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-cubecl-fusion/src/optim/reduce/optimization.rs: crates/burn-cubecl-fusion/src/optim/reduce/optimization.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is burn_cubecl_fusion::optim::reduce::optimization::reduce_instruction2config at line 473), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(fusion): tune index-reading fused blocks on zeroed indices under CompileAndAutotune (#6076)\u201D; \u201Cfix(cubecl): skip the reduce launch when another axis leaves the output empty (#5881)\u201D; \u201Cfix(fusion): resolve reduce reference strides against the reference\u0027s argument list (#5847)\u201D; \u201Cfix!: address fusion and autodiff edge cases (#5400)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-cubecl-fusion/src/optim/reduce/optimization.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce/optimization.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"441e539b4e2d36182f7e330745a58ee0141cf7badb956bb0e29b05630a9cdd0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-cubecl-fusion/src/optim/reduce_broadcasted/optimization.rs: crates/burn-cubecl-fusion/src/optim/reduce_broadcasted/optimization.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is ReduceBroadcastedOptimization::execute at line 170), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(fusion): tune index-reading fused blocks on zeroed indices under CompileAndAutotune (#6076)\u201D; \u201Cfix(cubecl): skip the reduce launch when another axis leaves the output empty (#5881)\u201D; \u201Cfix(fusion): avoid autotuning empty reductions (#5725)\u201D; \u201Cfix!: address fusion and autodiff edge cases (#5400)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-cubecl-fusion/src/optim/reduce_broadcasted/optimization.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce_broadcasted/optimization.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67b3b800da8d8056b0466ebbe5cc80f40a5ab997eb58f270fcba416584c9b5d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-tensor/src/tensor/api/orderable.rs: crates/burn-tensor/src/tensor/api/orderable.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is burn_tensor::tensor::api::orderable::one_hot_classes at line 1223), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(tensor): return off-value rows for out-of-range one_hot_fill indices (#6065)\u201D; \u201Cfix(cube): propagate NaNs in clamp and stabilize GPU tests (#5909)\u201D; \u201Cfix(tensor): reject quantized inputs in *_like ops and one_hot (#5827)\u201D; \u201Cfix(tensor): keep input dtype on empty slice/repeat/cat results and one_hot_fill (#5790)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-tensor/src/tensor/api/orderable.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/orderable.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"194ae433cb2ff7b1f1dade6037316abf8dac293e8ae2e82cf0d3d6bddc8f7df7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-router/src/channel/base.rs: crates/burn-router/src/channel/base.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is RouterChannel::change_client_backend at line 46), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(router)!: move quantized tensors between router clients (#6474)\u201D; \u201Cfix(tensor): enforce destination bool storage during transfers (#6414)\u201D; \u201Cfix(router): move unsigned int tensors between router clients (#6230)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-router/src/channel/base.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/channel/base.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"322d11a791c27f19ee86ec8a3a54b23dc5567b5dab360264d5f43717d8f238a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-derive/src/module/codegen_struct.rs: crates/burn-derive/src/module/codegen_struct.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is burn_derive::module::codegen_struct::is_primitive_type at line 378), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(derive): preserve generic submodules with primitive type arguments (#6000)\u201D; \u201Cfix(module): clarify derive field handling and suggest \u0060#[module(skip)]\u0060 (#5997)\u201D; \u201Cfix(module): preserve reparameterizations during validation (#5821)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-derive/src/module/codegen_struct.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-derive/src/module/codegen_struct.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f65c6a213bc819e005ebfd9116e0ff21e8618ace9c9f656471ca4cd17354a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-fusion/src/ops/qtensor.rs: crates/burn-fusion/src/ops/qtensor.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is Fusion::q_matmul at line 460), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(fusion): register uploads as materialized instead of queuing an Init (#5970)\u201D; \u201Cfix(backend)!: separate device settings queries from initialization (#5869)\u201D; \u201Cfix(tensor): make TensorData fields private and validate construction (#5838)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-fusion/src/ops/qtensor.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/ops/qtensor.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a00136e0b7886ccaafba0707097a8caa21939e5c23477eedf6483950eaaec5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-optim/src/optim/module/module_optimizer.rs: crates/burn-optim/src/optim/module/module_optimizer.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is ModuleOptimizer::load_record at line 247), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(tensor): make TensorData fields private and validate construction (#5838)\u201D; \u201Cfix(optim): keep a parameter\u0027s checkpointing strategy across an update (#5618)\u201D; \u201Cfix(optim): keep tensor data in optimizer records (#5407)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-optim/src/optim/module/module_optimizer.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/module/module_optimizer.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca36a2950b65f8dd4a8a6053bdce2313438a63a8985a25b1ea53813b69a4d6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/pytorch-reader/src/nested/de.rs: crates/pytorch-reader/src/nested/de.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is Deserializer::deserialize_struct at line 119), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pytorch-reader): handle unsupported values in deserialize_any (#5764)\u201D; \u201Cfix(pytorch-reader): remove unsafe visitor cloning and deserialization panics (#5700)\u201D; \u201Cfix(pytorch-reader): report values load_config cannot represent instead of defaulting (#5728)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/pytorch-reader/src/nested/de.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pytorch-reader/src/nested/de.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc46540cb3d1f5fca9f7f7e6ddb7b9bfc0ff6ff15cf16e7163beaf41bd581850"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-pack/src/reader.rs: crates/burn-pack/src/reader.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is burn_pack::reader::read_header at line 349), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(pack): validate tensor byte lengths when reading (#5576)\u201D; \u201Cfix(pack): validate size from aligned data offset (#5530)\u201D; \u201Cfix(store): preserve extensionless burnpack paths (#5494)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-pack/src/reader.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-pack/src/reader.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c917b66746b58654d72aaaca102f8d5a7486231c1d9dc0293aa549a9d9c644"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/burn-communication/src/websocket/client.rs: crates/burn-communication/src/websocket/client.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is WsClientChannel::recv at line 64), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(remote): let a WebSocket server read what its clients send (#5903)\u201D; \u201Cfix(remote): notice a WebSocket peer that vanished without closing (#5825)\u201D; \u201Cfix(remote): try again while a server is not reachable yet (#5824)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 17:50:42 -05:00\u0027 --until=\u00272026-11-12 17:50:42 -05:00\u0027 --full-history --no-merges -- crates/burn-communication/src/websocket/client.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-communication/src/websocket/client.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3dc307c54375eb1990ad4c25b22209f693444e1892750c1d631669cefb9343"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 30 significant file(s) lose their only recent owner: crates/burn-flex/src/ops/qtensor.rs, crates/burn-remote/src/server/pump.rs, crates/burn-tensor/src/tensor/api/extension.rs, crates/burn-core/src/module/display.rs, crates/burn-remote/src/telemetry.rs, crates/burn-std/src/tensor/quantization/packing.rs, crates/burn-core/src/module/param/reparameterization_dyn.rs, crates/burn-tensor/src/wgpu.rs (\u002B22 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c6738ca607c361b92e43e3c1c6a6ff2ab5f1a809acbe4cc175840c3b8946fff3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 4 significant file(s) lose their only recent owner: crates/burn-flex/src/simd/portable.rs, crates/burn-flex/src/ops/unary.rs, crates/burn-pack/src/atomic.rs, crates/pytorch-reader/src/lib.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e824bdde0232406d395724dd5e96981503d3c038b017acaa99b7cc21d7892165"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 4 significant file(s) lose their only recent owner: crates/burn-train/src/metric/mcc.rs, crates/burn-optim/src/optim/adafactor/tests.rs, crates/burn-optim/src/optim/lamb.rs, crates/burn-optim/src/optim/adafactor.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f13daedd805dbe817a269c6199dfc4468d35e23679e55c66b92b26b7140a7446"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 4 significant file(s) lose their only recent owner: crates/burn-nn/src/modules/pixel_shuffle.rs, crates/burn-nn/src/loss/multi_margin.rs, crates/burn-nn/src/modules/fold.rs, crates/burn-nn/src/loss/margin_ranking.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"79a1d2c5e24622e480d754be8700aa5f7071a056e75d0d98d6c07e8a7ee8a1cc"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 4 significant file(s) lose their only recent owner: crates/burn-fusion/src/stream/execution/processor.rs, crates/burn-fusion/src/stream/execution/explorer.rs, crates/burn-std/src/config/fusion.rs, crates/burn-cubecl-fusion/src/engine/settings.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3c511254aa4bedeec4ee56b4fe59f623bce9363fced2943ed12ad0b8bd688db8"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 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 (49 single-owned of 860 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; 860 of the 1235 production source files in this repository met that bar). They are anonymized user #6 (2 file(s)), anonymized user #7 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: crates/burn-cubecl/src/kernel/conv/conv_transpose3d/col2im.rs, crates/burn-cubecl/src/kernel/conv/conv_transpose3d/tune.rs, crates/burn-dataset/src/dataset/base.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Re-enable collective (all-reduce) tests once NCCL is installed and loadable 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":"xtask/src/commands/test.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dfb529feb1bb3e0b8e93ae67dd14b933f77bdf20fd6daa29610fdc74e2bc4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Investigate GPU shutdown and remove this workaround once it is fixed. \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":"xtask/src/commands/test.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbb820953dac50a321b0b32ee866029a20bba1c727aa5d6c26b1bec6de1c347"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: switch to \u0060cargo xtask build\u0060 or \u0060check\u0060 eventually instead of including this in the tests \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":"xtask/src/commands/test.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"109d57811c6e4f010e70ad6b47007a32da2ed7b3105a4cd80374a195f0b28521"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! TODO: Investigate and fix GPU shutdown, then remove this workaround. \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":"xtask/src/commands/wgpu_test_runner.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9914c3aa243084655f4a8beb9447624855380f626b00de3d6ec7bb1e4be08f09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: run tests only locally, and #[serial]\u0027ised? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/loss/gram_matrix/gram_matrix_loss.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b0976c629d10daf40c2a1728de179888f2e4694d97eac8e77de66bfb78cecf"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack to get around mutable borrow limitations on methods \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4fefb205efc7342342f95269e4c356c9ccf1598c03c87393e4778717be3978"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Implement composite ops \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/mod.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b427d5597a7e90d55d192465fd64e9adc4a884930761bd12e69052f8a427e27"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: constraints are still hardcoded, but could be computed dynamically. For example, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/renderer/tui/base.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18a2d692bc98ad6cebe0bd55979b458cd8ea81026b24595fd6da0a939628afc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: naming inconsistent with RL. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/state.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cc666341a14580665260e6b712e552cebcb29d2ea8ca97a5b903d79e354923"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check for another default. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/processor/minimal.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61f2e5f5e182c1c38cd968205f9a03c5b912a11c3807b0e210074e8574fcbb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: rename to \u0060ExperimentSummary\u0060? Used in learner \u002B evaluator. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/summary.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"9081ffd86e4f6d15d3dc99f4025c2f3f2e66f6e67740f29b02576ca82549e085"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: summary makes sense for RL? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/strategy.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f9a5e03250aa5b7bb9cc9b4772fe75015c0b1b93bbe04364d872d589166360"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : clean this up. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/env_runner/async_runner.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c9159a8519e9fdc291a6a87e8afad3b95505587c0c2c99d67f032ba7a5fb09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe quantization, but for now we keep this as device defaults \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/device.rs"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdf4dac315d84aeac7bfd92f1d2c5edfaeaa3472b97f1e3c4fe0bd6a918c221"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor display \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/base.rs"},"region":{"startLine":3316}}}],"partialFingerprints":{"codehealthFindingId/v1":"407bccda41db3d3b6ca3afc87a012915fbc345feec86c136781606b179e47570"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Allow backend specialization. Optimally, implement a median kernel for cubecl \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/float.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a096a5f389caa6c04c99dd9f9df0c81ffd67eb5dd0e3d8894dc7ebf34abf838"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Allow backend specialization. Optimally, implement a median kernel for cubecl \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/tensor/api/float.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a445ec0fb6290913812a883c66ea00aa9ff48d03c4d81c3ac336f4881706a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: deprecate? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-std/src/data/tensor/conversion.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2913dd01a26bbb2f8b23df2888d6d0ae57067c4daa6f150f0d6678a162c26be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: deprecate? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-std/src/data/tensor/conversion.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffec9ad092f74cf498d52aaa5074d93d3468b8873935517379200f8c04199607"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: always call value.inner() to make sure? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/optim/grads.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b382602119160d27816f89c3702d5e40fd02be3babd81ea4e32f6f148821db1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: set native if dtype is supported by the test backend \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/tests/quantize.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8f7aae259d9497ff623fae2379459fb789cabea677e91ad4f991dfeeba962f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: finfo stable eps \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/loss/cross_entropy.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bac3223720894ed515eddab1deb41f5d3b3f8478cce7adef0f3d7079557dc1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: for correctness it might be good to allow users to disable some of these configs in burn.toml. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/tests/backend/lu.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f11ada522f17698999cefd32bbe93aac78218cc07cda62ac62f1f51e957ace"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check that ScalarIr dtype matches dtype? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/builder.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb47163b130494e746cc7528e258b1cdbaaca3125d59a00bd97783467aff7044"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check if axes are within the tensor dimensions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/builder.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a14e7e01caefd3c79b591d300c80fc7bc5052bd3cc5805e597d3d270190694e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check dims compat between tensor and indices \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/builder.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cef5efb23cf51a7bb28b789ab825db5153108c01a688b50ca84d4df29986cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check dims compat between tensor and indices \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/builder.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4ff42c1facfd56dbed2d96e9c91c508a0e56145292ecf5112064ecf3cf645d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check dims within rank \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/builder.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b0d2f79b5c4f00496b4fdca44eeea19e3beb4a586149434396efe678a04ac5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: shape.select? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/builder.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21a4abb0ed1122afaae946d81fe5cc6e4da03fddb0247d47a250a3389ab121a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check value and indices shape match for dim \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/builder.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93033c8464e598129e362e752d42b8b4fa2f924e7daadee81cfdd30bb3b5e20"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check slice and value number of elements match \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/builder.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"73eba41dba16b7532b0f218253ae4b799a62bf0a3e3e262e48cbd3d6db4a4e06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make that an enum with \u0060Value\u0060 and \u0060Id\u0060 variants for relative/global \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-ir/src/operation.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"970f2be538818ed58eee30533a21533e1b87ef2664015743606b012a2c7c503a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: float_powi w/ burn-cubecl-fusion impl \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/ops/tensor.rs"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80bdbcc437158939bb033d7f43346b14813737c1c7ed6f44e5f449e6bbb125f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this workaround once CubeCL lazy readback prevents in-place \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/tensor.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"141bfe26ca6477cd2cbbc40f2a599c2e57bffe0699a6bce0445701fe95f896dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: distributed message? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/backend.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad2851aa49944e7fb8898986621602bdbfa588d1e2127ac63816a6b68a3be0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: right now this assumes \u0060type_id = 0\u0060, but WgpuDevice has other types. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/backend.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59f15f80c3d24c80e559452f322df5087caab334ff6950df6c53abc78a71ec4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if we reduce the different associated types for float/int/bool/quantized tensor primitives down to a single \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/tensor.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"36572b583255c9213a2b871e23cdb9945abdbd805696d527b106e244d0f666bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: linear ops \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/ops/module.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77e5852d99907b331ad47b70410bf9f5b3746372f25b500c4005cbd4c126556"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support for other annotations \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/vision/image_folder.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"467aaa161e8d5329c8decf2b6cd4a4fe217159253362bd9a817dc047e3f2d0f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: SliceArg in burn-tensor should be lifted to burn-std; this should use SliceArg. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/transform/selection.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f6fc92a91e38d77a59aef995d3b70bbdd914067a07aed989b6671585c9d1da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO For media columns (Image and Audio) sometimes when decode=False, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dataset/src/source/huggingface/importer.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ff94faad21cbe381caf7dcbdf15167f7e8e1c2e48ca88bbb8c5894fe23b300"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support multiple strategies. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce_broadcasted/launch.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3944a29298d75affaca52a03efee62247d1d12bb2d1d9b0ea84a896afb0b8f5b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ensure parallel is selected. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce_broadcasted/launch.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad42ee9e87d23e4fbbcbffebdbe54d977443479a091a0997181f6be91342138a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060RefLayoutSetting::SameAsBlock\u0060 might point to a \u0060SwapDims\u0060 layout even though reduce \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce_broadcasted/fuser/block.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c829e9504fffa69a149b98fdacb71007838d0430ec5b3b45a4f17f3dc8243a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Find a way to merge multiple reduce loops. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce_broadcasted/fuser/full_analyzer.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a6c334eb37f72d9cb0e115edd7fb1febe35ca71dea290b71876ea7678da3d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should be a list when multiple blocks are there. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce/args.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"408f45a49c526c551d656092c20d51fb86b0b0c6fccffacf333cd4bf43ddcf2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add stuff from previous blocks to the local of each block. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce/args.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3f3af6546c799bf776224ec84403c8de1a8d47b9c5dcc57187750ca4676811"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Register local arguments from previous blocks. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce/args.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e11f45c0a30a2bf57a5de91bd01552a80492b90c90d9b49208401c11f50771"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix: we need to have fuse-on-read with an identity block. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce/fuser.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6550547607ffde6e3d3f990056f0583fc7d8c42a140f63872dc124f8e13b523b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement better vectorization here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/reduce/optimization.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"e936254fe81667e01ecc10d5d1d370c0caa932b21919b67ed7757076693f2a75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : proper score calculation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/optim/nhwc_relayout/fuser.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fe147dfd9ab825296908bf940defa765ff75933fafb1250cef2a7dcaf1ace9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Making put a map of global registers. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/trace/base.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ecf0869de41ab707f4d4e5fe8d2fb8337eacc59be557ae814f17822a8bfa40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Not all registers should be globals. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/trace/base.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79a6dfe8972e728340b9838f82f50ed144460626d50e7f37f75b468ce56ae65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: We can reuse the same launcher between runs and avoid a lot of allocation, by simply \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/base.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db5165292861908cdaa45d8e977535d36a929c45a49a46e22100ad1ebd039a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Autotune trials run on forked contexts whose extra handle clone \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/input.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf4f9d62a9b5fc5966e2de19beec334384f4caab0f2cfe4b5131dddd00da60b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if we can also remove the read, if we have a dead partial graph. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/output.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee13c66b028228df0e92ae91f87aa0c62ecf6fa2fd54b092f276d41a210ca052"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allocated on every kernel launch. It cannot be reused by keeping it 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":"crates/burn-cubecl-fusion/src/engine/launch/vectorization/axis.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e962ebeedb4513dca69362131f71ef4be8860d263f514de6941091a5aaba1aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we need to init the multi-block local, but at some point we could avoid \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/codegen/ir.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"384379deaa625d5776c1c7ba7dddaac9c047274afdef44c3e64b02b48a55dfc6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Needed to cleanup leaves tensor. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/tensor/base.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"69690947d00ed1f89fd51f87006440a68e3a0efe6ea11591dd52112f54e1ee4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //         todo!() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/tensor/base.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"db00ef0d9ae8cf4844a33b10a1b10f08d208a84563d4ee86eb92cf39413c1530"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: quantize_dynamic (we can compute min-max on the fly and scale, especially when not per-tensor) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/qtensor.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f0822422e253b18e0ead579a813113ab97c60e97947b0f28ea534755cea6ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: configurable device priority \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-core/src/lib.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"37046632307a14aef525c1972038406ccb0f0f82b5918fc597fc687639381e51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO level \u002B 1 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-core/src/module/display.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd018b889165d1d285943a1a359dd68667846efda01991449b0455aef50a2eed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: breaking change for these constant types (currently empty record, non-persistent)? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-core/src/module/param/constant.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaa96a415ae375b1c6a2bdb66104bc74ce4348051552b82d9a17aa52a652851"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: tensor record should persist \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-core/src/module/param/constant.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8548e2b2b4e20475792ff01a605988c4cd2b612890eb91696af80ef476c88545"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO Docs: does it need a slash? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-communication/src/base.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f202125d3d646634072d7504b34d8afb25fee9de885b21519015dd446e8911f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: bf16 (vulkan only supports bf16 for matmul, metal/wgpu doesn\u0027t support bf16) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-tests/tests/tensor_f16.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d4480c65b8897e889d6ba63d295541416f7f4c3b9d14dfabd1e3604f2db703"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Rolling an empty tensor should return the same empty tensor; \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-tests/tests/tensor/int/ops/roll.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"078b1eeee15f5575e298e864141a6724148c0ceca50fb38aa84a2d10d75dd57f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove once backends no longer rely on generics for default elem types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-tests/tests/tensor/float/stats/display.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93ae7f2942ea0f798dc5d0b3537f2ad41a410530687a7b6af6ba3e8d5e77327"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check scales \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-tests/tests/tensor/float/quantization/ops/quantize.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e13ba513542f99a9faec45f43bfcc47ec4742567ab3aabca64fff928e86ffa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: mark serial for backends that handle the same devices (e.g. fusion)? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-tests/tests/tensor/float/ops/random.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5323109bccbfbd20d9f3cdd63b4e991a726f09017897e6c5406c9a07c0856ae8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: force the DoubleUnit autotune choice \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-tests/tests/cubecl/matmul.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddde14f91ecb6ecd155996c80f127b6281723794822a9bda526e3b2dd6fc4184"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Proper checks for i8 support. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-tests/tests/cubecl/quantization/mod.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb242e2b8189a28e860c402a596c4aece8525a8a9c564593fb1779495e414b1f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: should work like tensor-level \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-tests/tests/cubecl/quantization/reshape.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f18bb78be18e7d43addaf1b62d864478c42f9f8f4cd91e8a5b04f1dd85c0d78"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: should 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":"crates/burn-backend-tests/tests/cubecl/quantization/reshape.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afbe83578186f356780a852754d5fc78ce51d523a10bf106dd3cec6e12851bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: FIXME https://github.com/tracel-ai/burn/issues/4739"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend-tests/tests/autodiff/multithread.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"608d14503ec9acba882d856c3972da748e46fbfa4de83b57467237089b28cc9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: run each sort 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":"crates/burn-backend/src/backend/ops/sort.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e34f340d7c56ff70408c6936b71ea16464e37e3a64123343a35ba608adf8bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: default impl should get int default dtype \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/tensor.rs"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"88eed1dce83e3727803cb3ad14a0c4a841a3ce85cc457fe60561df18168e083b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace TypeId with DeviceId, the index being i32::MAX, a.k.a. communication index. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/distributed/api.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"99203ac52db3dabffe9096e81d00964cb7886f73f1108d546644739a38c758cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : The following functions should be moved in the \u0060burn-autodiff\u0060 crate. The difficulty is in not discriminating between \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/distributed/ops.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"79bff8af15353c6a113858f5b7a2ff3838002ac9d4e76c8deceeca497dc2c7a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support a custom unfold4d operation by overriding the default implementation. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ca5962a4bcbeb7c5ebbb4396aecafcef47cbcbc61dcf357d498da85f2c20d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //     todo!() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"186045d1fbeabbe8bad7caa2877b48d4cdca8978fda317ab8367043c71382b2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Find a way to avoid cloning the compute property, which will remove the need to add the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/graph/node.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62384e958e4bace75c81fff9d2b98b71e48e17bf6d9864e8c38aad4a4d8ac10"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove that when proper client server. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/checkpoint/builder.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00f3fbbb893fcd3d480a3b13779432789b9a4eeb14e2db0c3514827221efd98"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060crates/burn-instrument-report/src/main.rs\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-instrument-report/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf66b77bbe283a12a201d1b3625308547f231113a774d020253ca73de6e2183"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 8 of 40 project(s) overshoot their size bounds, lowering Project Cohesion to 6.2/10. The most over is \u0060crates/burn-train\u0060 (29247 LoC, 270 module-visible types across 26 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"f81f999e5f971edab4ef0c26f94560492101a7be4a553f6b4c05cfe1f7a6ce7f"},"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":"a1fc5168fd8118495d4fd27f2222b5c35eb1efabc26f6f47edd93eceb3c6eda5"},"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":"5783f1b9f91fa720ca12082ff7c5cb6e84b9b0020003386c40d54ead52f26886"},"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":"b95a1a52a67cccf8721dd0ca2f784324a8183d0dc54e01e5dfd4834048d528e4"},"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":"15d35850cfc2a18c1d8f78c447caaf3f45f6e5aead3d5a6c9d883c41c9a569d1"},"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":"0f609632fbe48eb43a470515fa590220f55ede176caa7422741d46a0ada1cb2b"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"bdf7cb97a25cfb1f86b392d206d565628b50061be43c81322202930eb4e13e64"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"deeb7b5ad3f0b80a664e02542648051f51ea534667cd255422e7582ce6cad6bf"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"7810c802e825097daf927978bd13d5e0ee023081f241c8f314d8b0c3be755fb6"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"1cb526b645ce8522a4863559599cb83cc87e8f657f8b4c34e94497d14f24494e"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"53476e7c2133e97a7ddf2709d2e3214890c63098f72cdc61d22bc3aa1b1195a8"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"a92cf947482fe53b3ba9264f19a9b557a0f4946e374012975618cba06f8ab9bf"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"db0cdf75bc131332f65779358bce423f700cce9f283caa0b7fbf4ec5a662a071"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"f76c496d2a874ed24f423fed9619a5fdec23b2e71e28533a61cc459fa0acdf3d"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"5798df1ab20cb9a5d2838b43ce61b523875a2403ff369ed91413b7b3352490d5"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"848a09b8fb0de21d7d7280758f8cf5a25e391127de89cbffaf0ddf38fde38e65"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"b9ad3e5828a431cdb7341e8feef7dc885f1dacd67d4e41fe3fc0055cb3ee31a6"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"fd3fbf715b26033df2ed55d2cb40bb448561605192653f98e913f64c145b0a2e"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"7a4a5c5612980bf17ad8b8a0338c5d1c368bd09c7f58fb2a5897df3ef98375f3"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"49b5f51567944d6e332176ae1438e05b8077e8af6654c15be5d18bd60241b898"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"7b175968de96df505725c3680f51f57ec3eb2e12a8c40d69cabd8cc18b2e508d"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d95e56b1228c544dadd9145fde713cc7d1d35bffc01404af66c860faba3d1ca5"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"4fbc6df3d72864219648f8a5e2a3fe4857d204776cc76785ab693bf45ade35c2"},"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":"ddada8298451151ccabfcbc76f9fcdc8086dcc75b8d0967f36c53e94a1633d0d"},"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":"922bd3dd6d8a6c89a224b2de32e1ec29e0fa2e2e22add9873ddf72d7f0efacd0"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"a3a6bc409e8fbe1e4dda11d7fe78dd7402a8f482141aa16be03dd95971dd4f09"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"3774dcac342369f49a4cea2fc95b91542e2100c7725d958483e08d1a2c929c6c"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"be2f89290189d29917b5111a1bf5c88a5730eb85ebfc7c7ba41702452bb0665a"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"7e7071022656167bc2b64d4b2be7f80afc6bc4e9956aa5f4ad3f9ac586100145"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"2e21198b2b87a5cfbf56ce7b2829032fbd038917219fc9d11f56ae64f433b1d4"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"cc3dbfef550ed721fcf0a31f3105f219a1e897e91323c22afc23e8df9db91642"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"fcbdfa06c0679e63fb95c15b8bbf4a18b7fe7338b584babc036735821f1fb40e"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"703ea9f3fdaedc4d58d30e1099ec56a65f5ae611e530655d65ea3dd1e3693846"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"eab04cb862e4cda3604610d4a37ae969e79f2063f75e6a61c67838e70a316002"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"5c4ed5fd9fd8649b7fda737cdb4442ecbf4d17d6af04c3fbb95aea9a11c99a74"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"7c5fde7ea0a05ac4f6201e983f1a399b7948ad915eeaaeda60b1b4840e6613ff"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"c6a1af22aa0b7d31ad095bb251dfdd010ed27815f41fa827dbefcb06b79261be"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"7fa3dfe2afef6733d5bad9aa81169eaa70287fffcda880a6d973306affad7221"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"187e1db567d0d40b26bfa7c4e903014e617b76fbe332d4cc736ef33ce7d8693c"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"28be5e48c34ebe63901e34c65a0c6aca402c50f4e999560b74054f5ab2c7afb5"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"f90651e838b233b82926fbd7c43a9ae17d6da0745d962afbd4fb0951e386c6bc"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"8b6b41000705b3f1cdd173317c2accfc7539eb4c8097250945c7e5fc17b9b43f"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"025cfc5fe2f79f8e124ebcd4b9183db925bb68bc178f9345f9d5df69e78c16dd"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d98a6c973255f5ce1ebedcca0ab7aa6628ff997e340522cfda86d6844e6a4569"},"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":"8697e8ac5431707e257a06445aee20721d7ccd51137b1d576b435c8d094bb482"},"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":"bb005a23d34f7bd49abac84256c1963c0e984a664cb2457abf0b635e0a20a1c1"},"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":"827248700fad0dbf8804f6be1ae5da425e86ef5248387380ad674b6c673cb0f4"},"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":"a9def52c7895b50fc018d2d467fb2d792d27ab67619ff6ae50bb9f0cd0da093d"},"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":"235da0f7abdf706c71d1c46d56021663463bbb2a2c49c4095759e53bbff69344"},"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":"4bd0fe9343e06f6c604d1f811f439e980605a17356f31ea0aad6b0d723c050d2"},"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":"4b213c85ee78326d2a103d6f174308d72aa93485d8d27049b932f18a20170a5f"},"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":"8ac6528990093f143486275b9fee0e20f3e856c8051c23d7778fb3977fe64dc1"},"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":"6c2bb6e48ba198d464ab91a1bff4548c621984de3f57f09feeb3a586b65963ef"},"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":"bd59f40a3d716fd20a05dfa22bd1789ab5583af0d7e0fefa5b158fec2a5b888e"},"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":"88314873a957420c38b8b3f0764f13dc1ad12bc167f194c41b926fe7e1a83162"},"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":"ad802125a4a401fcc72dd926f520e28347e5b710636c8418e0301f554098ab3f"},"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":"c7c6a9b035e5dade43618ee9bfc5dae5a706897a14fece8204d519def61e5788"},"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":"259fe18d928b2f254a51fcb8cd6aaac8f4090a638cfdc5742b1659786ae9b901"},"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":"88d82a5d1863d3d0c4d0db8f59dd91e99e07362d034feb4ef73bf7ae237f5a52"},"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":"3fbadb2d6d12bd90e4b1f4767a80690b96e53a601539986f1e723999186ef13b"},"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":"0f36b655dbba9a101431b86dd395849ada64174da5db107d696918c219d31489"},"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":"4d9c8b3306719612ec211956dd1c98020b5f7ddaf16331204a6fd2da955461cc"},"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":"5f52b2a94433d56ba146243f0a4c31393f4a279d443e54522f3867be3eefc7d5"},"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":"555938bcfde03627b0402bb4b836a13f4e831a892bba1babdc8b8b6f1ba09a41"},"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":"ee86c82485bb739cc3624328c46172d9340ef6311943b5aa1c2026b8da786983"},"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":"048871090f1c175eb1d34116b2147bf3a72741b37c29c7ced0c6e574455cbfe1"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"35f031a2932b06b12ad53bfd05603d09d482b4169e53a1da00776c4d43794f8c"},"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":"3ca3c9f7fc05c1e449ac51d962a2dc699278fc81cde8ce523980144d65e88368"},"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":"c1df45a7995a9fb8062776f3187efde802f19b123083b389597354ea767cc311"},"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":"7ed8ebdc8781355be83b63ddffee8f9f8db7cf8c92055125f54dd2897dbe3efc"},"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":"1ef91ef62b18698918f164b3f4fc421610d096b6cc8def0045eb4f7a029973af"},"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":"6bc51f47a0b25f6206f50b88b714c30df0c56753599ccf67cec093598a5b16d6"},"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":"b5ae585797cb9eee879e8a82c6a555fd29ee233645230caf4bfe9c4f8213ec38"},"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":"c3203029ecd9cfd178a00ed0501565998c61aa3e68b13c61333e3dda36098aa4"},"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":"8fcd54e89471de7c915486f4711f8ee022384834dcf6993f9413d3ddfdb03040"},"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":"aaf571626b052468d85a7fce9bf8b62897ee2368d3ec4eddaae1588a728e2425"},"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":"1fdfd2f15f7854a62144ef41bb0e4705d01bf63742e6c94044cc078f16723b5d"},"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":"2a083072d704dcf2d031a340c6c24a5c9ac3ddf350862b7f1b7393ce3eb8efda"},"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":"198569c153b6a215b6f32f1cf79b922d8b83307cd879939103e64b2898010d85"},"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":"0a53dfac0594956219306b503d7564860f6e6699b40265f3fdf3acaa85315434"},"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":"8a833566b13a9865d92794b951337aa9a5782beff43151641c5e80333baedecf"},"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":"41f8c581475f19c6439e16c4987c81e7576856672f51207d3773fe9c11b7d65f"},"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":"3986ccf96e0a46071d9486d830f2979e3948e35744d9ced44a410384b30948d9"},"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":"8f70087378e994330f7f83a77bd493f95507baf04a6a47cf59d386f0cff92e1c"},"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":"aa77f9eb7f61ae8b5aabadf464fe4311794ea417314e2de2cb36f6bad0fe4fd2"},"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":"ae996d3b6ef2d8a574daa28878ee985321d16af848c98705909c5eda7b0a621b"},"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":"fef94b03c1c43cbc56dc39eb22352668f9d43e9394c5599862094ee4c2408cd1"},"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":"db2ef96c8497863f49df06487594ead90327465188dfba89b5423103e76a9f55"},"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":"e8f64a8efa12cfb134cf634d50141c1160e22389bcbe2fe2bbbe3b731c5c543d"},"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":"a2835c941f62a17bc2d12e1cd4558cd9f87cd420d6afb93a2456be9152547586"},"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":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5700cf8ee182fc440abb16030061d2e9976929eb60c880096208a514bc453b10"},"properties":{"dependency":{"package":"zip","version":"9.0.4","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":"c64e30c28e3c0e2ac4c865fc1656b78d3404e0bf0484e55f9176b7c5f283f360"},"properties":{"dependency":{"package":"tokio","version":"1.53.1","advisory":"RUSTSEC-2026-0386","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06e8dc8c07565b965cad3fead890e0d682e96e4f994ab4a0654e3f10afe7962d"},"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":"414bb4a49ee404ddc9dbe92931374dee643d4d3104e067391ed93041a77ff631"},"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":"d67834474e5564706ab5d6117a7537fa7ddd9f89e1070ff0f40846a68262b203"},"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":"64bc44f41a35cd29a5d01a7b192ce2cc5f1d458c15d9df1d5239ebb5b7c6fd43"},"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":"a79bcf37fda3b3cfb40243fa81b1818f80a0fe095c267b68e3c7eee6f042ddc9"},"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":"21df614167acad094349de8aa7cfc685e485f636d67b1ded35b43230df65a136"},"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":"fd61c6a1a6d23109e3da0a091cdbb2ecd3102dd1235e0548e2d8ffd7db2a7005"},"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":"a910032c7367726c7f26107809b36a5b0ab01a6e3af6f2b0cf67b659ecca9e49"},"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":"d11388e41908d6112e7f61d01d0c0d9062830b07945356073c8069de5b88d627"},"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":"dbb5f2efe8d9cca6344840981b65d21b774960589fc9976e6690dc84fce97102"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0406","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"4975822701b3b96654c82dada9bad969e348a6adefa52cd3bba1b6cfd71c3bb7"},"properties":{"dependency":{"package":"bincode","version":"2.0.1","advisory":"RUSTSEC-2025-0141","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"705e8761c5e609601c0419d94a8bad1aeb6aee434f48ec4660c92e8bf534c9de"},"properties":{"dependency":{"package":"number_prefix","version":"0.4.0","advisory":"RUSTSEC-2025-0119","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"5922a5beeab5ac077ffb485a783ad545036e79b56239f83da38f3fb84336b113"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"5585c48a8c4ed670247ebaa40a533d385248c4e49079fee700e7b93cbab137a9"},"properties":{"dependency":{"package":"quick-xml","version":"0.39.4","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"f4999ef69e42f46a403f3866a4a634365963f93fdd6e82c0c4a8e528a960ab52"},"properties":{"dependency":{"package":"zstd","version":"0.13.3","advisory":"RUSTSEC-2026-0391","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"d7870b77ea4843334d11fffa265d6d0542e94eec7f4c8e852762d55c28578136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.3.0","advisory":"RUSTSEC-2026-0398","aliases":["RUSTSEC-2026-0403"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components/spaghetti/Spaghetti_center_line_forest_code.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0656ee48a819221fefa96cc39873dde41829e8d1fcc8f83d2bd1b5e9da7ebe8"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components/spaghetti/Spaghetti_last_line_forest_code.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8688937dd366fed499d0494c73e5e41d973dab9ffebb9b8034878028f4fae349"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28534602d241f6e0ee5c8d262fcce9ebdfd82a32607585b70e8e2b34a558ef31"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 25 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: crates/burn-train/src/metric/vision/afine/heads.rs, crates/burn-train/src/metric/vision/afine/metric.rs, crates/burn-vision/src/backends/cpu/morphology/filter_engine.rs, crates/burn-train/src/metric/vision/afine/clip_vit.rs, crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs, crates/burn-communication/src/external_comm.rs, crates/burn-optim/src/lr_scheduler/step.rs, crates/burn-train/src/metric/vision/afine/calibrators.rs (and 17 more) (28 orphaned of 860 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; 860 of the 1235 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/afine/heads.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9917d049b2f81c95ef38c3cb4a160f8fd42978f939e1824aa9f08ab24f5e6031"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/afine/metric.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25af04881cef71f89416610b5517167d55c65c8cb0e16d567841f89cebacf107"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/morphology/filter_engine.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"906e8a0c1351f9d1271b464c217dcba5cdbbdd0780be8faf466c050d29732374"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/afine/clip_vit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1003aab7341ed5ace35e8744aa2051bcd04aeaac347abdf48af96afb8bd8e275"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components/spaghetti/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3041cb2ae082981c0a01e43cf322f9c5bafce4344f24545988382ebb9f6e37"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-communication/src/external_comm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47408b2e2c42118c975895590c068c8a6c858069305b484c05437296ffd82bc2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/lr_scheduler/step.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"876d7ab73b0dd2312ceda5f2fc0e1f9e2097bb135ae47e1753336856c38eae72"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/afine/calibrators.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa9ef3b98ba003d592b272159ebd3c3ab2f5dd7fae24d9fd6c163c8c9ea2660"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/lr_scheduler/sequential.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8bb56ef00564b3b91770fe458f5c7ec4c48c2088dd1d3b847a3f70bd7ea787"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/lr_scheduler/linear.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f64d26a2d0fa734ba1a1351fb8ac0985d04f7b82898805a283deb75046bbae8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components/spaghetti/Spaghetti_first_line_forest_code.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a367ee3b439992a8673feaae3835b06db850795d4986251dcc9369c7b5c1a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/dists/vgg16_l2pool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2489f8f7e162b06defff83f7768f60018c52769127fb9459c1b6399d8aa9d720"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/lpips/squeezenet.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"973372bacdc06e3af2353cafef8471516413029c516d7cee5b8a6ac7defd69f5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-optim/src/lr_scheduler/exponential.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e89b13a0e513b294a1f7b981f0c41128c2252b3f984ba6a5009e38514ccb9a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/dists/l2pool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff75fc8bcbe021a696775f9e4ed2fe53a0afb57088da341148ce15217ab3754"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/dists/weights.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed71fc95ef2f2b194305c7a0190c6abc69d3ece3cfd70c2909306846333f983"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/afine/clip_attention.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a2aa8da27c5107e66a63c745b7ee739150bc10d8a0096b900a4968c042dcc9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/lpips/vgg.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1acf9f74fa07d484f1355c1b51e76b3d43a132210f7d9f954aff0fa39d219f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/lpips/alexnet.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ac9054db1fb7eb3af3f59262927de0e79d3195329741e9b748f8ff7df2d132"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/activation/shrink.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccdd012e1d96fa2cd490a8f0103b32b888a22ae100036d1a3d22c33544e5cb4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/activation/soft_shrink.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85111dad7ab1cc30887badb404d1bd181e1f691a051c50a7742602faf08e445"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/metric/vision/fid/weights.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3422ced0a27d53807ee8dec51e3c1175f34030ba1ddb40789d116488bb2c38a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/activation/hard_shrink.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2abf5758afd3b8ee1b453d47b7aec1b164049b12aa07293c3cc68e6c8ab1a99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/activation/hard_sigmoid.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0dcaf9c2ab426f8a87bda8397a7690f50820d7af993ece65fb85f25addf48a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-vision/src/backends/cpu/connected_components/spaghetti/Spaghetti_single_line_forest_code.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa21b425b729ed2630dcde0a517336f1ee002595787e167aba83146ed357153f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: int_tensor.rs \u2194 int_tensor.rs: \u0060crates/burn-fusion/src/ops/int_tensor.rs\u0060 and \u0060crates/burn-router/src/ops/int_tensor.rs\u0060 change together 100% of the time (11 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060fac78653\u0060 refactor(backend): remove specialized indexing add operations (#5523); \u006098817560\u0060 refactor(tensor): move padding operations to backend (#5505); \u00608a933f84\u0060 feat(ndarray): support assign indexing updates for floats and ints (#\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/ops/int_tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9e4f734dc9243a4cd8f963d509c5f30f2b43dc7ca5d36c86e5675ac7e1571f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: backend.rs \u2192 backend.rs, backend.rs, runner.rs, task.rs: \u0060crates/burn-router/src/backend.rs\u0060 changes together with 4 other files \u2014 \u0060crates/burn-cubecl/src/backend.rs\u0060, \u0060crates/burn-dispatch/src/backend.rs\u0060, \u0060crates/burn-remote/src/client/runner.rs\u0060, \u0060crates/burn-remote/src/shared/task.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/backend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a576f5213744e8e86bbfe509a9da208f6a37bc589d0604bf75e64736d1a82c28"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: conv1d.rs \u2194 conv2d.rs: \u0060crates/burn-nn/src/modules/conv/conv1d.rs\u0060 and \u0060crates/burn-nn/src/modules/conv/conv2d.rs\u0060 change together 84% of the time (21 of the 25 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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 21 shared commits counted here, the most recent 3 are \u006024e0753a\u0060 fix(nn): use effective kernels for dilated Same padding (#6286); \u00607b815b01\u0060 feat(backend)!: support asymmetric padding in conv1d and conv2d (#5521); \u0060f6754f53\u0060 fix(nn): conv1d initializer fan out (#4973) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv1d.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d9ffa4102be10c6fdfb5af119c1adc5dd4f12dd44a7529999c02bcddd8e146"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: module.rs \u2192 module.rs, module.rs, module.rs, context.rs, builder.rs, operation.rs, module.rs: \u0060crates/burn-dispatch/src/ops/module.rs\u0060 changes together with 7 other files \u2014 \u0060crates/burn-autodiff/src/ops/module.rs\u0060, \u0060crates/burn-cubecl/src/ops/module.rs\u0060, \u0060crates/burn-fusion/src/ops/module.rs\u0060, \u0060crates/burn-fusion/src/stream/context.rs\u0060, \u0060crates/burn-ir/src/builder.rs\u0060, \u0060crates/burn-ir/src/operation.rs\u0060, \u0060crates/burn-router/src/ops/module.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 7 separate couplings, not 7 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 7."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-dispatch/src/ops/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e336cc3d4698e712c4807d62dc2f9429fbf0b77a00ba0ba43d42c5b3f243d1d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dequantize.rs \u2194 quantize.rs: \u0060crates/burn-cubecl/src/kernel/quantization/dequantize.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/quantization/quantize.rs\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060996a7b44\u0060 Refactor/quant (#3500); \u00609125b55c\u0060 Add quantization params precision (#3453); \u00609c347226\u0060 Feat/quant block (#3442) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/quantization/dequantize.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2975867517d500e49c76c253bba54d8d8bc3e74f9454f5f5f809a5285e51efcb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: avg_pool1d.rs \u2194 avg_pool2d.rs: \u0060crates/burn-nn/src/modules/pool/avg_pool1d.rs\u0060 and \u0060crates/burn-nn/src/modules/pool/avg_pool2d.rs\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00609adff026\u0060 refactor(tensor)!: move pooling args into options structs with asymme\u2026; \u0060986f0c1d\u0060 fix(nn): honor count_include_pad for asymmetric average pooling (#5592); \u0060c0c12f53\u0060 [Breaking] Add asymmetric padding support for conv and pool operation\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/pool/avg_pool1d.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b9ecf35bc290ff46f41baa7965a979717808f8ad7251f203e8d5b74bbfa4b9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: input.rs \u2194 output.rs: \u0060crates/burn-cubecl-fusion/src/engine/launch/input.rs\u0060 and \u0060crates/burn-cubecl-fusion/src/engine/launch/output.rs\u0060 change together 79% of the time (11 of the 14 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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00605c1b6126\u0060 feat(fusion): fused elementwise kernels walk storage tiles; quant tes\u2026; \u00609ef29431\u0060 Qa/tiled storage (#5839); \u0060df92ec07\u0060 Feat/storage tiled carrier (#5631) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/input.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa0e76e141ad7a95a1d3652c0a78cabdb17eb5b8dbe2c0f6552d81c0dce3ea3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: interpreter.rs \u2192 module.rs, tensor.rs, module.rs, context.rs, runner.rs, service.rs, task.rs, backend.rs, module.rs, int.rs: \u0060crates/burn-router/src/interpreter.rs\u0060 changes together with 10 other files \u2014 \u0060crates/burn-dispatch/src/ops/module.rs\u0060, \u0060crates/burn-dispatch/src/ops/tensor.rs\u0060, \u0060crates/burn-fusion/src/ops/module.rs\u0060, \u0060crates/burn-fusion/src/stream/context.rs\u0060, \u0060crates/burn-remote/src/client/runner.rs\u0060, \u0060crates/burn-remote/src/client/service.rs\u0060, \u0060crates/burn-remote/src/shared/task.rs\u0060, \u0060crates/burn-router/src/backend.rs\u0060, \u0060crates/burn-router/src/ops/module.rs\u0060, \u0060crates/burn-tensor/src/bridge/ops/int.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 10 separate couplings, not 10 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 10."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/interpreter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"179fc6b4b0d734301a919645d9b10907bd21e7b2b1877c542a98241d6ae620a9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: task.rs \u2194 base.rs: \u0060crates/burn-remote/src/shared/task.rs\u0060 and \u0060crates/burn-router/src/client/base.rs\u0060 change together 76% of the time (13 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 13 shared commits counted here, the most recent 3 are \u00604bf94e7d\u0060 feat(environment): ComputeEnvironment::prune keeps what the work load\u2026; \u006027722e5f\u0060 ComputeEnvironment::merge: bring another environment\u0027s entries in (#6\u2026; \u0060f4a7b07f\u0060 ComputeEnvironment: a device\u0027s compiled kernels and autotune answers,\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/shared/task.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6915f37faad98c5b1ad87cbaed96234d184cc708d6df06d7327fb1a6916a3e69"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: module.rs \u2194 context.rs: \u0060crates/burn-fusion/src/ops/module.rs\u0060 and \u0060crates/burn-fusion/src/stream/context.rs\u0060 change together 76% of the time (16 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u0060c9b05685\u0060 feat: attention over a key/value cache; MatmulCall without routes (#6\u2026; \u00603309eb6d\u0060 feat: native attention backward pass (#6209); \u0060ff556ce6\u0060 feat(tensor)!: add dilation to average pooling (#6235) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/ops/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4984c82d5ba1c2c34ada0d325bd4689d112dfd6590760d1de904b83c5d89a3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: worker.rs \u2192 backend.rs, backend.rs, backend.rs, backend.rs, runner.rs, service.rs, backend.rs, base.rs: \u0060crates/burn-remote/src/server/worker.rs\u0060 changes together with 8 other files \u2014 \u0060crates/burn-autodiff/src/backend.rs\u0060, \u0060crates/burn-cubecl/src/backend.rs\u0060, \u0060crates/burn-dispatch/src/backend.rs\u0060, \u0060crates/burn-fusion/src/backend.rs\u0060, \u0060crates/burn-remote/src/client/runner.rs\u0060, \u0060crates/burn-remote/src/client/service.rs\u0060, \u0060crates/burn-router/src/backend.rs\u0060, \u0060crates/burn-router/src/client/base.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 8 separate couplings, not 8 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 8."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/server/worker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd04e019f3694027a8480e7c6dfd24b4bae0e9b5a99cf29ea7df81bd9e8c8a4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: decoder.rs \u2194 encoder.rs: \u0060crates/burn-nn/src/modules/transformer/decoder.rs\u0060 and \u0060crates/burn-nn/src/modules/transformer/encoder.rs\u0060 change together 75% of the time (9 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060a2ab9f84\u0060 perf(nn): avoid historical query attention in cached inference (#6125); \u00600788ef62\u0060 Add configurable activation and layer_norm_eps to transformer layers \u2026; \u0060ab162f68\u0060 Make TransformerEncoderLayer and TransformerDecoderLayer methods publ\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/transformer/decoder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b923dc912c0ac14ac8cc1dadea167162e2b17154656ec2e7a7c93a6d2b925a04"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: backend.rs \u2194 backend.rs: \u0060crates/burn-cubecl/src/backend.rs\u0060 and \u0060crates/burn-fusion/src/backend.rs\u0060 change together 67% of the time (20 of the 30 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 20 shared commits counted here, the most recent 3 are \u00604bf94e7d\u0060 feat(environment): ComputeEnvironment::prune keeps what the work load\u2026; \u006027722e5f\u0060 ComputeEnvironment::merge: bring another environment\u0027s entries in (#6\u2026; \u0060f4a7b07f\u0060 ComputeEnvironment: a device\u0027s compiled kernels and autotune answers,\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/backend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e45e59a6fd0ed365b508df9423edaeceeaf35f3607f7e2a3fdb54928988361"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: context.rs \u2194 module.rs: \u0060crates/burn-fusion/src/stream/context.rs\u0060 and \u0060crates/burn-router/src/ops/module.rs\u0060 change together 67% of the time (10 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060c9b05685\u0060 feat: attention over a key/value cache; MatmulCall without routes (#6\u2026; \u00603309eb6d\u0060 feat: native attention backward pass (#6209); \u0060ff556ce6\u0060 feat(tensor)!: add dilation to average pooling (#6235) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/stream/context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f152b933ab255c8b04e4725271f2b2764a46cd1bf88c5d38fe0b06f42bee360"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: server.rs \u2194 base.rs: \u0060crates/burn-fusion/src/server.rs\u0060 and \u0060crates/burn-fusion/src/tensor/base.rs\u0060 change together 62% of the time (8 of the 13 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 8 shared commits counted here, the most recent 3 are \u00607bc1dd62\u0060 perf(fusion): defer a cross-thread drop until its producer runs inste\u2026; \u00603fb74589\u0060 fix(fusion): a panicking operation must not poison its stream (#5535) (at that commit the file was still \u0060crates/burn-fusion/src/tensor.rs\u0060); \u006062ca8c58\u0060 Fix/fusion read composition (#5282) (at that commit the file was still \u0060crates/burn-fusion/src/tensor.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9163f2d9d55afc536993d11f2375597f2340946df571b3d2617c5ebac8ee88b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dropout.rs \u2194 layer.rs: \u0060crates/burn-nn/src/modules/dropout.rs\u0060 and \u0060crates/burn-nn/src/modules/norm/layer.rs\u0060 change together 62% of the time (8 of the 13 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 8 shared commits counted here, the most recent 3 are \u00602c516154\u0060 Print model structure like with PyTorch - Part 1 (#1912) (at that commit the files were still \u0060crates/burn-core/src/nn/dropout.rs\u0060 and \u0060crates/burn-core/src/nn/norm/layer.rs\u0060); \u00607d750468\u0060 Refactor/init modules (#250) (at that commit the files were still \u0060burn-core/src/nn/dropout.rs\u0060 and \u0060burn-core/src/nn/norm/layer.rs\u0060); \u006046d06f0c\u0060 feat: module init (#117) (at that commit the files were still \u0060burn/src/nn/dropout.rs\u0060 and \u0060burn/src/nn/layer_norm.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/dropout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3560ce054e1ade4a09d2a6866d6ef95f2d90db1b69c10517a00face4be1d3ba"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: int.rs \u2192 tensor.rs, tensor.rs, operation.rs, tensor.rs: \u0060crates/burn-tensor/src/bridge/ops/int.rs\u0060 changes together with 4 other files \u2014 \u0060crates/burn-backend/src/backend/ops/tensor.rs\u0060, \u0060crates/burn-fusion/src/ops/tensor.rs\u0060, \u0060crates/burn-ir/src/operation.rs\u0060, \u0060crates/burn-router/src/ops/tensor.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-tensor/src/bridge/ops/int.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfcc649e11435d0c9548aca26296117d9ee9f85ec1a1baf4eb4e418059cedae"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: conv2d.rs \u2194 max_pool2d.rs: \u0060crates/burn-nn/src/modules/conv/conv2d.rs\u0060 and \u0060crates/burn-nn/src/modules/pool/max_pool2d.rs\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060c0c12f53\u0060 [Breaking] Add asymmetric padding support for conv and pool operation\u2026; \u00602c516154\u0060 Print model structure like with PyTorch - Part 1 (#1912) (at that commit the files were still \u0060crates/burn-core/src/nn/conv/conv2d.rs\u0060 and \u0060crates/burn-core/src/nn/pool/max_pool2d.rs\u0060); \u0060e066d95d\u0060 Implement padding for conv2d (#523) (at that commit the files were still \u0060burn-core/src/nn/conv/conv2d.rs\u0060 and \u0060burn-core/src/nn/pool/max_pool2d.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/conv/conv2d.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c249c62cc9a14d415e4ffa42aee1970a3b40feef0f328bae765195e85baf249"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: tensor.rs \u2194 float.rs: \u0060crates/burn-fusion/src/ops/tensor.rs\u0060 and \u0060crates/burn-tensor/src/bridge/ops/float.rs\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006004e0f2de\u0060 perf(autodiff): reduce a broadcast gradient over all dims at once (#5\u2026; \u00605f74b393\u0060 feat(tensor): add batched SVD decomposition to linalg (#5259); \u006098817560\u0060 refactor(tensor): move padding operations to backend (#5505) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/ops/tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8d9fc7645010567d88b233b579aa81dee00d0bb90db74b7ce9d2be3a40e465"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: embedding.rs \u2194 linear.rs: \u0060crates/burn-nn/src/modules/embedding.rs\u0060 and \u0060crates/burn-nn/src/modules/linear.rs\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00609a1bc890\u0060 feat(instrument): price components in a run of their own (#6196); \u0060e5cc50a8\u0060 refactor/initializer (#398) (at that commit the files were still \u0060burn-core/src/nn/embedding.rs\u0060 and \u0060burn-core/src/nn/linear.rs\u0060); \u006037b79bcc\u0060 Add init_with for nn modules (#280) (at that commit the files were still \u0060burn-core/src/nn/embedding.rs\u0060 and \u0060burn-core/src/nn/linear.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/embedding.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a36816e463e31c19d6e8edef950c8083e4b93fe94b1ba7f87affc5e5d35b0f1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: gather.rs \u2194 scatter.rs: \u0060crates/burn-cubecl/src/kernel/index/gather.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/index/scatter.rs\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060b340f100\u0060 feat(tensor): support smaller gather/scatter indices on non-indexed d\u2026; \u006079cd3d5d\u0060 Fix gather unchecked kernel (#2206) (at that commit the files were still \u0060crates/burn-jit/src/kernel/index/gather.rs\u0060 and \u0060crates/burn-jit/src/kernel/index/scatter.rs\u0060); \u006057887e7a\u0060 Refactor/elemwise/kernel selection \u002B dynamic fused inplace operations\u2026 (at that commit the files were still \u0060crates/burn-wgpu/src/kernel/index/gather.rs\u0060 and \u0060crates/burn-wgpu/src/kernel/index/scatter.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/index/gather.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"498f12a707d2a519fe918c0b7fb5181774147b950d1d2a344f1f984169b4f883"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: binary.rs \u2194 clamp.rs: \u0060crates/burn-cubecl/src/kernel/binary.rs\u0060 and \u0060crates/burn-cubecl/src/kernel/clamp.rs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060ee09bc30\u0060 chore: Update to refactor cubecl types and traits (#4297); \u00602b4be6ca\u0060 Refactor unary \u002B binary kernels (#2665) (at that commit the files were still \u0060crates/burn-jit/src/kernel/binary.rs\u0060 and \u0060crates/burn-jit/src/kernel/clamp.rs\u0060); \u006044802b98\u0060 Update CubeCL (#2310) (at that commit the files were still \u0060crates/burn-jit/src/kernel/binary.rs\u0060 and \u0060crates/burn-jit/src/kernel/clamp.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"449eb5f4928b5431f8999a8342a3ac28985fda398dd8be544eea694425a8fea0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bool_tensor.rs \u2194 base.rs: \u0060crates/burn-backend/src/backend/ops/bool_tensor.rs\u0060 and \u0060crates/burn-tensor/src/tensor/api/base.rs\u0060 change together 54% of the time (13 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060ed6bd9af\u0060 feat(tensor)!: support scatter_nd and gather_nd for bool tensors (#6047); \u00600d3e286b\u0060 feat(tensor)!: support all indexing update ops for bool scatter and s\u2026; \u0060d2ab1dd8\u0060 feat(backend): promote mask_select to a backend op with dispatch (#5283) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/bool_tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd602d9b4042b9db70851673eb16e892565c2e2f06f35f9f89f31bba91a5da90"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: int_tensor.rs \u2194 numeric.rs: \u0060crates/burn-autodiff/src/ops/int_tensor.rs\u0060 and \u0060crates/burn-tensor/src/tensor/api/numeric.rs\u0060 change together 54% of the time (15 of the 28 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u00607377bbe3\u0060 Feat/remainder (#1597); \u006047a84cc9\u0060 Add tensor sorting operations (#1488); \u00607a98b2f6\u0060 Add prod and prod_dim tensor ops (#1460) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/int_tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9948806f0a1d24d56a564cec6c9ae9dfc019e3b5dd582bb7a3e6f5dc42a783"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bool_tensor.rs \u2194 base.rs: \u0060crates/burn-autodiff/src/ops/bool_tensor.rs\u0060 and \u0060crates/burn-tensor/src/tensor/api/base.rs\u0060 change together 53% of the time (8 of the 15 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 8 shared commits counted here, the most recent 3 are \u0060ed6bd9af\u0060 feat(tensor)!: support scatter_nd and gather_nd for bool tensors (#6047); \u00600d3e286b\u0060 feat(tensor)!: support all indexing update ops for bool scatter and s\u2026; \u0060d2ab1dd8\u0060 feat(backend): promote mask_select to a backend op with dispatch (#5283) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/bool_tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93831fe8145c25afe4089fa44239478fd1fe138f9fd70c29428cc56cb9e4fffe"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: activation_wrapper.rs \u2194 base.rs: \u0060crates/burn-nn/src/activation/activation_wrapper.rs\u0060 and \u0060crates/burn-tensor/src/tensor/activation/base.rs\u0060 change together 53% of the time (8 of the 15 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 8 shared commits counted here, the most recent 3 are \u006041edd46d\u0060 Implement HardShrink, SoftShrink and Shrink Activations (#4556); \u0060ddd6438d\u0060 Add Selu activation function (#4439); \u00602467282e\u0060 Add CELU activation function (#4441) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/activation/activation_wrapper.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8f332871b04b6c00b9cc2b0e6d8bd071b53a3bc0783b633fc0e4ded2eec909"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: module.rs \u2194 module.rs: \u0060crates/burn-autodiff/src/ops/module.rs\u0060 and \u0060crates/burn-cubecl/src/ops/module.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 \u0060c9b05685\u0060 feat: attention over a key/value cache; MatmulCall without routes (#6\u2026; \u00603309eb6d\u0060 feat: native attention backward pass (#6209); \u0060ff556ce6\u0060 feat(tensor)!: add dilation to average pooling (#6235) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-autodiff/src/ops/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9385776a8ea50b699b9fbf18b5bb6cc4f6bc8aaf1b66eecb61b782b049e2597c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bool_tensor.rs \u2194 int_tensor.rs: \u0060crates/burn-cubecl/src/ops/bool_tensor.rs\u0060 and \u0060crates/burn-cubecl/src/ops/int_tensor.rs\u0060 change together 53% of the time (10 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00608288fdfb\u0060 feat(cubecl): wire logical any/all reductions (#5051); \u00606cf0e55d\u0060 fix: Select assign \u002B bool cast (#3730) (at that commit the files were still \u0060crates/burn-cubecl/src/ops/bool_ops.rs\u0060 and \u0060crates/burn-cubecl/src/ops/int_ops.rs\u0060); \u0060d2747ae8\u0060 Remove from_data conversions in backends (#2783) (at that commit the files were still \u0060crates/burn-jit/src/ops/bool_ops.rs\u0060 and \u0060crates/burn-jit/src/ops/int_ops.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/ops/bool_tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0243cedaf90173de8387f9755e82a6d0f87346d3b4d4ae3468453b5951b1cd2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: base.rs \u2194 builder.rs: \u0060crates/burn-backend/src/backend/ops/modules/base.rs\u0060 and \u0060crates/burn-ir/src/builder.rs\u0060 change together 52% of the time (11 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060c9b05685\u0060 feat: attention over a key/value cache; MatmulCall without routes (#6\u2026; \u00603309eb6d\u0060 feat: native attention backward pass (#6209); \u0060ff556ce6\u0060 feat(tensor)!: add dilation to average pooling (#6235) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/base.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2cd32784df4b3f565f7602f1b80f3b1aeec8cd8b0d2c1ba763178645c92eec"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bool_tensor.rs \u2194 int_tensor.rs: \u0060crates/burn-backend/src/backend/ops/bool_tensor.rs\u0060 and \u0060crates/burn-backend/src/backend/ops/int_tensor.rs\u0060 change together 50% of the time (12 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060d2ab1dd8\u0060 feat(backend): promote mask_select to a backend op with dispatch (#5283); \u00608fbb0a18\u0060 Handle empty tensors in cat and slice_assign ops (#4095) (at that commit the files were still \u0060crates/burn-tensor/src/tensor/ops/bool_tensor.rs\u0060 and \u0060crates/burn-tensor/src/tensor/ops/int_tensor.rs\u0060); \u00604f53d9d8\u0060 Fix Slice operation to handle empty ranges (#4083) (at that commit the files were still \u0060crates/burn-tensor/src/tensor/ops/bool_tensor.rs\u0060 and \u0060crates/burn-tensor/src/tensor/ops/int_tensor.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/bool_tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c417e135e29f51017f8495e5e6d48ab5e365fa846f3bbbeb9079e390d8d4eb81"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: service.rs \u2194 base.rs: \u0060crates/burn-remote/src/client/service.rs\u0060 and \u0060crates/burn-router/src/client/base.rs\u0060 change together 50% of the time (8 of the 16 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 8 shared commits counted here, the most recent 3 are \u00604bf94e7d\u0060 feat(environment): ComputeEnvironment::prune keeps what the work load\u2026; \u006027722e5f\u0060 ComputeEnvironment::merge: bring another environment\u0027s entries in (#6\u2026; \u0060f4a7b07f\u0060 ComputeEnvironment: a device\u0027s compiled kernels and autotune answers,\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-remote/src/client/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"908aa98ec78b7fafa69a5743a67065ee75276afd7f4d82941a2e9d801c9333eb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: linear.rs \u2194 layer.rs: \u0060crates/burn-nn/src/modules/linear.rs\u0060 and \u0060crates/burn-nn/src/modules/norm/layer.rs\u0060 change together 50% of the time (8 of the 16 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 8 shared commits counted here, the most recent 3 are \u00602c516154\u0060 Print model structure like with PyTorch - Part 1 (#1912) (at that commit the files were still \u0060crates/burn-core/src/nn/linear.rs\u0060 and \u0060crates/burn-core/src/nn/norm/layer.rs\u0060); \u006037b79bcc\u0060 Add init_with for nn modules (#280) (at that commit the files were still \u0060burn-core/src/nn/linear.rs\u0060 and \u0060burn-core/src/nn/norm/layer.rs\u0060); \u00607d750468\u0060 Refactor/init modules (#250) (at that commit the files were still \u0060burn-core/src/nn/linear.rs\u0060 and \u0060burn-core/src/nn/norm/layer.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/linear.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1e1087e5b1d62c8ed9518c346ccc43812179320004c3e0eecb0b6717323d2e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: client.rs \u2194 multi.rs: \u0060crates/burn-fusion/src/client.rs\u0060 and \u0060crates/burn-fusion/src/stream/multi.rs\u0060 change together 50% of the time (8 of the 16 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 8 shared commits counted here, the most recent 3 are \u00607bc1dd62\u0060 perf(fusion): defer a cross-thread drop until its producer runs inste\u2026; \u0060d0365962\u0060 Feat/profiling (#5726); \u00603fb74589\u0060 fix(fusion): a panicking operation must not poison its stream (#5535) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-fusion/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc0dbbfc240862cae20539cfbf2d28bfd7c3fcfd82e5e80784e32ef4563b1e3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: tensor.rs \u2194 float.rs: \u0060crates/burn-router/src/ops/tensor.rs\u0060 and \u0060crates/burn-tensor/src/bridge/ops/float.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006004e0f2de\u0060 perf(autodiff): reduce a broadcast gradient over all dims at once (#5\u2026; \u006098817560\u0060 refactor(tensor): move padding operations to backend (#5505); \u00608a933f84\u0060 feat(ndarray): support assign indexing updates for floats and ints (#\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-router/src/ops/tensor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05ba31d86de8dcf5f082f5105c37b01fc6e79365f6c4c2f782f00fab27a679b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: plan.rs \u2194 optimization.rs: \u0060crates/burn-cubecl-fusion/src/engine/launch/plan.rs\u0060 and \u0060crates/burn-cubecl-fusion/src/optim/matmul/optimization.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006021f63662\u0060 Device service usage (#4839); \u006092714743\u0060 Fix/matmul/fusion  (#3899) (at that commit the files were still \u0060crates/burn-cubecl-fusion/src/shared/trace/plan.rs\u0060 and \u0060crates/burn-cubecl-fusion/src/matmul/optimization.rs\u0060); \u0060d267277b\u0060 Fix/ci autotune (#3362) (at that commit the files were still \u0060crates/burn-cubecl-fusion/src/shared/trace/plan.rs\u0060 and \u0060crates/burn-cubecl-fusion/src/matmul/optimization.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl-fusion/src/engine/launch/plan.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e11e68f0e2e5a1f42ae5aee69875ab328389d50959193e320c0830cd2dbaa98"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: quantize.rs \u2194 base.rs: \u0060crates/burn-cubecl/src/kernel/quantization/quantize.rs\u0060 and \u0060crates/burn-std/src/data/tensor/base.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060996a7b44\u0060 Refactor/quant (#3500) (at that commit the file was still \u0060crates/burn-tensor/src/tensor/data.rs\u0060); \u00609c347226\u0060 Feat/quant block (#3442) (at that commit the file was still \u0060crates/burn-tensor/src/tensor/data.rs\u0060); \u006060f70cf5\u0060 Refactor quantized bytes representation (#2627) (at that commit the files were still \u0060crates/burn-jit/src/kernel/quantization/quantize.rs\u0060 and \u0060crates/burn-tensor/src/tensor/data.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/quantization/quantize.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67662245deb7d2308f8c693c0ae991fd9880d8bb25b54f9b6b9da3fe36ce2f36"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc682cd7167c2c692b624e54d299d32b2ea2b5b3eb72f5516f0dfab9c0ce991d"},"taxa":[{"id":"CICD-SEC-3","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":"cfcd82fdb168b13bb41affabdcb2cb35cf5ac7f10a66641c54fea8dc5b92503c"},"taxa":[{"id":"CICD-SEC-6","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":"8d86edeea22483904c7ca2fcb854bc72fc22b3ae7562363a011b288db2a789a1"},"taxa":[{"id":"CICD-SEC-6","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":"4d11caf2ee40b656d35ada8ec5b7a94597bd1c1af23339ae6a829fbf4f5de038"},"taxa":[{"id":"CICD-SEC-5","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":"5a80fbd71c587a41f3f500db85f99a94fed172b3bbde1d77a74914feaff8f454"},"taxa":[{"id":"CICD-SEC-5","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":"4be294b652843cbb8dd5a9eb923c416058a35d953d67f4233f2e58cb1ab7102a"},"taxa":[{"id":"CICD-SEC-5","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":"c19abe452209a46a59e395a49b1eafed0e21345e1162c2d8aa10a71f55992cb7"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5928b81075799790cb18fed2980a6b6e8aa5072772041c9951633efe8eb3542"},"taxa":[{"id":"CICD-SEC-1","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: crates/burn/README.md links to \u0060assets/ci-powered-by-blaze.svg\u0060, but \u0060crates/burn/assets/ci-powered-by-blaze.svg\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn/README.md"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"30485b21fefb0f1341c926dcf20e49bf86600a1aa14fc96b23cb4ec5057e56c5"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 13/15 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060crates/burn-instrument-report\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"warning","message":{"text":"SAST runs, but gates no merge: \u0060dependencies.yml\u0060 run(s) a static-analysis scan, but no workflow that runs one is triggered by a pull request (or a merge queue, or an unfiltered push) \u2014 the scan fires on a schedule or a manual dispatch only. A vulnerable change therefore merges clean and is reported on the next scheduled run, by which time it is on the default branch and the only remedy is a follow-up fix. Add the pull-request trigger to the workflow that runs the scan so the finding arrives before the merge rather than after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"73211886541038635ced0208da9cedd27ed1caa9132fd6aa5e44d2976a4de6d6"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 0 versioned entries, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::new()\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-std/src/network.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1567dc8496d6992d1a1d472567c3117fa8b90ca9cb05339e54409ef6fc966f58"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository starts an HTTP server and nothing in its Rust source or committed \u0060Rocket.toml\u0060 secures the transport: no TLS served (actix-web \u0060bind_rustls\u0060/\u0060bind_openssl\u0060, axum-server \u0060bind_rustls\u0060 with a \u0060RustlsConfig\u0060, tonic \u0060ServerTlsConfig\u0060, a \u0060TlsAcceptor\u0060, Rocket\u0027s \u0060[default.tls]\u0060), no \u0060Strict-Transport-Security\u0060 header, no \u0060X-Forwarded-Proto\u0060 read from a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: \u0060axum::serve(\u0060 (crates/burn-communication/src/websocket/server.rs:68)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Rust server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: \u0060axum::serve(\u0060 (crates/burn-communication/src/websocket/server.rs:68)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"S1","level":"note","message":{"text":"No inbound request validation detected: No handler of this repository\u0027s Rust server answers 400, 413 or 422 (\u0060StatusCode::BAD_REQUEST\u0060, \u0060HttpResponse::BadRequest()\u0060, \u0060Status::BadRequest\u0060, tonic \u0060Status::invalid_argument\u0060), and nothing declares validation \u2014 no \u0060validator\u0060/\u0060garde\u0060 derive, no body limit (\u0060DefaultBodyLimit::max\u0060, \u0060RequestBodyLimitLayer\u0060, \u0060JsonConfig::default().limit(\u2026)\u0060, Rocket \u0060Limits\u0060) \u2014 nothing shows inbound requests being checked, and refused, before a handler acts on them. A check that answers its failure with 200 and an error body is not seen. (\u22122.0 on this card.) The server: \u0060axum::serve(\u0060 (crates/burn-communication/src/websocket/server.rs:68)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0ffa303f3c9cef4b4c2cf028a78ce2f3c83f6078f80716eea7362fad047265eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!self.allow_partial \u0026\u0026 !result.missing.is_empty()\u0060 appears character-identically in 2 files \u2014 crates/burn-store/src/burnpack.rs, crates/burn-store/src/pytorch/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":"crates/burn-store/src/burnpack.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f26ad6f745db7319c161513c9eb7817efccc378d38b71da4d9cda77ea23cf45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!self.skip_enum_variants || !container_type.starts_with(\u0022Enum:\u0022)\u0060 appears character-identically in 2 files \u2014 crates/burn-store/src/applier.rs, crates/burn-store/src/collector.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-store/src/applier.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"340c2a5dacea844448a283e021ec0ceb0a2ea15e1dc45de61ab14c90477b7dc9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060accumulation_current \u003E 0 \u0026\u0026 !interrupter.should_stop()\u0060 appears character-identically in 3 files \u2014 crates/burn-train/src/learner/supervised/strategies/ddp/epoch.rs, crates/burn-train/src/learner/supervised/strategies/multi/epoch.rs, crates/burn-train/src/learner/supervised/strategies/single/epoch.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/ddp/epoch.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9a9c364a1982212808138e1a656a716819e6590a5887dd8a0df10bc2f8fe91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ceil_mode \u0026\u0026 (effective_kernel - padded) \u003C stride\u0060 appears character-identically in 2 files \u2014 crates/burn-backend/src/backend/ops/modules/conv.rs, crates/burn-flex/src/ops/pool.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-backend/src/backend/ops/modules/conv.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3553e884a98fb566a12ffcbeb84850c8bd6a9ed131757a96776c10a63f270782"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060checkpointer.is_some() || early_stopping.is_some()\u0060 appears character-identically in 2 files \u2014 crates/burn-train/src/learner/supervised/strategies/multi/strategy.rs, crates/burn-train/src/learner/supervised/strategies/single/strategy.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/supervised/strategies/multi/strategy.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e9014f2054c1ea4e362243b5762eb929b04457b5a4d464bf7ac23dad30f5eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060original_dtype == DType::F16 || original_dtype == DType::BF16\u0060 appears character-identically in 3 files \u2014 crates/burn-linalg/src/functions/det.rs, crates/burn-linalg/src/functions/lu.rs, crates/burn-linalg/src/functions/svd.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-linalg/src/functions/det.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd9c5ba10bac7e0cdf5b9123d785afffe5a56f063560b9da102e1e90694f937"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.validate \u0026\u0026 !result.errors.is_empty()\u0060 appears character-identically in 2 files \u2014 crates/burn-store/src/burnpack.rs, crates/burn-store/src/pytorch/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":"crates/burn-store/src/burnpack.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"b381969ce2b0122a574b4ecbfb1ee25713cb6367260e98162b8faffe21da00be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_result.done || step_result.truncated\u0060 appears character-identically in 2 files \u2014 crates/burn-train/src/learner/rl/env_runner/async_runner.rs, crates/burn-train/src/learner/rl/env_runner/base.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-train/src/learner/rl/env_runner/async_runner.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4778c931eac225e4c8e268dc407b3bb6103537a7b02feb3fc948e0b32a845c57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tensor.can_mut() \u0026\u0026 tensor.is_nonoverlapping()\u0060 appears character-identically in 9 files \u2014 crates/burn-cubecl/src/kernel/binary.rs, crates/burn-cubecl/src/kernel/binary_int.rs, crates/burn-cubecl/src/kernel/index/scatter.rs, crates/burn-cubecl/src/kernel/index/scatter_nd.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-cubecl/src/kernel/binary.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b775b66cbdd4277abf705fadbd5cdbf52f27856fa3672bfe96bccabc3aec4f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tensor.is_contiguous() \u0026\u0026 tensor.layout().start_offset() == 0\u0060 appears character-identically in 2 files \u2014 crates/burn-flex/src/ops/comparison.rs, crates/burn-linalg/src/cholesky_cpu.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/comparison.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"83026ba7e3b4c369cd92c9b26f3f32ab01fa572dbeb93b47ad504428bbb919b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tensor.is_unique() \u0026\u0026 tensor.layout().is_contiguous() \u0026\u0026 tensor.layout().start_offset() == 0\u0060 appears character-identically in 3 files \u2014 crates/burn-flex/src/ops/bool.rs, crates/burn-flex/src/ops/slice.rs, crates/burn-flex/src/ops/unary.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/bool.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c512fdd6d1b30deee0762c947cd47b6e9d610c5f52926bf75173f8d99baf36b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tensor.is_unique() \u0026\u0026 tensor.layout().is_dense_unique_storage()\u0060 appears character-identically in 2 files \u2014 crates/burn-flex/src/ops/gather_scatter.rs, crates/burn-flex/src/ops/mask.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/gather_scatter.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0320975e3e2750c23a1445fe394c29c72a70e12b6c412922498ce0ebb0855e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060val \u003E= -clip_value as f32 \u0026\u0026 val \u003C= clip_value as f32\u0060 appears character-identically in 2 files \u2014 crates/burn-nn/src/modules/rnn/basic.rs, crates/burn-nn/src/modules/rnn/gru.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-nn/src/modules/rnn/basic.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ceca1622d2f0fb567bc6229759e24c2072640dd2892fc60d23a48275e94e36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060y.to_bits() == expected.to_bits() || (y.is_nan() \u0026\u0026 expected.is_nan())\u0060 appears character-identically in 2 files \u2014 crates/burn-flex/src/ops/float.rs, crates/burn-flex/src/simd/portable.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/burn-flex/src/ops/float.rs"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ec8ae70794dfa2360e34e667a53bfe442dc9c5c58d306481057e5c222909b7"}}],"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-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-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-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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.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":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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-1","guid":"a40d9a4c-89f5-4b5d-b2dc-32dc9cbfe814","name":"Insufficient Flow Control Mechanisms","shortDescription":{"text":"Insufficient Flow Control Mechanisms"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-01-Insufficient-Flow-Control-Mechanisms"},{"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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-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":122,"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."]}]}