{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"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":"crate::dynamics::solver::staged_island_solver::worker::run_worker (cyclomatic 110): crate::dynamics::solver::staged_island_solver::worker::run_worker has cyclomatic complexity 110 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/worker.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ff5f2d9022f1d8b51e34428e36140d11e393cbd50268077131e6f8cd0818d3"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::geometry::narrow_phase::pair_update::process_pair (cyclomatic 100): crate::geometry::narrow_phase::pair_update::process_pair has cyclomatic complexity 100 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/pair_update.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ee6a34012fbbf10a5fd3d07b819e125016fccce46c88996946c8b59590ce37"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftConstraintsSet::assemble_body_contacts (cyclomatic 97): SoftConstraintsSet::assemble_body_contacts has cyclomatic complexity 97 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_body_contacts.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8634ce4d604ca9689a16ae8af7298dae86b090bbc1fbc0fcb47c1ce693d9dfa3"}},{"ruleId":"D1","level":"warning","message":{"text":"BroadPhaseBvh::update (cyclomatic 68): BroadPhaseBvh::update has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/broad_phase_bvh/update.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbad4b55a9d8a847b7565f64b0101066c7c7ad3567f64adc73bdd515b3a3f3e7"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftConstraintsSet::assemble_vertex_contacts (cyclomatic 60): SoftConstraintsSet::assemble_vertex_contacts has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"709b512cea8dbbdd479557295dd069bd037991d42cb92eb73b43ccbe3cf1b0d5"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::dynamics::solver::staged_island_solver::solve::solve_pass (cyclomatic 59): crate::dynamics::solver::staged_island_solver::solve::solve_pass has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/solve.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"989b1183ebe941a31bc6a1b1816e8c63da7df583ca02ac2c86dfbf2a2ab030b3"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_vertex_pass::detect_vertex_pass (cyclomatic 57): crate::geometry::narrow_phase::soft_contacts::soft_contacts_vertex_pass::detect_vertex_pass has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"091143c5e96484377555e951d9b1d05726d7acdb5f1f9c16b730a15d9e403aef"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::rigid_body::apply_rigid_body_user_changes (cyclomatic 53): crate::bindings::bevy_rapier::src::plugin::systems::rigid_body::apply_rigid_body_user_changes has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/rigid_body.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4abfeff600fbc4a6087079fe8cfddaf7804464782f66c120bc6dc8c6759d4d3"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftBody::validate_topology (cyclomatic 51): SoftBody::validate_topology has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/tearing/tearing_validate.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5fb5e3cc642f882ab26bb6edb3320e11703e3d5a329919ec15e0c5e77e188e"}},{"ruleId":"D1","level":"warning","message":{"text":"VertexScan::scan_vertex (cyclomatic 51): VertexScan::scan_vertex has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d54dfe03bd886974d790ff3e3b7e18ff1b6cf0528968566ec41d1117224645"}},{"ruleId":"D1","level":"warning","message":{"text":"StagedIslandSolver::init_and_solve (cyclomatic 49): StagedIslandSolver::init_and_solve has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/init.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dee415d5e809c814787341ec9c18b70ad2728e485c45b6a908ca697beef654"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseState::parse_asset (cyclomatic 48): ParseState::parse_asset has cyclomatic complexity 48 (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/mjcf-rs/src/loader/asset.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bebbd0e960c8eb0db1f9df77c22d7848f98901eb7aae31f919eadb649c85b1b"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftBody::split_vertex (cyclomatic 46): SoftBody::split_vertex 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":"src/dynamics/soft_body/tearing/tearing_particle_split.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7866ddca21bf21a423fc2b9cd35546fb9b4b425adf0463753815e06749d272"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftFemSet::compute_responses (cyclomatic 45): SoftFemSet::compute_responses 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":"src/dynamics/solver/soft_fem/soft_fem_set.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"af69abf81985f433b92237b2bd922f566349e8da7fab605ad1a68b614317d079"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::loaders::mjcf::spawn_mjcf_model (cyclomatic 45): crate::bindings::bevy_rapier::src::loaders::mjcf::spawn_mjcf_model 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":"bindings/bevy_rapier/src/loaders/mjcf.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"073f17b1a3b685da6ced9f17336c96de24a117a6014a80ad7e707e0e7647f9eb"}},{"ruleId":"D1","level":"warning","message":{"text":"RprSoftBodyDesc::raw_piece (cyclomatic 41): RprSoftBodyDesc::raw_piece has cyclomatic complexity 41 (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":"bindings/c/src/soft_desc.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"1156f2527d5aa8b333f8080d51e2df1d6f3c45c784dbe0bf2388e5e85b52c647"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::collider::apply_collider_user_changes (cyclomatic 41): crate::bindings::bevy_rapier::src::plugin::systems::collider::apply_collider_user_changes has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/collider.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbe79533d70c79e76d3bc3052e3a2ecd9738dc35131ca2a30ae8dfb56adbf1f"}},{"ruleId":"D1","level":"warning","message":{"text":"ColliderView::raw_scale_by (cyclomatic 40): ColliderView::raw_scale_by has cyclomatic complexity 40 (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":"bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4bcae96c1521569f1d5ef91c8125194497acf95fa4cce9706250d6c2d67a24"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftConstraintsSet::chunk_contacts (cyclomatic 38): SoftConstraintsSet::chunk_contacts has cyclomatic complexity 38 (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":"src/dynamics/solver/soft_constraint/soft_contact_chunks.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1adc3a9f7e0419ce916331a088dc88cfc9a7ae655e8baa38afa2fe02ca265b"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftFemSet::plan_responses (cyclomatic 37): SoftFemSet::plan_responses has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_fem/soft_fem_set.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c901af7bb9c7afed66efe92de98cd507e19cbac3d963ee207f61f7b387788ea"}},{"ruleId":"D1","level":"warning","message":{"text":"MjcfRobot::insert_using_multibody_joints (cyclomatic 37): MjcfRobot::insert_using_multibody_joints has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/insert.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"656702ed05f9b151d5f806acf5b1250d6465fa0ab892f42b3a27a5145f173087"}},{"ruleId":"D1","level":"warning","message":{"text":"PersistentIslands::split_island_now (cyclomatic 36): PersistentIslands::split_island_now 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":"src/dynamics/island_manager/global_split.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"602b39fc0e84a4bf3cf5af0edda5c3ba3a12ff655b95cea2d0cac26a839c0323"}},{"ruleId":"D1","level":"warning","message":{"text":"StagedIslandSolver::init_joints (cyclomatic 36): StagedIslandSolver::init_joints has cyclomatic complexity 36 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/joints.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8776ba53f606d23c04f7f09a27ee894b979dd1e8b99c1e549136ee0a85ea2e3b"}},{"ruleId":"D1","level":"warning","message":{"text":"IslandManager::update_substep_groups (cyclomatic 35): IslandManager::update_substep_groups has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/island_manager/substep_groups.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"322b457c7c1c3419ea1a5fe54ce529639158191d1f5d3785f5f69544f517eae3"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::pipeline::user_changes::handle_user_changes_to_rigid_bodies (cyclomatic 35): crate::pipeline::user_changes::handle_user_changes_to_rigid_bodies has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/user_changes.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"81586af7562c8df3acb3c06b4e22cd8c1287924e84f24de99abbb3438929657e"}},{"ruleId":"D1","level":"warning","message":{"text":"rapier_examples_3d::voxels3::run (cyclomatic 35): rapier_examples_3d::voxels3::run has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/voxels3.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a217676123d72c81209a4ff72c6aebe31822f3bd03f40decc4933ef3917e35d2"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftConstraintsSet::prepare_awake_body (cyclomatic 34): SoftConstraintsSet::prepare_awake_body has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_prepare.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d4c572bfff20b50347c9ff78c521d89ccd58a14041556c73d8fdffae0dfa3c"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftConstraintsSet::writeback_contacts (cyclomatic 34): SoftConstraintsSet::writeback_contacts has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_writeback.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d6fc0f86776116b982fa9e37e5c1d61eb1c3b8075d90b6512e3ace0cb924ae"}},{"ruleId":"D1","level":"warning","message":{"text":"NarrowPhase::remove_pair (cyclomatic 34): NarrowPhase::remove_pair has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/pair_management.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"18398c9ad2ab0b3d1132315a55af564db9b9a799cfa489115e3feb955c5a6ceb"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseState::parse_equality (cyclomatic 34): ParseState::parse_equality has cyclomatic complexity 34 (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/mjcf-rs/src/loader/blocks.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09c67550f645c86cebabe1587f6838aa8d551d0b9f5a79b6a73fea05d2dcd27"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::detect_self_regions (cyclomatic 33): crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::detect_self_regions has cyclomatic complexity 33 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_self_contacts.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f900e0bb0690a61cff357733d98ae654ed35317fa70ff8591f79b07b9659f65"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::remove::sync_removals (cyclomatic 32): crate::bindings::bevy_rapier::src::plugin::systems::remove::sync_removals 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":"bindings/bevy_rapier/src/plugin/systems/remove.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41489f28d86e1a61c9a0529d52246eb4fa543d78a8c91779b5778c8abcc6d7f"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericContactConstraintBuilder::generate (cyclomatic 31): GenericContactConstraintBuilder::generate has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/generic_contact_constraint.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa091c93a1c7e3622d98bcfbb7fc3e16f482c0384f9e90b0faf5adf03678524f"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::soft_body::handle_soft_body_tears (cyclomatic 30): crate::bindings::bevy_rapier::src::plugin::systems::soft_body::handle_soft_body_tears has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/soft_body.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a25024d8c3974a14a425f0cf9c389595057d970001383d268e2f7ac96fb440c"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_volume::volume_bins (cyclomatic 29): crate::geometry::narrow_phase::soft_contacts::soft_contacts_volume::volume_bins 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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_volume.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"795054c1249c5e44268e411a7e5b5520065c9753c1303e0d9726c305411dd6e2"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_classify::classify_skin (cyclomatic 28): crate::geometry::narrow_phase::soft_contacts::soft_contacts_classify::classify_skin has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b0ae367a3101019c4baaef5650811a9e1e3938b2a293a40dabbf3d7c5bfa81"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftConstraintsSet::assemble (cyclomatic 27): SoftConstraintsSet::assemble has cyclomatic complexity 27 (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":"src/dynamics/solver/soft_constraint/soft_element_constraint_assembly.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f47b4b46cc49800f72007aa3236afa7c84c7dedc4252731336b6bbc5c16844"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftBody::insert_into_segment (cyclomatic 26): SoftBody::insert_into_segment 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":"src/dynamics/soft_body/tearing/tearing_cut.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5109b010b7f1c3e22be1b70134d663d3d267b3fe8ce727462f37867b6285c7"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftBodyBuilder::build (cyclomatic 26): SoftBodyBuilder::build 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":"src/dynamics/soft_body/soft_body_builder/soft_body_build.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6ae62fa6d80d68d6d0debc7ce1d5ea7818f1d8dfcee7c3ab4c6c4faaacef11"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftBodySet::apply_user_changes (cyclomatic 26): SoftBodySet::apply_user_changes 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":"src/dynamics/soft_body/soft_body_set/soft_body_set_step_sync.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d960129887cce25e8964d099a1a1ca4d4ae408f0b96d7915b9f52eaaea92a1"}},{"ruleId":"D1","level":"warning","message":{"text":"NarrowPhase::handle_user_changes_on_colliders (cyclomatic 26): NarrowPhase::handle_user_changes_on_colliders 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":"src/geometry/narrow_phase/pair_management.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"27df508fb1b844af0b22e4bcf51ba2dc491fac56b7553e0a5fed104fdf52780c"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::soft_body::apply_soft_body_user_changes (cyclomatic 26): crate::bindings::bevy_rapier::src::plugin::systems::soft_body::apply_soft_body_user_changes 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":"bindings/bevy_rapier/src/plugin/systems/soft_body.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c9aa03d6f15dae081135a599f7808351a6fbb8c038948a8383be71ca21241e"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::src_testbed::ui::example_settings_ui (cyclomatic 26): crate::src_testbed::ui::example_settings_ui 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":"src_testbed/ui.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43824241b2845537d4cf3c5565f4f19bb929f4555aed577b175084d78be7649"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseState::parse_compiler (cyclomatic 26): ParseState::parse_compiler has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/mjcf-rs/src/loader/compiler_opts.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"251a880b5a096b4afcc015f02cd502861ee5fe592a2c3fa7b5abb5fd17616af1"}},{"ruleId":"D1","level":"warning","message":{"text":"EdgeScan::scan_element (cyclomatic 25): EdgeScan::scan_element 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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_edge_pass.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2494a520b1bdff5609510c71f50d7e91e5d231f7ed5f6f54c80deb3ba0eb2d"}},{"ruleId":"D1","level":"warning","message":{"text":"MjcfRobotHandles::apply_keyframe (cyclomatic 25): MjcfRobotHandles::apply_keyframe 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/rapier3d-mjcf/src/loader/runtime.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ebb9a392536f73f4f516dea5a34c318d1681d1bf038005cc7704ba99ff5f1d"}},{"ruleId":"D1","level":"warning","message":{"text":"RprShapeDesc::raw_depth (cyclomatic 24): RprShapeDesc::raw_depth has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/descriptors.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c31830113d9e5513eec42ab8e6f4c9d0f5974134fb019336437759e1d475fa"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftBody::remove_dead_particles (cyclomatic 24): SoftBody::remove_dead_particles has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_cluster.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e0c9d0ef73f01dce5696a7294c67aa4c64dbb9e37527933ede0ad28b5752a6"}},{"ruleId":"D1","level":"warning","message":{"text":"PhysicsPipeline::step_inner (cyclomatic 24): PhysicsPipeline::step_inner has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_pipeline/substep.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"297b8769bb1c887eb037817bae17d5ef49b8d819313ce01b1250592015a64bb8"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::dynamics::solver::soft_constraint::soft_contact_assembly::soft_contact_assembly_volume_constraints::emit_volume_bins (cyclomatic 24): crate::dynamics::solver::soft_constraint::soft_contact_assembly::soft_contact_assembly_volume_constraints::emit_volume_bins has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_volume_constraints.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2a820e10a7c07c68c153d8e710eff859c982ec894e68b01cf8cc555b97c93b"}},{"ruleId":"D1","level":"warning","message":{"text":"Conversion::build_serial_joint (cyclomatic 24): Conversion::build_serial_joint has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/joint.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29777c9ed587d8d4ab5f04c697da3dbe15858ee3c22af12608d1d589e3b2cf4"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftBodySet::split_cluster (cyclomatic 23): SoftBodySet::split_cluster 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":"src/dynamics/soft_body/soft_body_set/soft_body_set_split.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"91752bff67b78e42e1e45f09dc13fe94081be02facc2243721f96b8fb1d3d3ba"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftConstraintsSet::assemble_edge_contacts (cyclomatic 23): SoftConstraintsSet::assemble_edge_contacts 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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_edge_contacts.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa346177c2419d8b30efd2614a7035ce6f4532290a41193db36a36c570d8947e"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftConstraintsSet::fill_body_constraints (cyclomatic 23): SoftConstraintsSet::fill_body_constraints 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":"src/dynamics/solver/soft_constraint/soft_element_constraint_assembly.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"185c1fcb05038baba70f42d8980225af257b48fc9b0b0d2ea9b683697178813e"}},{"ruleId":"D1","level":"warning","message":{"text":"TestbedViewer::handle_events (cyclomatic 23): TestbedViewer::handle_events 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":"src_testbed/viewer.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"5782deb808dc3954937c0223cd0f5c395be9b70cde9eeefc5c1654db62f329b2"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftBody::fit_rest_positions (cyclomatic 22): SoftBody::fit_rest_positions has cyclomatic complexity 22 (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":"src/dynamics/soft_body/soft_body_plasticity.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04ab8ec17592d87036557e16719d1315ef82cb08879a27cdbde2a97b05d50d2"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftConstraintsSet::solve_overlap_constraint (cyclomatic 22): SoftConstraintsSet::solve_overlap_constraint 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":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_solve.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06eefad5aa41b4813ed96055bb79d6c771a2aeaea5b7db235e732757927a0be"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftConstraintsSet::assemble_contacts (cyclomatic 22): SoftConstraintsSet::assemble_contacts 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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05002646a02a497a2c4da773b3d710fadef258fa9b5103322613babc2a47ef7"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::collider::init_colliders (cyclomatic 22): crate::bindings::bevy_rapier::src::plugin::systems::collider::init_colliders 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":"bindings/bevy_rapier/src/plugin/systems/collider.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"369e0a4160600519b8b85d4c0de697e054299587c2a2e1459d59003a74bbe2f5"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::rigid_body::init_rigid_bodies (cyclomatic 22): crate::bindings::bevy_rapier::src::plugin::systems::rigid_body::init_rigid_bodies 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":"bindings/bevy_rapier/src/plugin/systems/rigid_body.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71feac081a493a12cc2ba6cd9085e0d5e1695defde9fb3de325c6884a6e2151"}},{"ruleId":"D1","level":"warning","message":{"text":"JointConstraint::update (cyclomatic 21): JointConstraint::update 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":"src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b63459bccf3ca1dbe353294ae61aed4cdaa34059553e2321ef779f6c2b8880c"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftFemSystem::writeback (cyclomatic 21): SoftFemSystem::writeback 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":"src/dynamics/solver/soft_fem/system/soft_fem_system_assemble.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d52b0cd1525377a45790d27d06e3856d951d82d854277dd7a3c08bc74626565"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseState::process_root_children (cyclomatic 21): ParseState::process_root_children has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/mjcf-rs/src/loader/state.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a42a5bcae3b44f4890e3802492e1cba19bf7aa26ba522be2f632027db17209"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftContact::update (cyclomatic 20): SoftContact::update has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"src/dynamics/solver/soft_constraint/soft_contact.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a99c9d0485047f0bed58b5a8d23d35baff2dd6f07b9adeeadf6a2fab83d18a"}},{"ruleId":"D1","level":"warning","message":{"text":"DebugRenderPipeline::render_shape (cyclomatic 20): DebugRenderPipeline::render_shape 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. This is NOT this file\u0027s highest cyclomatic complexity: DebugRenderPipeline::render_shape (cyclomatic 23) 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":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"748c84257ea9ce0d63174e7d34dcdbfdca78ce2942a55ff482be4ed34b6f798a"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::rigid_body::writeback_rigid_bodies (cyclomatic 20): crate::bindings::bevy_rapier::src::plugin::systems::rigid_body::writeback_rigid_bodies has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/rigid_body.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"c538c527a66b7ed77634582473389ca17b2f37ee709824bc7e11892aa62de57d"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::dynamics::ccd::sweeps::sweep_fast_body (cyclomatic 20): crate::dynamics::ccd::sweeps::sweep_fast_body has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/ccd/sweeps.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb9f7eaf22771c6e8db167f98ff336cf605af0b49fd92f3c11b33980b948286"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::dynamics::soft_body::soft_body_set::soft_body_set_proxies::sync_soft_body (cyclomatic 20): crate::dynamics::soft_body::soft_body_set::soft_body_set_proxies::sync_soft_body has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_set/soft_body_set_proxies.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24a27f555b59f3850a6cfc6b637d68199de5c18bd96ea0359fb13fdcfd39d07"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_edge_pass::detect_edges (cyclomatic 20): crate::geometry::narrow_phase::soft_contacts::soft_contacts_edge_pass::detect_edges has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_edge_pass.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d290dd8821dc0e44cd287dfe90acf77e24005b730a3d9a77059f774721cdd9"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::detect_self_tangles (cyclomatic 20): crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::detect_self_tangles has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_self_contacts.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc7f146e836db1c064376982803d3ae3939a74ef6d4d209d587722c7a159708"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::src_testbed::ui::settings_tab (cyclomatic 20): crate::src_testbed::ui::settings_tab has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/ui.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"116df560524745eea5357fcaa051d554892d3d6f3c06d285f1ae01048424c2a8"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftBody::seeded_components (cyclomatic 19): SoftBody::seeded_components has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/tearing/tearing_helpers.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ca9060990417152823269cacfe0f4d6736dc66de966e319cb8bf94470e53f0"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexedComponents::split (cyclomatic 19): IndexedComponents::split 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":"bindings/bevy_rapier/src/plugin/systems/soft_body.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ec3e0cdb8895983336dd909ec17702406b33cdec1d6faee1e8c682b7e3025b"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicRayCastVehicleController::update_friction (cyclomatic 19): DynamicRayCastVehicleController::update_friction 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":"src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf2a1b1230ab526c93e95a3654b895e6b06c4204eb5c58e13d940a5196a700b"}},{"ruleId":"D1","level":"warning","message":{"text":"IslandGraph::for_each_neighbor (cyclomatic 19): IslandGraph::for_each_neighbor 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":"src/dynamics/island_manager/local_split.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb4372686106efc20e969015331ffe13d54cd2f548aa84caf2e95b0e55d38c6"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftBodySet::split_body_along (cyclomatic 19): SoftBodySet::split_body_along 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":"src/dynamics/soft_body/soft_body_set/soft_body_set_split.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acfc18f80e95be241cf8e2e5e38eeaa58414cc92152a345e9c144f323a1d9ab"}},{"ruleId":"D1","level":"warning","message":{"text":"NarrowPhase::compute_intersections (cyclomatic 19): NarrowPhase::compute_intersections 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":"src/geometry/narrow_phase/intersections.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc777e6c6c5aa2d8f1d780448f28f05aeef5aa5c69bba584f49abd62402737c3"}},{"ruleId":"D1","level":"warning","message":{"text":"NarrowPhase::reconcile_pair (cyclomatic 19): NarrowPhase::reconcile_pair 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":"src/geometry/narrow_phase/solver_graph.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a30b84374c2e4c23243098266321ed7f6c638bf9f9c5edd8235499b43652f8"}},{"ruleId":"D1","level":"warning","message":{"text":"DebugRenderPipeline::render_soft_bodies (cyclomatic 19): DebugRenderPipeline::render_soft_bodies 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. This is NOT this file\u0027s highest cyclomatic complexity: DebugRenderPipeline::render_shape (cyclomatic 23) 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":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2e82f84e7a1c6fd6e317ee47cd2e6f47fae3451b922bddeb457f23b01759f3"}},{"ruleId":"D1","level":"warning","message":{"text":"_meshes._shape_to_arrays (cyclomatic 19): _meshes._shape_to_arrays 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":"bindings/python/rapier-testbed/rapier_testbed/_meshes.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7f3c2c05c4c69eac416d21133ccee6158b34030c660b6dea79a1ae0badc76b"}},{"ruleId":"D1","level":"warning","message":{"text":"Graphics.addCollider (cyclomatic 19): Graphics.addCollider 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":"bindings/typescript/testbed3d/src/Graphics.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a722e1e96e770eabca89f9fc9cb8e388e994e42f34178f07c69c2cca532c771b"}},{"ruleId":"D1","level":"warning","message":{"text":"InteractionGroups::group_manifold_refs (cyclomatic 18): InteractionGroups::group_manifold_refs 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":"src/dynamics/solver/interaction_groups.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe65ea66fbc45af854ed48d734164fc2775d5714b2036b675cb7e258f25865b"}},{"ruleId":"D1","level":"warning","message":{"text":"StagedIslandSolver::single_group_joint_layout (cyclomatic 18): StagedIslandSolver::single_group_joint_layout 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":"src/dynamics/solver/staged_island_solver/joints.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f46f87af0a1e507698beda1708779d6710780c0aa7a357778a2e26dc3f7663b"}},{"ruleId":"D1","level":"warning","message":{"text":"PhysicsPipeline::build_islands_and_solve_velocity_constraints (cyclomatic 18): PhysicsPipeline::build_islands_and_solve_velocity_constraints has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_pipeline/solve.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5f1ef91476a7862e2d4a8e45e22a799a086ae036711a84803372abe8d712f0"}},{"ruleId":"D1","level":"warning","message":{"text":"mjcf_rs::loader::prototypes::merge_geom_proto (cyclomatic 18): mjcf_rs::loader::prototypes::merge_geom_proto has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/mjcf-rs/src/loader/prototypes.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8b564f829154a4309ab3df2a77b9489d84d0352fac5b282185d1a87bd1f0e4"}},{"ruleId":"D1","level":"warning","message":{"text":"rapier_examples_3d::vehicle_joints3::run (cyclomatic 18): rapier_examples_3d::vehicle_joints3::run 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":"examples3d/vehicle_joints3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"691887dd7818ecafa15ff636dff525caf4f106f8aa885a1c3423e00512797f3f"}},{"ruleId":"D1","level":"warning","message":{"text":"RapierContextSimulation::step_simulation (cyclomatic 17): RapierContextSimulation::step_simulation 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":"bindings/bevy_rapier/src/plugin/context/mod.rs"},"region":{"startLine":2188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f947c8a76de508b96cfb8cef3094132b4ef9aff16b730399385564aeaff0add8"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftBody::compute_volume_pieces (cyclomatic 17): SoftBody::compute_volume_pieces has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_volume.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"da56ba975a1a55ad98146d62c916b6bc75bb005890b2c0590e31c863966b0ef9"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftConstraintsSet::writeback_constraints (cyclomatic 17): SoftConstraintsSet::writeback_constraints 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":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_writeback.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3019c683396311a092f334791a86516d8f3f1c39a02a60493000cf1a3dad33"}},{"ruleId":"D1","level":"warning","message":{"text":"NarrowPhase::maintain_solver_contact_graph (cyclomatic 17): NarrowPhase::maintain_solver_contact_graph 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":"src/geometry/narrow_phase/solver_graph.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"101e025c92b01afafed6e195f0945778272753e445628e143cdd01f880662cc4"}},{"ruleId":"D1","level":"warning","message":{"text":"NarrowPhase::debug_validate_solver_graph (cyclomatic 17): NarrowPhase::debug_validate_solver_graph 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":"src/geometry/narrow_phase/solver_graph.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ad5c17390417ab51af035e48afef6e9818db701ddf67e3ea546210ffe0e8a6"}},{"ruleId":"D1","level":"warning","message":{"text":"PhysicsPipeline::advance_to_final_positions (cyclomatic 17): PhysicsPipeline::advance_to_final_positions 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":"src/pipeline/physics_pipeline/substep.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f786b3fbc0c4fbd486a58ca20d473e23f9c6bb39b4517b0504674167ba38caa2"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphicsManager::draw (cyclomatic 17): GraphicsManager::draw has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/graphics.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"486b2317ade861be26fdf3e8551f40b8b5a3d5d0c3ccea9916595d60a636fd0d"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::dynamics::solver::staged_island_solver::solve::solve_soft_constraints (cyclomatic 17): crate::dynamics::solver::staged_island_solver::solve::solve_soft_constraints 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":"src/dynamics/solver/staged_island_solver/solve.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff2a565a7236503fb12e3ff78dad46e032af2e0b9678da565d783c954ac76e1"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::geometry::manifold_reduction::reduce_manifold_naive (cyclomatic 17): crate::geometry::manifold_reduction::reduce_manifold_naive 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":"src/geometry/manifold_reduction.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d905f9e2a66ea349318f1e3044980e2c46b5f2522e3077fd6bfb48251ceda439"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseState::parse_contact (cyclomatic 17): ParseState::parse_contact 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. This is NOT this file\u0027s highest cyclomatic complexity: ParseState::parse_actuator_block (cyclomatic 28) 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/mjcf-rs/src/loader/blocks.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec037e8e570251853798f15f45c86db4d5f7f90113105bd96e74d926bae8aefe"}},{"ruleId":"D1","level":"warning","message":{"text":"Conversion::materialize_body (cyclomatic 17): Conversion::materialize_body 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/rapier3d-mjcf/src/loader/conversion.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d27988a35a43a14a04ec51dc07aae101f5c3e82d5fdc9fa1906196d00691998"}},{"ruleId":"D1","level":"warning","message":{"text":"Multibody::remove_link (cyclomatic 16): Multibody::remove_link 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":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cf364c4dfba5be41f45e82b3a89351483f42e7b4f1d43b5ff14967925d43bc"}},{"ruleId":"D1","level":"warning","message":{"text":"Multibody::update_mass_matrix (cyclomatic 16): Multibody::update_mass_matrix 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":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e25bc856311ce984aa600a2940f774415e290089fdc353cac39f6a7e05b18a"}},{"ruleId":"D1","level":"warning","message":{"text":"RigidBodyMassProps::update_world_mass_properties (cyclomatic 16): RigidBodyMassProps::update_world_mass_properties 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":"src/dynamics/rigid_body_components.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"170db57459de973d49a6ed16b99711500dfaf747c4538007b2f95b2af7d790d0"}},{"ruleId":"D1","level":"warning","message":{"text":"SoftCollisionMesh::contact_is_ghost (cyclomatic 16): SoftCollisionMesh::contact_is_ghost 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":"src/dynamics/soft_body/collision_mesh/collision_mesh_geometry.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b240563e3e27dd9f3c9219d75affd74ff7a62ccac13a967ea3ba7a487e7e572f"}},{"ruleId":"D1","level":"warning","message":{"text":"NarrowPhase::compute_contacts (cyclomatic 16): NarrowPhase::compute_contacts 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":"src/geometry/narrow_phase/contacts.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ef7195451f5ef9b044970095c11d8c0222c83ea2cef3a6c46b40b5415d194c"}},{"ruleId":"D1","level":"warning","message":{"text":"NarrowPhase::remove_collider (cyclomatic 16): NarrowPhase::remove_collider 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":"src/geometry/narrow_phase/pair_management.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b72d0a74775c652f270cb74829a426fb447fb78fe96f0d4a4558fd6444f49c"}},{"ruleId":"D1","level":"warning","message":{"text":"DebugRenderPipeline::render_joints (cyclomatic 16): DebugRenderPipeline::render_joints has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: DebugRenderPipeline::render_shape (cyclomatic 23) 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":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35531a250c344ad6e9bead66d169cbdefbeda43362a4b29e25cff0f212a9868"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::loaders::urdf::spawn_urdf_robot (cyclomatic 16): crate::bindings::bevy_rapier::src::loaders::urdf::spawn_urdf_robot 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":"bindings/bevy_rapier/src/loaders/urdf.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c757376986d0bd209701a9bb5185aa9fddc42c14e037b9dfece06b12e6bfecf"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_pairs::detect_rigid_vertices (cyclomatic 16): crate::geometry::narrow_phase::soft_contacts::soft_contacts_pairs::detect_rigid_vertices 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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_pairs.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"893ef44947d479e60a566d807705eb32fc2ad21064794284c3245b868ab1509e"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::test_crossing (cyclomatic 16): crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::test_crossing 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":"src/geometry/narrow_phase/soft_contacts/soft_self_contacts.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a77ec2e725306b53ba9496a67fa0c714ef03a09a8927120f656a2ad4c93a3d"}},{"ruleId":"D1","level":"warning","message":{"text":"MjcfRobotHandles::apply_keyframe (cyclomatic 16): MjcfRobotHandles::apply_keyframe 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/rapier3d-mjcf/src/loader/runtime.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6f9babe5a44c1c2cebc93f70f9fa17ffbae41395808f6d5ec4447ff902c093"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::solver::staged_island_solver::worker::run_worker (cognitive 373): crate::dynamics::solver::staged_island_solver::worker::run_worker has cognitive complexity 373 (threshold 15). Drivers by points: if/else 62 (218 pts), loops 44 (143 pts), boolean chains 6, match/switch 1 (6 pts) (nesting depth added 260). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/worker.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f53422742f9d8e09f8beefa54df85d938737365093f0b5daa91729a27867838"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::assemble_body_contacts (cognitive 369): SoftConstraintsSet::assemble_body_contacts has cognitive complexity 369 (threshold 15). Drivers by points: if/else 81 (289 pts), loops 11 (37 pts), match/switch 8 (30 pts), boolean chains 13 (nesting depth added 256). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_body_contacts.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c1683e4dbac329c3f58bda5d68fc5209350f917f7f1fe28681448a2e1228df"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::pair_update::process_pair (cognitive 197): crate::geometry::narrow_phase::pair_update::process_pair has cognitive complexity 197 (threshold 15). Drivers by points: if/else 62 (135 pts), boolean chains 27, loops 9 (22 pts), match/switch 6 (13 pts) (nesting depth added 93). 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":"src/geometry/narrow_phase/pair_update.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1f36e09fba369b97f1ce4310c49762c450cba4603272db1a5f8dd335a385cd"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_vertex_pass::detect_vertex_pass (cognitive 142): crate::geometry::narrow_phase::soft_contacts::soft_contacts_vertex_pass::detect_vertex_pass has cognitive complexity 142 (threshold 15). Drivers by points: if/else 28 (77 pts), loops 17 (51 pts), boolean chains 13, match/switch 1 (nesting depth added 83). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"799e18cc147ae3e3c85f357b6dccf3d8a4abed65c672b54ef5c7f1c194d3110f"}},{"ruleId":"D2","level":"warning","message":{"text":"NarrowPhase::remove_pair (cognitive 138): NarrowPhase::remove_pair has cognitive complexity 138 (threshold 15). Drivers by points: if/else 29 (122 pts), loops 2 (11 pts), boolean chains 5 (nesting depth added 102). 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":"src/geometry/narrow_phase/pair_management.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cea7e5ef70178929d236f7432fa55dd62b6c574dd169faf0696df40c361355"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftFemSet::compute_responses (cognitive 123): SoftFemSet::compute_responses has cognitive complexity 123 (threshold 15). Drivers by points: if/else 22 (76 pts), loops 7 (23 pts), match/switch 5 (16 pts), boolean chains 8 (nesting depth added 81). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_fem/soft_fem_set.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"5831ce4bbfe45349efa598c71eec5d4833a02c242986ddb19049c9b4234ef522"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::assemble_vertex_contacts (cognitive 122): SoftConstraintsSet::assemble_vertex_contacts has cognitive complexity 122 (threshold 15). Drivers by points: if/else 43 (79 pts), boolean chains 22, match/switch 4 (12 pts), loops 5 (9 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08936e1e9678c8aa732b02671454bad1574d3bd45f9e30241149f99f55990e2"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadPhaseBvh::update (cognitive 114): BroadPhaseBvh::update has cognitive complexity 114 (threshold 15). Drivers by points: if/else 37 (69 pts), loops 15 (22 pts), boolean chains 17, match/switch 2 (6 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/broad_phase_bvh/update.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd19e9fda21715ec99f49c7eeb49e0889c5f21ef0684564a8055d41733a096a7"}},{"ruleId":"D2","level":"warning","message":{"text":"StagedIslandSolver::init_and_solve (cognitive 113): StagedIslandSolver::init_and_solve has cognitive complexity 113 (threshold 15). Drivers by points: if/else 25 (61 pts), loops 22 (48 pts), boolean chains 4 (nesting depth added 62). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/init.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b27eca7aa9b8451432215dd8bddde52f6cf28fc8feee7685734ca1cdfcdd2c3"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBody::validate_topology (cognitive 110): SoftBody::validate_topology has cognitive complexity 110 (threshold 15). Drivers by points: if/else 26 (68 pts), loops 22 (40 pts), boolean chains 2 (nesting depth added 60). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/tearing/tearing_validate.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"97706780950d3d74575ae34b4705695ac4666fe2789ad82b6b334175d3d2a85f"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::solver::staged_island_solver::solve::solve_pass (cognitive 109): crate::dynamics::solver::staged_island_solver::solve::solve_pass has cognitive complexity 109 (threshold 15). Drivers by points: if/else 28 (52 pts), loops 19 (46 pts), boolean chains 11 (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/solve.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c18792d1ad1d5d403ab66ef0d3f9ba6484249545bd75f023be5e112df917960"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::soft_body::handle_soft_body_tears (cognitive 107): crate::bindings::bevy_rapier::src::plugin::systems::soft_body::handle_soft_body_tears has cognitive complexity 107 (threshold 15). Drivers by points: if/else 22 (81 pts), loops 7 (20 pts), match/switch 1 (5 pts), boolean chains 1 (nesting depth added 76). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/soft_body.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e95eebbb10089d6bd03915a26af445515bee7b2bee971ac098c422dc35bd69e"}},{"ruleId":"D2","level":"warning","message":{"text":"NarrowPhase::handle_user_changes_on_colliders (cognitive 106): NarrowPhase::handle_user_changes_on_colliders has cognitive complexity 106 (threshold 15). Drivers by points: if/else 17 (70 pts), loops 9 (35 pts), boolean chains 1 (nesting depth added 79). 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":"src/geometry/narrow_phase/pair_management.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf309c8c7d0af356439141e220a92a89fffdd45400840a96beb0ddde0e9531e"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::prepare_awake_body (cognitive 101): SoftConstraintsSet::prepare_awake_body has cognitive complexity 101 (threshold 15). Drivers by points: if/else 23 (62 pts), loops 12 (37 pts), boolean chains 2 (nesting depth added 64). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_prepare.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c25151401fb10537a079920ead48e23ad97d8229efebcb3b89d5370a21115d"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::chunk_contacts (cognitive 101): SoftConstraintsSet::chunk_contacts has cognitive complexity 101 (threshold 15). Drivers by points: loops 22 (55 pts), if/else 11 (40 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 64). 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":"src/dynamics/solver/soft_constraint/soft_contact_chunks.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50d0c16c96637e7d374c4ac1dda94d27074e6f1e369b39ca652b54a2bba8994"}},{"ruleId":"D2","level":"warning","message":{"text":"VertexScan::scan_vertex (cognitive 99): VertexScan::scan_vertex has cognitive complexity 99 (threshold 15). Drivers by points: if/else 39 (75 pts), loops 6 (13 pts), boolean chains 11 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"08557fec02baccf87843cdd5cdbc9b18be4a2c823161a78f9fce668055f09bdd"}},{"ruleId":"D2","level":"warning","message":{"text":"StagedIslandSolver::init_joints (cognitive 96): StagedIslandSolver::init_joints has cognitive complexity 96 (threshold 15). Drivers by points: loops 18 (57 pts), if/else 12 (31 pts), boolean chains 8 (nesting depth added 58). 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":"src/dynamics/solver/staged_island_solver/joints.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6820c020d7e19689c5c82c9100264a56379266566d019b2cb44528f28268af1d"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::rigid_body::apply_rigid_body_user_changes (cognitive 93): crate::bindings::bevy_rapier::src::plugin::systems::rigid_body::apply_rigid_body_user_changes has cognitive complexity 93 (threshold 15). Drivers by points: if/else 31 (67 pts), loops 18, match/switch 2 (6 pts), boolean chains 2 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/rigid_body.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"209e424065f88ed24e0175f21dbdf94a3552f724b928f51e83e1e22a6b8b250a"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::voxels3::run (cognitive 88): rapier_examples_3d::voxels3::run has cognitive complexity 88 (threshold 15). Drivers by points: if/else 18 (53 pts), loops 10 (25 pts), match/switch 2 (8 pts), boolean chains 2 (nesting depth added 56). 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":"examples3d/voxels3.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"942daa21e03a90a43129ca432e6338c2a22cebb5954277645af5d136e1489a67"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::writeback_contacts (cognitive 86): SoftConstraintsSet::writeback_contacts has cognitive complexity 86 (threshold 15). Drivers by points: if/else 22 (55 pts), loops 9 (25 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_writeback.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12d4088a6690907a9974de89fcaf96d110b7e823964d638b38c77c3c359b527"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::pipeline::user_changes::handle_user_changes_to_rigid_bodies (cognitive 82): crate::pipeline::user_changes::handle_user_changes_to_rigid_bodies has cognitive complexity 82 (threshold 15). Drivers by points: if/else 22 (55 pts), loops 5 (15 pts), boolean chains 8, match/switch 1 (4 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/user_changes.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b602dc70420668819de3894e5325800c6c646c71b6a8639639b769b3324dd90e"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::loaders::mjcf::spawn_mjcf_model (cognitive 81): crate::bindings::bevy_rapier::src::loaders::mjcf::spawn_mjcf_model has cognitive complexity 81 (threshold 15). Drivers by points: if/else 28 (52 pts), loops 13 (22 pts), boolean chains 6, match/switch 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":"bindings/bevy_rapier/src/loaders/mjcf.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d81eb933341e2602b881f3eda55036b64368c0f9fdbedd3e5e1fba85b0ad8c7"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBody::split_vertex (cognitive 78): SoftBody::split_vertex has cognitive complexity 78 (threshold 15). Drivers by points: if/else 21 (41 pts), loops 14 (21 pts), match/switch 4 (9 pts), boolean chains 7 (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":"src/dynamics/soft_body/tearing/tearing_particle_split.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fd9e1edbbcf4738042d736a01d8e3e724cbc4c9a2b1bc6032c9b058682a8d6"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::collider::apply_collider_user_changes (cognitive 74): crate::bindings::bevy_rapier::src::plugin::systems::collider::apply_collider_user_changes has cognitive complexity 74 (threshold 15). Drivers by points: if/else 24 (57 pts), loops 14, match/switch 1 (3 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/collider.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb9f1a8792d465a6ca33361899fc210bac4ab13dbc6c0c3c7bf1a94925e736e"}},{"ruleId":"D2","level":"warning","message":{"text":"MjcfRobot::insert_using_multibody_joints (cognitive 73): MjcfRobot::insert_using_multibody_joints has cognitive complexity 73 (threshold 15). Drivers by points: if/else 26 (55 pts), loops 7 (12 pts), boolean chains 6 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/insert.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"71dcf6b4fce6b580a420a3f026d0a5c0d43d21ab10a4c5f09f6891e826664690"}},{"ruleId":"D2","level":"warning","message":{"text":"EdgeScan::scan_element (cognitive 69): EdgeScan::scan_element has cognitive complexity 69 (threshold 15). Drivers by points: if/else 17 (58 pts), loops 4 (7 pts), boolean chains 4 (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_edge_pass.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bd69aecf1557f7af057fe0b41dcabe406df9a2af326385e80a8937762b67ff"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::detect_self_regions (cognitive 66): crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::detect_self_regions has cognitive complexity 66 (threshold 15). Drivers by points: if/else 17 (42 pts), loops 12 (19 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 33). Of this number, 65 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_self_contacts.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a215beaf4a09164b46e7c4d3cc61eeae5b51e6aa92d777662722064c26a5c402"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftFemSet::plan_responses (cognitive 65): SoftFemSet::plan_responses has cognitive complexity 65 (threshold 15). Drivers by points: if/else 16 (39 pts), loops 10 (15 pts), boolean chains 11 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_fem/soft_fem_set.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3703256869711efc697e3a55e28e858d65bfdb866552605844e71c8f9552d1ad"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::rigid_body::writeback_rigid_bodies (cognitive 63): crate::bindings::bevy_rapier::src::plugin::systems::rigid_body::writeback_rigid_bodies has cognitive complexity 63 (threshold 15). Drivers by points: if/else 17 (60 pts), boolean chains 2, loops 1 (nesting depth added 43). 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":"bindings/bevy_rapier/src/plugin/systems/rigid_body.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f95d68aaf8958564fce18cbe14dc4fa2af192d6aae37db926787bbb12a55c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_volume::volume_bins (cognitive 63): crate::geometry::narrow_phase::soft_contacts::soft_contacts_volume::volume_bins has cognitive complexity 63 (threshold 15). Drivers by points: if/else 20 (36 pts), loops 10 (22 pts), boolean chains 5 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_volume.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2dcd2a05cd3ab08406d6a15d06f9ba75b5625ae1056ccd01411443e4c06a334"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseState::parse_equality (cognitive 63): ParseState::parse_equality has cognitive complexity 63 (threshold 15). Drivers by points: loops 8 (25 pts), match/switch 6 (21 pts), if/else 3 (17 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/mjcf-rs/src/loader/blocks.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af56d86fa26f5e2069b50883a0eb6e3f9cb6e18f09d092da88acce21ed90e1d"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericContactConstraintBuilder::generate (cognitive 62): GenericContactConstraintBuilder::generate has cognitive complexity 62 (threshold 15). Drivers by points: if/else 38 (53 pts), boolean chains 6, loops 2 (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":"src/dynamics/solver/contact_constraint/generic_contact_constraint.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d8d86b14ad48e31a36cc1d003747ca141f49ad29822d2b185df71b57d9f5fc"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBodySet::apply_user_changes (cognitive 60): SoftBodySet::apply_user_changes has cognitive complexity 60 (threshold 15). Drivers by points: if/else 11 (31 pts), loops 9 (24 pts), boolean chains 5 (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":"src/dynamics/soft_body/soft_body_set/soft_body_set_step_sync.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70fac43067ff1b968185afb2f6fe3b992758fc193a1174cb60f8063065412b1"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::remove::sync_removals (cognitive 59): crate::bindings::bevy_rapier::src::plugin::systems::remove::sync_removals has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (41 pts), loops 14 (18 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/remove.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a93de74d735464c791cd804a0dff46a067314f9f7cdbe0bda99a28213ec1900"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::src_testbed::ui::example_settings_ui (cognitive 57): crate::src_testbed::ui::example_settings_ui has cognitive complexity 57 (threshold 15). Drivers by points: if/else 12 (37 pts), loops 3 (9 pts), boolean chains 6, match/switch 2 (5 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/ui.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f8afc12f7f3ef4af4fe1c51fcfeb2b402aa6aea5465cd55d807926711c7912"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_classify::classify_skin (cognitive 55): crate::geometry::narrow_phase::soft_contacts::soft_contacts_classify::classify_skin has cognitive complexity 55 (threshold 15). Drivers by points: if/else 20 (39 pts), loops 7 (10 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 24). Of this number, 54 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cc54211b275b2ab19d664e6d02a4fe41d488a6c8594e79eca76590186d21bd"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::fill_body_constraints (cognitive 54): SoftConstraintsSet::fill_body_constraints has cognitive complexity 54 (threshold 15). Drivers by points: if/else 18 (39 pts), loops 6 (10 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_element_constraint_assembly.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d36f385b6467ccaed5cab7f1079d957bfd3320dc34cf87e8f18c7a9528f6c2"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentIslands::split_island_now (cognitive 53): PersistentIslands::split_island_now has cognitive complexity 53 (threshold 15). Drivers by points: if/else 23 (40 pts), loops 9, match/switch 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":"src/dynamics/island_manager/global_split.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b3128df0f464e5dd5c649b3ad8f7ee1d81b4490b3a9f33f09c846fb1fc0c79"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::solver::soft_constraint::soft_contact_assembly::soft_contact_assembly_volume_constraints::emit_volume_bins (cognitive 53): crate::dynamics::solver::soft_constraint::soft_contact_assembly::soft_contact_assembly_volume_constraints::emit_volume_bins has cognitive complexity 53 (threshold 15). Drivers by points: if/else 22 (37 pts), loops 5 (13 pts), boolean chains 3 (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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_volume_constraints.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d3423d82c722ad8ece6e92075bf9ab7059cbb4c502c5c920b7a8941638634c"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::writeback_constraints (cognitive 51): SoftConstraintsSet::writeback_constraints has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (43 pts), loops 2 (4 pts), match/switch 1 (3 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":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_writeback.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"67650df0e04b4be2908883c0727755b3f081856424b8baca1627af3b64b78782"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBody::fit_rest_positions (cognitive 50): SoftBody::fit_rest_positions has cognitive complexity 50 (threshold 15). Drivers by points: loops 9 (24 pts), if/else 9 (23 pts), boolean chains 3 (nesting depth added 29). 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":"src/dynamics/soft_body/soft_body_plasticity.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"21212b42b1f94586702793a7dd83a0a22babfe2f3b058634724364f85a51e904"}},{"ruleId":"D2","level":"warning","message":{"text":"MjcfRobotHandles::apply_keyframe (cognitive 50): MjcfRobotHandles::apply_keyframe has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (42 pts), loops 3 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/runtime.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0588ceb30deaf391e04bca4a48d88343fa272cf9556c74942707274f0646e25"}},{"ruleId":"D2","level":"warning","message":{"text":"IslandManager::update_substep_groups (cognitive 49): IslandManager::update_substep_groups has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 15 (17 pts), boolean chains 4 (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":"src/dynamics/island_manager/substep_groups.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"73aa4215cdad72c4a600e38b5b5b67164cdd8e1c2f9a24a20a90420d4075e229"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBodyBuilder::build (cognitive 49): SoftBodyBuilder::build has cognitive complexity 49 (threshold 15). Drivers by points: if/else 18 (30 pts), loops 11 (18 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_builder/soft_body_build.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3696b6f1af11b25fd994b8b284902f7d3a679b028ec7a82f2ae3b479c9de32f1"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBodySet::split_cluster (cognitive 49): SoftBodySet::split_cluster has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (29 pts), match/switch 3 (10 pts), loops 7 (9 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_set/soft_body_set_split.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"59544b49e3ffdc8dc16c4b776d5d6aca4d5ab7a77365896d3859984d543f9245"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::assemble (cognitive 49): SoftConstraintsSet::assemble has cognitive complexity 49 (threshold 15). Drivers by points: loops 12 (24 pts), if/else 9 (19 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 23). 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":"src/dynamics/solver/soft_constraint/soft_element_constraint_assembly.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fd16ce57488d31fef9400be59f5698df27ce3e944737eaff775fef710084f7"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugRenderPipeline::render_contacts (cognitive 49): DebugRenderPipeline::render_contacts has cognitive complexity 49 (threshold 15). Drivers by points: loops 6 (26 pts), if/else 7 (23 pts) (nesting depth added 36). 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":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"65760bfcd687f4f6e48ad48429f40b3a2b0a82b062f92e5901c18ecf4f13fcd8"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseState::parse_asset (cognitive 49): ParseState::parse_asset has cognitive complexity 49 (threshold 15). Drivers by points: match/switch 6 (23 pts), if/else 5 (13 pts), loops 5 (13 pts) (nesting depth added 33). 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/mjcf-rs/src/loader/asset.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7110237919761edcae2106dc8caeeaa7b4aa80350af94ef81e6d0c59243cf4ab"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::assemble_contacts (cognitive 48): SoftConstraintsSet::assemble_contacts has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 10 (17 pts), match/switch 1 (4 pts), boolean chains 2 (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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d441750a0dd79082b7f45e5a926139012b166e0c372362d49b717fdcb83ea28"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsPipeline::step_inner (cognitive 47): PhysicsPipeline::step_inner has cognitive complexity 47 (threshold 15). Drivers by points: if/else 20 (35 pts), loops 7, match/switch 1 (3 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_pipeline/substep.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b64b5f615f298ddc0435458098a5d60f70e5d149ad064051c3fe1bec43a278d"}},{"ruleId":"D2","level":"warning","message":{"text":"KinematicCharacterController::detect_grounded_status_and_apply_friction (cognitive 46): KinematicCharacterController::detect_grounded_status_and_apply_friction has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (34 pts), loops 4 (12 pts) (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/character_controller.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a4aa912f0c3ae7073ee28b067fc7a901b4968e12ff958addad451d817c4ba2"}},{"ruleId":"D2","level":"warning","message":{"text":"RapierContextSimulation::step_simulation (cognitive 42): RapierContextSimulation::step_simulation has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 5 (14 pts), 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":"bindings/bevy_rapier/src/plugin/context/mod.rs"},"region":{"startLine":2188}}}],"partialFingerprints":{"codehealthFindingId/v1":"db33b6a730480e2d3a4bd9b4254f0b88e8e2ed01f07c14ac650c29db9ccf0f58"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::soft_body::apply_soft_body_user_changes (cognitive 42): crate::bindings::bevy_rapier::src::plugin::systems::soft_body::apply_soft_body_user_changes has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 14 (18 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":"bindings/bevy_rapier/src/plugin/systems/soft_body.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfed1773862f078ef45b515a979d63d0938465b98d29df280e059dbbe380d471"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftFemSystem::writeback (cognitive 41): SoftFemSystem::writeback has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (33 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_fem/system/soft_fem_system_assemble.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d58384e93e76bb78adb509e4eb0f5aa34af897f1eaaf7b77cfbf7e964ea9b3"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBody::remove_dead_particles (cognitive 40): SoftBody::remove_dead_particles has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 14 (20 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_cluster.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8870fb974c67f8c7d25de69339d0b05bef426a1bb3e08c64a3543064f22f4254"}},{"ruleId":"D2","level":"warning","message":{"text":"NarrowPhase::reconcile_pair (cognitive 40): NarrowPhase::reconcile_pair has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 7, match/switch 2 (5 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/solver_graph.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"231308a724143dfe05d8ceb949c59679a4cd4adbbaf0620f41468ae392b45fbd"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsPipeline::advance_to_final_positions (cognitive 40): PhysicsPipeline::advance_to_final_positions has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 5 (9 pts), boolean chains 2 (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":"src/pipeline/physics_pipeline/substep.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0b9e01d71468c9a5cad5ea76becae49319a93f8a34f0cd4844a2667e51f78f"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::ccd::sweeps::sweep_fast_body (cognitive 40): crate::dynamics::ccd::sweeps::sweep_fast_body has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 3 (7 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/ccd/sweeps.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4799055b2f402dffc527648ccf817b67527446a1ebd8601175433849a8e903b"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicRayCastVehicleController::update_friction (cognitive 39): DynamicRayCastVehicleController::update_friction has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (33 pts), loops 5 (6 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"481ea0758efa0cdfb5b1a076c84054f9685f35028675404bd61331c81572e12b"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBodySet::sync_particle_positions_and_collect (cognitive 39): SoftBodySet::sync_particle_positions_and_collect has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 4 (9 pts), boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_set/soft_body_set_step_sync.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd0a3c6985b6b924399756768395c0c648b1a727acb07720b2e88f2043e98bb"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBody::insert_into_segment (cognitive 38): SoftBody::insert_into_segment has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 8, loops 5 (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":"src/dynamics/soft_body/tearing/tearing_cut.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a95073b093b61f9eb0596c29c8cc4570a33d9aa93c45a201ec2f6656fc1628"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugRenderPipeline::render_soft_bodies (cognitive 38): DebugRenderPipeline::render_soft_bodies has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 7 (16 pts), match/switch 2 (5 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc992d36ced3c18be78ad7e0fe18d07b79aa91dd764c564422dcb9add5b2943"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::collider::init_colliders (cognitive 38): crate::bindings::bevy_rapier::src::plugin::systems::collider::init_colliders has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (31 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/collider.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d55fa12d06bbb9fcb765be46d3a0f2afc03c159389ad1a57d665013fd95df3"}},{"ruleId":"D2","level":"warning","message":{"text":"RigidBodyMassProps::recompute_mass_properties_from_colliders (cognitive 37): RigidBodyMassProps::recompute_mass_properties_from_colliders has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (32 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 23). 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":"src/dynamics/rigid_body_components.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb624c491879b3fa16bfb6028bce3ce6264ff2f7e4b5a46a281079dbd381d407"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::assemble_edge_contacts (cognitive 36): SoftConstraintsSet::assemble_edge_contacts has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 4, loops 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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_edge_contacts.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b692b7f273a103b28b6a407e4930daa65037df2cf2408b1a84935f63e9aee87"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBodySet::split_body_along (cognitive 35): SoftBodySet::split_body_along has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 9 (16 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_set/soft_body_set_split.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b29822feb05f883f69d4386632ebe48478da732cd9c2b303562fa907bccaddd"}},{"ruleId":"D2","level":"warning","message":{"text":"NarrowPhase::add_pair (cognitive 34): NarrowPhase::add_pair has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (33 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":"src/geometry/narrow_phase/pair_management.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"449fbd4d209e4fbd3ef0d829785daeb10d5e5f2c747df570ab11283c4863c266"}},{"ruleId":"D2","level":"warning","message":{"text":"Conversion::build_serial_joint (cognitive 34): Conversion::build_serial_joint has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (21 pts), match/switch 5 (9 pts), boolean chains 4 (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/rapier3d-mjcf/src/loader/joint.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f51edfb95fa2bba9104c948849bb9dc6e7c2b8a5ca563bc54b0a5cf32ca1f5"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::debug_sleeping_kinematic3::run (cognitive 34): rapier_examples_3d::debug_sleeping_kinematic3::run has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (32 pts), boolean chains 1, loops 1 (nesting depth added 23). 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":"examples3d/debug_sleeping_kinematic3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"40680b3bf476afd376144ce3714f88f8d6b62b00d101d71578d6d7819397ddc4"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexedComponents::split (cognitive 33): IndexedComponents::split has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 7 (13 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/soft_body.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"034e2093ada00f5436556b2dadfa0bb15bf295c17d09ef4eec3f4cf026a050bf"}},{"ruleId":"D2","level":"warning","message":{"text":"RprSoftBodyDesc::raw_piece (cognitive 33): RprSoftBodyDesc::raw_piece has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 6, match/switch 4 (5 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/soft_desc.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7bf69f8c3044d0ffc8be748affa6412d7fdd69315d873d74b6836d9ed48812"}},{"ruleId":"D2","level":"warning","message":{"text":"IslandGraph::for_each_neighbor (cognitive 33): IslandGraph::for_each_neighbor has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 7 (12 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":"src/dynamics/island_manager/local_split.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df937ab7883b35a666e8bdf7031a7b90fd0861cd39552b0a2fb787452614c7b"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftCollisionMesh::remap_topology (cognitive 33): SoftCollisionMesh::remap_topology has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 5 (15 pts), 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":"src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4cac8885319976f019d542aa1d6736594e019e4cdb03f80f8aa1032fbc7474"}},{"ruleId":"D2","level":"warning","message":{"text":"TestbedViewer::handle_events (cognitive 33): TestbedViewer::handle_events has cognitive complexity 33 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 5 (13 pts), boolean chains 2, loops 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/viewer.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb05a971c32ea03157d595c2fbbae52c6e8ede69b6f460a171392e04df4236b"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::soft_body::reset_removed_soft_body_cluster_components (cognitive 33): crate::bindings::bevy_rapier::src::plugin::systems::soft_body::reset_removed_soft_body_cluster_components has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 5 (10 pts), match/switch 1 (3 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":"bindings/bevy_rapier/src/plugin/systems/soft_body.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"4798cd62bc9f311ecc9c6fbb07e38322593546227921cd363fe80c72a9b01022"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_edge_pass::detect_edges (cognitive 33): crate::geometry::narrow_phase::soft_contacts::soft_contacts_edge_pass::detect_edges has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 6 (13 pts), boolean chains 5 (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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_edge_pass.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc9ac14cfe2f3cda876452064a78eb2daae27ac6c6600cf54bd1e8fbf3c9cec"}},{"ruleId":"D2","level":"warning","message":{"text":"Multibody::update_mass_matrix (cognitive 32): Multibody::update_mass_matrix has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 6 (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":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff41320f4d2589da44ce6515bb9881dc6cb3a5f57c270bcb56b214f69b037e2"}},{"ruleId":"D2","level":"warning","message":{"text":"NarrowPhase::maintain_solver_contact_graph (cognitive 32): NarrowPhase::maintain_solver_contact_graph has cognitive complexity 32 (threshold 15). Drivers by points: loops 8 (17 pts), if/else 7 (10 pts), match/switch 1 (3 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":"src/geometry/narrow_phase/solver_graph.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaea38641ec53bd3659017d0817177fcc272ce31aaa921ed968950f0c6ef174"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::solver::staged_island_solver::solve::solve_soft_constraints (cognitive 32): crate::dynamics::solver::staged_island_solver::solve::solve_soft_constraints has cognitive complexity 32 (threshold 15). Drivers by points: loops 9 (23 pts), if/else 5 (7 pts), boolean chains 2 (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":"src/dynamics/solver/staged_island_solver/solve.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"a248b66c3b2143537181a2d19d20a75b0a0d4b953ec7e82ce964cdf6df5b86af"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractionGroups::group_manifold_refs (cognitive 31): InteractionGroups::group_manifold_refs has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (27 pts), loops 3, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/interaction_groups.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"df868bf3d88980ec76efd838008a7e8afced09e88bf29b11de5379b5b53557b2"}},{"ruleId":"D2","level":"warning","message":{"text":"JointConstraint::update (cognitive 31): JointConstraint::update has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 6, 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":"src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2829125dfe568f3ba76dfc523717c9530ba6f506db649034f50284beb3843a"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::solve_overlap_constraint (cognitive 31): SoftConstraintsSet::solve_overlap_constraint has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (21 pts), loops 7 (9 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_solve.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac54866a89c2d97270ad4fc435ec135daf728eafadaa2e36c309fc4869738c6"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftFemSystem::assemble_operator (cognitive 31): SoftFemSystem::assemble_operator has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 6 (10 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":"src/dynamics/solver/soft_fem/system/soft_fem_system_assemble.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06be982d4acc8d9e9affa75ef83596414ba11776925429e7632eb9cd13cd48d"}},{"ruleId":"D2","level":"warning","message":{"text":"StagedIslandSolver::single_group_joint_layout (cognitive 31): StagedIslandSolver::single_group_joint_layout has cognitive complexity 31 (threshold 15). Drivers by points: loops 9 (18 pts), if/else 4 (8 pts), boolean chains 5 (nesting depth added 13). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/joints.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c728a18a8ffa798155a6e4eaabed5ad9e3cf7a29d21a900ee31e3fc7eca161"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::loaders::urdf::spawn_urdf_robot (cognitive 31): crate::bindings::bevy_rapier::src::loaders::urdf::spawn_urdf_robot has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 4 (6 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/loaders/urdf.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af4972f1a53786f8567dcd3af7a3fa0e6e0f490b22476ef7a8ea876a1566b13"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::rigid_body::init_rigid_bodies (cognitive 31): crate::bindings::bevy_rapier::src::plugin::systems::rigid_body::init_rigid_bodies has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (27 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/rigid_body.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdce05ef174f262635ebe7f15c451806dee23ed581cb5067c48e7b725e17d0b3"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::detect_self_tangles (cognitive 31): crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::detect_self_tangles has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 6 (10 pts), boolean chains 2 (nesting depth added 11). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_self_contacts.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cbaabeef408b3d52ee98e33f59ba2c1339e5beb19d64d630f1332a8b9136c1"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::vehicle_joints3::run (cognitive 31): rapier_examples_3d::vehicle_joints3::run has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 5 (11 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/vehicle_joints3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"033ed16d911f01a5d7924e56ae4f49a59e3093b4a456430f8ec08f63caa84434"}},{"ruleId":"D2","level":"warning","message":{"text":"Multibody::update_root_type (cognitive 30): Multibody::update_root_type has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 2 (8 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":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a63eaa9e65b4bae91638d7dc95384287094523b1d6c7d738ec2bd11386add4b"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelInteractionGroups::group_interactions (cognitive 30): ParallelInteractionGroups::group_interactions has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 4, match/switch 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":"src/dynamics/solver/interaction_groups.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3997981f3c1853078138d97e6e9c2a63b177609789d922b34bb5dc07c6d5aa8"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphicsManager::add_missing_soft_body_graphics (cognitive 30): GraphicsManager::add_missing_soft_body_graphics has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 4 (8 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":"src_testbed/graphics/graphics_soft_bodies.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d3329ca0961721262503d699f34f5b1e4330640c679a856bc16fb93e9acb9e"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::picking_backend::update_hits (cognitive 30): crate::bindings::bevy_rapier::src::picking_backend::update_hits has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (9 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/picking_backend/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"df27307501d36bb1d9613e3a42ecad45cecd9352aa87b93fe591e0357241bb99"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::soft_body::soft_body_builder::soft_body_builder_mesh_helpers::surface_is_closed (cognitive 30): crate::dynamics::soft_body::soft_body_builder::soft_body_builder_mesh_helpers::surface_is_closed has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 6 (12 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":"src/dynamics/soft_body/soft_body_builder/soft_body_builder_mesh_helpers.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76f531d8872d2e41e96b555338f09b13dfeb566ff6a8023519ec9f7f701b9ab"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::contact_clustering::transfer_warmstart_data (cognitive 30): crate::geometry::contact_clustering::transfer_warmstart_data has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (20 pts), loops 4 (10 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/contact_clustering.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c310e7fb0890a3d0277fbd4e572243171147011d720987f3e2d10899fe1d102"}},{"ruleId":"D2","level":"warning","message":{"text":"MultibodyJoint::velocity_constraints (cognitive 29): MultibodyJoint::velocity_constraints has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (27 pts), 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":"src/dynamics/joint/multibody_joint/multibody_joint.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f982b2ef2106578e8f16f72c708d966ba1380908827348a72c859a1118f98c6d"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugRenderPipeline::render_colliders (cognitive 29): DebugRenderPipeline::render_colliders has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (6 pts), match/switch 1 (5 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":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce355b21838276009eac0935070082fecabe439bb13fa9592a8e43842b0e230d"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::solver::soft_constraint::soft_element_constraint::soft_element_linalg::symmetric_eigen (cognitive 29): crate::dynamics::solver::soft_constraint::soft_element_constraint::soft_element_linalg::symmetric_eigen has cognitive complexity 29 (threshold 15). Drivers by points: loops 8 (23 pts), if/else 2 (6 pts) (nesting depth added 19). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_element_constraint/soft_element_linalg.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e274701a32fbbf79006fa9ce8bb52deabdf438d10d86f86ec3379c45c6b0301"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::contact_clustering::cluster_manifolds_for_solver (cognitive 29): crate::geometry::contact_clustering::cluster_manifolds_for_solver has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (3 pts), match/switch 1 (2 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":"src/geometry/contact_clustering.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d51fbd1caadc44e976ff8b1791966a8ee2269030533fcc0b05780c9c0f2d976"}},{"ruleId":"D2","level":"warning","message":{"text":"MjcfRobotHandles::apply_keyframe (cognitive 29): MjcfRobotHandles::apply_keyframe has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 4, boolean chains 2, match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/runtime.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93c695f87d4d6414c513116ab7433b479a2800d2a5784d48c10711673d8f764"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftContact::update (cognitive 28): SoftContact::update has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (14 pts), loops 7 (12 pts), boolean chains 2 (nesting depth added 7). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7552098dd25b470f666a356c71f88f3d1052f8d3c591e6a0b04f77014e2ef84f"}},{"ruleId":"D2","level":"warning","message":{"text":"NarrowPhase::remove_collider (cognitive 28): NarrowPhase::remove_collider has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (23 pts), loops 3 (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":"src/geometry/narrow_phase/pair_management.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d49b9aa903d488b99641d1e52f49bfa749f76a1f0b6847f0a9089b7bce6d1d"}},{"ruleId":"D2","level":"warning","message":{"text":"NarrowPhase::debug_validate_solver_graph (cognitive 28): NarrowPhase::debug_validate_solver_graph has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 6 (9 pts), boolean chains 4 (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":"src/geometry/narrow_phase/solver_graph.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05dff0bbbeee1f93cd8482dcff4430a87a08284ded855a50401efd8a4c04510"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_pairs::detect_rigid_vertices (cognitive 28): crate::geometry::narrow_phase::soft_contacts::soft_contacts_pairs::detect_rigid_vertices has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (23 pts), loops 3 (4 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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_pairs.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"370e85f07698c221534092944a88b39f308393a78f6eea99986ed8194e244f37"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBody::seeded_components (cognitive 27): SoftBody::seeded_components has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 9 (11 pts), boolean chains 1, match/switch 1 (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/tearing/tearing_helpers.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"65df72436e6acae844a202bc2688ea01a7a107271fdb1c49af0701d88b1e358b"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBodyBuilder::cloth (cognitive 27): SoftBodyBuilder::cloth has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_builder/soft_body_builder_shapes.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26d5cc0cd8c297dc19ed9a5fe5ce086cd1c21448d22df8c9263c2de48eda91c"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::character_controller::update_character_controls (cognitive 27): crate::bindings::bevy_rapier::src::plugin::systems::character_controller::update_character_controls has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/character_controller.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"834f76bb3cf625037026cd0e764c99eba058fe33e975c2a7edd11406575aaeb6"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::joint::apply_joint_user_changes (cognitive 27): crate::bindings::bevy_rapier::src::plugin::systems::joint::apply_joint_user_changes has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/joint.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae228a8766ca1cd3d38cc2f08c0f82ec9f58aa9d74b399a447cc9c8422d7fed"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseState::merge_equality (cognitive 27): ParseState::merge_equality has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (24 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/mjcf-rs/src/loader/attach.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"267b0306e1419ad8c92089b5bfe4d8e76dcb113b3866e75b66c265e77bd0c8c6"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::sensor3::run (cognitive 27): rapier_examples_3d::sensor3::run has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 5 (10 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/sensor3.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d957952ab55a2b94dac3235705e49f90d04e865ded3abef4a3ef53918e2c62"}},{"ruleId":"D2","level":"warning","message":{"text":"RprShapeDesc::raw_depth (cognitive 26): RprShapeDesc::raw_depth has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/descriptors.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"386a2ffa64f9ccc6b725d25ee71426ec8fbcf971239ec915b0baf9b9123181e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Multibody::update_acceleration (cognitive 26): Multibody::update_acceleration has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 3 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cc5599af48dd11f0aed1a58b98657b59a71d291faa4ca353f655cb4698dde2"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBody::compute_volume_pieces (cognitive 26): SoftBody::compute_volume_pieces has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 9 (10 pts) (nesting depth added 9). Of this number, 21 points are the body\u0027s own statements and 5 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":"src/dynamics/soft_body/soft_body_volume.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cbb29e24cf5caded1a4f5a13550c21c2eb4059f13fe023de7bdd27c2c1935f"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::soft_body::collision_mesh::collision_mesh_topology::follow_pieces (cognitive 26): crate::dynamics::soft_body::collision_mesh::collision_mesh_topology::follow_pieces has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 5 (8 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"0763b59d01180731df24b937a558587e16edc34743bd2c0a3cf54ade585d3c86"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::src_testbed::ui::settings_tab (cognitive 26): crate::src_testbed::ui::settings_tab has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 4 (7 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/ui.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a8ffa52bfae94e6911e251c95aeafa96e47a0659b47dfdc77c0a213e38c0b5"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier3d_urdf::squeeze_one_empty_link (cognitive 26): rapier3d_urdf::squeeze_one_empty_link has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 4 (10 pts), match/switch 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-urdf/src/lib.rs"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ef8cd6ed8aa812b64d51472b5c6f3241d9440f6ba7df0d8c1bdf99620a9afb"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::warmstart_overlap_constraint (cognitive 25): SoftConstraintsSet::warmstart_overlap_constraint has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 6 (12 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":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_solve.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdef03d8a2b67a9e44f1e60ac1202258d9c61c1e566ef32ded5801f7bf25f71"}},{"ruleId":"D2","level":"warning","message":{"text":"Conversion::materialize_body (cognitive 25): Conversion::materialize_body has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/conversion.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"522e2bd6d7a7e3d74917c72f1dfc7c156f40675c6486ca69538ce5b0ed9e0c8f"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::soft_force_tearing2::run (cognitive 25): rapier_examples_2d::soft_force_tearing2::run has cognitive complexity 25 (threshold 15). Drivers by points: loops 9 (18 pts), if/else 2 (5 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":"examples2d/soft_force_tearing2.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c904bfafee10f7a8e342cba7d0eba473b3efb10e354f08a64e456681f4c8286"}},{"ruleId":"D2","level":"warning","message":{"text":"RapierContextSimulation::remove_soft_body (cognitive 24): RapierContextSimulation::remove_soft_body has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 3 (5 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/context/mod.rs"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab5db32c91e6caeb310e289d961c5de64e084124b7c02d6c8769742de2cf2af"}},{"ruleId":"D2","level":"warning","message":{"text":"IslandManager::wake_up (cognitive 24): IslandManager::wake_up has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (8 pts), match/switch 1 (5 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/island_manager/sleep.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cffbb6748106ff1346af35df1ac99a2b0c4fce3b004b1617a1e6a8ccebcee1"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentIslands::move_component_out (cognitive 24): PersistentIslands::move_component_out has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/island_manager/local_split.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"0458d90486ee8898caa0fd6efb186f9b61c454e2eeb662f0dcb3535347864f88"}},{"ruleId":"D2","level":"warning","message":{"text":"ImpulseJointSet::select_active_interactions (cognitive 24): ImpulseJointSet::select_active_interactions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (7 pts), boolean chains 5 (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":"src/dynamics/joint/impulse_joint/impulse_joint_set.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"f278acaafe9bdd3bd2363eec65110b3c2204210ec10af5678c53b8713eb83327"}},{"ruleId":"D2","level":"warning","message":{"text":"MultibodyJointSet::remove (cognitive 24): MultibodyJointSet::remove has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (8 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_joint_set.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a81c24b9254998f634ff641be0257d738ec9160ca925f5d91ce086d7d6aebfa"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::assemble_clusters (cognitive 24): SoftConstraintsSet::assemble_clusters has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (16 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_rigid_coupling.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"055a0e07537d6fd3f6c57fc2163d20a0db024d4d8952a505f8ae70682987b9e7"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::writeback_bodies (cognitive 24): SoftConstraintsSet::writeback_bodies has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 5 (10 pts), match/switch 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_writeback.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddda0602651cdc4027e11d70583fad9dcb4322670494ee2eb34745093e63c288"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::remove::reset_removed_collider (cognitive 24): crate::bindings::bevy_rapier::src::plugin::systems::remove::reset_removed_collider has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 3 (7 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/remove.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"260e98a1cb219a095e3c44708ae7014b331437292ae7be7dd422f82e9e2f4a0c"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::writeback::writeback_mass_properties (cognitive 24): crate::bindings::bevy_rapier::src::plugin::systems::writeback::writeback_mass_properties has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (23 pts), loops 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/writeback.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec6b0b5906fc905cd1871de4dc47a59517b8c59b627dc6eb0bb9cde8c48f084"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::ccd2::run (cognitive 24): rapier_examples_2d::ccd2::run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/ccd2.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5d1115c495f98ce23e9f02c1d3e5fb7170529a09a5c9105b2d06aa049acfe7"}},{"ruleId":"D2","level":"warning","message":{"text":"IslandGraph::for_each_incident_link (cognitive 23): IslandGraph::for_each_incident_link has cognitive complexity 23 (threshold 15). Drivers by points: loops 7 (14 pts), if/else 6 (9 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":"src/dynamics/island_manager/local_split.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab70ee52c0bb1cbc5e2a46519adfdb15cb80010f45096d964b450ef2e7d958e8"}},{"ruleId":"D2","level":"warning","message":{"text":"IslandManager::update_soft_body_attachments (cognitive 23): IslandManager::update_soft_body_attachments has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (7 pts) (nesting depth added 14). 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":"src/dynamics/island_manager/manager.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc96f388774278d4ea9451fba97ff4b41264e5ceb5c67e9ef69ca212971d11ed"}},{"ruleId":"D2","level":"warning","message":{"text":"Multibody::remove_link (cognitive 23): Multibody::remove_link has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 4 (5 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":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a18abf373cba062cffbe483bed14686ec3e045e27e029d8753d0f9f2489271f"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftCollisionMesh::contact_is_ghost (cognitive 23): SoftCollisionMesh::contact_is_ghost has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, loops 2, 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":"src/dynamics/soft_body/collision_mesh/collision_mesh_geometry.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"263c775411281ba3a770420f4b8208bfd50b407de39cc6de065431c717ab9104"}},{"ruleId":"D2","level":"warning","message":{"text":"JointConstraintBuilderSimd::update (cognitive 23): JointConstraintBuilderSimd::update has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 3 (8 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_constraint_builder.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"5608584a022e2c970ec1ebeae41bdcf202df79353d1188a0e9ccbeb554e9d567"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::assemble_attachments (cognitive 23): SoftConstraintsSet::assemble_attachments has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_rigid_coupling.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc52fed95a47f38578d43b95d6e821381a25f5a86519d63b9081547a164c687b"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftContact::apply (cognitive 23): SoftContact::apply has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (8 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27c65de838c4819d6812b58c2b16d61029d67c15f6af145f44f1f30e9c90479"}},{"ruleId":"D2","level":"warning","message":{"text":"TestbedViewer::handle_action_flags (cognitive 23): TestbedViewer::handle_action_flags has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 5 (11 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":"src_testbed/viewer.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec1d29617707c2632e2573e47d0cfa1bd512c6a76a41db17ea77f1b5684859d"}},{"ruleId":"D2","level":"warning","message":{"text":"mjcf_rs::loader::parse_utils::absolutize_model_assets (cognitive 23): mjcf_rs::loader::parse_utils::absolutize_model_assets has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 3 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/mjcf-rs/src/loader/parse_utils.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8188fe2a306db53f00ff45111821d1d9eb44f9b39a825db4392f8ae1e1a420"}},{"ruleId":"D2","level":"warning","message":{"text":"MjcfRobotHandles::contact_hooks (cognitive 23): MjcfRobotHandles::contact_hooks has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (7 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/rapier3d-mjcf/src/loader/runtime.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e881810d0a8a329c22a4ddf483a0c8849c52e0162908c6ddf285880b7cf12b9a"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::debug_chain_high_mass_ratio3::run (cognitive 23): rapier_examples_3d::debug_chain_high_mass_ratio3::run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_chain_high_mass_ratio3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aaf1a5916af3979d69dcec0dc228b377565bfc75f3ad09a41d94c4fa33fedb3"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::mujoco_menagerie3::run (cognitive 23): rapier_examples_3d::mujoco_menagerie3::run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/mujoco_menagerie3.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c921648cde381d71128992836e04f94806c96e048eb807b783ebad1f0974789"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::mujoco_menagerie3::discover_scenes (cognitive 23): rapier_examples_3d::mujoco_menagerie3::discover_scenes has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/mujoco_menagerie3.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b03659e1a715e2e8f30401c1bb8291bbf029617d7926ebbd5963190ddefa51"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::soft_tearing3::run (cognitive 23): rapier_examples_3d::soft_tearing3::run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 5 (11 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/soft_tearing3.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cae5680512666421b7489f2a55ddd4bc2d71658bd696385e74666b0c0776e12"}},{"ruleId":"D2","level":"warning","message":{"text":"IslandManager::update_multibody_chain (cognitive 22): IslandManager::update_multibody_chain has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/island_manager/manager.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"55651173bcb717bffcf0705166cd3897def5baee32d57ee00c27ad1ae8894e28"}},{"ruleId":"D2","level":"warning","message":{"text":"IslandManager::update_islands (cognitive 22): IslandManager::update_islands has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 5 (8 pts), boolean chains 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":"src/dynamics/island_manager/manager.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"675513bd18ab49d6abb629273ba707ceb2c4f5a4ab5bcfc0ff10a6517c30f040"}},{"ruleId":"D2","level":"warning","message":{"text":"SkylineCholesky::factorize (cognitive 22): SkylineCholesky::factorize has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 6 (11 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":"src/dynamics/solver/soft_fem/soft_fem_skyline.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93d9677b3d6094c3358ff04738d88ddbd8b8af4b7043d36ebef9a660ad44996"}},{"ruleId":"D2","level":"warning","message":{"text":"NarrowPhase::compute_contacts (cognitive 22): NarrowPhase::compute_contacts has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 3 (4 pts), match/switch 2 (4 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":"src/geometry/narrow_phase/contacts.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8306bfab3fe227084eb1f7aa6c7d17dd881ecff3d5281391f95ebfc9a7b55f55"}},{"ruleId":"D2","level":"warning","message":{"text":"NarrowPhase::compute_intersections (cognitive 22): NarrowPhase::compute_intersections has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4, loops 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/intersections.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a336450c10211429c6a03d9b45c747ed9d278f6927c3e278784c8b7ab0f02d"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::solver::soft_fem::soft_fem_skyline::reverse_cuthill_mckee (cognitive 22): crate::dynamics::solver::soft_fem::soft_fem_skyline::reverse_cuthill_mckee has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (11 pts), if/else 3 (10 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":"src/dynamics/solver/soft_fem/soft_fem_skyline.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1896b62be1116fffba444baa59fca8bb5e9744170cddfe2542106763ea3a2780"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::manifold_reduction::reduce_manifold_naive (cognitive 22): crate::geometry::manifold_reduction::reduce_manifold_naive has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 3, boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/manifold_reduction.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8a4e82641a6e13172c7642789211c46128ec7284c472c2ea30d40bc490589a"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::src_testbed::graphics::graphics_soft_bodies::write_mesh_vertices (cognitive 22): crate::src_testbed::graphics::graphics_soft_bodies::write_mesh_vertices has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 4 (10 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/graphics/graphics_soft_bodies.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99bc410ec1d484df585ad6636f90ac390e7bbd7d8a2db332e253ee7413430b3"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::sensor2::run (cognitive 22): rapier_examples_2d::sensor2::run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (5 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":"examples2d/sensor2.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c44c267b6dc478a899516b4f07b42694be567733b11ac8cfe2e8f56060ffb8e"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::soft_tearing2::run (cognitive 22): rapier_examples_2d::soft_tearing2::run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 5 (11 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":"examples2d/soft_tearing2.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6365e5bb7142f3c0481733e46e8579f9a7b3295ba03d5a4e9ee5dd4799dc9e61"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::ccd3::run (cognitive 22): rapier_examples_3d::ccd3::run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (5 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":"examples3d/ccd3.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0f0f185268b79cf5a57d653e77b818f778abd5cad60749465ca1567f063596"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::debug_shape_modification3::run (cognitive 22): rapier_examples_3d::debug_shape_modification3::run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (7 pts), match/switch 1 (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":"examples3d/debug_shape_modification3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5a375edd4af3c9969902eb21d1f94d24527028b93af1482d79b75f5386fbe9"}},{"ruleId":"D2","level":"warning","message":{"text":"_picker._cli_input_loop (cognitive 22): _picker._cli_input_loop has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 2 (5 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/_picker.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"979c132312980f1116acf6c1a03af8582e880ecea928b3a4ef6dfb1cbeba26b8"}},{"ruleId":"D2","level":"warning","message":{"text":"Testbed._sync_mesh_nodes (cognitive 22): Testbed._sync_mesh_nodes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (6 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/_testbed.py"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2d15345c10c9d6152318065cb626663bbcfb3430efa531d0ffe6c73d3d1a6f"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBody::reachable_elements (cognitive 21): SoftBody::reachable_elements has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 5 (8 pts) (nesting depth added 11). Of this number, 13 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/tearing/tearing_particle_split.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e20223878b96c9ba81c58b528f0956ea705891346f5d1748d0643b0a210e8c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ColliderView::raw_scale_by (cognitive 21): ColliderView::raw_scale_by has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 12 (19 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"13be11646cd0d0fa108d3c76b5572948a85f12f9a5925cd2fdf53f8ab501418a"}},{"ruleId":"D2","level":"warning","message":{"text":"RapierDiagnosticsPlugin::diagnostic_system (cognitive 21): RapierDiagnosticsPlugin::diagnostic_system has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 3 (7 pts), match/switch 1 (2 pts) (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":"bindings/bevy_rapier/src/plugin/diagnostics.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a7c1c43bd150eaa62568018c453c8d690dcc1e32e70d5e6c36b2d2c9948eae"}},{"ruleId":"D2","level":"warning","message":{"text":"KinematicCharacterController::solve_single_character_collision_impulse (cognitive 21): KinematicCharacterController::solve_single_character_collision_impulse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 4 (9 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":"src/control/character_controller.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae0af7ef51fa8bb2cef44ba3b68e554c01c5944216843af9d444e5205f0c7cd"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBody::inherit_cluster_membership (cognitive 21): SoftBody::inherit_cluster_membership has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_cluster.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"3652fb5b4f8c9b6e8015177c1771c59769b045c220dfb305706ec69e2bf4f890"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBody::cluster_frame (cognitive 21): SoftBody::cluster_frame has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 5 (8 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":"src/dynamics/soft_body/soft_body_cluster.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"4049d2329761941279cc81ecf8cd5091ccc139a4ff474e37917b40747eb9627b"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBodyBuilder::cuboid (cognitive 21): SoftBodyBuilder::cuboid has cognitive complexity 21 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 2 (5 pts) (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":"src/dynamics/soft_body/soft_body_builder/soft_body_builder_shapes.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1edf083a9440c4f8aa5bf1129b86f8a32983ac1f1d434482f6ba8b717a40e48"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::solve_volume_constraint (cognitive 21): SoftConstraintsSet::solve_volume_constraint has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (7 pts), match/switch 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_solve.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46763ea3c672e0e6c071b26280bd404a39070bf73be4a3e39c6217df6a603d1"}},{"ruleId":"D2","level":"warning","message":{"text":"Quarantine::detect_user_changes (cognitive 21): Quarantine::detect_user_changes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_pipeline/quarantine.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9313f05973279bf3993f3d726b0f9d4cfa923bbdee7ee7cc5af47d0fc4143f"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::collider::init_async_scene_colliders (cognitive 21): crate::bindings::bevy_rapier::src::plugin::systems::collider::init_async_scene_colliders has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (11 pts), match/switch 1 (6 pts), loops 2 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/collider.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdec7d0dab3ba17148cde74d961e535013f52f66775288041d21c9b2453d729"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::joint::apply_multibody_joint_properties (cognitive 21): crate::bindings::bevy_rapier::src::plugin::systems::joint::apply_multibody_joint_properties has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/joint.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94f93fe590c9a407c924c9ec11b487a4f98a916204baf1d14601325f574f7b7"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::soft_body::soft_body_set::soft_body_set_split::rebase_proxy_attachments (cognitive 21): crate::dynamics::soft_body::soft_body_set::soft_body_set_split::rebase_proxy_attachments has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_set/soft_body_set_split.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9d6b181fc9028ce8549a92030246bc525bcb36c24463b8d4fee74cfde26a20"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::test_crossing (cognitive 21): crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::test_crossing has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_self_contacts.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c3e758bf49527662fe324f487c86c6d02c6b2be8cca3870ed5db887e0757a9"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::joints2::run (cognitive 21): rapier_examples_2d::joints2::run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/joints2.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"820ddcd9bb699a109bfde9e279bbba426437c10d0c6cf4155240df201a57cfd0"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::joints3::create_fixed_joints (cognitive 21): rapier_examples_3d::joints3::create_fixed_joints has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 3, 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":"examples3d/joints3.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcc40868df59e7de401d5c0ccbf34e7704db6500b335c2112265d2882bc7974"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::soft_trimesh3::run (cognitive 21): rapier_examples_3d::soft_trimesh3::run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 2, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/soft_trimesh3.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa8aa178cb37e003764bc89f3122354105245a2243d9855de87c0ea52de2ea8"}},{"ruleId":"D2","level":"warning","message":{"text":"_meshes._shape_to_arrays (cognitive 21): _meshes._shape_to_arrays has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, loops 2 (5 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/_meshes.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"90945093600be75aa315860973d8b0977d1a13b729ff9f82e1063730e853bb07"}},{"ruleId":"D2","level":"warning","message":{"text":"KinematicCharacterController::check_and_fix_penetrations (cognitive 20): KinematicCharacterController::check_and_fix_penetrations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/character_controller.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1c69532b3dc23c836e30ae5cab67a588ff06b5bf05dd913911197874b1320c"}},{"ruleId":"D2","level":"warning","message":{"text":"CCDSolver::solve_continuous (cognitive 20): CCDSolver::solve_continuous has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/ccd/ccd_solver.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c666260969c2389d1010ff955728cf6b506a52fcbd5af5a31402efc8550ffa01"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugRenderPipeline::render_joints (cognitive 20): DebugRenderPipeline::render_joints has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 3 (6 pts), boolean chains 5 (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":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84beb85522eeddc18652900e36d8406a7143e71f382a8ea02b69f72d034e464"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::pid_controller::update_pid_controllers (cognitive 20): crate::bindings::bevy_rapier::src::plugin::systems::pid_controller::update_pid_controllers has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/pid_controller.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc42f9b1307bde05942b9e336184616ef15c2a9754e4928d8751a494a17aadff"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::soft_body::sync_soft_body_meshes (cognitive 20): crate::bindings::bevy_rapier::src::plugin::systems::soft_body::sync_soft_body_meshes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/soft_body.rs"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed9f997238445c3ec0168e4aa337a36aa441f00f8c73d6d2752ab8bc5ba43c2"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::soft_body::collision_mesh::collision_mesh_topology::follow_splits (cognitive 20): crate::dynamics::soft_body::collision_mesh::collision_mesh_topology::follow_splits has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 5 (9 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":"src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c3cad464834661dc30ac36269588c9746b83e63f4ff3acf24c8e5920c642eb"}},{"ruleId":"D2","level":"warning","message":{"text":"Conversion::bind_extras (cognitive 20): Conversion::bind_extras has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 3 (8 pts), loops 2, boolean chains 1 (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/rapier3d-mjcf/src/loader/conversion.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb832bc16d08ff4e1824769a96eb80fb9be1c7abf66a4cf00be3b7acf3f7fa6e"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier3d_mjcf::loader::mass::add_frictionloss_to_multibody (cognitive 20): rapier3d_mjcf::loader::mass::add_frictionloss_to_multibody has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3, 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/rapier3d-mjcf/src/loader/mass.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4e1b4c2ede01066a6769ab85510d8ee768c9db41568511a0bfc4ced047feb9"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier3d_mjcf::loader::mass::add_springdamper_to_multibody (cognitive 20): rapier3d_mjcf::loader::mass::add_springdamper_to_multibody has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/mass.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c830bf349d20585bc6f3598f140406ae1537342f9c95d83e7bfd26fe7e71cd"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::debug_balls3::run (cognitive 20): rapier_examples_3d::debug_balls3::run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_balls3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3040f4d415d509a1309a6f4c513c7cca7855d60207f5d91c0b8a34f0c0ba9b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::dynamic_trimesh3::run_impl (cognitive 20): rapier_examples_3d::dynamic_trimesh3::run_impl has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 4 (8 pts), match/switch 1 (3 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":"examples3d/dynamic_trimesh3.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1bde840f3c1a8480cc45eb73b1c088d976a5fc44cb3840a08be77365d698a7"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::inverse_kinematics3::run (cognitive 20): rapier_examples_3d::inverse_kinematics3::run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/inverse_kinematics3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"44194328e8e6663b066bf654090230ee58bf4e59f6214322c7cf2b3d50cb56be"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::joints3::create_spherical_joints (cognitive 20): rapier_examples_3d::joints3::create_spherical_joints has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/joints3.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51538c55f206e8e82f93dc34e249ecf9e6c4ab344a88bbbe1504861bfd96c66"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::platform3::run (cognitive 20): rapier_examples_3d::platform3::run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 4 (7 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":"examples3d/platform3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcec54393d044b4950c9edec35f0bef8b18f3eeaad93afbfcd7df5ea3951c370"}},{"ruleId":"D2","level":"warning","message":{"text":"Testbed._sync_soft_body_nodes (cognitive 20): Testbed._sync_soft_body_nodes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/_testbed.py"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45eecb059c13dfd5300db9ea366c6aea4f30fb01b8b674ec1a9d0c6b5f80346"}},{"ruleId":"D2","level":"warning","message":{"text":"Testbed._cleanup_scene (cognitive 20): Testbed._cleanup_scene has cognitive complexity 20 (threshold 15). Drivers by points: error handling 8 (14 pts), loops 4, if/else 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":"bindings/python/rapier-testbed/rapier_testbed/_testbed.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ad330a1f786cb1ee9da8e4294d1de471a05943bd1bd3c87ee8efda1d228c68"}},{"ruleId":"D2","level":"warning","message":{"text":"examples_tour.main (cognitive 20): examples_tour.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 2 (3 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/examples_tour.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb577f27eaefe78324963e6554c79928b5aa09f105d95ce1789fae0dfd548325"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBody::cut_segments (cognitive 19): SoftBody::cut_segments has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (7 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":"src/dynamics/soft_body/tearing/tearing_cut.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47de810ad98d4507863a348d9c5c7c80a1c428e6702c103ea7eddae43022913"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentIslands::assert_consistent (cognitive 19): PersistentIslands::assert_consistent has cognitive complexity 19 (threshold 15). Drivers by points: loops 7 (10 pts), if/else 4 (8 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":"src/dynamics/island_manager/persistent.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"1791d7fc6a58417146fda064e6870811f31248d8eb0a21d6875a847e79e3e671"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftFemSystem::assemble_springs (cognitive 19): SoftFemSystem::assemble_springs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_fem/system/soft_fem_system_assemble.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"41315a3c009a7e3ec21ea9e355546131ae11511177a61b2de96f56a38bd9c244"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugRenderPipeline::render_shape_pseudo_normals (cognitive 19): DebugRenderPipeline::render_shape_pseudo_normals has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 4 (9 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03a6b818a244938714ab0b41f235ae378598900a937b0c43b383e681beff390"}},{"ruleId":"D2","level":"warning","message":{"text":"PhysicsPipeline::build_islands_and_solve_velocity_constraints (cognitive 19): PhysicsPipeline::build_islands_and_solve_velocity_constraints has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, loops 3, match/switch 2 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_pipeline/solve.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9fc3d8fc1f1177c887ef46daa6b058a369379b137a7cfd2b78e61b8b42810e"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::update_self (cognitive 19): crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::update_self has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (6 pts), boolean chains 3 (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":"src/geometry/narrow_phase/soft_contacts/soft_self_contacts.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6048c0b5c5d6a6cd90a86f474ac3c7fe748a7b58bc998d6b75bf9e4f76aaeaa7"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::debug_self_intersect2::run (cognitive 19): rapier_examples_2d::debug_self_intersect2::run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/debug_self_intersect2.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cc276042321da19ccc2bc5e1fa302fe314b6d445b97d6323d4d29dfa5b9e95"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::s2d_high_mass_ratio_1::run (cognitive 19): rapier_examples_2d::s2d_high_mass_ratio_1::run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (7 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/s2d_high_mass_ratio_1.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ec8654599928e6c6a46e9dbe1e0050aa434aa37fc5a329f2c96f867f2a2af5"}},{"ruleId":"D2","level":"warning","message":{"text":"dynamic_trimesh3.do_init_world (cognitive 19): dynamic_trimesh3.do_init_world has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 5 (7 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/dynamic_trimesh3.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"98897cd7ff488b23df0e9d2db321080deeeac0382b5fecb3e1496e321e5e8a89"}},{"ruleId":"D2","level":"warning","message":{"text":"heightfield3.init_world (cognitive 19): heightfield3.init_world has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (9 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":"bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4677dc3749791044d9a94fb1816414bf9850725cbb5ec376fec77ea3104e291"}},{"ruleId":"D2","level":"warning","message":{"text":"trimesh3.init_world (cognitive 19): trimesh3.init_world has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (9 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":"bindings/python/rapier-testbed/rapier_testbed/examples3/trimesh3.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcb6693bc8f58a3435501a68006998a0980232b66443b8bb145842a3a652b42"}},{"ruleId":"D2","level":"warning","message":{"text":"ColliderDesc.convexDecomposition (cognitive 19): ColliderDesc.convexDecomposition has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (19 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":"bindings/typescript/src.ts/geometry/collider.ts"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab86e2585292c0ea6e3ca7322dd152a49d70c91df7731b961691c24a87cd1f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentIslands::resolve_removals (cognitive 18): PersistentIslands::resolve_removals has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/island_manager/local_split.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f8dfab9bd65020fb9bac25d1ac9ee345a152a6dcaaa4e0eb0a855d3ff45eb0"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBodySet::insert (cognitive 18): SoftBodySet::insert has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 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":"src/dynamics/soft_body/soft_body_set/soft_body_set_insert_remove.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2f75ceb2a475a145ea59d7505245e2321fa2eee9842ef4658e7bb521a61ebc"}},{"ruleId":"D2","level":"warning","message":{"text":"Fan::assign_groups (cognitive 18): Fan::assign_groups has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 5 (7 pts), boolean chains 1 (nesting depth added 9). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/tearing/tearing_particle_split.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"516593be5bacb21d3b7e0a12b063d8cbf684d0fbef52f82e64959a07d51911c5"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericJointConstraint::lock_axes (cognitive 18): GenericJointConstraint::lock_axes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 6 (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":"src/dynamics/solver/joint_constraint/generic_joint_constraint.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6622f5f7e511771f7bd140be8a53ec7cb872e957c1c845d7e3bda0cd606b7a"}},{"ruleId":"D2","level":"warning","message":{"text":"JointConstraintBuilder::update (cognitive 18): JointConstraintBuilder::update has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (8 pts), if/else 4 (5 pts), match/switch 1 (4 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":"src/dynamics/solver/joint_constraint/joint_constraint_builder.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1aacd313e4316eadc125443484882977f3bd68896b40300450cccc032553cf5"}},{"ruleId":"D2","level":"warning","message":{"text":"BlockMatrix::from_pairs (cognitive 18): BlockMatrix::from_pairs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 6 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_fem/soft_fem_sparse.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fed410a2eb43a13cf4b852c4d8c37af99cf34528722372eefd1cd238091ea29"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphicsManager::draw (cognitive 18): GraphicsManager::draw has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, loops 3, 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":"src_testbed/graphics.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"76066b4738f1ae7841165b12a1a301ff6cc9a3941a826f174e0b04558344964a"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::bindings::bevy_rapier::src::plugin::systems::joint::init_joints (cognitive 18): crate::bindings::bevy_rapier::src::plugin::systems::joint::init_joints has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/joint.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f4f5a9ac1493826e97458f82a64ab7fb1aa02cd0290c9d8b21487eb7b7ebb0"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::island_manager::local_split::search (cognitive 18): crate::dynamics::island_manager::local_split::search has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (5 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":"src/dynamics/island_manager/local_split.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90e91d3fd60ac298414369895f7fe300536c4036da7076b413f9a4fcb0142d2"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::soft_body::soft_body_set::soft_body_set_proxies::sync_soft_body (cognitive 18): crate::dynamics::soft_body::soft_body_set::soft_body_set_proxies::sync_soft_body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, loops 4 (6 pts), boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_set/soft_body_set_proxies.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb27dcb34d3b681e11aac4f1415e48cfa894ccb32d16a45cf3576d2d53dd956"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_classify::classify_inside_self (cognitive 18): crate::geometry::narrow_phase::soft_contacts::soft_contacts_classify::classify_inside_self has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 6 (8 pts) (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bbc0e24866d94b575d4862e7551e9d9f658d25f79d8c69251504b25f99c436"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseState::parse_tendon (cognitive 18): ParseState::parse_tendon has cognitive complexity 18 (threshold 15). Drivers by points: if/else 2 (8 pts), match/switch 2 (6 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/mjcf-rs/src/loader/blocks.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"68810ed41dfbf69de749fee63dc04c4889c0ae5251cf88d646aafaff154527d7"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier3d_mjcf::loader::mass::move_motor_damping_to_multibody (cognitive 18): rapier3d_mjcf::loader::mass::move_motor_damping_to_multibody has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/mass.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c90824249a61fab3ef9eb7f25ec6aa26d2cfbb1ae65d4c78333f04559412ad"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::soft_cutting2::run (cognitive 18): rapier_examples_2d::soft_cutting2::run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (7 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_cutting2.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9c21988dd8aea12af03a75f273124ace21f409dfef8ec09b9c9ed90223f4fb"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::keva3::build_block (cognitive 18): rapier_examples_3d::keva3::build_block has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (9 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":"examples3d/keva3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc592e13d25fef6826092de369b107a2f92e90cfebf167aa733c589db4556716"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::soft_pile3::run (cognitive 18): rapier_examples_3d::soft_pile3::run has cognitive complexity 18 (threshold 15). Drivers by points: loops 6 (9 pts), if/else 3 (5 pts), match/switch 1 (4 pts) (nesting depth added 8). 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":"examples3d/soft_pile3.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64dd00e0a7fd39b1c0404e8adb2f98176b3e8301bee5f15b82c02ff0195283e"}},{"ruleId":"D2","level":"warning","message":{"text":"keva3._build_block (cognitive 18): keva3._build_block has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (9 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":"bindings/python/rapier-testbed/rapier_testbed/examples3/keva3.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9037e47e59f2171be4397cd2f589106f8765a4be001ef49a46bc444423a5671f"}},{"ruleId":"D2","level":"warning","message":{"text":"IslandManager::commit_sleeping_chunks (cognitive 17): IslandManager::commit_sleeping_chunks has cognitive complexity 17 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 2, boolean chains 1 (nesting depth added 8). 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":"src/dynamics/island_manager/sleep.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d445770444088ea5252514d1399d51a5145be2c7bf7a09f2d555f2bbdadb84"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBodyBuilder::cloth_tube (cognitive 17): SoftBodyBuilder::cloth_tube has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (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":"src/dynamics/soft_body/soft_body_builder/soft_body_builder_shapes.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5c728791bb5924fbef19e2125944aeb2c48fc810479d07f3297cb19d4d85b9"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftConstraintsSet::assemble_rigid_overlap (cognitive 17): SoftConstraintsSet::assemble_rigid_overlap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_volume_constraints.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63abd3ecff2f5c1e97ede12f3dd095b5621ceffafcd04d27198587e363d38c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ColliderSet::set_parent (cognitive 17): ColliderSet::set_parent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/collider_set.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b045c91d7c78146d1014c4619fdb33d0843a736c4311c08fd5ae65c564fcf579"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphicsManager::set_body_color (cognitive 17): GraphicsManager::set_body_color has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/graphics.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"247ebdf69b7e41223fe243b62c8ee091de0d913cf9ef2a1c02ab2b6a21cb07b0"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_classify::classify_inside (cognitive 17): crate::geometry::narrow_phase::soft_contacts::soft_contacts_classify::classify_inside has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 5 (7 pts) (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d8245d7c8e11aa4d0bbd5a7b3fb4ac5e5f001d15c716f9f6ddf7d4958ab5f5"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_volume::detect_volume_patch (cognitive 17): crate::geometry::narrow_phase::soft_contacts::soft_contacts_volume::detect_volume_patch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_volume.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafaf7631372c0bad84a7493f067c7fb5621514b68216d408776142ed6e4ed47"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::pipeline::user_changes::handle_user_changes_to_colliders (cognitive 17): crate::pipeline::user_changes::handle_user_changes_to_colliders has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/user_changes.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0017b78d27f4fe10a8c0142c99d7fd3349d69e9200b206a430924214ab7a35b"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseState::parse_contact (cognitive 17): ParseState::parse_contact has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 3 (10 pts), loops 3 (7 pts) (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/mjcf-rs/src/loader/blocks.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb6e4d4915395d097040adeefba45424596eb0e95a4c1298e69f3c3cb86f498"}},{"ruleId":"D2","level":"warning","message":{"text":"mjcf_rs::loader::prototypes::merge_geom_proto (cognitive 17): mjcf_rs::loader::prototypes::merge_geom_proto has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/mjcf-rs/src/loader/prototypes.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"236fae08da5965f610bac38d3d29adab616cbabbb8f897d0b0825583b1221ae8"}},{"ruleId":"D2","level":"warning","message":{"text":"Conversion::load_mesh_asset (cognitive 17): Conversion::load_mesh_asset has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/geom.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fda2a7113a1988c33f9b59ea5f831882c45c0462bb40b3724313366c2dc9b4"}},{"ruleId":"D2","level":"warning","message":{"text":"UrdfRobot::from_robot (cognitive 17): UrdfRobot::from_robot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3 (5 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/rapier3d-urdf/src/lib.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6d8c950e15520389ecb830f938d5ea102b46b2759cef15d50199b82ab41bf5"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::b2d_joint_grid::run (cognitive 17): rapier_examples_2d::b2d_joint_grid::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/b2d_joint_grid.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"244603d8f507125e43289d53ca0457bb2c22cec2b979b49e8c6d340a3aeba332"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::s2d_joint_grid::run (cognitive 17): rapier_examples_2d::s2d_joint_grid::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/s2d_joint_grid.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0508430d7783dcfe482d1a52e769f75461e631c084572f537ac75494c7ed6b0"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::debug_long_chain3::run (cognitive 17): rapier_examples_3d::debug_long_chain3::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_long_chain3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fae407dda02b848f20311efee2cdea31b5d9f97b8d9d931b9bf92910ffcfb62"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::debug_self_intersect3::run (cognitive 17): rapier_examples_3d::debug_self_intersect3::run has cognitive complexity 17 (threshold 15). Drivers by points: loops 6 (8 pts), if/else 4 (7 pts), boolean chains 2 (nesting depth added 5). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_self_intersect3.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5721db057b19bc5af8266a79887404cdebf0888fce718c26d01f34a4b6b6225a"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::joints3::create_actuated_revolute_joints (cognitive 17): rapier_examples_3d::joints3::create_actuated_revolute_joints has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 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":"examples3d/joints3.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe9393b29a7de2700de0d2f13fe8d13e4c36a9fce4788d629335fd27bb9c2ce"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d_f64::trimesh3_f64::run (cognitive 17): rapier_examples_3d_f64::trimesh3_f64::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (7 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":"examples3d-f64/trimesh3_f64.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0aaf4750a865e3d3c92e0ae8b6ac7c3b6bfc7420d74f8f285c39c285cc069f"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBody::current_pair (cognitive 16): SoftBody::current_pair has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 5 (7 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":"src/dynamics/soft_body/tearing/tearing_crack.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec355dd57b0acea33b2b5596a71e3a0e20c124255e96e0fc6650d6172c1da0f"}},{"ruleId":"D2","level":"warning","message":{"text":"SoftBodyBuilder::trimesh (cognitive 16): SoftBodyBuilder::trimesh has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_builder/soft_body_builder_shapes.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc6e2fedaebbc9dd9877e22cd09a418a424e46a49937a3b190e47f6b6cd43b0"}},{"ruleId":"D2","level":"warning","message":{"text":"NarrowPhase::for_each_desired_manifold (cognitive 16): NarrowPhase::for_each_desired_manifold has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/solver_graph.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55e539ef98984f696fd96d57476cd6c111d5b9ef167e00dbfacbf81a0afb496"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphicsManager::add_body_render_mesh (cognitive 16): GraphicsManager::add_body_render_mesh has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/graphics.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"066c2295dfa90a4c61ae18c3a468751b74c416bf3a90910dc408f4e74dc34272"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::dynamics::soft_body::soft_body_builder::soft_body_builder_mesh_helpers::surface_rings (cognitive 16): crate::dynamics::soft_body::soft_body_builder::soft_body_builder_mesh_helpers::surface_rings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (9 pts), loops 4 (7 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_builder/soft_body_builder_mesh_helpers.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef05c73f134b004b3b05d2ff8a2f3982ef43540141412d08cb800733ff76b66"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::geometry::narrow_phase::soft_contacts::soft_contacts_pairs::detect_soft_pair (cognitive 16): crate::geometry::narrow_phase::soft_contacts::soft_contacts_pairs::detect_soft_pair has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4 (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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_pairs.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3d005f1cc4d3439d73d53275dc99fbc649d381bba8bddc5c484c80f8e8e991"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::src_testbed::ui::examples_tab (cognitive 16): crate::src_testbed::ui::examples_tab has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/ui.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1264428cd69e850798d2191160bc59a0ac48f7e9217abd5784c3f852d61f76"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier3d_mjcf::loader::mass::clamp_mass_properties (cognitive 16): rapier3d_mjcf::loader::mass::clamp_mass_properties has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/mass.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2f94ac8434459fa85e5b484b0ec144bf7ad0d925e49018fa047b4cf7102bf9"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::inverse_kinematics2::run (cognitive 16): rapier_examples_2d::inverse_kinematics2::run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/inverse_kinematics2.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68e8e3d47c6590dbda7fe157c367fcaae33ee02d6a80f47887b6daa217228ff"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::soft_plasticity2::run (cognitive 16): rapier_examples_2d::soft_plasticity2::run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 5 (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":"examples2d/soft_plasticity2.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de082337490a68882407c8f61c7ecdebd881a54086fb256842ddcc75a128518"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_2d::voxels2::run (cognitive 16): rapier_examples_2d::voxels2::run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (4 pts), match/switch 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/voxels2.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e71cc3336f08e2b3dc228e0ecd043dc9f94a70d596988f1362c807c078babe8"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::b3d_joint_grid::run (cognitive 16): rapier_examples_3d::b3d_joint_grid::run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/b3d_joint_grid.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"89591419eb18b79f12da23382e772f5f2b176d8279a142631a79e98e18b06969"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::heightfield3::run (cognitive 16): rapier_examples_3d::heightfield3::run has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (7 pts), if/else 3 (4 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/heightfield3.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6593909adbbde3bd733572c1295081a5d7fa7ea38f98e6b8d8f744600ac87200"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::soft_plasticity3::run (cognitive 16): rapier_examples_3d::soft_plasticity3::run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 5 (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":"examples3d/soft_plasticity3.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ddb2231972a1b3c779b8ee079695af4a2be97ea25b842e50eafc2135f0dafd"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::soft_thin_features3::run (cognitive 16): rapier_examples_3d::soft_thin_features3::run has cognitive complexity 16 (threshold 15). Drivers by points: loops 9 (13 pts), if/else 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/soft_thin_features3.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"091151cc4e897387432be38fea26b804dd4eb59609d437eb7ba5202fd92f0e32"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::trimesh3::run (cognitive 16): rapier_examples_3d::trimesh3::run has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (7 pts), if/else 3 (4 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/trimesh3.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"691b105dc3c39eae07b951a350c164d3e0c39fe00072c6c4442c55db179454b1"}},{"ruleId":"D2","level":"warning","message":{"text":"rapier_examples_3d::vehicle_controller3::run (cognitive 16): rapier_examples_3d::vehicle_controller3::run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 5 (8 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":"examples3d/vehicle_controller3.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c56deb3e3887169ab9cc9d082f304268b63412313fc0cd791367ec6223bb36"}},{"ruleId":"D2","level":"warning","message":{"text":"joints3._create_fixed_joints (cognitive 16): joints3._create_fixed_joints has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39df0137e4d1dfa50eb4dc499021a5ce559f39f5c2d87b6c7e14931935582ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::dynamics::solver::staged_island_solver::worker::run_worker: FunctionTooLong \u2014 crate::dynamics::solver::staged_island_solver::worker::run_worker runs 613 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 513 over it, 6.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":"src/dynamics/solver/staged_island_solver/worker.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a51b2576ca4eedce069d284839dc8a58272675487208b04f3f7d68fa26cc6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/geometry.rs: FileTooLong \u2014 2922 significant 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 2422 over it, 5.84\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d968f3e1f30cc98c3d5005720d03f0d7bea3beb5c069dcf88a46ae373336672"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftConstraintsSet.assemble_body_contacts: MethodTooLong \u2014 assemble_body_contacts runs 571 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 471 over it, 5.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_body_contacts.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"904930a20a6e475deef0809c251047104a2959d09d98f517946ff16048a180ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/joints.rs: FileTooLong \u2014 2603 significant 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 2103 over it, 5.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2be08e99ee5478f2a472c42e036b029da6e3d99e3da2174ed513859466febb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/scoped_access.rs: FileTooLong \u2014 2417 significant 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 169 free functions. The bar is 500 significant lines; this is 1917 over it, 4.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/scoped_access.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"366c96105a23dcbef500b7239530eb1c338b6672bc5f25714da29bd3e57ee261"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/soft_body.rs: FileTooLong \u2014 2281 significant 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 1781 over it, 4.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/soft_body.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"261531f17d37c9c9fc2cc98da3440a24fa288cfa791da64166d58d98db726d35"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StagedIslandSolver.init_and_solve: MethodTooLong \u2014 init_and_solve runs 440 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 340 over it, 4.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/init.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5338ed4acb636b0f5a48931d3331ef4dc615a5375842e24a43fb06ed5ffac1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pipeline.rs: FileTooLong \u2014 2163 significant 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 1663 over it, 4.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac91fd48868969f19ff9f4ff9ab67d4764e985cab584fb0ac5bec0dedbb148a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Collider: TooManyMethods \u2014 108 methods, declared across 2 files: geometry/collider_impl.rs (107), loaders/meshloader.rs (1). The bar is 30 methods; this is 78 over it, 3.60\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":"bindings/bevy_rapier/src/geometry/collider.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9929701a6919ba7e776a5645c65f6c7f109673ce50d0e819b46858ca27e1c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RawSoftBodySet: TooManyMethods \u2014 108 methods. The bar is 30 methods; this is 78 over it, 3.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":"bindings/typescript/src/dynamics/soft_body.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b9ba0fd5d74ce10dbf63e02738b185b1c50835bef224ca5c1a04dbdee09439"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoftBody: TooManyMethods \u2014 107 methods, declared across 8 files: soft_body/soft_body_accessors.rs (43), soft_body/soft_body_cluster.rs (21), soft_body/soft_body_meshes.rs (16), soft_body/soft_body_motion.rs (11), \u002B4 more file(s). The bar is 30 methods; this is 77 over it, 3.57\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd07a9223182eb9e90be15786db0e9132ef3cbeac12fffc73d61183d21d9c32"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RawColliderSet: TooManyMethods \u2014 106 methods, declared across 2 files: geometry/collider.rs (90), geometry/collider_set.rs (16). The bar is 30 methods; this is 76 over it, 3.53\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":"bindings/typescript/src/geometry/collider_set.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4d7a4dd1fc6cbc516362540138789ab61d704d27b668fba672430754927bca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoftBody: TooManyMethods \u2014 102 methods. The bar is 30 methods; this is 72 over it, 3.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/soft_body.rs"},"region":{"startLine":2458}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6bc074b3d9ab5bb18b94981debd03f5e3426df7d0858e0894092ff3ade1e61"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RawRigidBodySet: TooManyMethods \u2014 101 methods, declared across 2 files: dynamics/rigid_body.rs (91), dynamics/rigid_body_set.rs (10). The bar is 30 methods; this is 71 over it, 3.37\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/dynamics/rigid_body_set.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3274ffa91a23c94c47a61da7c61a12fa3b0dbf5b5949997775d6b6deae827288"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RigidBody: TooManyMethods \u2014 101 methods. The bar is 30 methods; this is 71 over it, 3.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":"src/dynamics/rigid_body.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1396619d6b392953764da91b9d81d690c5a3bb86afe27a0ed676c9b2ab6abc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftConstraintsSet.assemble_vertex_contacts: MethodTooLong \u2014 assemble_vertex_contacts runs 330 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 230 over it, 3.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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4d751854b4c09030c4e94fc2d83cdd6ffb3ef6aaded3570dedfd08111839af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RigidBody: TooManyMethods \u2014 97 methods, declared across 2 files: src/dynamics.rs (94), src/serde_glue.rs (3). The bar is 30 methods; this is 67 over it, 3.23\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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f52afe9da27d32fe108bcd9957d201604fff3fd344637ee5305f6617e5e8c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoftBody: TooManyMethods \u2014 96 methods. The bar is 30 methods; this is 66 over it, 3.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/soft_body.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69a2d3459ae56eb5593441589206ff494d04083befe0dbc24e9108bf9227e4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/dynamics.rs: FileTooLong \u2014 1553 significant 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 1053 over it, 3.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d820715b8f9a337bbe82cd6639ccfc171ce77b4f48e20e8c563c725ff439e3e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RigidBody: TooManyMethods \u2014 93 methods. The bar is 30 methods; this is 63 over it, 3.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7388740e5ebe1ee44eab840d88ecfb1f6a00c020457a7736dda99881f99287"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Collider: TooManyMethods \u2014 92 methods, declared across 2 files: src/geometry.rs (89), src/serde_glue.rs (3). The bar is 30 methods; this is 62 over it, 3.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":3486}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cd84f291812d05032ed5d97e7b70bf1a00e59c9da9f8ecf6445b5d987343b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pipeline.rs: FileTooLong \u2014 1526 significant 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 98 free functions. The bar is 500 significant lines; this is 1026 over it, 3.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a3d84ad52805285d20b078150985357371f043677913ffdf1f54d0b3938e8f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BroadPhaseBvh.update: MethodTooLong \u2014 update runs 302 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 202 over it, 3.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":"src/geometry/broad_phase_bvh/update.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c596fca7268176201c089c834a5825331983588549a0631b46adc712aebe5f44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context/mod.rs: FileTooLong \u2014 1476 significant 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 976 over it, 2.95\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/context/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c8e8a6b33474dc1b6b314dbc3709db0c5f098d4a11b0c5e73ad576ebc40868"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Collider: TooManyMethods \u2014 82 methods. The bar is 30 methods; this is 52 over it, 2.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/collider.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ae30a58133ca5bb158adeba520cb6406daf260d8f37b3cb3ea2c59695683e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PhysicsPipeline.step_inner: MethodTooLong \u2014 step_inner runs 268 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_pipeline/substep.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21ee574e092d3b62e97981c17e1e34f871ad46549783c4441a6db542d81ae74"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RprSoftBodyDesc.raw_piece: MethodTooLong \u2014 raw_piece runs 263 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/soft_desc.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cada67bdb6cd80902b3751449bbe0ed85aceca97b063be1b916e269224a2dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_3d::soft_joints3::run: FunctionTooLong \u2014 rapier_examples_3d::soft_joints3::run runs 258 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 158 over it, 2.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/soft_joints3.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4c08db692c2da8bf19d4f9b95e67262e217dd1d4a0c0da761b8276da467493"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/loaders.rs: FileTooLong \u2014 1270 significant 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 770 over it, 2.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/loaders.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c7f23f13c5c8d71884554da850f51626cf386416edffc9ed63a9763ddd4c85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::bindings::bevy_rapier::src::loaders::mjcf::spawn_mjcf_model: FunctionTooLong \u2014 crate::bindings::bevy_rapier::src::loaders::mjcf::spawn_mjcf_model runs 249 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 149 over it, 2.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/loaders/mjcf.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"30719847f6e5368f755898f0c8533653c080c86b58f6fe0091c539920323c29d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenericContactConstraintBuilder.generate: MethodTooLong \u2014 generate runs 243 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/generic_contact_constraint.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35b06c418d90750bfc8b691aa0aa5e2a513efbd5e3664200edd3b5882ab9e4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/controllers.rs: FileTooLong \u2014 1188 significant 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 688 over it, 2.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":"bindings/python/rapier-py-3d/src/controllers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"010112b63068606976a005aae931f709dacc28e990433274663bb2a560435d75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/handle_access.rs: FileTooLong \u2014 1180 significant 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 82 free functions. The bar is 500 significant lines; this is 680 over it, 2.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/handle_access.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c0256d0a7603dbd0ac5c1314a0d52c9c5e574658026757a3459fe0ddb6dcbf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Multibody: ClassTooLong \u2014 934 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 57 methods, 3 blocks, lines 96-1725. The bar is 400 significant lines; this is 534 over it, 2.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74c9861f4d4d19bdb02ebaefd5297bbe5a6a2b479dd052972098a0ca449d33c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: World: TooManyMethods \u2014 70 methods. The bar is 30 methods; this is 40 over it, 2.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/pipeline/world.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e37df1b9acc1ce370b088dc3a2ae6da086d4f332b113eb3eb62ba55213c9bbd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftConstraintsSet.assemble: MethodTooLong \u2014 assemble runs 233 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 133 over it, 2.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_element_constraint_assembly.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"048d8161c02e0944108dd28ea109549a947c15d59414dffdc35be15a33c200cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dynamics/soft_body.rs: FileTooLong \u2014 1160 significant 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 660 over it, 2.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":"bindings/typescript/src/dynamics/soft_body.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d8ed5fe357251b0ca07def6a4e5e39e2fd8c14beeeec3dc869a192e2bbd1a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContactWithTwistFrictionBuilder.generate: MethodTooLong \u2014 generate runs 227 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"79024b28ce05b41ac02f98affc5700b3f4a28813b64d19e6f8e1ea1a9e71db6b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftConstraintsSet.fill_body_constraints: MethodTooLong \u2014 fill_body_constraints runs 227 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_element_constraint_assembly.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86117ce45bf31990bad94ca025c3685c3a85baff80904979b8af385c4760f19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::dynamics::solver::staged_island_solver::solve::solve_pass: FunctionTooLong \u2014 crate::dynamics::solver::staged_island_solver::solve::solve_pass runs 227 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/solve.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5632fee08dadadd136e244d1a080f8b9a2d86253ce90d1ea83c605c84e985da0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::geometry::narrow_phase::soft_contacts::soft_contacts_vertex_pass::detect_vertex_pass: FunctionTooLong \u2014 crate::geometry::narrow_phase::soft_contacts::soft_contacts_vertex_pass::detect_vertex_pass runs 227 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da7f4efbad148c1c2292c2ac74db356d4c74292ed387e8e0182de88695b6ce5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VertexScan.scan_vertex: MethodTooLong \u2014 scan_vertex runs 223 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 123 over it, 2.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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b050e7055ff8b93b220b674efd2214cc57c718db781dba7785053a0c9e71b13"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ColliderBuilder: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/collider.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7af8885e90b40e53f864ad192c3afc10a56a8485bbd9ffec4b18303b457cf69"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: multibody_joint/multibody.rs: FileTooLong \u2014 1068 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Multibody (3 blocks, 96-1725). The bar is 500 significant lines; this is 568 over it, 2.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"847a43c21d0dce1afa54d466a6d5e629a266515af6c4c368e55b1871a7056f1e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoftBodyBuilder: TooManyMethods \u2014 64 methods, declared across 3 files: soft_body_builder/soft_body_builder_settings.rs (46), soft_body_builder/soft_body_builder_shapes.rs (16), soft_body_builder/soft_body_build.rs (2). The bar is 30 methods; this is 34 over it, 2.13\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":"src/dynamics/soft_body/soft_body_builder/soft_body_builder.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f165107a00ddb397a9d388ca06a9284007dcb22ac16c0054208f0805369db2cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: systems/soft_body.rs: FileTooLong \u2014 1061 significant 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 561 over it, 2.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":"bindings/bevy_rapier/src/plugin/systems/soft_body.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9ac0530ddeb6da80bc5fc55bf8318ad9b659edcb165316a8de7883044723eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/serde_glue.rs: FileTooLong \u2014 1052 significant 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 552 over it, 2.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/serde_glue.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8a6a9c59a8ed867795c553fe75153be56c17bbe644e7cd93b1cd2cf60bcec0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoftBody: TooManyMethods \u2014 63 methods, declared across 8 files: tearing/tearing_particle_split.rs (18), dynamics/soft_body.rs (16), tearing/tearing.rs (7), tearing/tearing_crack.rs (7), \u002B4 more file(s). The bar is 30 methods; this is 33 over it, 2.10\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":"bindings/bevy_rapier/src/dynamics/soft_body.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bb1fa34259d404c3020116114c50f43ae072833c32693efddb4a7e1f07f276"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Collider: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/collider.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afddad2085d5c79588244b776e687366ad6a40f552626c06db183e03c324886"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dynamics/soft_body.ts: FileTooLong \u2014 1039 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 539 over it, 2.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":"bindings/typescript/src.ts/dynamics/soft_body.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f853ca66e4e62cbd8c27100548db229e144524245484fa74cb6c7556574425"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RapierContextMut: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.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":"bindings/bevy_rapier/src/plugin/context/systemparams/rapier_context_systemparam.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a40e6203dd24b9e72ab86a956260de97a68bba82f199a644fab809bac41d5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_2d::soft_joints2::run: FunctionTooLong \u2014 rapier_examples_2d::soft_joints2::run runs 202 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_joints2.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36cb1f992f2849bd703498d0e43b29a6d7a21a4e93e3a3b88731068d2fd2c7a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GraphicsManager: ClassTooLong \u2014 806 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 37 methods, 3 blocks, lines 189-1529. The bar is 400 significant lines; this is 406 over it, 2.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/graphics.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f3f97ab9c4f42153adf35b0f5e26a1e531ce65b5a0c5852361e7d5b98c4b74"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RawShape: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/shape.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dcf9cc969f16ce886e86dff4577ade8a4271054c884fe70237be151e8f08ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_3d::voxels3::run: FunctionTooLong \u2014 rapier_examples_3d::voxels3::run 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":"examples3d/voxels3.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d7cbe123a83a98f7deed2485f18095c60accdb56acaeec8e43dbb1af44d369"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StagedIslandSolver.init_joints: MethodTooLong \u2014 init_joints runs 199 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/joints.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e81c979dfdf2d87a304c53e3ab6795e73c57d40626cc40a4651216c8222223"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/soft_body.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), declaring 70 free functions. The bar is 500 significant lines; this is 493 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":"bindings/c/src/soft_body.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5bed152bd2063a4ffc767feea861e10101935fd14c10ec0df4827adcf8a0de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoftRecoverySettings: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/soft_body.rs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"b409f8d86ab9ea4f79c2a348fa61f1fdb378eef9cefd2036e7196dcaaff5f5a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NarrowPhase.compute_contacts: MethodTooLong \u2014 compute_contacts runs 194 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/contacts.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fd813b906256bc657cb78910bf6e8ab5a337a825068dce7b48b588131964c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DebugRenderStyle: 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":"bindings/python/rapier-py-3d/src/debug_render.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"518af66cf8387e30c0470789b1d76cebdf7ea319f2a8d44902e72901ff2a5b9e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PhysicsWorld: 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":"src/pipeline/physics_world.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5073ec84de686ac105737f96fae65798a99ad2249ed7edec2080cd2530b8f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: geometry/shape.ts: FileTooLong \u2014 954 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 454 over it, 1.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cf8fcf0c1a331174c922d0d129888e6645b5f0973f0849693b9bd75412a60c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/read_access.rs: FileTooLong \u2014 951 significant 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 451 over it, 1.90\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/read_access.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"717d59d86bcacedcbc0b55ae5b5da7eb43614c5610f939ee3c79ee169be2b345"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IntegrationParameters: TooManyMethods \u2014 57 methods, declared across 2 files: src/dynamics.rs (54), src/serde_glue.rs (3). The bar is 30 methods; this is 27 over it, 1.90\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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4c124c938a59c9daff6718a712ce16361385820d49d00b48348c215bf63d6a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Multibody: TooManyMethods \u2014 57 methods, declared across 2 files: multibody_joint/multibody.rs (54), multibody_joint/multibody_ik.rs (3). The bar is 30 methods; this is 27 over it, 1.90\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":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8da1301eb89fed23a5c5eb23e2ec9fc228328383c7ca8e55936c8fafff64dc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src_testbed/graphics.rs: FileTooLong \u2014 946 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: GraphicsManager (3 blocks, 189-1529). The bar is 500 significant lines; this is 446 over it, 1.89\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/graphics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec44db98eb93f7a09a030af84a1ef1d348fc5f6bc2ac224dbc1940b379242089"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoftBodyBuilder: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/soft_body.rs"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0db6350d2e3ce4ca11b78d7403b8dd199897fc576b2640bc0511181a56be0df"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RawSoftBodyBuilder: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/dynamics/soft_body.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"a828c8d5fc79f33b7ab68544e4bb921a2b0ae2658a50c4ca2710fe29c3aa91af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoftCollisionMesh: TooManyMethods \u2014 56 methods, declared across 3 files: collision_mesh/collision_mesh_accessors.rs (32), collision_mesh/collision_mesh_topology.rs (13), collision_mesh/collision_mesh_geometry.rs (11). The bar is 30 methods; this is 26 over it, 1.87\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":"src/dynamics/soft_body/collision_mesh/collision_mesh.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf8829276f891439d4874fd95b2c22d661967f35b50bf9338381f62c714918e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftConstraintsSet.assemble_edge_contacts: MethodTooLong \u2014 assemble_edge_contacts runs 184 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_edge_contacts.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7f23afc7ec4e701eff8d6db0e0436f33e6c4c415d5e4af2cd1485f1487b712"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RawSoftRecoverySettings: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 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":"bindings/typescript/src/dynamics/soft_body.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b795bbe2ce3d2538b936616303f9202c5b86883118e48b338c53d2c9fc37c967"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dynamics/rigid_body.rs: FileTooLong \u2014 915 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: RigidBody (7 blocks, 48-2179). The bar is 500 significant lines; this is 415 over it, 1.83\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":"src/dynamics/rigid_body.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c930cc005c72cd607e872348a3d2b5ac116aaa7009bbe539e350c5b4bdfd1c5b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoftBodyDesc: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/soft_body.ts"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc86e30d1bfd2164b734ca3fabd66e03440b8a9eebd1e09fa89f4df513ebbba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::bindings::bevy_rapier::src::plugin::systems::soft_body::handle_soft_body_tears: FunctionTooLong \u2014 crate::bindings::bevy_rapier::src::plugin::systems::soft_body::handle_soft_body_tears 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":"bindings/bevy_rapier/src/plugin/systems/soft_body.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9029f77f65eeee11fccfc22dc332ec307916e279ff8a5fc6098accfbaed794f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftBodyBuilder.build: MethodTooLong \u2014 build 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":"src/dynamics/soft_body/soft_body_builder/soft_body_build.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87d2989fdb599b4b3429aa2ad64d8a56ffad5a85b7678cb06ff1e58478699a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SharedShape: TooManyMethods \u2014 53 methods, declared across 2 files: src/geometry.rs (50), src/serde_glue.rs (3). The bar is 30 methods; this is 23 over it, 1.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":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ee344817d19f196cfcb2e1d8bc327a932f5c4bc3025370abdf57d8bc82c036"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PhysicsWorld: TooManyMethods \u2014 53 methods, declared across 2 files: src/pipeline.rs (48), src/serde_glue.rs (5). The bar is 30 methods; this is 23 over it, 1.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":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":2857}}}],"partialFingerprints":{"codehealthFindingId/v1":"693181ecef7a99177513ae47cc07570420a6dd008d5aaaa7561cf70d75b330c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoftBodyMaterial: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/soft_body.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"f255391198a9a927c1124392213891379aea6de065d8a8a097f52593e3b18f05"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RawSoftBodyMaterial: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/dynamics/soft_body.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"87898e59e47b821ddc32b7f3b8159a1e39e00054c51f96fb35ee0473d383bd1a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContactWithCoulombFrictionBuilder.generate: MethodTooLong \u2014 generate runs 176 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c439ad6329ee6191c48f38b648d5c04ace578fbdf715bfa71176c56e1a99827"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src_testbed/ui.rs: FileTooLong \u2014 871 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 371 over it, 1.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/ui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3029e655f7c24ab8f6c557c5d45f1c355c955fb000bcbe6cb8652b0747af89fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftConstraintsSet.prepare_awake_body: MethodTooLong \u2014 prepare_awake_body runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_prepare.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"004544758c7d0e6d833477a1d9a87e2c0098c95fd777744db39723ea64f6f725"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PhysicsPipeline.build_islands_and_solve_velocity_constraints: MethodTooLong \u2014 build_islands_and_solve_velocity_constraints runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_pipeline/solve.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ef0797e7d9e864a0429940b2b4e83c9bb8610339834d280095692a52fa57f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RprSoftBodyDesc: TooManyFields \u2014 52 stored fields beside 3 methods. The bar is 30 stored fields; this is 22 over it, 1.73\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/soft_desc.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"566dcf50d46ad9c5d17f0c8f9df4ebd50b10d57d03882fa177702b22c0677eba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::src_testbed::ui::settings_tab: FunctionTooLong \u2014 crate::src_testbed::ui::settings_tab runs 172 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/ui.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f8f472ca2193b9deb61a326e40d49ffda9f3239bb14b2785aa8fdbb5fb6d40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: geometry/collider.ts: FileTooLong \u2014 849 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 349 over it, 1.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/collider.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6070ad56b01400def3a4e91626343f7b8667833e9d4bf95c539eb84e1c8dac35"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/robotics.rs: FileTooLong \u2014 840 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 52 free functions. The bar is 500 significant lines; this is 340 over it, 1.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/robotics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5b1eddcf76622cf4137ae62e1a5a9ecdfc9e68ba38855f8857671a4b838dca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftConstraintsSet.chunk_contacts: MethodTooLong \u2014 chunk_contacts 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":"src/dynamics/solver/soft_constraint/soft_contact_chunks.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7140b6ce45946de5590a805086fe62809cf358738bae3e6b93e07ed98331a6f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RawDynamicRayCastVehicleController: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9792f5bbed3aa694c02dd9c3d18e54be086fe9972cde2b0887807b997b7004f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: geometry/shape.rs: FileTooLong \u2014 832 significant 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 71% of them inside a single declaration: RawShape (304-1106). The bar is 500 significant lines; this is 332 over it, 1.66\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":"bindings/typescript/src/geometry/shape.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1fcf0bcafd56a08c9621c2786b615ac0a1e74c1c3f410daa12b41987381d06"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PersistentIslands.split_island_now: MethodTooLong \u2014 split_island_now runs 166 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/island_manager/global_split.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddb40bcc9908fb1a3a0686649df7e6d18fcc78f65a03fd13dd79a007380cfc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: geometry/collider.rs: FileTooLong \u2014 825 significant 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: RawColliderSet (19-1259). The bar is 500 significant lines; this is 325 over it, 1.65\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":"bindings/typescript/src/geometry/collider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd19e070191ddba94be7daa5e0ea88f1f1ad1dab9428719bd3b4d872a37efb8e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ParseState: TooManyMethods \u2014 49 methods, declared across 7 files: loader/defaults.rs (18), loader/attach.rs (7), loader/bodies.rs (7), loader/state.rs (7), \u002B3 more file(s). The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/mjcf-rs/src/loader/state.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"83aaf5949062c7f8ddc6a9b7bdef7658c0612124ff1955465b62c8f3057a450d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NarrowPhase: TooManyMethods \u2014 49 methods, declared across 7 files: narrow_phase/queries.rs (18), narrow_phase/solver_graph.rs (15), narrow_phase/pair_management.rs (6), narrow_phase/mod.rs (4), \u002B3 more file(s). The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/mod.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb51fb367f50bc9a3c461f7ebaf7ce25fbd3ae451f4ec853a28a7c60b5888ab"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RigidBody: ClassTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 101 methods, 7 blocks, lines 48-2179. The bar is 400 significant lines; this is 246 over it, 1.62\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":"src/dynamics/rigid_body.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc8b83a560785f9a1b8d870a68c8cbb57ff72bacb6e00439b9972859b376d58"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: World: ClassTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded), 70 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":"bindings/typescript/src.ts/pipeline/world.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb32f5d1f07be9b03dc187d28d9a9a219a5bfe783d8189cbcce9b9e3f2db95ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RapierContext: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/context/systemparams/rapier_context_systemparam.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb450a77948d9969efe51b78c9693c1fc3e0d7e51986b334b08728dcfd3c99d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GenericJoint: TooManyMethods \u2014 48 methods, declared across 2 files: src/joints.rs (45), src/serde_glue.rs (3). The bar is 30 methods; this is 18 over it, 1.60\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":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2874ea779050f8ebc29694d8a9284359f87a776960e00ab3ad78003bbb780fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ColliderDesc: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/collider.ts"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"2460ff798d395fc6b11b70baa060bddf10f5177e678df7a0c7b7f1765e47333c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QueryPipeline: ClassTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 14 methods, 2 blocks, lines 1075-2145. The bar is 400 significant lines; this is 238 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":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"269fee460642f3ea92443e2fd20ff81c34c4d732edaed4355c5d54be94ea7976"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JointConstraint.update: MethodTooLong \u2014 update runs 158 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a58324a8af86a8eee55fdcefb664b44780f064dffc9e4163de98d00cc4beb9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DynamicRayCastVehicleController: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d6b9d0fbd7f8f564a6c05a82038176bf570ed0944a04338162de8ebbf9057a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TestbedViewer: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/viewer.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c735de9aec6d91e6b6c597e8f5267019a6896e47dc076d8c71e0dcb5636c4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: systemparams/rapier_context_systemparam.rs: FileTooLong \u2014 783 significant 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 283 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/context/systemparams/rapier_context_systemparam.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78ba0e77a0fb5d88e8af86bc53a3c53b95edbaeb24d13dc48f0f8bc8e84577a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/control.rs: FileTooLong \u2014 782 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 282 over it, 1.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/control.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3864f82b967485e6b5dcfc36955a15227d7136b55257619cb9810043b99e07c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_3d::debug_self_intersect3::run: FunctionTooLong \u2014 rapier_examples_3d::debug_self_intersect3::run runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_self_intersect3.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8477b4d71e7e8613e56fa7ee7dcff6e346c636e6de8738e41876794a47d22e28"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NarrowPhase.maintain_solver_contact_graph: MethodTooLong \u2014 maintain_solver_contact_graph runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/solver_graph.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce3baabc6f87e3a66c3d43d00952444cd91e24604e1cbd3958c088ad79460cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Multibody.update_mass_matrix: MethodTooLong \u2014 update_mass_matrix runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f56f9127cefef48e80d76e092a2c5c604b46aa8a4ca7e3616e351424691ebd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rapier_testbed/_testbed.py: FileTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 269 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/_testbed.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fc47f7240ef51a72f6a76048c927cb0d42c677819b83488407aaf42ece6933"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Counters: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/counters/mod.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fe165b67e33689b8f0a60f7cb30f9b19a0f5e5ff8c459a888736c4fb219118"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dynamics/rigid_body_components.rs: FileTooLong \u2014 762 significant 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 262 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/rigid_body_components.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"562ba0cf53869f073b02454bc4ae4599a053787ee08d7b9a3f337a1c11fbf3d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftBodySet.split_cluster: MethodTooLong \u2014 split_cluster runs 149 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_set/soft_body_set_split.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd23f1d7a6aa7e11067c54330f969ba71c29023b8343d01778832a264e6958b8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RawShape: ClassTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 60 methods. The bar is 400 significant lines; this is 194 over it, 1.49\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/shape.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f79f18e9ae7c9e6f3c9bb5bb7d6ccfe50cebf4e5e8f9d8085724c70872eabf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/debug_render.rs: FileTooLong \u2014 738 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 238 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/debug_render.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f66005b8ed9935a75d93f097605af6d30b700793128a67174f138d8e0dd26c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_2d::debug_self_intersect2::run: FunctionTooLong \u2014 rapier_examples_2d::debug_self_intersect2::run runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/debug_self_intersect2.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc3642ce9089292e9e85834fee6ff8a29469f6e9f89cf1ae192cc910dc51e7a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DebugRenderPipeline: ClassTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 12 methods, 3 blocks, lines 70-929. The bar is 400 significant lines; this is 181 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":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c84ffa44c4c62f0c0607dc146df6d6e7a5511b7e298f6bdc7bbfe122d8cd54"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/events_hooks.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). The bar is 500 significant lines; this is 224 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":"bindings/python/rapier-py-3d/src/events_hooks.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"389b13c9b05d48308d195a8c057d1ab5e33012d158b1beb31e5dd484b72c1692"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SoftBody: ClassTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 102 methods, 3 blocks, lines 2458-3379. The bar is 400 significant lines; this is 177 over it, 1.44\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/soft_body.rs"},"region":{"startLine":2458}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b30957f6de195bf5a65d182b5ff701900ff67308dec8d496c2ec74edabf1489"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Conversion: ClassTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 39 methods, 2 blocks, lines 31-950. The bar is 400 significant lines; this is 175 over it, 1.44\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/rapier3d-mjcf/src/loader/conversion.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cf6c9d4177f96c103ff80c37c7ab5c6316ee308f0173340f9bc76e7e595025"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: soft_constraint/soft_element_constraint_assembly.rs: FileTooLong \u2014 717 significant 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 85% of them inside a single declaration: SoftConstraintsSet (102-920). The bar is 500 significant lines; this is 217 over it, 1.43\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":"src/dynamics/solver/soft_constraint/soft_element_constraint_assembly.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc25d84ba614454eb13e0de0daddc7343e8eed9882692a5457537d90e1f79cd9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Shape.fromRawShape: MethodTooLong \u2014 fromRawShape runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f249cb474c3d04e619155da1dc7e2e9941f05e6c87b641a2bc60624ea7497d39"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MjcfRobot.insert_using_multibody_joints: MethodTooLong \u2014 insert_using_multibody_joints runs 143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/insert.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6964db18c422c1ed874b5766b2fdca7de871add4cc0284c289e9772b9f1de46a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::bindings::bevy_rapier::src::plugin::systems::character_controller::update_character_controls: FunctionTooLong \u2014 crate::bindings::bevy_rapier::src::plugin::systems::character_controller::update_character_controls runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/character_controller.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa4a162a83a29f783da97abe8acfdf44fcea217326a79b5489c24a9dfa5d2f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_3d::all_examples3::main: FunctionTooLong \u2014 rapier_examples_3d::all_examples3::main runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/all_examples3.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"63258c360cd306125fbe19346057b70de1c92c23ee47292aaecabdcc135545c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pipeline/world.ts: FileTooLong \u2014 709 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: World (81-1518). 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":"bindings/typescript/src.ts/pipeline/world.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f48d5153a7c04e1fe43c78e6966c043e26042d642ce0dcfaf7a79363ca68963"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Shape.fromRaw: MethodTooLong \u2014 fromRaw runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e4842709d47408991d3923c5726a79850b7fd5a54c5037044f5b4be6f3b9fd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Collider: ClassTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 92 methods, 5 blocks, lines 3486-4408. The bar is 400 significant lines; this is 159 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":3486}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b11a66e9f562a4e5f3a173cff6322310cfb2bd9bca8ba435ccf9ace54fd62d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::src_testbed::ui::performance_tab: FunctionTooLong \u2014 crate::src_testbed::ui::performance_tab runs 138 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/ui.rs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b48dea80a00a5b92fb4aa9e3b006537e36d290044daeb309a4710930d1b8ce7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftFemSet.plan_responses: MethodTooLong \u2014 plan_responses runs 136 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_fem/soft_fem_set.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2499120b246b9a23339e0a85b3b910384598d32c67a3f3d57fe1fc0bec25ff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PhysicsWorld: ClassTooLong \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), 53 methods, 3 blocks, lines 2857-3751. The bar is 400 significant lines; this is 140 over it, 1.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":2857}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb20fe1a670e55669bf32065d21d88f823abcc49fa9f9719bea07b63066ac35b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RapierPhysicsPlugin.build: MethodTooLong \u2014 build 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":"bindings/bevy_rapier/src/plugin/plugin.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fd1584024c65a4ede1f8adc30bc44798f7b9fc770e619c9bc6b310ef2fb0e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/soft_extras.rs: FileTooLong \u2014 671 significant 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 54 free functions. The bar is 500 significant lines; this is 171 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/soft_extras.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7784a3b1256027b11d9a0ba6318960fc1d0e85c0e4f6ee58a4fe216c40258183"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RprShapeDesc.raw_depth: MethodTooLong \u2014 raw_depth 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":"bindings/c/src/descriptors.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"5788b51cfccacfc6983eafe459708efa55df724db3b54c9e2baa1bac2a9f5109"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftConstraintsSet.assemble_contacts: MethodTooLong \u2014 assemble_contacts 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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45ddf3db6627bffde1678a5148b494d31c69c834c0ccc55e5141152e32daaea"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JointConstraintHelper: ClassTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 20 methods, 3 blocks, lines 76-790. The bar is 400 significant lines; this is 133 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_constraint_helper.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dbe001f90fe2a1bde3579c59cc5dd68578ac6f61f46b99a907d061716ba518"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: geometry/collider_impl.rs: FileTooLong \u2014 666 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: Collider (2 blocks, 37-1114). The bar is 500 significant lines; this is 166 over it, 1.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":"bindings/bevy_rapier/src/geometry/collider_impl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f926cdb826ce7cb64ce5f2a6bc903dcd7532c6a8b2359bdd6216caa47881ddb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_3d::vehicle_joints3::run: FunctionTooLong \u2014 rapier_examples_3d::vehicle_joints3::run runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/vehicle_joints3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d01d5c7915f37a20adee6e6114d5f645f56a1eb5793ad86319f76503be3c0bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftBody.split_vertex: MethodTooLong \u2014 split_vertex runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/tearing/tearing_particle_split.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f5d3182c22a0c526080f51f0500732fd0280b40797d9b640d44748bdffcd0b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KinematicCharacterController: ClassTooLong \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), 14 methods, 3 blocks, lines 173-981. The bar is 400 significant lines; this is 121 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/character_controller.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f834a3cd460a461bfa4e9640c15b055440f85924d3c65ab6ff9eaff081354a0e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SoftBody: TooManyFields \u2014 39 stored fields beside 107 methods. The bar is 30 stored fields; this is 9 over it, 1.30\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f6015f85c7e7c2276a600b06c2cf65fc8bac3192f1cc641b099cf47fee2e67"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RigidBodyDesc: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body.ts"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7855fc2f0446855aa491ac913c27a8cd330846713192a5462d368d1fd8ae8a04"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Conversion: TooManyMethods \u2014 39 methods, declared across 4 files: loader/conversion.rs (20), loader/geom.rs (16), loader/mass.rs (2), loader/joint.rs (1). The bar is 30 methods; this is 9 over it, 1.30\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/rapier3d-mjcf/src/loader/conversion.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf1d726244b250d75b0200338323c4385dbaf3f6a7137a3f0ec513bcab99b19"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/geometry.rs: FileTooLong \u2014 647 significant 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 64 free functions. The bar is 500 significant lines; this is 147 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/geometry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb7560c69b9fb043d85c7c627019807b0569d776487d4381270afaa9ca5a475"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/joint_access.rs: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 40 free functions. The bar is 500 significant lines; this is 145 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/joint_access.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd222a1093be735f7ee47e26cc07e29294bf3b6a71f6987d90394f4afb6267b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NarrowPhase.compute_intersections: MethodTooLong \u2014 compute_intersections runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/intersections.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d1b2c768081ad4a901772653a6c25ac04117b445ab0f486cf2fac60cf858f7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftFemSet.compute_responses: MethodTooLong \u2014 compute_responses 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":"src/dynamics/solver/soft_fem/soft_fem_set.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"51140f0367406585ec81a519aa00108099c83af4777e97c8acc4a57096da6185"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::src_testbed::ui::debug_render_tab: FunctionTooLong \u2014 crate::src_testbed::ui::debug_render_tab 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":"src_testbed/ui.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f2c2412e1844695f5d6c9f60b2dd766481ecb2f999bd5b7824003fa44b2bb9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RapierContextSimulation.step_simulation: MethodTooLong \u2014 step_simulation runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/context/mod.rs"},"region":{"startLine":2188}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e404cc043208b61c930151704217fb12d7228fa05f06cc702e70f4608036920"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftBody.validate_topology: MethodTooLong \u2014 validate_topology runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/tearing/tearing_validate.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"871551815cf2837895121a35f524139e200c625319104889fa62c0f4516ad8c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContactConstraintTangentPart.generic_solve: MethodTooLong \u2014 generic_solve runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/generic_contact_constraint_element.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"956e6c86a020545596f9651de38868c9b4641cc93dd1638086845eb8ee01ebab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RapierRigidBodySet: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/context/mod.rs"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c6471eac5448ba7988972d75a3cb55d581cc3c7f62d5936b4866643758d5f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RigidBodyBuilder: TooManyMethods \u2014 38 methods, declared across 2 files: src/dynamics.rs (35), src/serde_glue.rs (3). The bar is 30 methods; this is 8 over it, 1.27\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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":2283}}}],"partialFingerprints":{"codehealthFindingId/v1":"005614ee584624ce9abb951c3652750ee35ab2214f95451f5b8417745e26ee44"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RigidBodyBuilder: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/rigid_body.rs"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91d40eaa6613e4be6127798d177f70d06142539c60934d5090ba8c03482e433"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SoftContact: TooManyFields \u2014 38 stored fields beside 9 methods. The bar is 30 stored fields; this is 8 over it, 1.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aea8d6aa73e75d0eb696c495c505d9d4b8ecffffcff5a158abffd909f8c162"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: staged_island_solver/worker.rs: FileTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 131 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/worker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"072024605803111ee09f3c326ad021598229cc212aac733ed7aa282ebe31084d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Shape: ClassTooLong \u2014 500 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 100 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":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d60ef2f79cc8642c1fc76314a51d0599dff2c90f503b0349f0113e7e16abf47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/dynamics.rs: FileTooLong \u2014 622 significant 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 71 free functions. The bar is 500 significant lines; this is 122 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/dynamics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95da336d45a1b8f277f0c3128286dc81b59a3f9674b25a769536b98d0ed9a5b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 620 significant 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 120 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-urdf/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9081ab3afe12e0c6970c1b895120eb034fa429e8c7efb37a369a8481ba4a9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: debug_render_pipeline/debug_render_pipeline.rs: FileTooLong \u2014 620 significant 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: DebugRenderPipeline (3 blocks, 70-929). The bar is 500 significant lines; this is 120 over it, 1.24\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":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c247cdd061cb0403705ffbb6df4b140cc91ec2e91017e66a73c1d14e227e0080"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: joint_constraint/generic_joint_constraint_builder.rs: FileTooLong \u2014 619 significant 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 119 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94afd0b3cb166447159fbce28c655a2f177aabfcabac8961210c6b5729f166c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GenericJoint: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/dynamics/generic_joint.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabaea0f267c2cba27dad8bbbce8e593e7b17482d20db03e5d826d2ae4aca308"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GraphicsManager: TooManyMethods \u2014 37 methods, declared across 2 files: src_testbed/graphics.rs (29), graphics/graphics_soft_bodies.rs (8). The bar is 30 methods; this is 7 over it, 1.23\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":"src_testbed/graphics.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fce5d6969546383c6654b5cfaa9ff8c5b1a871d83fe8c6ddcc26be24eeed72"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_2d::soft_force_tearing2::run: FunctionTooLong \u2014 rapier_examples_2d::soft_force_tearing2::run 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":"examples2d/soft_force_tearing2.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"24042efdf6b5462e8605cc9e5568b50d06af10dafc77dafd5d7844decaad3bff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_3d::mujoco_menagerie3::run: FunctionTooLong \u2014 rapier_examples_3d::mujoco_menagerie3::run 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":"examples3d/mujoco_menagerie3.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"29498b3d636957c8c977e84fa9b6451a647775954a952fffba159d6c767b84b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftConstraintsSet.writeback_contacts: MethodTooLong \u2014 writeback_contacts 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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_writeback.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6beb5251a69cf175f6ced3d30a050a2267c92958119f18dddfdb68932be65b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rapier_testbed/_meshes.py: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 109 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/_meshes.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60480e53e73ea2e36d45eb0defddc72a6e75b4a674b339813f64abe25ce7245f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/queries_extras.rs: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 107 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/queries_extras.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77421850ff560f1d0fed22cc5e5c12c681c2c21013753a10c222ff843197527b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::bindings::bevy_rapier::src::plugin::systems::collider::init_colliders: FunctionTooLong \u2014 crate::bindings::bevy_rapier::src::plugin::systems::collider::init_colliders runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/collider.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca34c43d3821f9540dc3bc9de5e457a8689a8e2c4dab345f55959a0699fb6ab3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::geometry::narrow_phase::soft_contacts::soft_contacts_volume::volume_bins: FunctionTooLong \u2014 crate::geometry::narrow_phase::soft_contacts::soft_contacts_volume::volume_bins runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_volume.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0eb0e1430b844a2d5c6bd816e8b005ae347e41e76e16f76f6281319278f0321"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RapierContextSimulation: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 26 methods, 3 blocks, lines 1841-2615. The bar is 400 significant lines; this is 83 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/context/mod.rs"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"815279c8a1c04e150f8bfdda17265d21f502a37f80d357062fa050b59def4cfa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RawColliderSet: ClassTooLong \u2014 480 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 106 methods, 3 blocks, lines 19-566. The bar is 400 significant lines; this is 80 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/collider_set.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2cfcf68f54435048a72580a213201691d5c82c0c85b1d68c9287079456cdb4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Testbed: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/_testbed.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"018f0ba56085c41c54c1a3722b2189fda037ffb9feb273d773baec59acba9034"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_3d::character_controller3::run: FunctionTooLong \u2014 rapier_examples_3d::character_controller3::run 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":"examples3d/character_controller3.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f151d806385a7f44589fc57a0d0e3c0176ab8c4eb614015561f44d16117de9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenericJointConstraint.lock_axes: MethodTooLong \u2014 lock_axes runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/generic_joint_constraint.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"21473fe678908acc31f210d9513775d6a4d0bd1efdd5d8e90f278793f0d66d36"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StagedIslandSolver.single_group_joint_layout: MethodTooLong \u2014 single_group_joint_layout runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/joints.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b8ac245ec6fb0de80015a81eee60a50c270fb962848b3a22aa627dedf7c185"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EdgeScan.scan_element: MethodTooLong \u2014 scan_element runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_edge_pass.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9f94c0c67b049eb0ffbbe164e058967340cd007a2f75cb23a6cb018b83e831"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: control/character_controller.rs: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: KinematicCharacterController (3 blocks, 173-981). The bar is 500 significant lines; this is 94 over it, 1.19\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/character_controller.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29f5819d56b5e71f0460e587f9dceaee467e7094a55653cd559d7d243d48b9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: loader/conversion.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 97% of them inside a single declaration: Conversion (2 blocks, 31-950). 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/rapier3d-mjcf/src/loader/conversion.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0869c04df8d09a7a89cb19b8854606cf4b9ed2ef01fe7606ae3e0845e67d5111"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::dynamics::solver::soft_constraint::soft_contact_assembly::soft_contact_assembly_volume_constraints::emit_volume_bins: FunctionTooLong \u2014 crate::dynamics::solver::soft_constraint::soft_contact_assembly::soft_contact_assembly_volume_constraints::emit_volume_bins 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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_volume_constraints.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9c43cf4eba60c053fe2d88b01308ed38bbf92b1badf85f99af9442520b7c2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: soft_contact_assembly/soft_contact_assembly_body_contacts.rs: FileTooLong \u2014 587 significant 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: SoftConstraintsSet (22-807). The bar is 500 significant lines; this is 87 over it, 1.17\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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_body_contacts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6b625506d49e98e7fbdcc7c2e9b95bc5157d952b9fd1183f1f3fb95f394567"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::detect_self_regions: FunctionTooLong \u2014 crate::geometry::narrow_phase::soft_contacts::soft_self_contacts::detect_self_regions runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_self_contacts.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef8887ec84951345d97eee69a68cd5390ab57ebc175d559894df7fe44ffb444"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SoftConstraintsSet: TooManyMethods \u2014 35 methods, declared across 13 files: soft_constraints_set/soft_constraint_solve.rs (8), soft_constraint/soft_element_constraint_assembly.rs (6), soft_constraints_set/soft_constraint_rigid_coupling.rs (5), soft_constraints_set/soft_constraint_writeback.rs (3), \u002B9 more file(s). The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraints_set.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9bb4fad068ce8873cbff7020166d305226e8967baaab8a20e13d234a99a362"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::bindings::bevy_rapier::src::geometry::to_bevy_mesh::typed_shape_to_mesh: FunctionTooLong \u2014 crate::bindings::bevy_rapier::src::geometry::to_bevy_mesh::typed_shape_to_mesh runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/geometry/to_bevy_mesh.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7be6c235fd3c748ed7135f9d7301c20ddc413d2c1474bb2ba5525bf8e7eb08"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Graphics.addCollider: MethodTooLong \u2014 addCollider runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed3d/src/Graphics.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"8141a656f2f0b8d0d9762ac7244faf9c60172bb46c49eacec0dfbaa2846cd268"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: geometry/collider.rs: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 76 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/collider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54879613ac0081f352f4bac8eef7bf539dc72658839df9130f313f90a70fd2f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dynamics/rigid_body.ts: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 75 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64421fd8c466e921fbdba580aa3ed0f53d6522a7249969667cf2e9d5d38b045"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_3d::soft_tearing3::run: FunctionTooLong \u2014 rapier_examples_3d::soft_tearing3::run runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/soft_tearing3.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9545fa394e88b42c0ff2f04b0489db777d190308c32b8e49494b68ad7c1f73f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: joint_constraint/joint_constraint_helper.rs: FileTooLong \u2014 572 significant 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: JointConstraintHelper (3 blocks, 76-790). The bar is 500 significant lines; this is 72 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_constraint_helper.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"289618a830d8ddf2669c3cd73dbdd30e556f9ae91bfc1785350a7247229c72f5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PersistentIslands: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 33 methods, 2 blocks, lines 152-878. The bar is 400 significant lines; this is 57 over it, 1.14\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":"src/dynamics/island_manager/persistent.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1804478be919aafb5089801ff69953b56a2de653035ae2b2599bfaa16d61f7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KinematicCharacterController.move_shape: MethodTooLong \u2014 move_shape runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/character_controller.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b3849f735cb72cbfc354ce1fb70d94f9dbd41094b16564ce743b5e5395895b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MultibodyJoint.velocity_constraints: MethodTooLong \u2014 velocity_constraints runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_joint.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81923c83aed6fb18501a8aa742a87f5e927249eb2508d843f6e93671aaf5746"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RprSoftBodyDesc: ClassTooLong \u2014 455 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 3 methods, 3 blocks, lines 88-674. The bar is 400 significant lines; this is 55 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/soft_desc.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3ae90315bdada126c4a8dcf6e1580bc727503e197f012d66aaaa08bdd44048"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PhysicsWorld: ClassTooLong \u2014 452 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 58 methods, 4 blocks, lines 64-1007. The bar is 400 significant lines; this is 52 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_world.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65199b93d33f1a9476b20586a4e4e24c901ab9998d34f9077cf1de0b053d788"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParseState.parse_asset: MethodTooLong \u2014 parse_asset 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/mjcf-rs/src/loader/asset.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c932f5008de30abc59bde4bd083614c581f135dcef85cfd8d11eb3384f1e5dbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_3d::soft_trimesh3::run: FunctionTooLong \u2014 rapier_examples_3d::soft_trimesh3::run 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":"examples3d/soft_trimesh3.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af728c01eb5d0979c51bf522afee813238a19d2265bdb2a15439023babd51a4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NarrowPhase.remove_pair: MethodTooLong \u2014 remove_pair 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":"src/geometry/narrow_phase/pair_management.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"834cd52a34859739e5ad3a4d09943bdb485fdd0f486da519b22cc61b76d10deb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/soft_desc.rs: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: RprSoftBodyDesc (3 blocks, 88-674). The bar is 500 significant lines; this is 62 over it, 1.12\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":"bindings/c/src/soft_desc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33f27f02f3563c853bef88ec5ed4afdf86f014e7f03013869ab625e47ff472d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Collider: ClassTooLong \u2014 449 significant lines (blank, comment-only and punctuation-only lines excluded), 82 methods. The bar is 400 significant lines; this is 49 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/collider.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"96524ecd8df9502b510df029e54072822b5fce51499221e182d953b74bd71869"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contact_constraint/contact_constraint_element.rs: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 57 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_constraint_element.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26982b18882bc99bc44a619fade68f40541ee9f8eefd8267e5731e3e6d5eb72"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_2d::all_examples2::main: FunctionTooLong \u2014 rapier_examples_2d::all_examples2::main 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":"examples2d/all_examples2.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9023650768923a9511ea6e8363e99db33a0cc7de19ba800fad67cf01b92a5191"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_3d::soft_thin_features3::run: FunctionTooLong \u2014 rapier_examples_3d::soft_thin_features3::run 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":"examples3d/soft_thin_features3.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a37ed7a29abba0f9475df79d3c716b5115ea82be197ed825d624eb4c9dfa51"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Vec3: TooManyMethods \u2014 33 methods, declared across 2 files: src/math.rs (30), src/serde_glue.rs (3). The bar is 30 methods; this is 3 over it, 1.10\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":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfc13b7e4885943380fc3253ff7d49b5337bf22ed8e62c8ff7e195091aea632"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Rotation3: TooManyMethods \u2014 33 methods, declared across 2 files: src/math.rs (30), src/serde_glue.rs (3). The bar is 30 methods; this is 3 over it, 1.10\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":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7914ed320761c473d662d91eaad18aa91a45733a193a2e9a408e2d1d67b721d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: KinematicCharacterController: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/control/character_controller.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6888d71113e6fe16fbeff9d210eadd6b48c42e67ac33c6f574100daa8465e99a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RawImpulseJointSet: TooManyMethods \u2014 33 methods, declared across 2 files: dynamics/impulse_joint.rs (24), dynamics/impulse_joint_set.rs (9). The bar is 30 methods; this is 3 over it, 1.10\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":"bindings/typescript/src/dynamics/impulse_joint_set.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1084fcc5a67049b5ee96d370661a1bb61c6a99ee3e27520229a9f39ede29949"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PersistentIslands: TooManyMethods \u2014 33 methods, declared across 3 files: island_manager/persistent.rs (27), island_manager/global_split.rs (4), island_manager/local_split.rs (2). The bar is 30 methods; this is 3 over it, 1.10\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":"src/dynamics/island_manager/persistent.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"841661c095713ab7a22c3f1d72ed47f15f066ae96b4fce45fff4a0d3cf370e1a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IslandManager.update_substep_groups: MethodTooLong \u2014 update_substep_groups 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":"src/dynamics/island_manager/substep_groups.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ef347e77bc08f4145d16a60abfbfb92a0bfa08abdac53e67e05e4f3e111e67"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ColliderView.raw_scale_by: MethodTooLong \u2014 raw_scale_by 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":"bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"218f20adf97f13c9bcd28d095718a6d2744fa84b908589ea96e1bf0ae7d3a72e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SoftBodyDesc: ClassTooLong \u2014 435 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 35 over it, 1.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/soft_body.ts"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d162d4fa7d964edfe1115f39e443df25d2b1e9f652438bbbe720ac42a462e652"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: soft_contacts/soft_contacts_vertex_pass.rs: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 41 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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f3e853c6c1db9b3f04aa7be894f69a27d5b4f6e6e8a1912ea521eed5b4914a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Conversion.materialize_body: MethodTooLong \u2014 materialize_body 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/rapier3d-mjcf/src/loader/conversion.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b3f6667b59727c08058a0d3b75bfb888238eeb0399d07f36200d71bc677086"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: narrow_phase/solver_graph.rs: FileTooLong \u2014 539 significant 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: NarrowPhase (20-843). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/solver_graph.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"246bc0a62139cce73e199ce645d0bae094b314209a9c5398e77f284c0ba0093d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: systems/rigid_body.rs: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 38 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/rigid_body.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17737b9f6e1b559fe29ee1df0fe1546c961d55f641f256dcc3bd59a96564b69f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RawSoftBodySet: ClassTooLong \u2014 430 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 108 methods, 3 blocks, lines 1115-1858. The bar is 400 significant lines; this is 30 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/dynamics/soft_body.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8575832102f1a9a0d03dc46222c46e3666dbab926383ccd564c748ce09ed288"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: island_manager/persistent.rs: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: PersistentIslands (2 blocks, 152-878). The bar is 500 significant lines; this is 36 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/island_manager/persistent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d9e98bf2a78badf514ba27604e36fa9e7d30e79611503b96aff599899c2654"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CCDSolver.solve_continuous: MethodTooLong \u2014 solve_continuous 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":"src/dynamics/ccd/ccd_solver.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b133b97dd270d037bf4678cf01133357fe738935442622f72ebe2241d2fad4aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JointConstraintBuilderSimd.update: MethodTooLong \u2014 update 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":"src/dynamics/solver/joint_constraint/joint_constraint_builder.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"674dcaab217fd944a86d29b73fc7d5823de5d58fe812af8c6049ab23a0b18e18"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftBodySet.split_body_along: MethodTooLong \u2014 split_body_along 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":"src/dynamics/soft_body/soft_body_set/soft_body_set_split.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3688fe3a2fa168b2d75171b92ef8e11f80484ebbd48cf6332ddd80c5bb2582"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/math.rs: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 29 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d1e28e62e6119080b668f8b4bc079454528537aa77f46f28e613ca8aaa471f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DebugRenderPipeline.render_shape: MethodTooLong \u2014 render_shape runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"5831c7f140c745413156fd96def9bc288f23686b08240dc2d002b8c3addf4c59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GraphicsManager.draw: MethodTooLong \u2014 draw runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/graphics.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e062039bce645e76435a78992a331a26c7ca25efdf07bf19edf16bb932fefb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TestbedViewer: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 47 methods, 2 blocks, lines 57-792. The bar is 400 significant lines; this is 18 over it, 1.05\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":"src_testbed/viewer.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fd81c564d4249d70711b87090526639109f994df18f3363c4eb95bbef6ed15"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_2d::character_controller2::run: FunctionTooLong \u2014 rapier_examples_2d::character_controller2::run 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":"examples2d/character_controller2.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0833b289d06ad34cfc494b90137e73c644260c7786224aef3a5e0ba58a8d4598"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynamicRayCastVehicleController.update_friction: MethodTooLong \u2014 update_friction 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":"src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb359960b426021535cd37912e319b8794318c26e65fb67a86a1a4b49909f882"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SoftBodySet.insert: MethodTooLong \u2014 insert 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":"src/dynamics/soft_body/soft_body_set/soft_body_set_insert_remove.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f275f677a4b19c39ed95b07781656fb1cf2f8f87d1f287b0affbb0bf0f369f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::pipeline::user_changes::handle_user_changes_to_rigid_bodies: FunctionTooLong \u2014 crate::pipeline::user_changes::handle_user_changes_to_rigid_bodies 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":"src/pipeline/user_changes.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3898babd7cd7cadefe79244a2a04f29c9f0815ff6897cc2d58451754b19778"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::bindings::c::src::joints: 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":"bindings/c/src/joints.rs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"df37e9a3aaeab754ab2d0c07a97394cf839869d34488b29d2b6ee7721cd5fa36"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RawIntegrationParameters: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/dynamics/integration_parameters.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbc0f9cf0ff3b798a5254183045f85c5a469e684830b51533ad6ad4782982c7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GenericJoint: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/generic_joint.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"0500697ab9a173259745bf605fd4be782ff10a4511e392c69667245b1719f4c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KinematicCharacterController.handle_stairs: MethodTooLong \u2014 handle_stairs 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":"src/control/character_controller.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd1c1addc04b13b0ff7fbdbbb41741a092da4da32742e59c37b7b324c651bde"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rapier_examples_3d::soft_plasticity3::run: FunctionTooLong \u2014 rapier_examples_3d::soft_plasticity3::run 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":"examples3d/soft_plasticity3.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1d3f4c9f5724dd69916911f20bd69444027500e30805f4ded64294e3d27942"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contact_constraint/contact_with_twist_friction.rs: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 67% of them inside a single declaration: ContactWithTwistFrictionBuilder (2 blocks, 44-598). The bar is 500 significant lines; this is 9 over it, 1.02\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":"src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5a1a105c463981d86bc273ada8336ba54c1c7f7a73de4cfb42f6728c809f0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contact_constraint/generic_contact_constraint.rs: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 68% of them inside a single declaration: GenericContactConstraintBuilder (2 blocks, 20-543). The bar is 500 significant lines; this is 9 over it, 1.02\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":"src/dynamics/solver/contact_constraint/generic_contact_constraint.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd3507498b137d8712b6de9eba912738171090ec536d7e91403b0223e6bb122"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RigidBody: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 97 methods, 5 blocks, lines 1580-2794. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"da761bc12d7dac3bd2ee26c0e23355443c88ace143f1f7553db92e97fb15c38e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/extra.rs: FileTooLong \u2014 505 significant 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 5 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":"bindings/c/src/extra.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61253517e6ca85f6d066887401afad527a1c4a86251f61944271dc1cf60d3f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (12 members, 42 shared lines): bindings/python/rapier-py-3d/src/controllers.rs:726-808 | bindings/python/rapier-py-3d/src/pipeline.rs:1154-1221 | bindings/python/rapier-py-3d/src/pipeline.rs:1238-1305 | bindings/python/rapier-py-3d/src/pipeline.rs:1327-1401 | bindings/python/rapier-py-3d/src/pipeline.rs:1422-1490 | bindings/python/rapier-py-3d/src/pipeline.rs:1507-1582 | bindings/python/rapier-py-3d/src/pipeline.rs:1599-1673 | bindings/python/rapier-py-3d/src/pipeline.rs:1696-1765 | bindings/python/rapier-py-3d/src/pipeline.rs:1795-1868 | bindings/python/rapier-py-3d/src/pipeline.rs:1887-1961 | bindings/python/rapier-py-3d/src/pipeline.rs:1980-2053 | bindings/python/rapier-py-3d/src/pipeline.rs:2079-2144 \u2014 These 12 members are variants of one another: a block of 42 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 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":"bindings/python/rapier-py-3d/src/controllers.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"884c2e318fc20d7dcfe5da59b818152938064c11158e578098b47dd391d0667d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 21 shared lines): examples3d/collision_groups3.rs:5-95 | examples3d/compound3.rs:4-89 | examples3d/convex_polyhedron3.rs:6-70 | examples3d/debug_cylinder3.rs:7-59 | examples3d/debug_eccentric_boxes3.rs:4-46 | examples3d/debug_prismatic3.rs:44-74 | examples3d/domino3.rs:5-84 | examples3d/keva3.rs:66-121 \u2014 These 8 members are variants of one another: a block of 21 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 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":"examples3d/collision_groups3.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8236baaa23de90866e2089a211321e805e5b6b8c3f61a22f8524dc4262affd65"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 30 shared lines): examples2d/convex_polygons2.rs:6-78 | examples2d/stress_tests/boxes2.rs:4-65 | examples2d/stress_tests/capsules2.rs:4-67 | examples2d/stress_tests/convex_polygons2.rs:6-81 | examples2d/trimesh2.rs:4-59 \u2014 These 5 members are variants of one another: a block of 30 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"examples2d/convex_polygons2.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0fb87339f9e2c8be8def3ffb1ed7d86d69632bd10ad3a98357da721b3a0c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 21 shared lines): examples3d/compound3.rs:4-89 | examples3d/primitives3.rs:4-78 | examples3d/stress_tests/capsules3.rs:4-63 | examples3d/stress_tests/ccd3.rs:4-78 | examples3d/stress_tests/compound3.rs:4-68 \u2014 These 5 members are variants of one another: a block of 21 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 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":"examples3d/compound3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ee1708fa3384bf057c08bc16a306990ac8faefe5b6c038d7a48a37f9a25e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 24 shared lines): bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py:16-83 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/heightfield3.py:16-60 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/trimesh3.py:17-60 | bindings/python/rapier-testbed/rapier_testbed/examples3/trimesh3.py:52-122 \u2014 These 4 members are variants of one another: a block of 24 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":"bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf2d1268f8d3c0f615762794757f71f02e6542f56cc9fc119bbd03407c189f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 21 shared lines): examples3d/primitives3.rs:4-78 | examples3d/stress_tests/capsules3.rs:4-63 | examples3d/stress_tests/ccd3.rs:4-78 | examples3d/stress_tests/convex_polyhedron3.rs:6-80 \u2014 These 4 members are variants of one another: a block of 21 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":"examples3d/primitives3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ef39fb6c10d9004bc3d593b6d1da1a0209c30ba6382c4d68590be51c2602c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 17 shared lines): examples3d/debug_shape_modification3.rs:4-142 | examples3d/primitives3.rs:4-78 | examples3d/stress_tests/capsules3.rs:4-63 | examples3d/stress_tests/ccd3.rs:4-78 \u2014 These 4 members are variants of one another: a block of 17 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":"examples3d/debug_shape_modification3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"013a6627d1b7fc81f9273110cfc6a7c76a93b8925944dc0e43ef1f2abe7f9103"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (177 shared lines): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:59-357 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:65-424 \u2014 These two members are variants of one another: 177 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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9ccbacb91f10259f0efee42cffd2b1d286b98e5c52669943a108465c9917ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (65 shared lines): examples2d/soft_plasticity2.rs:8-144 | examples3d/soft_plasticity3.rs:8-154 \u2014 These two members are variants of one another: 65 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":"examples2d/soft_plasticity2.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b990507816956ba90158c082acaecf17df5956801a685d9fefce50103743a3fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (62 shared lines): examples2d/character_controller2.rs:9-197 | examples3d/character_controller3.rs:9-216 \u2014 These two members are variants of one another: 62 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/character_controller2.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f032153bfb799db2b3721afe13c7e339f94559c3c9aa8c79d27a78f6803112"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (59 shared lines): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:366-455 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:433-522 \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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c8d83c64e37357c6505324416613144efd252565f09c52ba2d8d582712a817"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): src/dynamics/solver/staged_island_solver/joints.rs:39-322 | src/dynamics/solver/staged_island_solver/joints.rs:332-505 \u2014 These two members are variants of one another: 58 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":"src/dynamics/solver/staged_island_solver/joints.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2384dc669c14033fb07d629d7a0e95960796aec4ddf78c508170ce05c40ec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): examples3d/debug_dynamic_collider_add3.rs:4-114 | examples3d/debug_rollback3.rs:4-69 \u2014 These two members are variants of one another: 52 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_dynamic_collider_add3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd404b27dfeca4be5c54281886ffdbd24522083a08241f4e2bb95640673c5ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (46 shared lines): bindings/python/rapier-py-3d/src/pipeline.rs:2624-2699 | bindings/python/rapier-py-3d/src/pipeline.rs:2760-2819 \u2014 These two members are variants of one another: 46 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":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":2624}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca8dc8dc2d17171434d1461ea2cbc7b95017149720262fb0a4ab13e90f36cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): examples2d/debug_angular_limits2.rs:24-93 | examples3d/debug_angular_limits3.rs:24-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":"examples2d/debug_angular_limits2.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fabb3895a89aa87ec325f9c34f47806c41f6609688966698c7487b05eba5c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): examples2d/soft_fem2.rs:11-98 | examples3d/soft_fem3.rs:11-105 \u2014 These two members are variants of one another: 44 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_fem2.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"18495d0711144a54a41991a337ae01ed4da4f99ad82040e5445a8db654f6aacc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (42 shared lines): bindings/python/rapier-py-3d/src/pipeline.rs:3196-3275 | bindings/python/rapier-py-3d/src/pipeline.rs:3284-3342 \u2014 These two members are variants of one another: 42 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d30098c2db3425e7166867fd34e3fe0f1d9df539ebd5077b5b6758616920f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (38 shared lines): examples2d/inverse_kinematics2.rs:4-96 | examples3d/inverse_kinematics3.rs:4-107 \u2014 These two members are variants of one another: 38 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":"examples2d/inverse_kinematics2.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35fb6524554b4e496cc133fb926ff245c51e505a8e71072e848b478d0b20bf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py:60-80 | bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py:86-117 \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":"bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b3f5548f698dbc5a7fb363750d48ef71016491d93caf181015ff25bbd29476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): examples2d/b2d_compounds.rs:9-36 | examples2d/b2d_junkyard.rs:9-79 \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":"examples2d/b2d_compounds.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75e5c7b595d7eb6d54c72b23e5140fb4b0658ff9f3ee84abf4c73f3e9f7e09e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (53 members, 50\u002B identical tokens): bindings/c/src/config_data.rs:566-577 | bindings/c/src/pipeline.rs:5-18 | bindings/c/src/pipeline.rs:40-53 | bindings/c/src/pipeline.rs:75-88 | bindings/c/src/pipeline.rs:110-123 | bindings/c/src/pipeline.rs:149-162 | bindings/c/src/pipeline.rs:188-201 | bindings/c/src/pipeline.rs:226-239 | bindings/c/src/pipeline.rs:264-277 | bindings/c/src/pipeline.rs:305-318 | bindings/c/src/pipeline.rs:343-356 | bindings/c/src/pipeline.rs:380-393 | bindings/c/src/pipeline.rs:420-433 | bindings/c/src/pipeline.rs:458-471 | bindings/c/src/pipeline.rs:492-505 | bindings/c/src/pipeline.rs:530-543 | bindings/c/src/pipeline.rs:568-581 | bindings/c/src/pipeline.rs:606-619 | bindings/c/src/pipeline.rs:644-657 | bindings/c/src/pipeline.rs:684-697 | bindings/c/src/pipeline.rs:1475-1486 | bindings/c/src/pipeline.rs:1511-1522 | bindings/c/src/pipeline.rs:1546-1557 | bindings/c/src/soft_extras.rs:403-419 | bindings/c/src/soft_extras.rs:424-436 | bindings/c/src/soft_extras.rs:441-457 | bindings/c/src/soft_extras.rs:462-478 | bindings/c/src/soft_extras.rs:483-499 | bindings/c/src/soft_extras.rs:504-516 | bindings/c/src/soft_extras.rs:521-533 | bindings/c/src/soft_extras.rs:538-554 | bindings/c/src/soft_extras.rs:559-571 | bindings/c/src/soft_extras.rs:576-588 | bindings/c/src/soft_extras.rs:593-609 | bindings/c/src/soft_extras.rs:616-632 | bindings/c/src/soft_extras.rs:637-649 | bindings/c/src/soft_extras.rs:654-666 | bindings/c/src/soft_extras.rs:671-683 | bindings/c/src/soft_extras.rs:688-704 | bindings/c/src/soft_extras.rs:709-725 | bindings/c/src/soft_extras.rs:730-746 | bindings/c/src/soft_extras.rs:751-774 | bindings/c/src/soft_extras.rs:808-820 | bindings/c/src/soft_extras.rs:825-837 | bindings/c/src/soft_extras.rs:842-854 | bindings/c/src/soft_extras.rs:859-871 | bindings/c/src/soft_extras.rs:876-888 | bindings/c/src/soft_extras.rs:893-905 | bindings/c/src/soft_extras.rs:929-941 | bindings/c/src/soft_extras.rs:965-981 | bindings/c/src/soft_extras.rs:987-999 | bindings/c/src/soft_extras.rs:1005-1017 | bindings/c/src/soft_extras.rs:1023-1035 \u2014 These 53 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 53 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 53 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/config_data.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9fcc77a3a00a64227f1411926be2c9708119dba877d02023d382002a5a0646"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (35 members, 50\u002B identical tokens): bindings/c/src/dynamics.rs:781-798 | bindings/c/src/handle_access.rs:266-286 | bindings/c/src/handle_access.rs:296-316 | bindings/c/src/handle_access.rs:326-346 | bindings/c/src/handle_access.rs:356-376 | bindings/c/src/handle_access.rs:384-403 | bindings/c/src/handle_access.rs:411-430 | bindings/c/src/handle_access.rs:440-460 | bindings/c/src/handle_access.rs:507-526 | bindings/c/src/handle_access.rs:573-592 | bindings/c/src/handle_access.rs:602-622 | bindings/c/src/handle_access.rs:633-654 | bindings/c/src/handle_access.rs:664-684 | bindings/c/src/handle_access.rs:693-712 | bindings/c/src/handle_access.rs:717-733 | bindings/c/src/handle_access.rs:1753-1772 | bindings/c/src/scoped_access.rs:1254-1274 | bindings/c/src/scoped_access.rs:1281-1301 | bindings/c/src/scoped_access.rs:1369-1389 | bindings/c/src/scoped_access.rs:2238-2258 | bindings/c/src/scoped_access.rs:2268-2288 | bindings/c/src/scoped_access.rs:2296-2315 | bindings/c/src/scoped_access.rs:2325-2345 | bindings/c/src/scoped_access.rs:2353-2372 | bindings/c/src/scoped_access.rs:2380-2399 | bindings/c/src/scoped_access.rs:2409-2429 | bindings/c/src/scoped_access.rs:2439-2459 | bindings/c/src/scoped_access.rs:2467-2486 | bindings/c/src/scoped_access.rs:2494-2513 | bindings/c/src/scoped_access.rs:2521-2540 | bindings/c/src/scoped_access.rs:2550-2570 | bindings/c/src/scoped_access.rs:2580-2600 | bindings/c/src/scoped_access.rs:2611-2632 | bindings/c/src/scoped_access.rs:2641-2660 | bindings/c/src/scoped_access.rs:2790-2809 \u2014 These 35 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 35 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 35 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/dynamics.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0df4d54d6dffc38870174096af8b37e2d1a74ee433f1a2f34b6c0c98466dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (31 members, 50\u002B identical tokens): bindings/c/src/pipeline.rs:513-525 | bindings/c/src/pipeline.rs:551-563 | bindings/c/src/pipeline.rs:589-601 | bindings/c/src/pipeline.rs:627-639 | bindings/c/src/pipeline.rs:665-677 | bindings/c/src/pipeline.rs:705-717 | bindings/c/src/pipeline.rs:1565-1581 | bindings/c/src/pipeline.rs:1589-1601 | bindings/c/src/pipeline.rs:1609-1625 | bindings/c/src/pipeline.rs:1633-1649 | bindings/c/src/pipeline.rs:1657-1673 | bindings/c/src/pipeline.rs:1681-1697 | bindings/c/src/pipeline.rs:1705-1717 | bindings/c/src/pipeline.rs:1725-1741 | bindings/c/src/pipeline.rs:1749-1761 | bindings/c/src/pipeline.rs:1769-1785 | bindings/c/src/pipeline.rs:1793-1809 | bindings/c/src/pipeline.rs:1817-1833 | bindings/c/src/pipeline.rs:1841-1853 | bindings/c/src/pipeline.rs:1861-1877 | bindings/c/src/pipeline.rs:1885-1897 | bindings/c/src/pipeline.rs:1905-1921 | bindings/c/src/pipeline.rs:1929-1945 | bindings/c/src/pipeline.rs:1953-1969 | bindings/c/src/pipeline.rs:1977-1993 | bindings/c/src/pipeline.rs:2001-2017 | bindings/c/src/pipeline.rs:2025-2041 | bindings/c/src/pipeline.rs:2049-2065 | bindings/c/src/pipeline.rs:2073-2089 | bindings/c/src/pipeline.rs:2097-2113 | bindings/c/src/soft_extras.rs:782-803 \u2014 These 31 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 31 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 31 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/pipeline.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e5ce793ef844f779631151c77cffcf9b1a5fc9c06ca6e4c2fec16ae732d1cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (24 members, 50\u002B identical tokens): bindings/c/src/geometry.rs:705-730 | bindings/c/src/handle_access.rs:946-961 | bindings/c/src/handle_access.rs:970-985 | bindings/c/src/handle_access.rs:993-1008 | bindings/c/src/handle_access.rs:1016-1031 | bindings/c/src/handle_access.rs:1039-1054 | bindings/c/src/handle_access.rs:1062-1077 | bindings/c/src/handle_access.rs:1085-1100 | bindings/c/src/handle_access.rs:1729-1744 | bindings/c/src/scoped_access.rs:1309-1324 | bindings/c/src/scoped_access.rs:1517-1533 | bindings/c/src/scoped_access.rs:2817-2832 | bindings/c/src/scoped_access.rs:2840-2855 | bindings/c/src/scoped_access.rs:2863-2878 | bindings/c/src/scoped_access.rs:2886-2901 | bindings/c/src/scoped_access.rs:2909-2924 | bindings/c/src/scoped_access.rs:2932-2947 | bindings/c/src/scoped_access.rs:2955-2970 | bindings/c/src/scoped_access.rs:2978-2993 | bindings/c/src/scoped_access.rs:3001-3016 | bindings/c/src/scoped_access.rs:3024-3039 | bindings/c/src/scoped_access.rs:3047-3062 | bindings/c/src/scoped_access.rs:3508-3523 | bindings/c/src/scoped_access.rs:3531-3546 \u2014 These 24 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 24 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 24 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/geometry.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca5390bdc22a12be9a58d60487de71ace77ea5ee70226051efaf7ef0b03eaab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (22 members, 50\u002B identical tokens): bindings/c/src/handle_access.rs:1389-1407 | bindings/c/src/joint_access.rs:25-44 | bindings/c/src/joint_access.rs:67-86 | bindings/c/src/joint_access.rs:109-128 | bindings/c/src/joint_access.rs:151-170 | bindings/c/src/joint_access.rs:193-212 | bindings/c/src/joint_access.rs:235-254 | bindings/c/src/joint_access.rs:277-296 | bindings/c/src/joint_access.rs:319-338 | bindings/c/src/joint_access.rs:361-380 | bindings/c/src/joint_access.rs:403-422 | bindings/c/src/joint_access.rs:445-464 | bindings/c/src/joint_access.rs:487-506 | bindings/c/src/joint_access.rs:529-548 | bindings/c/src/joint_access.rs:578-599 | bindings/c/src/joint_access.rs:637-660 | bindings/c/src/joint_access.rs:687-707 | bindings/c/src/joint_access.rs:734-754 | bindings/c/src/joint_access.rs:777-796 | bindings/c/src/joint_access.rs:831-853 | bindings/c/src/joint_access.rs:885-906 | bindings/c/src/joints.rs:240-255 \u2014 These 22 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 22 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 22 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/handle_access.rs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6741ea80aa5af15ef3c81e3150e33a26008109ff9233118ccf8c8d88cfb96b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (22 members, 50\u002B identical tokens): bindings/python/rapier-testbed/rapier_testbed/examples3/ccd3.py:40-93 | bindings/python/rapier-testbed/rapier_testbed/examples3/collision_groups3.py:17-81 | bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py:17-89 | bindings/python/rapier-testbed/rapier_testbed/examples3/convex_polyhedron3.py:23-72 | bindings/python/rapier-testbed/rapier_testbed/examples3/domino3.py:14-69 | bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py:18-52 | bindings/python/rapier-testbed/rapier_testbed/examples3/inverse_kinematics3.py:19-55 | bindings/python/rapier-testbed/rapier_testbed/examples3/keva3.py:66-98 | bindings/python/rapier-testbed/rapier_testbed/examples3/locked_rotations3.py:12-47 | bindings/python/rapier-testbed/rapier_testbed/examples3/platform3.py:14-84 | bindings/python/rapier-testbed/rapier_testbed/examples3/primitives3.py:20-76 | bindings/python/rapier-testbed/rapier_testbed/examples3/restitution3.py:12-39 | bindings/python/rapier-testbed/rapier_testbed/examples3/sensor3.py:12-65 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/boxes3.py:12-45 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/capsules3.py:12-46 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/ccd3.py:12-62 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/compound3.py:12-54 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/convex_polyhedron3.py:20-60 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/keva3.py:13-44 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/pyramid3.py:40-59 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/stacks3.py:83-106 | bindings/python/rapier-testbed/rapier_testbed/examples3/vehicle_controller3.py:21-124 \u2014 These 22 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 22 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 22 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/ccd3.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bdc3f782ba257e1d14ce5b47787c1c5cf0eabb845a0c8d927d38f0ce61fbcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (16 members, 50\u002B identical tokens): bindings/c/src/handle_access.rs:159-174 | bindings/c/src/handle_access.rs:193-208 | bindings/c/src/handle_access.rs:874-889 | bindings/c/src/handle_access.rs:1691-1706 | bindings/c/src/objects.rs:164-179 | bindings/c/src/objects.rs:257-272 | bindings/c/src/scoped_access.rs:1427-1442 | bindings/c/src/scoped_access.rs:1969-1984 | bindings/c/src/scoped_access.rs:2002-2017 | bindings/c/src/scoped_access.rs:2068-2083 | bindings/c/src/scoped_access.rs:2101-2116 | bindings/c/src/scoped_access.rs:2134-2149 | bindings/c/src/scoped_access.rs:2167-2182 | bindings/c/src/scoped_access.rs:2200-2215 | bindings/c/src/scoped_access.rs:2753-2768 | bindings/c/src/scoped_access.rs:3404-3419 \u2014 These 16 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 16 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 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/handle_access.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e18d002eb59119978ea0e8032e8b5aab948addc08afa2eef5b139246ca9bc49"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (16 members, 50\u002B identical tokens): examples2d/s2d_ball_and_chain.rs:4-83 | examples2d/s2d_bridge.rs:4-67 | examples2d/s2d_card_house.rs:4-81 | examples2d/s2d_high_mass_ratio_1.rs:4-67 | examples2d/s2d_high_mass_ratio_2.rs:4-56 | examples2d/s2d_high_mass_ratio_3.rs:4-50 | examples2d/soft_blobs2.rs:7-66 | examples2d/soft_surface2.rs:7-129 | examples2d/stress_tests/soft_blobs2.rs:55-67 | examples2d/stress_tests/soft_cloth_keva2.rs:66-78 | examples2d/stress_tests/soft_fem_beams2.rs:62-74 | examples2d/stress_tests/soft_jellies2.rs:59-71 | examples2d/stress_tests/soft_ropes2.rs:49-61 | examples2d/stress_tests/soft_slab2.rs:73-85 | examples2d/stress_tests/soft_strips2.rs:60-72 | examples2d/voxels2.rs:7-112 \u2014 These 16 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 16 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 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/s2d_ball_and_chain.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1366407ec6d17452c5e0309bbe2de54f62d5b3be559a4d48ae28a55748eb89"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): bindings/c/src/handle_access.rs:806-821 | bindings/c/src/handle_access.rs:840-855 | bindings/c/src/scoped_access.rs:1771-1786 | bindings/c/src/scoped_access.rs:1804-1819 | bindings/c/src/scoped_access.rs:1837-1852 | bindings/c/src/scoped_access.rs:1870-1885 | bindings/c/src/scoped_access.rs:1903-1918 | bindings/c/src/scoped_access.rs:1936-1951 | bindings/c/src/scoped_access.rs:3237-3252 | bindings/c/src/scoped_access.rs:3270-3285 | bindings/c/src/scoped_access.rs:3303-3318 | bindings/c/src/scoped_access.rs:3336-3351 | bindings/c/src/scoped_access.rs:3371-3386 \u2014 These 13 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 13 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 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/handle_access.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8aed8f7f00037b73ef67ffc984c1846630b69526bcfc8c9767ec9d85aebd3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): bindings/c/src/control.rs:298-333 | bindings/c/src/queries_extras.rs:48-83 | bindings/c/src/queries_extras.rs:113-138 | bindings/c/src/queries_extras.rs:176-210 | bindings/c/src/world_queries.rs:116-150 | bindings/c/src/world_queries.rs:164-193 | bindings/c/src/world_queries.rs:208-230 | bindings/c/src/world_queries.rs:244-264 | bindings/c/src/world_queries.rs:280-303 | bindings/c/src/world_queries.rs:318-343 | bindings/c/src/world_queries.rs:358-395 | bindings/c/src/world_queries.rs:410-455 \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":"bindings/c/src/control.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1293f0d023c900a3640f33b80a9c05bc947e4f82e0690f207d3c97c76ec53977"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): bindings/c/src/pipeline.rs:58-70 | bindings/c/src/pipeline.rs:131-144 | bindings/c/src/pipeline.rs:170-182 | bindings/c/src/pipeline.rs:209-221 | bindings/c/src/pipeline.rs:247-259 | bindings/c/src/pipeline.rs:285-297 | bindings/c/src/pipeline.rs:326-338 | bindings/c/src/pipeline.rs:1458-1470 | bindings/c/src/pipeline.rs:1494-1506 \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":"bindings/c/src/pipeline.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"220571117d1af07a121c63bd2ab14d765e2670d5afd45b82536d5ebd7e36b18c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): bindings/typescript/src/geometry/broad_phase.rs:40-66 | bindings/typescript/src/geometry/broad_phase.rs:82-105 | bindings/typescript/src/geometry/broad_phase.rs:123-156 | bindings/typescript/src/geometry/broad_phase.rs:171-199 | bindings/typescript/src/geometry/broad_phase.rs:213-239 | bindings/typescript/src/geometry/broad_phase.rs:252-278 | bindings/typescript/src/geometry/broad_phase.rs:293-325 | bindings/typescript/src/geometry/broad_phase.rs:344-377 | bindings/typescript/src/geometry/broad_phase.rs:394-427 \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":"bindings/typescript/src/geometry/broad_phase.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"075823652e21433bbca030b7d4b8d024508d1111fabd20664eca2494aad09453"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): bindings/c/src/pipeline.rs:364-375 | bindings/c/src/pipeline.rs:401-412 | bindings/c/src/pipeline.rs:442-453 | bindings/c/src/pipeline.rs:476-487 | bindings/c/src/pipeline.rs:1530-1541 | bindings/c/src/pipeline.rs:2164-2175 | bindings/c/src/soft_extras.rs:913-924 | bindings/c/src/soft_extras.rs:949-960 \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":"bindings/c/src/pipeline.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7eb71024754b325b4a7fa27e094104f21db110081d4b015e4e0d5cf3e084039"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): bindings/c/src/handle_access.rs:57-72 | bindings/c/src/handle_access.rs:91-106 | bindings/c/src/handle_access.rs:772-787 | bindings/c/src/scoped_access.rs:1604-1619 | bindings/c/src/scoped_access.rs:1639-1654 | bindings/c/src/scoped_access.rs:1672-1687 | bindings/c/src/scoped_access.rs:2668-2684 \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":"bindings/c/src/handle_access.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"226b6e4f45f764dc9aff347fb4c3fcba327bb173b62a670901ad9cf2e0fa4415"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): bindings/python/rapier-py-3d/src/joints.rs:948-992 | bindings/python/rapier-py-3d/src/joints.rs:1219-1257 | bindings/python/rapier-py-3d/src/joints.rs:1501-1549 | bindings/python/rapier-py-3d/src/joints.rs:1791-1829 | bindings/python/rapier-py-3d/src/joints.rs:2051-2085 | bindings/python/rapier-py-3d/src/joints.rs:2595-2657 | bindings/python/rapier-py-3d/src/joints.rs:4516-4560 \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":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1464ab34690a11850a8c1705114cf752dd0565a63274411fca898f44bf5506"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): examples2d/character_controller2.rs:9-197 | examples2d/inverse_kinematics2.rs:4-96 | examples2d/locked_rotations2.rs:7-54 | examples2d/pin_slot_joint2.rs:7-100 | examples2d/platform2.rs:4-89 | examples2d/rope_joints2.rs:7-83 \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":"examples2d/character_controller2.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ce9447e9d05a8e15ed2a1634df0096e609e53b73c19b68fa5f664bef7040a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): examples2d/soft_blobs2.rs:7-66 | examples2d/soft_bodies2.rs:7-107 | examples2d/soft_force_tearing2.rs:9-197 | examples2d/soft_plasticity2.rs:8-144 | examples2d/soft_stress2.rs:9-110 | examples2d/soft_tearing2.rs:11-152 \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":"examples2d/soft_blobs2.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b2a2bd7d12fe090edd8cbbe1714e3a5105531db66319af5dab0ed5705f9361"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:343-409 | src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:421-458 | src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:514-564 | src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:574-626 | src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:638-673 | src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:736-789 \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":"src/dynamics/solver/joint_constraint/joint_constraint_helper.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2c9c55a2edf8d4a374173560abe942c2ebff7f62643b0a6ac11ef8994cbf3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): bindings/c/src/descriptors.rs:632-651 | bindings/c/src/joint_desc.rs:237-263 | bindings/c/src/joint_desc.rs:273-301 | bindings/c/src/soft_desc.rs:687-706 | bindings/c/src/soft_desc.rs:765-791 \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":"bindings/c/src/descriptors.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bc6dd3ff722cf95b8dd10660452e2bb83406dbd0e0a25650bc29d9adb30e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): bindings/c/src/handle_access.rs:1446-1461 | bindings/c/src/handle_access.rs:1480-1495 | bindings/c/src/handle_access.rs:1514-1529 | bindings/c/src/scoped_access.rs:1738-1753 | bindings/c/src/scoped_access.rs:3204-3219 \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":"bindings/c/src/handle_access.rs"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4a49429fa02b98dc60ff99af24aa0e883612063d1c194aeacb8265db67fec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): examples2d/soft_joints2.rs:8-295 | examples2d/soft_thin_features2.rs:7-130 | examples3d/soft_joints3.rs:8-368 | examples3d/soft_meshes3.rs:10-22 | examples3d/soft_thin_features3.rs:7-170 \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":"examples2d/soft_joints2.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32f56fd3c8caf23014e189d3847528811a975317a83a42dff8a4c64eab534c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): examples3d-f64/trimesh3_f64.rs:6-94 | examples3d/heightfield3.rs:5-101 | examples3d/stress_tests/heightfield3.rs:5-79 | examples3d/stress_tests/trimesh3.rs:5-84 | examples3d/trimesh3.rs:5-111 \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":"examples3d-f64/trimesh3_f64.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f08ad08271c43190d1ececae2f4270eb3fe558152eaf6123f70ac74164f326a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): examples3d/debug_balls3.rs:4-62 | examples3d/stress_tests/balls3.rs:5-56 | examples3d/stress_tests/many_kinematics3.rs:4-70 | examples3d/stress_tests/many_sleep3.rs:4-57 | examples3d/stress_tests/many_static3.rs:4-55 \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":"examples3d/debug_balls3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c2f3c5fab018f6570b39a3d433a4c349bde62cc44cc55073abeb10b8fd3389"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bindings/c/src/control.rs:755-791 | bindings/c/src/soft_body.rs:433-447 | bindings/c/src/soft_body.rs:629-654 | bindings/c/src/soft_body.rs:663-686 \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":"bindings/c/src/control.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cccc479ed1f045c1c48849820737fbcd0837eb084af49325788175b70862ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bindings/c/src/control.rs:986-1009 | bindings/c/src/control.rs:1049-1073 | bindings/c/src/read_access.rs:15-35 | bindings/c/src/read_access.rs:47-66 \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":"bindings/c/src/control.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b98c95d62211ebf211341e7576eeddf6f0729fe91547881fc3ac80646fdf53a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bindings/c/src/geometry.rs:191-204 | bindings/c/src/geometry.rs:212-226 | bindings/c/src/geometry.rs:740-753 | bindings/c/src/geometry.rs:803-820 \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":"bindings/c/src/geometry.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8700a7f5a494033404a9d12c30c13e6a04e3606043a5eac4bb4ad44c653f16b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bindings/c/src/handle_access.rs:23-38 | bindings/c/src/handle_access.rs:738-753 | bindings/c/src/handle_access.rs:1549-1564 | bindings/c/src/scoped_access.rs:1538-1553 \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":"bindings/c/src/handle_access.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3829f84aad2308a5428980f39bc7e45675de09ba5313237e0d03acfd3e02f51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bindings/python/rapier-py-3d/src/dynamics.rs:3061-3075 | bindings/python/rapier-py-3d/src/geometry.rs:4944-4958 | bindings/python/rapier-py-3d/src/joints.rs:3175-3189 | bindings/python/rapier-py-3d/src/soft_body.rs:3650-3664 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":3061}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a58586acdf1b926f5c6e99768ec081eb567861a6875cdf7e157b824b979619a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bindings/python/rapier-py-3d/src/geometry.rs:4747-4762 | bindings/python/rapier-py-3d/src/geometry.rs:4842-4862 | bindings/python/rapier-py-3d/src/pipeline.rs:3464-3496 | bindings/python/rapier-py-3d/src/pipeline.rs:3512-3531 \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":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":4747}}}],"partialFingerprints":{"codehealthFindingId/v1":"e197e9cdc2222ef3cf4bb8d20f99bcf5b8957ca1345df7b6a2389396df4603a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bindings/python/rapier-py-3d/src/pipeline.rs:3608-3626 | bindings/python/rapier-py-3d/src/pipeline.rs:3667-3683 | bindings/python/rapier-py-3d/src/pipeline.rs:3695-3712 | bindings/python/rapier-py-3d/src/pipeline.rs:3723-3739 \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":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf78b10e5d5b883b8c9b39af800244d14d2995ad8850510576de4691d7a402ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): examples2d/ccd2.rs:5-130 | examples2d/sensor2.rs:5-100 | examples3d/ccd3.rs:39-152 | examples3d/sensor3.rs:5-109 \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":"examples2d/ccd2.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e28b196d8067cdde2e7d3a946f0223224395686cb487f864c16a42254c0c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): examples2d/ccd2.rs:5-130 | examples2d/soft_force_tearing2.rs:9-197 | examples2d/soft_tearing2.rs:11-152 | examples3d/soft_tearing3.rs:11-173 \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":"examples2d/ccd2.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc999e0804d37d46cbab5000ca6a0645b81912100e009fc22af01c13cc788c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/data/arena.rs:925-949 | src/data/arena.rs:958-982 | src/data/arena.rs:1034-1058 | src/data/arena.rs:1067-1091 \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":"src/data/arena.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f16720ee88cd72f5b2a2c3b9178e101ab403d97f223fd79c95ff35fa4df564c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/dynamics/solver/contact_constraint/contact_constraint_element.rs:251-265 | src/dynamics/solver/contact_constraint/contact_constraint_element.rs:283-299 | src/dynamics/solver/contact_constraint/contact_constraint_element.rs:490-504 | src/dynamics/solver/contact_constraint/contact_constraint_element.rs:518-534 \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":"src/dynamics/solver/contact_constraint/contact_constraint_element.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"61929ae0d32685046fab927a4f08e8854bdc69587aafc06464bb00b86c4f9964"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:57-170 | src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:212-265 | src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:322-364 | src/geometry/narrow_phase/soft_contacts/soft_self_contacts.rs:403-559 \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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ebd10d62642f27190a343371c0be0058424a027f70bab61a1cdf0a165502f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:2302-2416 | bindings/python/rapier-py-3d/src/geometry.rs:4441-4533 \u2014 These two members are one piece of code written twice and then edited apart: 93 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":2302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b752fcb701b7c7d7f67fa71a7d4f572212f89dadda709b1d50830361c72d295"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): bindings/python/rapier-py-3d/src/loaders.rs:1958-2041 | bindings/python/rapier-py-3d/src/loaders.rs:2067-2153 \u2014 These two members are one piece of code written twice and then edited apart: 84 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/loaders.rs"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"91551e596653ee9deb86d53cc55b883d34faa06ba81cc792e118cbc8d3bea438"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): examples3d/keva3.rs:9-64 | examples3d/stress_tests/keva3.rs:11-65 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/keva3.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee1381b6f4076a6467994b13a001048963e5bd1ce813097650905635feb74fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): examples2d/one_way_platforms2.rs:58-124 | examples3d/one_way_platforms3.rs:58-122 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/one_way_platforms2.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa3573284a48ad3ba018f6c6a37c2ec358a1a8cb589bcf158dc39e51409c9e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:604-681 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:685-781 \u2014 These two members are one piece of code written twice and then edited apart: 78 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1563f06ec933d37a54715b80aefefa2026703e5e51b1da93c10915f5add3cff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): examples2d/b2d_joint_grid.rs:9-73 | examples3d/b3d_joint_grid.rs:9-62 \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":"examples2d/b2d_joint_grid.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"31736041725640892e3f8ae03102bf5650a29b7cdbddb75659734ef7abe224d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): examples3d/debug_chain_high_mass_ratio3.rs:4-76 | examples3d/debug_long_chain3.rs:4-67 \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":"examples3d/debug_chain_high_mass_ratio3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d076d01e64b265ee4ff3da1cbcb595f29dd1dbb74de6216f808241cfc6feecb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): bindings/c/src/soft_body.rs:6-35 | bindings/c/src/soft_body.rs:793-823 \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":"bindings/c/src/soft_body.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2dfb336a7691c768890edce615e55af9b83e39a7fc8c516f87179a30408bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 67\u002B corresponding lines): examples2d/heightfield2.rs:4-70 | examples2d/polyline2.rs:5-71 | examples2d/stress_tests/heightfield2.rs:4-70 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 67 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":"examples2d/heightfield2.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afa051f69a322d2041c0329ff04af00d664db222676dfaa40d9ac760167e18d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): bindings/python/rapier-testbed/rapier_testbed/_meshes.py:68-99 | bindings/python/rapier-testbed/rapier_testbed/_meshes.py:331-361 \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":"bindings/python/rapier-testbed/rapier_testbed/_meshes.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e63b3f6f6e8e4f457c64f293324b461e9083e12701d911d9866e7d48dc1972f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:683-735 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:783-829 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"e207d541b6a156639a0e80598f18120e4cb6a7e597672eddc592567cad3c4f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): examples2d/utils/character.rs:207-229 | examples3d/utils/character.rs:223-245 \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":"examples2d/utils/character.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a132d946d87452ba337f827e5946cded398d96d5ca54508c226fbaa7adcea7cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): examples2d/utils/character.rs:131-174 | examples3d/utils/character.rs:147-190 \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":"examples2d/utils/character.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"361b49ba4d2a0e4399b7727f267caa2384bf501cf5dcbb4f87104e10fd6a7dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): src/dynamics/solver/contact_constraint/contact_constraint_element.rs:383-420 | src/dynamics/solver/contact_constraint/contact_constraint_element.rs:552-596 \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":"src/dynamics/solver/contact_constraint/contact_constraint_element.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5331e36e8f5d68396751986d11d9ea7c079d7f8b06a0d4ebd0c421e35af5d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): examples3d/joints3.rs:30-63 | examples3d/joints3.rs:70-124 \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":"examples3d/joints3.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9788da407c3f13da0bf91d6f141be9c6b2919bfd29d55f4037b973f3671aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): bindings/python/rapier-py-3d/src/loaders.rs:831-880 | bindings/python/rapier-py-3d/src/loaders.rs:905-959 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/loaders.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"820d4f5986c69317b1881a0f23b06320cff16458b8e8e184b3e229f51e6466b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): examples3d/joints3.rs:406-464 | examples3d/joints3.rs:471-531 \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":"examples3d/joints3.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"95354e10464dacc5c3e40a4772a403eaa7a5a9b68d5246a88d83d0e2f4dee9e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): src/dynamics/solver/contact_constraint/generic_contact_constraint.rs:603-646 | src/dynamics/solver/contact_constraint/generic_contact_constraint.rs:655-702 \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":"src/dynamics/solver/contact_constraint/generic_contact_constraint.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc7025bb88fbdff76acf8b0f7f9d899520076958b3b8ef381e9e18e8d5a96ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 48\u002B corresponding lines): src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs:24-76 | src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs:86-145 | src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs:184-231 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e448d55f0a3364cf01eb1541c7b01572c44485f1ef1e0cda217bcf93f486c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 51\u002B corresponding lines): examples3d/debug_articulations3.rs:4-55 | examples3d/joints3.rs:254-306 | examples3d/joints3.rs:308-358 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 51 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":"examples3d/debug_articulations3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb55f945793f17fddeefea912c1f54b51cb79a5586d7b0bacba5e0b92c6df26a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): examples3d/debug_multibody_ang_motor_pos3.rs:4-34 | examples3d/locked_rotations3.rs:7-57 \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":"examples3d/debug_multibody_ang_motor_pos3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b909a6d6c984da23bec969bd3605e65f7003539654184d7a9a435c0f7e76ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): examples2d/restitution2.rs:4-45 | examples3d/restitution3.rs:4-48 \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":"examples2d/restitution2.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bf68a7f4f531f5a441689653985ab2932113deb4663eedee238110b46ef85c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): examples2d/damping2.rs:4-46 | examples3d/damping3.rs:4-46 \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":"examples2d/damping2.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e216290233dac3681b2b3dd80d41467a0d1d6383bc429103e8dfc7d66a8eecc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 53\u002B corresponding lines): examples2d/pyramid2.rs:4-56 | examples2d/stress_tests/pyramid2.rs:4-56 | examples2d/stress_tests/vertical_stacks2.rs:4-63 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"examples2d/pyramid2.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d4ce6e93a8f319b5fec5e5a1552642d295fb03923f76bd49d36c38fdc8d5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): examples2d/b2d_large_pyramid.rs:8-44 | examples2d/s2d_far_pyramid.rs:4-52 | examples3d/b3d_large_pyramid.rs:8-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 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/b2d_large_pyramid.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da38b1ac07f69310731e3e8bae7691213cceef84c72dbc7ed860c4c58809ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): examples2d/b2d_many_pyramids.rs:27-75 | examples3d/b3d_many_pyramids.rs:30-69 \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":"examples2d/b2d_many_pyramids.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b289c6fffc3088c7eb3e6e72aa6e54813fcc24e95d2a8b01a0de360e95dd92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py:203-234 | bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py:240-271 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/joint_ball3.py:12-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 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6c454045dd0750a10be469e12748467c915a5b19b535dfb57ea1518dcc38ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): bindings/python/rapier-py-3d/src/math.rs:783-803 | bindings/python/rapier-py-3d/src/math.rs:1006-1026 \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":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e950225320cb15f8d59188260fb865dbbdf324c934cba943cba1df94652d62e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/rapier3d-mjcf/src/loader/conversion.rs:737-779 | crates/rapier3d-mjcf/src/loader/conversion.rs:781-830 \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/rapier3d-mjcf/src/loader/conversion.rs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"152dfdccf4e067b7712b92ddbf4d9c09e2d08d9b08c0639f6cae11ed533682b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): examples3d/mjcf3.rs:5-53 | examples3d/urdf3.rs:5-54 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/mjcf3.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"140ebed47cd3c0f4ce07a78799993dbcdcb56a899497bd95753808a97cf2c3ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bindings/python/rapier-py-3d/src/math.rs:746-762 | bindings/python/rapier-py-3d/src/math.rs:964-980 \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":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"b032c2580ca452c12820be384dc2b0db60e9b5e2ecd3ff22e5fc38c270fc6097"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): bindings/typescript/src/control/pid_controller.rs:32-62 | bindings/typescript/src/control/pid_controller.rs:64-94 | bindings/typescript/src/control/pid_controller.rs:96-126 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/control/pid_controller.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec543457f5ecd66c2a80d0df1074d03cf0392885253d42ea95f7cad30248e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): bindings/c/src/joint_extras.rs:196-221 | bindings/c/src/joints.rs:334-354 \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":"bindings/c/src/joint_extras.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd848092d32a5dc0c2307865448cf58e07522b926fc67aa929b9b2735e52b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:466-490 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:535-554 \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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7df19d5bea288531b52a8ff865b44034b6143ee464244bd876de18b1ccd1174"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/rapier3d-urdf/src/lib.rs:539-576 | crates/rapier3d-urdf/src/lib.rs:590-640 \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/rapier3d-urdf/src/lib.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30cba28716275265a3074aab0cfb39160a2ffcb23ed7624a63c27f36841cce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): examples3d/debug_friction3.rs:4-43 | examples3d/debug_infinite_fall3.rs:4-46 \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":"examples3d/debug_friction3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56b7d0e150931b4249f8409c27093e27cec4126b66642bdb05fb18bd3dad039"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): bindings/c/src/queries_extras.rs:317-340 | bindings/c/src/queries_extras.rs:378-408 \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":"bindings/c/src/queries_extras.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d30725bbc9be06681832c3367b56258ac1a10d110087aab8246c94f0515c07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): bindings/typescript/src/dynamics/rigid_body_set.rs:102-140 | bindings/typescript/src/dynamics/rigid_body_set.rs:168-199 \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":"bindings/typescript/src/dynamics/rigid_body_set.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27ab97686e99ed61d2988c5d06c31809d0b1cf6e8ea7811a064e072f1c6f2f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): examples3d/debug_boxes3.rs:4-45 | examples3d/debug_pop3.rs:4-45 | examples3d/debug_triangle3.rs:4-41 \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":"examples3d/debug_boxes3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcedbabb3ee3206220317ae35eb0a77939fd96117aae02d2ae8539d0e2ed3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): bindings/c/src/extra.rs:502-527 | bindings/c/src/joints.rs:481-504 \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":"bindings/c/src/extra.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e674c56aa664e9aaecbae2ba555b16f9acb26a61d4fdee0e1498ef0d81c91f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): examples2d/debug_vertical_column2.rs:4-48 | examples2d/inv_pyramid2.rs:4-49 \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":"examples2d/debug_vertical_column2.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cf9bf0fd1d04cdcb04cf80a4d1a34bedfab5fcb2a9c5c8196a643d50dbd24a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): bindings/python/rapier-testbed/rapier_testbed/examples3/mjcf3.py:45-83 | bindings/python/rapier-testbed/rapier_testbed/examples3/urdf3.py:42-74 \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":"bindings/python/rapier-testbed/rapier_testbed/examples3/mjcf3.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3824dcb7a3a9049e00bf50f9fddf84bac78787ef370ae789073fbb9d85bf1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): bindings/typescript/src/geometry/shape.rs:359-382 | bindings/typescript/src/geometry/shape.rs:384-407 | bindings/typescript/src/geometry/shape.rs:409-439 \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":"bindings/typescript/src/geometry/shape.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"549f1de00d97d10f4ec6274d44718b71d64fcc0f689bd6b581fe251639904ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src_testbed/graphics.rs:46-65 | src_testbed/graphics.rs:69-86 \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":"src_testbed/graphics.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7591ec3382150baa4aab12fc43feb792372f843043d7bc153bac5bb2c84a866a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): bindings/python/rapier-py-3d/src/loaders.rs:387-406 | bindings/python/rapier-py-3d/src/loaders.rs:1233-1254 \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":"bindings/python/rapier-py-3d/src/loaders.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"a380f44093153c0e0110e0c26f2327d02ae00c9663534602086d6b0707a4c0b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): bindings/python/rapier-py-3d/src/joints.rs:2207-2228 | bindings/python/rapier-py-3d/src/joints.rs:2232-2249 \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":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ce593908c1b23d3f4cda047b20ab5e00713e12d66de8f5d9f145645e12ab82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:557-597 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:633-678 \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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"e855f3899aed11a130427f34a7073e6276efca2c738eaa01eefc2d82334c604a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): src/dynamics/solver/contact_constraint/generic_contact_constraint_element.rs:460-508 | src/dynamics/solver/contact_constraint/generic_contact_constraint_element.rs:532-583 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/generic_contact_constraint_element.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33b33b5b499a628b382815730459cee15c26eefaefe461f9f881fcd888f96b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): examples2d/one_way_platforms2.rs:10-55 | examples3d/one_way_platforms3.rs:10-55 \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":"examples2d/one_way_platforms2.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e532190461957481d1da1f59e426828795181d5ec31152badc56bda75cfcd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): bindings/c/src/scoped_access.rs:383-404 | bindings/c/src/scoped_access.rs:911-932 | bindings/c/src/scoped_access.rs:1004-1025 \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":"bindings/c/src/scoped_access.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e141efb4df52b54d53bf1303e0499498655ad2fb354301a9ca27bfcbfd491f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): bindings/c/src/read_access.rs:266-286 | bindings/c/src/scoped_access.rs:1463-1487 \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":"bindings/c/src/read_access.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e24791a9763438e6ab95e302cb62d2f32879d6986543e849e5c99bd324e781"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): bindings/c/src/robotics.rs:244-263 | bindings/c/src/robotics.rs:504-529 \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":"bindings/c/src/robotics.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a5c8c7bd7e4109a2b66b0156eb05e92a6e760ba6b2b88536bf926e090731a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): bindings/c/src/soft_body.rs:454-473 | bindings/c/src/soft_body.rs:1172-1195 \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":"bindings/c/src/soft_body.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"24955505360bab50543bdeec8dd5fe824e190acd271cf59a7b2edc143efb9398"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): bindings/c/src/pipeline.rs:1233-1251 | bindings/c/src/pipeline.rs:1261-1279 \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":"bindings/c/src/pipeline.rs"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb087dba560763f7c9ecfd0078eddffc64a0699e1a89caa69b4c41b0385592ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): bindings/c/src/robotics.rs:170-196 | bindings/c/src/robotics.rs:205-233 | bindings/c/src/robotics.rs:420-446 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/robotics.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da693462c3631b7a17f236d594ef6479679a9677ee87ba7119fd658b491294c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): bindings/typescript/src/pipeline/physics_hooks.rs:22-45 | bindings/typescript/src/pipeline/physics_hooks.rs:47-67 \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":"bindings/typescript/src/pipeline/physics_hooks.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"94726b8bc8c7ef97fe8578757268b27a4d7222301cd8da6c6c49eca03acd51b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): bindings/c/src/extra.rs:342-360 | bindings/c/src/extra.rs:450-468 \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":"bindings/c/src/extra.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abdeec1c79a4e71fa0ee711fd0a7b13843edf892ce59b6e675dd0dbae03c7fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): bindings/typescript/src/geometry/contact.rs:15-29 | bindings/typescript/src/geometry/contact.rs:35-53 \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":"bindings/typescript/src/geometry/contact.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb22ce9f53dff01d9356e2e7ca32242b261879795d5789f0533fac4aae612111"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): examples2d/b2d_rain.rs:28-48 | examples3d/b3d_rain.rs:28-56 \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":"examples2d/b2d_rain.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"57390342a4f316afae113ad63c439b72cd9d584cc522502748d622b1813fe113"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bindings/python/rapier-testbed/rapier_testbed/examples3/ccd3.py:18-36 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/stacks3.py:42-54 \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":"bindings/python/rapier-testbed/rapier_testbed/examples3/ccd3.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3555746333ad21fad5a6873c9267171be96d1833b7fb0502d03152aa64dcc21e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src/dynamics/island_manager/persistent.rs:573-617 | src/dynamics/island_manager/persistent.rs:656-687 \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":"src/dynamics/island_manager/persistent.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51c01fb3696fc696eb4da844eea0811182210e11c51044a0148531854100db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): bindings/bevy_rapier/src/dynamics/joint.rs:165-180 | bindings/c/src/joint_extras.rs:20-35 \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":"bindings/bevy_rapier/src/dynamics/joint.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bd743a2f6fa78f825ba9b7abc9719c0b4564830c013b3404e9a322cf4d391c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bindings/python/rapier-py-3d/src/controllers.rs:1204-1220 | bindings/python/rapier-py-3d/src/controllers.rs:1352-1374 \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":"bindings/python/rapier-py-3d/src/controllers.rs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd297bf3230d242756465df3663d5bc362725ecfb3f1202f178c86444f10804f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/dynamics/solver/solver_body.rs:199-221 | src/dynamics/solver/solver_body.rs:304-335 \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":"src/dynamics/solver/solver_body.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"446db909ddf4c9f790495ded14de12f9ac880a62e5f83d8873621a23564419e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): bindings/c/src/queries_extras.rs:419-440 | bindings/c/src/queries_extras.rs:451-476 \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":"bindings/c/src/queries_extras.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b06e8d3ac030edb35c98b219b9c2d951517fe8c74630c1f4ee49601e0faa59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 19\u002B corresponding lines): bindings/c/src/handle_access.rs:1108-1126 | bindings/c/src/scoped_access.rs:725-743 | bindings/c/src/scoped_access.rs:1097-1116 | bindings/c/src/scoped_access.rs:1124-1143 | bindings/c/src/scoped_access.rs:1225-1244 | bindings/c/src/soft_extras.rs:22-40 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/handle_access.rs"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc6a27038b415be7d7bc1891dfbd617fbc20b3fb7dc70ec0af69c6bda2283ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): bindings/c/src/scoped_access.rs:64-81 | bindings/c/src/soft_extras.rs:59-76 \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":"bindings/c/src/scoped_access.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"55047db63f17d801c68160ddd088bfaba39ea3f90904b5c8525e066b98bfca04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): bindings/python/rapier-py-3d/src/events_hooks.rs:879-905 | bindings/python/rapier-py-3d/src/events_hooks.rs:943-965 \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":"bindings/python/rapier-py-3d/src/events_hooks.rs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"171782b2911706a5ecbd208f1832b83ba5034e740a094bdd00c5c98a863d7496"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): bindings/c/src/geometry.rs:18-37 | bindings/c/src/geometry.rs:45-65 \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":"bindings/c/src/geometry.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2aede53092072f780b77ed639dc0cd1e90103040724101412201d64774df4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): bindings/c/src/pipeline.rs:943-966 | bindings/c/src/pipeline.rs:967-982 \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":"bindings/c/src/pipeline.rs"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"f990efd4bd08211eaf353b13cc99e391ae9fd0c5058bbdaac4e95b6839152ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/dynamics/soft_body/soft_body_builder/soft_body_builder_mesh_helpers.rs:197-214 | src/dynamics/soft_body/soft_body_builder/soft_body_builder_mesh_helpers.rs:217-241 \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":"src/dynamics/soft_body/soft_body_builder/soft_body_builder_mesh_helpers.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bb0e93b69879e25c557c2cd025702bfd5e2fec8643f5b4afb96dbdf75616d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): bindings/c/src/control.rs:1020-1038 | bindings/c/src/control.rs:1085-1104 \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":"bindings/c/src/control.rs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7408a864452e5acb322a715b286b09936f5bfaa7aac250103890d594bf62631"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): bindings/c/src/handle_access.rs:1236-1253 | bindings/c/src/scoped_access.rs:490-507 | bindings/c/src/scoped_access.rs:642-661 \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":"bindings/c/src/handle_access.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8a6a94da8a33f4c772c292cec288714aec83f21f4010257f22399da41d8c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/dynamics/soft_body/soft_body_cluster.rs:228-247 | src/dynamics/soft_body/soft_body_cluster.rs:255-274 \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":"src/dynamics/soft_body/soft_body_cluster.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"096dce35bbe72530112386c85c71b0d1f160295352da16ec0c82ab3669b37bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/pipeline/physics_world.rs:742-762 | src/pipeline/query_pipeline.rs:555-575 \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":"src/pipeline/physics_world.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e54a0cbd79e52814cd468d950aebf85243f23b24cfebfb83a3e13d7a159a289"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 16\u002B corresponding lines): bindings/c/src/handle_access.rs:1210-1225 | bindings/c/src/scoped_access.rs:570-585 | bindings/c/src/scoped_access.rs:593-608 | bindings/c/src/scoped_access.rs:616-631 | bindings/c/src/scoped_access.rs:1152-1167 | bindings/c/src/soft_extras.rs:268-283 | bindings/c/src/soft_extras.rs:301-316 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/handle_access.rs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"98279bf7fb8d0afd435f6f265df9a87a33a7993c271e5a1a114e356dcd3c02a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 19\u002B corresponding lines): bindings/c/src/scoped_access.rs:754-774 | bindings/c/src/scoped_access.rs:943-963 | bindings/c/src/scoped_access.rs:974-994 | bindings/c/src/scoped_access.rs:1036-1057 | bindings/c/src/scoped_access.rs:1068-1089 | bindings/c/src/soft_extras.rs:154-172 | bindings/c/src/soft_extras.rs:206-224 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/scoped_access.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7b9d2cc8b9090bae4160b9f0242ed1f8f41dddb739fd90cbe3bc513d10c34d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): examples2d/utils/character.rs:93-123 | examples3d/utils/character.rs:108-139 \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":"examples2d/utils/character.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"72811322dc10ae1a0acf43e6d1f1f8b062da950f800354f12e1d777c2b3b45d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): bindings/c/src/extra.rs:318-333 | bindings/c/src/extra.rs:370-393 | bindings/c/src/joints.rs:265-280 | bindings/c/src/joints.rs:314-329 | bindings/c/src/objects.rs:307-321 \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":"bindings/c/src/extra.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24f47e758e4b9256089edd7c2fae78126eb40b25dcdd68dd72940c610414ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bindings/c/src/robotics.rs:67-83 | bindings/c/src/robotics.rs:317-334 \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":"bindings/c/src/robotics.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fa9ca2bcb5b298dba22af74214ba3a056b340c597bef74d43eaef694bf8136"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): bindings/typescript/src/control/pid_controller.rs:214-234 | bindings/typescript/src/control/pid_controller.rs:267-285 \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":"bindings/typescript/src/control/pid_controller.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49f48183608b58f37c2b6e1089c912aa3bcbc2df170b4907ecb5ef289df101c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): bindings/c/src/handle_access.rs:1358-1379 | bindings/c/src/joint_extras.rs:44-58 | bindings/c/src/joint_extras.rs:63-77 \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":"bindings/c/src/handle_access.rs"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5fd997f22ff798ef4fb46ea6a1ef8a33802dcf060cefe9c2cde6e7da9b0cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): bindings/c/src/extra.rs:478-493 | bindings/c/src/joint_extras.rs:127-142 | bindings/c/src/joints.rs:391-405 \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":"bindings/c/src/extra.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c821f533a4f4d2e394604a062d869100ae182917e89411088c2c55586aaacdae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): bindings/c/src/world_extras.rs:77-94 | bindings/c/src/world_extras.rs:107-124 | bindings/c/src/world_extras.rs:137-154 \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":"bindings/c/src/world_extras.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7d9d3cf8c5f4e2e721b5a31238a7fa3645638e40f818a98ab28a3e23af3ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): examples2d/b2d_rain.rs:72-91 | examples3d/b3d_rain.rs:80-99 \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":"examples2d/b2d_rain.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a0afb7889a95c5f28aa3b9eb818f9ad9c68864c4d14b0d6704fd7c02c4941d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/dynamics/solver/soft_constraint/soft_element_constraint/soft_elastic_constraint.rs:41-59 | src/dynamics/solver/soft_constraint/soft_element_constraint/soft_elastic_constraint.rs:103-114 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_element_constraint/soft_elastic_constraint.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8daa3cde41e52d18f042f22740b5dbd6dcc0e04981d50c24698c601341898af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src_testbed/testbed/hover.rs:17-38 | src_testbed/testbed/hover.rs:45-65 \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":"src_testbed/testbed/hover.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9402a5ebabaf20ef45e1481e95b580c0c9717a8db66f1517e23673205e8008f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): bindings/python/rapier-py-3d/src/joints.rs:3331-3341 | bindings/python/rapier-py-3d/src/joints.rs:3345-3355 \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":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":3331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01271c211241bf8e21087a313f412f20d5f0ce34f3d62e64de67e7f2a7aa364"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): bindings/c/src/pipeline.rs:2186-2210 | bindings/c/src/pipeline.rs:2217-2239 \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":"bindings/c/src/pipeline.rs"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"26965ba6bf5c1e6d7a8902ad0d0278ad54769530ece364e3b0913cd4c366baf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): examples2d/b2d_many_pyramids.rs:14-25 | examples3d/b3d_many_pyramids.rs:14-28 \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":"examples2d/b2d_many_pyramids.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c6544a6b36a27dd886fb4edf60095c4704e27abb9839ab5a5808d8c6754999"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/dynamics/solver/manifold_store.rs:100-123 | src/dynamics/solver/manifold_store.rs:146-168 \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":"src/dynamics/solver/manifold_store.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cd94202fe4d3d82d33a92b627b9bc1ff265281a703b5690dfa17afb44bef90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bindings/c/src/robotics.rs:696-712 | bindings/c/src/robotics.rs:739-760 \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":"bindings/c/src/robotics.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec6eb9b59c3fa6b5feafacaf5e93b45d6d1b394fd19dfd3e1bdb876a2eb0282"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/dynamics/soft_body/soft_body_set/soft_body_set_proxies.rs:115-134 | src/dynamics/soft_body/soft_body_set/soft_body_set_proxies.rs:149-163 \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":"src/dynamics/soft_body/soft_body_set/soft_body_set_proxies.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"483cc67f795e736f82e302707adc5c3f4efaa1902b2d5ed50f5aa138bf7eab0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): src/pipeline/physics_world.rs:691-707 | src/pipeline/physics_world.rs:716-731 | src/pipeline/physics_world.rs:775-788 \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":"src/pipeline/physics_world.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"84791db4332854e58e8566f024abc92e220f2ae94c3499f27e214f0d4720930a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): bindings/c/src/robotics.rs:45-64 | bindings/c/src/robotics.rs:294-314 \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":"bindings/c/src/robotics.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"35929b13f1f261e47e182b936955411f6b207de9c4372277ca211dae763aa61f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/dynamics/rigid_body_set.rs:337-350 | src/geometry/collider_set.rs:515-528 \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":"src/dynamics/rigid_body_set.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"d849d509b3fcbe6216be992d95a1050b696c14eb8ca7b60df3810c0fb4461d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): bindings/c/src/robotics.rs:115-125 | bindings/c/src/robotics.rs:365-375 \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":"bindings/c/src/robotics.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"666d5e9d94a3c69d5c2d35c88d5924f1cbc7c8c7a42b69e53e784c075e21b12a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): bindings/c/src/extra.rs:172-189 | bindings/c/src/geometry.rs:170-183 | bindings/c/src/geometry.rs:760-773 | bindings/c/src/geometry.rs:780-793 \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":"bindings/c/src/extra.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7329d9ba99343f1da949119332613910aa81e065638b60faf365b4603e29bb2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/dynamics/rigid_body.rs:402-418 | src/dynamics/rigid_body.rs:428-453 \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":"src/dynamics/rigid_body.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28b05da1d8e72f77ceffc8b72a0e7b99b8d93b919620866e6b4cba091667c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): bindings/c/src/handle_access.rs:125-140 | bindings/c/src/scoped_access.rs:1705-1720 \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":"bindings/c/src/handle_access.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b65496dabe1145a4e38a0985e7a7a2d75adf109c24b3cbfcc31678e3d422630"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): bindings/c/src/scoped_access.rs:3102-3117 | bindings/c/src/scoped_access.rs:3137-3152 \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":"bindings/c/src/scoped_access.rs"},"region":{"startLine":3102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fad4297ca79beda2ead159e631501656b80aff768432ce268a09e619629a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): bindings/c/src/handle_access.rs:227-242 | bindings/c/src/scoped_access.rs:3170-3185 \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":"bindings/c/src/handle_access.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aed357ed33ec16a682df55ec14b4c349276e56e30294841f581704ce40dff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): bindings/c/src/scoped_access.rs:1571-1586 | bindings/c/src/scoped_access.rs:3067-3082 \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":"bindings/c/src/scoped_access.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fa84f3d131c772c4411a826a9676fa33e93a97f1f1627c9b880b0b3cc15193"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/dynamics/solver/joint_constraint/generic_joint_constraint.rs:308-320 | src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs:380-388 \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":"src/dynamics/solver/joint_constraint/generic_joint_constraint.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67c011e42643f12e950a55584850663e91ca807e980eb0a2f36af93bb648d43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): bindings/python/rapier-py-3d/src/joints.rs:3426-3441 | bindings/python/rapier-py-3d/src/joints.rs:3454-3469 | bindings/python/rapier-py-3d/src/joints.rs:3562-3577 \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":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":3426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d738c2fb81d72e3ca1a5900cae45fb1a9a257833fb55b6258cd6eb210e65eff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): bindings/c/src/scoped_access.rs:2035-2050 | bindings/c/src/soft_extras.rs:350-365 \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":"bindings/c/src/scoped_access.rs"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80bc8d5fb97f07d6acc9e6ecc084102b54af0bf143b1d6edd6ce427cc816fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bindings/python/rapier-py-3d/src/soft_body.rs:3252-3263 | bindings/python/rapier-py-3d/src/soft_body.rs:3266-3279 \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":"bindings/python/rapier-py-3d/src/soft_body.rs"},"region":{"startLine":3252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7feb28ee55f751c4d0c2978e3035786ddfd48373227f085accabcdabf6dc314"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): bindings/bevy_rapier/bevy_rapier_benches3d/src/pyramids.rs:6-24 | examples3d/stress_tests/many_pyramids3.rs:10-27 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/bevy_rapier_benches3d/src/pyramids.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8329aa48fd83d508ab32dce4abdf6dbffc8ec48cbc37a6d022c995fff72e999f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bindings/python/rapier-py-3d/src/geometry.rs:2527-2536 | bindings/python/rapier-py-3d/src/geometry.rs:4026-4035 \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":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":2527}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8999449e6ea35a84757cc2205343bba404a873fe46837ff358931b625814e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bindings/typescript/src/geometry/narrow_phase.rs:284-295 | bindings/typescript/src/geometry/narrow_phase.rs:303-315 \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":"bindings/typescript/src/geometry/narrow_phase.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6a794b8cecae2150510d84a4a22c58aabe78b1eafb11b32ac1eb0fa6ed0df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bindings/python/rapier-py-3d/src/events_hooks.rs:1306-1322 | bindings/python/rapier-py-3d/src/events_hooks.rs:1330-1346 \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":"bindings/python/rapier-py-3d/src/events_hooks.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b947ad49bd68a8171b30dd52fbb04eefe01f7679a698c9e495764f017341b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): bindings/python/rapier-py-3d/src/loaders.rs:353-370 | bindings/python/rapier-py-3d/src/loaders.rs:1198-1217 \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":"bindings/python/rapier-py-3d/src/loaders.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d57936a4b1dc740ee2df6e89170b253a3b5397bc3b7e23bb913e3a5f5de362"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:2889-2902 | bindings/python/rapier-py-3d/src/geometry.rs:4721-4731 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":2889}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc445dd2f76d0f30c1a79a409ac282d63d108e47bb8568e3d3ac6129aa9ff36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/geometry/interaction_graph.rs:119-127 | src/geometry/interaction_graph.rs:137-145 \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":"src/geometry/interaction_graph.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d086f988c1aa3749c9c20065549372679863f9c9b718fa01572e44ed0f0162"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): bindings/python/rapier-py-3d/src/joints.rs:1085-1098 | bindings/python/rapier-py-3d/src/joints.rs:1267-1280 \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":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76dccba1debb5ca4948c12a9f70c79f6cd2373a13e9e5aa702e9db89badf6de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): bindings/bevy_rapier/src/plugin/context/mod.rs:1149-1168 | bindings/bevy_rapier/src/plugin/context/mod.rs:1188-1204 \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":"bindings/bevy_rapier/src/plugin/context/mod.rs"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb443ab82b4260a3ed24e5e4fa3f12f3f9fb0e82fc72be12dc7d03807babca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:1643-1655 | bindings/python/rapier-py-3d/src/geometry.rs:3542-3554 | bindings/python/rapier-py-3d/src/joints.rs:2844-2856 | bindings/python/rapier-py-3d/src/soft_body.rs:2479-2494 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"31582199d461839275c53410c71f4cc4940ab48854faafe39bc2bb955b65c60a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/control/pid_controller.rs:197-209 | src/control/pid_controller.rs:213-222 \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":"src/control/pid_controller.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de9c4fe0440f377c31c3d69c698de8c9f3592079525202b2aa77b9d5c5e5cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 15\u002B corresponding lines): bindings/c/src/geometry_views.rs:12-26 | bindings/c/src/geometry_views.rs:57-72 | bindings/c/src/geometry_views.rs:127-141 | bindings/c/src/geometry_views.rs:150-164 | bindings/c/src/geometry_views.rs:174-188 | bindings/c/src/geometry_views.rs:238-253 \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":"bindings/c/src/geometry_views.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"714347f68b0a45da0a840415fc6af33d280904790888647b1b1daca4b0bcf1d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): bindings/c/src/pipeline.rs:23-35 | bindings/c/src/pipeline.rs:93-105 | bindings/c/src/pipeline.rs:2122-2134 \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":"bindings/c/src/pipeline.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36faa163d5565122daf3ea9cd900eb3a59ef8d21fda3d4893f17bc126fd03da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src_testbed/graphics/graphics_soft_bodies.rs:145-160 | src_testbed/graphics/graphics_soft_bodies.rs:391-405 \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":"src_testbed/graphics/graphics_soft_bodies.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91b28fe62f01d7f5f7a7f6ca476bb5f6709836d10e1979b63eaee4e83449087"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bindings/typescript/src/geometry/narrow_phase.rs:17-29 | bindings/typescript/src/geometry/narrow_phase.rs:39-53 \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":"bindings/typescript/src/geometry/narrow_phase.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7d0f3e8c2f9628d44fe3a916f3934230e62510d1922caf1a7c6e47e0f5e17e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): examples3d/dynamic_trimesh3.rs:138-158 | examples3d/soft_trimesh3.rs:285-303 | examples3d/voxels3.rs:318-339 \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":"examples3d/dynamic_trimesh3.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e6d599d8905e7ae3f71f3cabedd6691beef72bb1e606f5051413759aee5aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/data/arena.rs:162-177 | src/data/arena.rs:646-663 \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":"src/data/arena.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ff6b8c48ed42b7a0d16fb3b3c4d3a6df935d4d8613936fa2f06b44adfe438d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/dynamics/joint/multibody_joint/multibody.rs:1782-1798 | src/dynamics/joint/multibody_joint/multibody.rs:1804-1821 \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":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0743e8ac8412087f417bc9f7bec61552267c70b2990c2146f837ef6e4a3612"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): src/pipeline/query_pipeline.rs:298-315 | src/pipeline/query_pipeline.rs:387-401 | src/pipeline/query_pipeline.rs:428-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 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":"src/pipeline/query_pipeline.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b98eb5f4d238e2744fcbe1367a9478d45829ec5266cb15bfd829a0df3551219"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bindings/bevy_rapier/src/plugin/context/mod.rs:2101-2114 | bindings/bevy_rapier/src/plugin/context/mod.rs:2132-2144 \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":"bindings/bevy_rapier/src/plugin/context/mod.rs"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eef15f92bebb08a410b10033575ecd3902b0f8378571583a58c0e8daf7d833e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): bindings/c/src/handle_access.rs:1298-1317 | bindings/c/src/objects.rs:130-146 | bindings/c/src/scoped_access.rs:2709-2728 \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":"bindings/c/src/handle_access.rs"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88960e80d8053277836a85cf871f5ce92774b46bcd9725db562c136effb895f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): src/dynamics/rigid_body.rs:1120-1141 | src/dynamics/rigid_body.rs:1153-1172 | src/dynamics/rigid_body.rs:1180-1199 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/rigid_body.rs"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c01b421c5ae34ff1d1b793c047529860094925dec1f1fe9936bc8e8b1679dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bindings/bevy_rapier/src/plugin/narrow_phase.rs:47-64 | bindings/bevy_rapier/src/plugin/narrow_phase.rs:141-152 \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":"bindings/bevy_rapier/src/plugin/narrow_phase.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"398f20a0e4e42b3b37e6721207af3920412f23f9e0f1c662245123902a2d5637"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bindings/c/src/soft_body.rs:1007-1014 | bindings/c/src/soft_body.rs:1055-1066 \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":"bindings/c/src/soft_body.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0153bee8f87486bd43c3d7359fe1f881abddb4c260fd97409c086715bf63c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): bindings/python/rapier-py-3d/src/controllers.rs:1296-1304 | bindings/python/rapier-py-3d/src/controllers.rs:1491-1499 \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":"bindings/python/rapier-py-3d/src/controllers.rs"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd59e8db9d9751ae5dfda98237b7fade801fbeec3c980cc51d06b7316115955f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): bindings/typescript/src/geometry/shape.rs:766-776 | bindings/typescript/src/geometry/shape.rs:848-855 | bindings/typescript/src/geometry/shape.rs:862-869 \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":"bindings/typescript/src/geometry/shape.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71ac6b76dca87d944626026e942913755dc37148cf9978ed997359a8b852183"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:1628-1636 | bindings/python/rapier-py-3d/src/geometry.rs:3530-3538 | bindings/python/rapier-py-3d/src/soft_body.rs:2469-2477 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ebf060ad5d8102779af85b320c271d26d2d2c61fbd7926682d70a528f91655"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bindings/python/rapier-py-3d/src/pipeline.rs:1127-1135 | bindings/python/rapier-py-3d/src/pipeline.rs:3354-3361 \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":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2056bc66038180f4d8014af3d1c2ef13dc8947ca729a744cc71f3a03a03c99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bindings/bevy_rapier/src/render/mod.rs:378-385 | bindings/bevy_rapier/src/render/mod.rs:388-395 \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":"bindings/bevy_rapier/src/render/mod.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7a9302793f13e15ddcbd47168cba65b603c7ffa2dbca61d9ceb6094910c681"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): bindings/c/src/robotics.rs:600-613 | bindings/c/src/robotics.rs:942-956 \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":"bindings/c/src/robotics.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22db415597b2be01a34bf6f77c98f144f68aed5baead319a83c9e2261f5030f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): bindings/python/rapier-py-3d/src/loaders.rs:712-718 | bindings/python/rapier-py-3d/src/loaders.rs:737-745 | bindings/python/rapier-py-3d/src/loaders.rs:1815-1820 | bindings/python/rapier-py-3d/src/loaders.rs:1838-1844 \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":"bindings/python/rapier-py-3d/src/loaders.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4ee8b8f9310220d15fdccd039c3ed1859b77ae205e1e0db62ae229f69af4c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): bindings/python/rapier-py-3d/src/soft_body.rs:2710-2724 | bindings/python/rapier-py-3d/src/soft_body.rs:2739-2753 \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":"bindings/python/rapier-py-3d/src/soft_body.rs"},"region":{"startLine":2710}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f7856dfcc0500667f16292c85eb08bb866b3a5442dd815e32899cca890b898"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): bindings/typescript/src/dynamics/joint.rs:157-167 | bindings/typescript/src/dynamics/joint.rs:326-336 \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":"bindings/typescript/src/dynamics/joint.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"565ad9d424d0cd1c6c52dcc1b57528aac0f0830c2387c008c938b93ab7a16081"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs:360-368 | src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs:370-378 \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":"src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b6bf65d3cec29fdd034db5b23a68ccdea6c342a5a33222bf576983a500701c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bindings/python/rapier-py-3d/src/math.rs:266-275 | bindings/python/rapier-py-3d/src/math.rs:463-472 \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":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"66897484c7bd6d7d5fe906c5dd40b7fbc2e58abe794eb138f2e962a11505f253"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bindings/c/src/handle_access.rs:487-499 | bindings/c/src/handle_access.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":"bindings/c/src/handle_access.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"8419ab1e6720aeb992e71320475a303e48e774461152757fc9a21d626d8d189a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): bindings/python/rapier-py-3d/src/math.rs:234-244 | bindings/python/rapier-py-3d/src/math.rs:431-441 \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":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf811804b7ad2b027f9eb10e7f1e793c198b4a20196d8aa3f63eaa2df34e1028"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 11\u002B corresponding lines): bindings/c/src/soft_body.rs:869-879 | bindings/c/src/soft_body.rs:884-894 | bindings/c/src/soft_body.rs:899-909 | bindings/c/src/soft_body.rs:914-924 | bindings/c/src/soft_body.rs:929-939 | bindings/c/src/soft_body.rs:1135-1150 | bindings/c/src/soft_extras.rs:82-96 \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":"bindings/c/src/soft_body.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0cb08b779574a0b06c1d2288e3e014379941a4679c66e5e583ae8d0a83a20d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): bindings/c/src/soft_recipes.rs:230-238 | bindings/c/src/soft_recipes.rs:247-255 \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":"bindings/c/src/soft_recipes.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0185b4613ca05301f2a404d9f231ad28f0af99037392cf9679a0f00ed3ddc47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/rapier3d-mjcf/src/loader/options.rs:141-159 | crates/rapier3d-urdf/src/lib.rs:185-200 \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/rapier3d-mjcf/src/loader/options.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b13c2de0f80c1deabe58387342a919441580fa1f43840b6fe2763162b42cfba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): bindings/python/rapier-testbed/rapier_testbed/_obj.py:24-40 | bindings/python/rapier-testbed/rapier_testbed/examples3/mjcf3.py:30-41 | bindings/python/rapier-testbed/rapier_testbed/examples3/urdf3.py:27-38 \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":"bindings/python/rapier-testbed/rapier_testbed/_obj.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"20990e5e600fb25514a196455579c608169dae558ba1dae6de388d298014e82b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): bindings/python/rapier-py-3d/src/geometry.rs:4879-4892 | bindings/python/rapier-py-3d/src/joints.rs:3082-3095 \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":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":4879}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8342b5f2e1d76a779e718e6fc2b7d67fa8d9dc7384ed359e2bed8666e29016f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): bindings/bevy_rapier/src/plugin/systems/joint.rs:609-628 | bindings/bevy_rapier/src/plugin/systems/writeback.rs:71-84 \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":"bindings/bevy_rapier/src/plugin/systems/joint.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd6469c6520639fe1345c2d8f250142136367a22c6771c7c82ca299f7364d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/mjcf-rs/src/model.rs:71-80 | crates/mjcf-rs/src/model.rs:83-92 | crates/mjcf-rs/src/model.rs:95-104 \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/mjcf-rs/src/model.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e26ffda203ff64191a46d26fa0294550bbe240565b2806f852d45c773b2871"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/data/arena.rs:836-850 | src/data/arena.rs:859-873 \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":"src/data/arena.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ebab3c38031f3d4bdb35c03a5f593fa6bb1d9615e72184d68af48f84200868"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): bindings/python/rapier-py-3d/src/geometry.rs:2358-2362 | bindings/python/rapier-py-3d/src/geometry.rs:4008-4012 \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":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":2358}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b48ff3c06d89f494f8836cdd54d9c601244907870b439f1dde009e7a095f4e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:3020-3031 | bindings/python/rapier-py-3d/src/geometry.rs:4910-4921 | bindings/python/rapier-py-3d/src/joints.rs:3113-3127 | bindings/python/rapier-py-3d/src/soft_body.rs:3612-3623 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":3020}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fca8ec06ddc1389cc365642f7c656ff7f069bcd088184b5bd9f27a57728e4e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bindings/python/rapier-py-3d/src/math.rs:696-706 | bindings/python/rapier-py-3d/src/math.rs:932-941 \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":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"669e5553df91184f1a695806d6435329e799a760c58e42fa76b10ba0f8bc17ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bindings/c/src/objects.rs:98-110 | bindings/c/src/scoped_access.rs:3552-3564 \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":"bindings/c/src/objects.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3afc96114f1ca29c05e522e97b81caa3657575130080ed1d1321e6c3f429e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bindings/c/src/objects.rs:192-204 | bindings/c/src/scoped_access.rs:3579-3591 \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":"bindings/c/src/objects.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9459fafaaa719413669a9c4d021262225c55a0d67e3f2f601d9fd917323ffb2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/data/coarena.rs:88-96 | src/data/coarena.rs:102-117 \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":"src/data/coarena.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d322551fabe968d9b86244668177349b722cf7a31f1a1aba23b374063b648f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): bindings/typescript/src/control/ray_cast_vehicle_controller.rs:127-135 | bindings/typescript/src/control/ray_cast_vehicle_controller.rs:262-270 | bindings/typescript/src/control/ray_cast_vehicle_controller.rs:289-297 | bindings/typescript/src/control/ray_cast_vehicle_controller.rs:360-368 | bindings/typescript/src/control/ray_cast_vehicle_controller.rs:381-389 | bindings/typescript/src/control/ray_cast_vehicle_controller.rs:409-417 \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":"bindings/typescript/src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f50116c987b3ba0f2d295efe5305038168ad9fa95cdc0fdd8483e1711c076d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/geometry/contact_pair.rs:548-560 | src/geometry/contact_pair.rs:565-575 \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":"src/geometry/contact_pair.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6cc223cf99d8b831853585894ca2885f3dd00a9e4b9ae954a4ae0585470286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): bindings/c/src/config_data.rs:585-595 | bindings/c/src/handle_access.rs:468-481 | bindings/c/src/handle_access.rs:534-547 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"bindings/c/src/config_data.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e81a0f2bff0e2be10d5137e6bdb1c8d44936aa03106a224c67d0b477e219e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:3034-3039 | bindings/python/rapier-py-3d/src/geometry.rs:4924-4929 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":3034}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ab72e7e05572cd8bf777b2fc046e1f02f8253cdf50f19aef8ae9795a052b15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): bindings/typescript/src/control/pid_controller.rs:145-158 | bindings/typescript/src/control/pid_controller.rs:168-181 | bindings/typescript/src/control/pid_controller.rs:191-204 \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":"bindings/typescript/src/control/pid_controller.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb9bfac649aa71464c2351d043029f850dc5067edf4738e3e4a5a6db113efe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/mjcf-rs/src/loader/parse_utils.rs:14-25 | crates/mjcf-rs/src/loader/parse_utils.rs:153-165 \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/mjcf-rs/src/loader/parse_utils.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb6f19c6a1d9c185951c99759d473303d1cdd4b1c4582cc6b82d6f4a349345f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/pipeline/physics_world.rs:860-868 | src/pipeline/physics_world.rs:900-908 \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":"src/pipeline/physics_world.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"888a4e9945aac4c8665b33433c65493249c4dd002ebdd657e4c790dff742bca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): bindings/c/src/array_views.rs:193-206 | bindings/c/src/array_views.rs:217-230 \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":"bindings/c/src/array_views.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2f968d2333a382b91389d8123f221d16c121994543338a599910abb2619f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): bindings/typescript/src/geometry/collider_set.rs:452-483 | bindings/typescript/src/geometry/collider_set.rs:517-549 \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":"bindings/typescript/src/geometry/collider_set.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"091247069f3af4c18caca22ef101e09256e4b461c045455882e8823012229b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): bindings/python/rapier-py-3d/src/controllers.rs:109-117 | bindings/python/rapier-py-3d/src/pipeline.rs:115-121 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/controllers.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe362a3c8ff2cbae741ab2bb22eb31ecb63beb0f3f2afdb5349696028fed4644"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:2037-2042 | bindings/python/rapier-py-3d/src/dynamics.rs:2066-2071 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"32994c058364086a3ec2eb0d8853e1a59bda44b3d8edba9f53677d237e595874"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bindings/python/rapier-py-3d/src/soft_body.rs:450-457 | bindings/python/rapier-py-3d/src/soft_body.rs:462-471 \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":"bindings/python/rapier-py-3d/src/soft_body.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbdeeb022a37bc9ca63fb038539e62c260bf66f993a9b6abdcf3c1fc9c8db2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bindings/python/rapier-py-3d/src/soft_body.rs:867-874 | bindings/python/rapier-py-3d/src/soft_body.rs:876-883 \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":"bindings/python/rapier-py-3d/src/soft_body.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e228707539ace1f17c3d2466dbecfa623dd1e571b9cf43592524d9e7c3ca9c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bindings/python/rapier-py-3d/src/soft_body.rs:1293-1300 | bindings/python/rapier-py-3d/src/soft_body.rs:1305-1312 \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":"bindings/python/rapier-py-3d/src/soft_body.rs"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f03d4b79cbb71a1d27d9c41c987537ac95b8dba2650a15a4bc89601178b4543"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs:509-517 | src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs:519-527 \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":"src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab8dfba7cdc3ce97372afe6ad1cbe9b210304900a406899be407c07d24959ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/pipeline/query_pipeline.rs:108-116 | src/pipeline/query_pipeline.rs:122-130 \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":"src/pipeline/query_pipeline.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"65413c9d9b1b031df3c8aa158d4b6261b9b1aa9b847cb00919b04db510a757d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bindings/bevy_rapier/src/geometry/collider.rs:534-541 | bindings/bevy_rapier/src/geometry/collider.rs:590-597 \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":"bindings/bevy_rapier/src/geometry/collider.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"41da51670d2099be9e0b5b175b4ce367d8d523287824516a18fc62fe9d39fdd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): bindings/c/src/descriptors.rs:475-483 | bindings/c/src/objects.rs:81-89 \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":"bindings/c/src/descriptors.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d40c3648eca8fd02942ce216ad954d33ffd23618478bd0f8a81f681fb48581"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): bindings/c/src/geometry.rs:5-13 | bindings/c/src/geometry.rs:74-82 | bindings/c/src/geometry.rs:90-98 | bindings/c/src/geometry.rs:107-115 | bindings/c/src/geometry.rs:139-147 | bindings/c/src/geometry.rs:156-164 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 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":"bindings/c/src/geometry.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf8bbc9c930037d71dd117d6868e06588e651bc70a220321011d9f5372e8ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bindings/python/rapier-py-3d/src/controllers.rs:1100-1109 | bindings/python/rapier-py-3d/src/controllers.rs:1142-1151 \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":"bindings/python/rapier-py-3d/src/controllers.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a99e89f6f5906fb7d1472fb22f720d8f511cc4c0596b0d286c5da37b8abf07d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bindings/python/rapier-py-3d/src/math.rs:292-303 | bindings/python/rapier-py-3d/src/math.rs:489-500 \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":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1472fb087e99a0975251f088f35b7eb20d5af85aa1b01a58313dac0d18b02d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): bindings/typescript/src/geometry/narrow_phase.rs:171-180 | bindings/typescript/src/geometry/narrow_phase.rs:183-193 | bindings/typescript/src/geometry/narrow_phase.rs:196-205 | bindings/typescript/src/geometry/narrow_phase.rs:208-218 \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":"bindings/typescript/src/geometry/narrow_phase.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f9e64a1a690a43b3582983bdf4fca8f0f7d2cd40f50866825b815032429258"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bindings/c/src/joints.rs:183-195 | bindings/c/src/joints.rs:512-523 \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":"bindings/c/src/joints.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5750e44d6451a6e45b48146edad43b2c801a71137c892c2f529edb612cf0a069"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): bindings/c/src/pipeline.rs:1196-1206 | bindings/c/src/pipeline.rs:1422-1433 \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":"bindings/c/src/pipeline.rs"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3799b3be655c30eef29a48c965493bcc74082be12c48730b311386632b6bc66e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bindings/c/src/soft_body.rs:1092-1101 | bindings/c/src/soft_body.rs:1106-1115 \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":"bindings/c/src/soft_body.rs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"9716f5e6d45669fa4a522bed6d44a5ca55977116bbd0585edd109a40141c2cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:2864-2871 | bindings/python/rapier-py-3d/src/geometry.rs:4698-4705 | bindings/python/rapier-py-3d/src/soft_body.rs:3398-3405 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":2864}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfd78c14dc75ae24f6c3187389378ebe096ab190666fd5e7df49f1a17132337"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): bindings/python/rapier-py-3d/src/pipeline.rs:3590-3599 | bindings/python/rapier-py-3d/src/pipeline.rs:3653-3658 \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":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":3590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c126cd8f68cd3e154926c2b956250dffd7be437a263d4effab4930f6098772b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): src_testbed/settings.rs:105-119 | src_testbed/settings.rs:131-148 | src_testbed/settings.rs:160-174 \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":"src_testbed/settings.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3866cd9889b2d8d9ce0d54a6d69912354c1b14eaafe365e9b1b2f14ce53c81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bindings/c/src/joint_access.rs:611-624 | bindings/c/src/joint_access.rs:807-819 \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":"bindings/c/src/joint_access.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"0994bbaf83c4eff4aab9a3ac6528059f6ecec3eac30c3e3043ccdf43d734f638"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:1038-1049 | bindings/python/rapier-py-3d/src/math.rs:843-854 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42c47091e4ff512f14cc1e544516caf7c96267dcb5ff079a0b9a25c1c31e756"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:2970-2980 | bindings/python/rapier-py-3d/src/dynamics.rs:2985-2998 | bindings/python/rapier-py-3d/src/geometry.rs:4867-4877 | bindings/python/rapier-py-3d/src/soft_body.rs:3568-3578 | bindings/python/rapier-py-3d/src/soft_body.rs:3583-3596 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":2970}}}],"partialFingerprints":{"codehealthFindingId/v1":"863d2d4902080dfdd2c08352b9bcf0ecd94cd8dbe053a2d215cd5e930b72e784"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): bindings/typescript/src/geometry/shape.rs:995-1009 | bindings/typescript/src/geometry/shape.rs:1018-1023 | bindings/typescript/src/geometry/shape.rs:1033-1038 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/shape.rs"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"592b3dcace628068635058c2dc5c58521759782dc175fd23681f6de0cc96cdd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/dynamics/island_manager/persistent.rs:690-704 | src/dynamics/island_manager/persistent.rs:707-721 \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":"src/dynamics/island_manager/persistent.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f17e23758dece3f769331da6107c10d3a7c14c8d7cecf39a8da3ac267c34974"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): bindings/bevy_rapier/src/geometry/collider_impl.rs:982-989 | bindings/bevy_rapier/src/geometry/collider_impl.rs:1037-1047 | bindings/bevy_rapier/src/geometry/collider_impl.rs:1066-1079 \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":"bindings/bevy_rapier/src/geometry/collider_impl.rs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53164c12bd265490e87a766e29ed57e85b7843441e7c2be0951d4265aa20dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bindings/bevy_rapier/src/plugin/context/mod.rs:1052-1064 | bindings/bevy_rapier/src/plugin/context/mod.rs:1120-1129 \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":"bindings/bevy_rapier/src/plugin/context/mod.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"8795769fd8d76055916bc096d5c7370af79b76f85b1860b01094b9048dfd8f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): bindings/c/src/array_views.rs:272-282 | bindings/c/src/array_views.rs:293-303 | bindings/c/src/array_views.rs:343-352 \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":"bindings/c/src/array_views.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d536cf79a4d061e4281e19f73a9602c22a1b5fa9aa742fb0d40d9275af25af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): bindings/c/src/dynamics.rs:627-635 | bindings/c/src/dynamics.rs:642-652 | bindings/c/src/soft_extras.rs:129-140 | bindings/c/src/soft_extras.rs:180-191 \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":"bindings/c/src/dynamics.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde241d0e9211902d2cd5b679f2ca7fc37566a6ff97ee96376206b69dec44f86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): bindings/c/src/read_access.rs:579-593 | bindings/c/src/read_access.rs:1275-1289 | bindings/c/src/soft_extras.rs:373-387 \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":"bindings/c/src/read_access.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"0330ade344a2d58d71c28f3304af75b737007a5626c7a0e6bcf5a8f3d91a9a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): bindings/c/src/scoped_access.rs:1497-1509 | bindings/c/src/scoped_access.rs:2736-2746 \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":"bindings/c/src/scoped_access.rs"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"0855c1011628b4287ec5e63f4cda1fea03818618f4b15b05f1e88f2c667d1c6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): bindings/c/src/soft_body.rs:155-161 | bindings/c/src/soft_body.rs:168-174 | bindings/c/src/soft_body.rs:181-187 \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":"bindings/c/src/soft_body.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"702cf05fd9cae0f48cfa5349eb725a6d1ee15326b0c3427bf11de1179a00d2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): bindings/python/rapier-py-3d/src/controllers.rs:609-623 | bindings/python/rapier-py-3d/src/controllers.rs:657-670 \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":"bindings/python/rapier-py-3d/src/controllers.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f4a58423cb83588522ca219ae7f18a9919b93c098fc84b4c9dcc75c5fd7525"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:1598-1608 | bindings/python/rapier-py-3d/src/geometry.rs:3502-3512 | bindings/python/rapier-py-3d/src/joints.rs:2802-2812 | bindings/python/rapier-py-3d/src/soft_body.rs:2427-2437 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1598}}}],"partialFingerprints":{"codehealthFindingId/v1":"11512ae596e171c11ea8a5a50eafac0ab3ed33a00555cff5953243d05d0e1e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): bindings/python/rapier-py-3d/src/geometry.rs:1982-1992 | bindings/python/rapier-py-3d/src/geometry.rs:1995-1999 \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":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e02bf15706ad13c67d6c5e91690a7609248b9d37489d8a8a991394f798b55d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bindings/python/rapier-py-3d/src/joints.rs:3133-3140 | bindings/python/rapier-py-3d/src/joints.rs:4153-4160 \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":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":3133}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a0673476684123d3f564392aa909ccd73f60b447146975bf98262f468ee828"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): bindings/python/rapier-py-3d/src/loaders.rs:801-809 | bindings/python/rapier-py-3d/src/loaders.rs:1902-1910 \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":"bindings/python/rapier-py-3d/src/loaders.rs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ed2d018330d26ce4c08a12808cbc5afd7dd276411b5976b1d08247d0959ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bindings/python/rapier-py-3d/src/events_hooks.rs:858-869 | bindings/python/rapier-py-3d/src/events_hooks.rs:1153-1164 \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":"bindings/python/rapier-py-3d/src/events_hooks.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"5367e8a8c6f8039890c3dc258c407a0d58d3351c1e5e7927840417b5ab45f79b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): bindings/python/rapier-py-3d/src/joints.rs:3066-3076 | bindings/python/rapier-py-3d/src/joints.rs:4061-4069 | bindings/python/rapier-py-3d/src/joints.rs:4078-4090 \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":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":3066}}}],"partialFingerprints":{"codehealthFindingId/v1":"83de83af5f6ba11df2e1df9864c27483e8097f672e8423ce0ce866738dbc6b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 9\u002B corresponding lines): bindings/c/src/soft_body.rs:209-217 | bindings/c/src/soft_body.rs:222-230 | bindings/c/src/soft_body.rs:235-243 | bindings/c/src/soft_body.rs:248-256 | bindings/c/src/soft_body.rs:262-271 | bindings/c/src/soft_body.rs:277-286 | bindings/c/src/soft_body.rs:1202-1210 \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":"bindings/c/src/soft_body.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad0e49d1c60eb9133c58b2ebbfeed97df672b0898204ade6e3e8b02b1f3681d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/dynamics/rigid_body_set.rs:407-416 | src/geometry/collider_set.rs:133-142 \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":"src/dynamics/rigid_body_set.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac73b1b3cb427d3a4b820076ac466caeecee62e3a7f2b6463a5c4065ec35bf6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): bindings/bevy_rapier/src/plugin/context/mod.rs:374-381 | bindings/bevy_rapier/src/plugin/context/mod.rs:389-396 | bindings/bevy_rapier/src/plugin/context/mod.rs:507-514 \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":"bindings/bevy_rapier/src/plugin/context/mod.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cd95f3fb147a7197ef0a90d5c83040c0b28501fb6f1e8e5a09b0a534b2ce80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bindings/c/src/extra.rs:220-233 | bindings/c/src/geometry.rs:651-662 \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":"bindings/c/src/extra.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92a3abeda047c10fa3ea8c49072e451e72afb783ef2abb700edb190247660b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): bindings/c/src/robotics.rs:642-653 | bindings/c/src/soft_body.rs:482-490 | bindings/c/src/soft_body.rs:499-507 | bindings/c/src/soft_body.rs:516-524 | bindings/c/src/soft_body.rs:533-545 | bindings/c/src/soft_body.rs:554-562 \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":"bindings/c/src/robotics.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee02293e52ba0f0160f31280b3bdd803af056ebc71b69444ae979a39421adc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): bindings/python/rapier-py-3d/src/geometry.rs:2571-2581 | bindings/python/rapier-py-3d/src/geometry.rs:2591-2601 | bindings/python/rapier-py-3d/src/geometry.rs:4340-4349 | bindings/python/rapier-py-3d/src/geometry.rs:4360-4370 \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":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":2571}}}],"partialFingerprints":{"codehealthFindingId/v1":"8732fc8a0347d42dc9b6e5a04ac7b7fc5aaa386863f834de91136663a3622dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/dynamics/joint/multibody_joint/multibody_joint_set.rs:419-428 | src/dynamics/joint/multibody_joint/multibody_joint_set.rs:435-441 \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":"src/dynamics/joint/multibody_joint/multibody_joint_set.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"445ae0de068f48759d802e19b4fd0c747e0e283b14fc281eb1bf79f155a163f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): bindings/c/src/dynamics.rs:696-707 | bindings/c/src/objects.rs:153-158 | bindings/c/src/objects.rs:247-252 | bindings/c/src/soft_body.rs:193-204 \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":"bindings/c/src/dynamics.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01728cb60ca249a8a459118edccc623a80858c95345d218711b6ca1fb76747b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): bindings/python/rapier-py-3d/src/geometry.rs:2710-2714 | bindings/python/rapier-py-3d/src/pipeline.rs:173-177 \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":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":2710}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5898895a82ea26bcdcb283d15ec77d6e7005bc234e83e6477ec9fbdcdd6cd55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): bindings/c/src/render.rs:243-257 | bindings/c/src/render.rs:267-281 | bindings/c/src/robotics.rs:878-888 | bindings/c/src/world.rs:70-82 \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":"bindings/c/src/render.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8839eb1650c1a20adc531a881054b65c709e39dee8a2eab6587f0bad7e6dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): bindings/c/src/robotics.rs:455-466 | bindings/c/src/robotics.rs:679-689 | bindings/c/src/robotics.rs:721-731 \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":"bindings/c/src/robotics.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"f108a358a9f35f6003b470a73ddc10e13d8364af3d331ce57c869041b86e640b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:1748-1751 | bindings/python/rapier-py-3d/src/joints.rs:2337-2340 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"55971b71122896d9476311547831d15664b8d9070342720a26c392f268a9fd05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:1755-1758 | bindings/python/rapier-py-3d/src/joints.rs:2352-2355 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"865fc4a7ca635a872db3809965a4cf829f512e038d4f7fcf2d3797fecaede65e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bindings/c/src/control.rs:113-120 | bindings/c/src/joints.rs:141-148 \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":"bindings/c/src/control.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3e50e7287d7d788aa652aed0c84986f0ca5514524a1df7b6e7e427000139a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bindings/c/src/control.rs:824-834 | bindings/c/src/pipeline.rs:1076-1083 \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":"bindings/c/src/control.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ccf66ee8ce3f4f70363a8212df1cb25f2321af39618385fd0d0b065b60ad8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bindings/c/src/extra.rs:59-66 | bindings/c/src/soft_body.rs:291-298 \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":"bindings/c/src/extra.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc093c2d211547c0af0237c63907196b6ae7036e565bdcc99f38042e08e34f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): bindings/typescript/src/dynamics/impulse_joint_set.rs:86-91 | bindings/typescript/src/dynamics/island_manager.rs:25-30 | bindings/typescript/src/dynamics/multibody_joint_set.rs:79-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 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/dynamics/impulse_joint_set.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d881b3f29e3246f9a21d10d105d959021de92e3118601fa7353c94feb50199"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): bindings/python/rapier-py-3d/src/soft_body.rs:3482-3494 | bindings/typescript/src/dynamics/soft_body.rs:1220-1232 \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":"bindings/python/rapier-py-3d/src/soft_body.rs"},"region":{"startLine":3482}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7180a05e29fc7f6f7c03e19fc138b1769db7bc495fcec16704a2adc98917a7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:1670-1676 | bindings/python/rapier-py-3d/src/geometry.rs:3621-3628 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"74466737014b33fabc985067c9cd715ef3b59bc68e77b8e98fe9ac82409ea3cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): bindings/c/src/pipeline.rs:1154-1158 | bindings/c/src/robotics.rs:548-563 \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":"bindings/c/src/pipeline.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b825d1cc84d60bc7ae4a29ccde1a99e94cc9f60580449231ebe1928ab340944"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): bindings/typescript/src/geometry/narrow_phase.rs:107-114 | bindings/typescript/src/geometry/ray.rs:64-69 \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":"bindings/typescript/src/geometry/narrow_phase.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b95bd9786bb217a9d18174c7f9a38166857c2c57efc68a5fce67f7ef14134a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:1973-1976 | bindings/python/rapier-py-3d/src/joints.rs:2367-2370 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"1320ad6388def7dd9d238065f5bd80983b920f787115a99e72ba4bd8a17e43b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:2138-2143 | bindings/python/rapier-py-3d/src/joints.rs:2307-2310 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0714ed5422132e797f41a59d361be119b2d36d3f73ef1f734a21cb9eb82122"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:2206-2213 | bindings/python/rapier-py-3d/src/joints.rs:2373-2379 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33197a50cdb5ccafc93353c815e5c9f97e2e4d54eb2abd38f89cfe2b63e5d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): bindings/typescript/src/dynamics/rigid_body_set.rs:209-220 | bindings/typescript/src/geometry/collider_set.rs:410-419 \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":"bindings/typescript/src/dynamics/rigid_body_set.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dedaca74ac13ca1365798307846fb250b922e8a68656b2ee2f6a7344c22cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py:19-20 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/joint_prismatic3.py:14-15 \u2014 These two members are one piece of code written twice and then edited apart: 2 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d5290708ab7479e466841b6287f7e9b44dee990ea11c3972f3bfe8f868f9a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:2248-2252 | bindings/python/rapier-py-3d/src/joints.rs:2328-2334 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"1801d4831e22dd0a30d194357f6f73f6ae9881d551cc28b73c005b066ae6dee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): bindings/c/src/pipeline.rs:1117-1128 | bindings/c/src/render.rs:204-208 \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":"bindings/c/src/pipeline.rs"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b174f8a56f4c242e6c175f6a2c3c5a86725c29ac24e83e33620336f1bee97320"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): bindings/c/src/pipeline.rs:1137-1148 | bindings/c/src/render.rs:217-221 \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":"bindings/c/src/pipeline.rs"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1686332d0b89d3b5d9b182050ce8d6a0043637af7ead4e59dd3e17fb45699b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): bindings/c/src/robotics.rs:539-541 | bindings/c/src/soft_extras.rs:396-398 \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":"bindings/c/src/robotics.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b60861066f8a41942e74645d071c3026bf2a5064b3f486365280678fbd7644d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:1720-1725 | bindings/python/rapier-py-3d/src/geometry.rs:3637-3644 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e1f4ad8016eb70bbe62a523440ca1a73ea92b2bbba6ca95b05c518c5d77a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:29-37 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:29-36 \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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e732b27547146cd0778f34cf712656fa0a6e3b9624fbdecc17dd14a63362d41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): bindings/c/src/dynamics.rs:668-674 | bindings/c/src/joints.rs:66-72 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/dynamics.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e48ac12c583f6075fa3e630e92fe190804aa0b721410233fa227a0b1a27eda7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/dynamics/rigid_body.rs:1512-1516 | src/dynamics/rigid_body_components.rs:834-838 \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":"src/dynamics/rigid_body.rs"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"4508891cd13addcd730ad0a307875b658a392bf31b5cbe116aca63cf5e10232d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): bindings/python/rapier-py-3d/src/geometry.rs:2241-2247 | bindings/typescript/src/geometry/shape.rs:801-803 \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":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17ec84eb6c6463d5cca9f42498eafa4b4dd219b3cf8f71e6e574ebf6ab56e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): bindings/python/rapier-py-3d/src/geometry.rs:4062-4072 | bindings/python/rapier-py-3d/src/soft_body.rs:2569-2580 | bindings/typescript/src/geometry/shape.rs:810-817 \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":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":4062}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0cee27b0dfc8cf4c3d623976b552464b3f6292fbc0f1b166c761c3957fe76d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): bindings/bevy_rapier/src/geometry/shape_views/polyline.rs:20-22 | bindings/bevy_rapier/src/geometry/shape_views/trimesh.rs:26-30 \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":"bindings/bevy_rapier/src/geometry/shape_views/polyline.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7d7dde801de786bc79c71db69350cbf28a7241df7b9969924fc20bcb88ebac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:1680-1684 | bindings/python/rapier-py-3d/src/joints.rs:2313-2319 | bindings/python/rapier-py-3d/src/soft_body.rs:3313-3316 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ac24754b6fbf39885bc13f202bab1f466d3c8ec32bb0561ba68438dcd22d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): bindings/typescript/src/geometry/narrow_phase.rs:98-104 | bindings/typescript/src/geometry/ray.rs:56-60 \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":"bindings/typescript/src/geometry/narrow_phase.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d471f64ca08c3c0a6c076832c939008f5e0fea9c11fede61571bd586ab8064b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:796-803 | bindings/python/rapier-py-3d/src/geometry.rs:2319-2326 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"103f8a726e63166ad56b87b89394e0b7844175a66768df7a10fd0a8e19efbed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bindings/bevy_rapier/src/geometry/shape_views/polyline.rs:25-28 | bindings/bevy_rapier/src/geometry/shape_views/trimesh.rs:33-36 \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":"bindings/bevy_rapier/src/geometry/shape_views/polyline.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa241eed15cbdbd85e3dba1160cca45a6c4d5c0c8d74fb97e5d5343b9553a6b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:111-114 | bindings/python/rapier-py-3d/src/geometry.rs:230-233 | bindings/python/rapier-py-3d/src/joints.rs:536-539 | bindings/python/rapier-py-3d/src/soft_body.rs:113-116 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed43f1d2e3cd645f7fa4c016244bcaade0722b183da13d2d3775e634f064a30a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bindings/python/rapier-py-3d/src/dynamics.rs:881-884 | bindings/python/rapier-py-3d/src/joints.rs:1013-1016 \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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"062b645d04e2e64094cb4626d139bd8c74fc45265dab67df4dbd1352a688cc2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (71\u201375 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:64-138 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:70-140 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d679d97d0236b4ee5ce6ef1c4573192057fc8b9b7558761f071bce90445bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 3): bindings/python/rapier-py-3d/src/joints.rs:2961-3018 | bindings/python/rapier-py-3d/src/joints.rs:3879-3936 | bindings/python/rapier-py-3d/src/joints.rs:3961-4018 \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":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"58152c7bc3719c0287226d0ddf4a54e3e07c08a1d10bd041b288f706dd6f142a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): bindings/python/rapier-py-3d/src/loaders.rs:1974-2027 | bindings/python/rapier-py-3d/src/loaders.rs:2086-2139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/loaders.rs:1974\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/loaders.rs"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc125a01a502e1a7e58468b5d16aa29976a670392589d4d029825606d9849edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): examples2d/heightfield2.rs:33-70 | examples2d/polyline2.rs:34-71 \u2014 before extracting anything, compare \u0060examples2d/heightfield2.rs\u0060 and \u0060examples2d/polyline2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 65 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 \u0060examples2d/heightfield2.rs:33\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":"examples2d/heightfield2.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3d56332a1312aa16db097760f6538547e794d50dc39b3c04aee466fdfb6333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201343 lines \u00D7 2): examples2d/soft_joints2.rs:153-194 | examples3d/soft_joints3.rs:205-247 \u2014 before extracting anything, compare \u0060examples2d/soft_joints2.rs\u0060 and \u0060examples3d/soft_joints3.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 129 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 \u0060examples2d/soft_joints2.rs:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_joints2.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b70f1e56c67f82d66ab219b9d748e76bff19ebef63623c67888fb38ad3d105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): examples3d/heightfield3.rs:49-82 | examples3d/trimesh3.rs:59-92 \u2014 before extracting anything, compare \u0060examples3d/heightfield3.rs\u0060 and \u0060examples3d/trimesh3.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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":"examples3d/heightfield3.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfabc342796ea424f55cc201c961410e98fec3122c2528d3ec1c96b9e5731a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 12): bindings/python/rapier-py-3d/src/controllers.rs:751-783 | bindings/python/rapier-py-3d/src/pipeline.rs:1179-1211 | bindings/python/rapier-py-3d/src/pipeline.rs:1263-1295 | bindings/python/rapier-py-3d/src/pipeline.rs:1352-1384 | bindings/python/rapier-py-3d/src/pipeline.rs:1448-1480 | bindings/python/rapier-py-3d/src/pipeline.rs:1534-1566 | bindings/python/rapier-py-3d/src/pipeline.rs:1625-1657 | bindings/python/rapier-py-3d/src/pipeline.rs:1723-1755 | bindings/python/rapier-py-3d/src/pipeline.rs:1820-1852 | bindings/python/rapier-py-3d/src/pipeline.rs:1913-1945 | bindings/python/rapier-py-3d/src/pipeline.rs:2005-2037 | bindings/python/rapier-py-3d/src/pipeline.rs:2104-2136 \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 \u0060bindings/python/rapier-py-3d/src/controllers.rs:751\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":"bindings/python/rapier-py-3d/src/controllers.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a01f9c693e83148f7afb021ebad37214d4eefca62be863568670e4ba35dd687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): examples2d/s2d_high_mass_ratio_2.rs:22-54 | examples2d/s2d_high_mass_ratio_3.rs:18-48 \u2014 before extracting anything, compare \u0060examples2d/s2d_high_mass_ratio_2.rs\u0060 and \u0060examples2d/s2d_high_mass_ratio_3.rs\u0060 as WHOLE FILES: 94% 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 2 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/s2d_high_mass_ratio_2.rs:22\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/s2d_high_mass_ratio_2.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"39abb804fab4aed6ea13345acfd92c20d10a010dedaf7cac97a442a97083a4e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): examples2d/utils/character.rs:236-268 | examples3d/utils/character.rs:252-284 \u2014 before extracting anything, compare \u0060examples2d/utils/character.rs\u0060 and \u0060examples3d/utils/character.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/utils/character.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"489f9492ea26cfadaf09928256391b04f2b35fa575a05dfa38ce9dd9a1759e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:623-655 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:702-732 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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 \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:623\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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e5828bf3c0b35ee7b30b23af8b88f6652476acf15f6c8f926b121eba44b7ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:215-244 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:250-279 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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 \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:215\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e13ce931908bac8c04ce65f9edbe0033a8c1e9e5024b66b11b13fe71ec0a971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): examples2d/one_way_platforms2.rs:23-51 | examples3d/one_way_platforms3.rs:23-51 \u2014 before extracting anything, compare \u0060examples2d/one_way_platforms2.rs\u0060 and \u0060examples3d/one_way_platforms3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/one_way_platforms2.rs:23\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/one_way_platforms2.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ca2c07ae6ba24b3c15350497b3929701a2994bdf7ab5687043f9874809b988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): examples2d/pin_slot_joint2.rs:71-98 | examples2d/rope_joints2.rs:52-80 \u2014 before extracting anything, compare \u0060examples2d/pin_slot_joint2.rs\u0060 and \u0060examples2d/rope_joints2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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":"examples2d/pin_slot_joint2.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b93415c5d886e99cc2f4f25804c71e851882381ed7d6aed70d29e57e0de3e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:412-440 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:476-503 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"db08309d7c680f7bb3e045522c41dabe1678c8d8babd983f3d0dfbfb7d8ae6c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): bindings/typescript/src/geometry/collider_set.rs:453-480 | bindings/typescript/src/geometry/collider_set.rs:518-545 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/typescript/src/geometry/collider_set.rs:453\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/collider_set.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"517ecb65ea4b03547d599a1270a7142b98eb0e1fe7e73242a68bf493841d191e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): examples2d/pyramid2.rs:8-35 | examples2d/stress_tests/pyramid2.rs:8-35 \u2014 before extracting anything, compare \u0060examples2d/pyramid2.rs\u0060 and \u0060examples2d/stress_tests/pyramid2.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/pyramid2.rs:8\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/pyramid2.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ed1f0bdb4e73484548b3110580bac67907bae457831012c5454871f6d2f2ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:223-250 | src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:346-371 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_constraint_helper.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b8d9c7fa08ab4b0baa06b8a3a20667e56eb76c82c46187763c0958900a2b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): src/dynamics/solver/staged_island_solver/worker.rs:524-551 | src/dynamics/solver/staged_island_solver/worker.rs:565-590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/staged_island_solver/worker.rs:524\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/worker.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"50284ae915b3f7753f70b1794b5bd01bbf888658b16cefa6e2c796d280157fe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): crates/rapier3d-urdf/src/lib.rs:540-565 | crates/rapier3d-urdf/src/lib.rs:591-617 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/rapier3d-urdf/src/lib.rs:540\u0060 it does not close everything it opens, so those exact 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/rapier3d-urdf/src/lib.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"5082a37834776a7c8758b22c305a94d08c5fc7c4aad04eee1b874fa01050636c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): examples2d/heightfield2.rs:14-40 | examples2d/stress_tests/heightfield2.rs:14-40 \u2014 before extracting anything, compare \u0060examples2d/heightfield2.rs\u0060 and \u0060examples2d/stress_tests/heightfield2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/heightfield2.rs:14\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/heightfield2.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef47a6f746905cedebc356133234207aa5413e0294e33bbf803456f06087c85b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): examples3d/b3d_rain.rs:168-194 | examples3d/b3d_trees.rs:132-158 \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":"examples3d/b3d_rain.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"da406211be8d1b90f55e0cc563ec9c058e8ca45b3e8b6d590d8a1e85b54e088a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): examples2d/utils/character.rs:132-157 | examples3d/utils/character.rs:148-173 \u2014 before extracting anything, compare \u0060examples2d/utils/character.rs\u0060 and \u0060examples3d/utils/character.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 128 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 \u0060examples2d/utils/character.rs:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/utils/character.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d00c97cdf5072878b6d3c9eb8972c84c9317c17f38e574ee02ffaa2181cecc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201325 lines \u00D7 3): src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs:499-515 | src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs:538-554 | src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs:588-612 \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":"src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d6eeea70d5b9380073fecb471a47a0a78050cbb33f67ecb93c2beec39b9f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): bindings/typescript/src/geometry/collider_set.rs:86-110 | bindings/typescript/src/geometry/collider_set.rs:227-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":"bindings/typescript/src/geometry/collider_set.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"727ffb6c30502e8d239061d8d7abe59ec7b0e4d1a69112dc42689a6ddcb92884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:509-533 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:573-597 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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 \u0060constraint\u0060 to \u0060\u0026mut ContactWithCoulombFriction\u003CSimdReal\u003E\u0060 in one and \u0060\u0026mut ContactWithTwistFriction\u003CSimdReal\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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc8db74e5c3d4d0f1af7f860006aa6fb0c0b40b98da4a1e3674a0295cf6536c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): src/dynamics/solver/staged_island_solver/joints.rs:202-226 | src/dynamics/solver/staged_island_solver/joints.rs:380-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 \u0060src/dynamics/solver/staged_island_solver/joints.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":"src/dynamics/solver/staged_island_solver/joints.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3cbf3a1a316b9b07232b8ad4f7687612a33ad207b25a19606d7442b994bcc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): examples2d/utils/character.rs:182-205 | examples3d/utils/character.rs:198-221 \u2014 before extracting anything, compare \u0060examples2d/utils/character.rs\u0060 and \u0060examples3d/utils/character.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/utils/character.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f6807d133167dfd785eccdbd4b30a23ba9ba64e4703bfa32f42d0751f4fb94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): src/dynamics/joint/multibody_joint/multibody_joint.rs:362-384 | src/dynamics/joint/multibody_joint/multibody_joint.rs:435-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/joint/multibody_joint/multibody_joint.rs:362\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_joint.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36bf6e346e2e2b34a79f58930c19c7ce148f33698ccddcbe0b06e50b597e209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): bindings/python/rapier-py-3d/src/loaders.rs:839-860 | bindings/python/rapier-py-3d/src/loaders.rs:917-939 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/loaders.rs:839\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/loaders.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3386e866f2bf98ca0dd40fab050c2151aaa29cb5ba71fcf5657c33fd8dcdf89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): examples3d/keva3.rs:13-35 | examples3d/stress_tests/keva3.rs:13-34 \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 \u0060examples3d/keva3.rs:13\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/keva3.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5734b0048fb1de7a1718509c7be90d2a35385e079590e1c200a437c0c9a48b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): bindings/python/rapier-py-3d/src/pipeline.rs:2663-2684 | bindings/python/rapier-py-3d/src/pipeline.rs:2788-2809 | bindings/python/rapier-py-3d/src/pipeline.rs:3238-3259 | bindings/python/rapier-py-3d/src/pipeline.rs:3310-3331 \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 \u0060bindings/python/rapier-py-3d/src/pipeline.rs:2663\u0060 it does not close everything it opens, so those exact 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, \u0060bindings/python/rapier-py-3d/src/pipeline.rs:2661\u0060 calls \u0060wake_up_modified_bodies\u0060 and \u0060bindings/python/rapier-py-3d/src/pipeline.rs:3236\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":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":2663}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14d2c0ff29a26dcf17cd45479de79da045931f4486fa2a6c683b06daa43c35f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): examples2d/b2d_compounds.rs:10-31 | examples2d/b2d_junkyard.rs:16-36 \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":"examples2d/b2d_compounds.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8981ff1d5076abec065def72ee99fa6f571cb4d935df0761dd71b79834962810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): examples2d/soft_tearing2.rs:119-139 | examples3d/soft_tearing3.rs:139-160 \u2014 before extracting anything, compare \u0060examples2d/soft_tearing2.rs\u0060 and \u0060examples3d/soft_tearing3.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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 \u0060examples2d/soft_tearing2.rs:119\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_tearing2.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a258f6e4d72f52dd4c2c1b6b148a74df1626618e57298fea2f1c31937331e3c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): examples2d/utils/character.rs:27-48 | examples3d/utils/character.rs:28-49 \u2014 before extracting anything, compare \u0060examples2d/utils/character.rs\u0060 and \u0060examples3d/utils/character.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/utils/character.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6450ac8f80205d00796019b02ba9871a62a0a9fec23bfb24b5d81aaf5c23123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): examples3d/debug_chain_high_mass_ratio3.rs:52-73 | examples3d/debug_long_chain3.rs:43-64 \u2014 before extracting anything, compare \u0060examples3d/debug_chain_high_mass_ratio3.rs\u0060 and \u0060examples3d/debug_long_chain3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/debug_chain_high_mass_ratio3.rs:52\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_chain_high_mass_ratio3.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2791d3bc3bd8bb047eb5636742f1df79a23560fa6284acea7daac2dc59dc167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): examples3d/dynamic_trimesh3.rs:53-73 | examples3d/voxels3.rs:54-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/dynamic_trimesh3.rs:53\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/dynamic_trimesh3.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dc5b347573e8acdadf90ccabf336ce0252e93c8b58f0f6329f67c574e158d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201322 lines \u00D7 4): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:370-391 | src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:468-471 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:436-457 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:537-540 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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 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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f8ce1432f36f11390e4550b51361e40a9008d0286b56c9d5fe0d76a0cb211c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/pipeline/debug_render_pipeline/debug_render_pipeline.rs:705-726 | src/pipeline/debug_render_pipeline/debug_render_pipeline.rs:815-836 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/pipeline/debug_render_pipeline/debug_render_pipeline.rs:705\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5d6f3fcce001336b7b65f86575bb3e031a8277d2c292e7be502d4f1ad39531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): bindings/python/rapier-py-3d/src/joints.rs:959-979 | bindings/python/rapier-py-3d/src/joints.rs:4527-4547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/joints.rs:959\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa540d29314cb41100dde334612d92c1ac99352dcde6520edbbfe753373dd4a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): examples3d/debug_dynamic_collider_add3.rs:8-33 | examples3d/debug_rollback3.rs:8-33 \u2014 before extracting anything, compare \u0060examples3d/debug_dynamic_collider_add3.rs\u0060 and \u0060examples3d/debug_rollback3.rs\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_dynamic_collider_add3.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ae3f81eaf9286d322258be5ec9857b646933dd4f54fae1a6a4f7ff7f1e2234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/data/arena.rs:928-948 | src/data/arena.rs:961-981 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/data/arena.rs:928\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/data/arena.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be9735daccad71e961e9cd177d7d97acf522f741c83bf0cfd0872ebb92b0a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/data/arena.rs:1037-1057 | src/data/arena.rs:1070-1090 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/data/arena.rs:1037\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/data/arena.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"044541ddca2c2009a40aadef7945736f1436288715ddf3c44e2f1d436a66ce26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): examples2d/character_controller2.rs:178-197 | examples3d/character_controller3.rs:196-216 \u2014 before extracting anything, compare \u0060examples2d/character_controller2.rs\u0060 and \u0060examples3d/character_controller3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 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 \u0060examples2d/character_controller2.rs:178\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":"examples2d/character_controller2.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c088f367b3909bd89ca32ad06e31c69d40ec5a7008eebf658f93d47ad8b2f90b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): examples2d/joints2.rs:69-88 | examples2d/stress_tests/joint_ball2.rs:49-68 \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 \u0060examples2d/joints2.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":"examples2d/joints2.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b347a07e668b57540086f64ffdf3f00a29920e757c89c8e8016ca36a4a395737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): examples2d/s2d_ball_and_chain.rs:62-81 | examples2d/s2d_bridge.rs:46-65 \u2014 before extracting anything, compare \u0060examples2d/s2d_ball_and_chain.rs\u0060 and \u0060examples2d/s2d_bridge.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/s2d_ball_and_chain.rs:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/s2d_ball_and_chain.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b1a6bd4184e70614c2cc0aed71abeeb4ab760fe34ef4f1b95d3df82832f8c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): examples3d/primitives3.rs:47-66 | examples3d/stress_tests/ccd3.rs:51-70 \u2014 before extracting anything, compare \u0060examples3d/primitives3.rs\u0060 and \u0060examples3d/stress_tests/ccd3.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples3d/primitives3.rs:47\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":"examples3d/primitives3.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34d367a61bbcebeb846ce597fa1541217137e53af856bce0a912aee6123c151"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): src/dynamics/solver/staged_island_solver/solve.rs:179-198 | src/dynamics/solver/staged_island_solver/solve.rs:265-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/staged_island_solver/solve.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":"src/dynamics/solver/staged_island_solver/solve.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d088002b76f1096ba2c3de916223b370110e4fe8a9929e2795d95878c7ac963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): examples2d/ccd2.rs:100-118 | examples3d/ccd3.rs:122-140 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/ccd2.rs:100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/ccd2.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6962706a69178f3f435413e390b60d6a83f1ac3f0b3926a4168a205e396238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): examples2d/debug_angular_limits2.rs:67-84 | examples3d/debug_angular_limits3.rs:72-90 \u2014 before extracting anything, compare \u0060examples2d/debug_angular_limits2.rs\u0060 and \u0060examples3d/debug_angular_limits3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/debug_angular_limits2.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. 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":"examples2d/debug_angular_limits2.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5d83d1627b898bac70a84609985a6821d505bddea67dfe5bd0dcf31ca506be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): examples2d/inverse_kinematics2.rs:78-96 | examples3d/inverse_kinematics3.rs:89-107 \u2014 before extracting anything, compare \u0060examples2d/inverse_kinematics2.rs\u0060 and \u0060examples3d/inverse_kinematics3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/inverse_kinematics2.rs:78\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":"examples2d/inverse_kinematics2.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15dd6773e529ad26978ca469244bd2046aa298b0ad5f878d968b8b0e4ec5225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): examples2d/sensor2.rs:81-99 | examples3d/sensor3.rs:90-108 \u2014 before extracting anything, compare \u0060examples2d/sensor2.rs\u0060 and \u0060examples3d/sensor3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/sensor2.rs:81\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/sensor2.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"125178531f02cdc8e4fe6ed88351d16e187a28d7a4fe7fbb1e63060b51e7f044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): examples2d/soft_plasticity2.rs:120-138 | examples3d/soft_plasticity3.rs:130-148 \u2014 before extracting anything, compare \u0060examples2d/soft_plasticity2.rs\u0060 and \u0060examples3d/soft_plasticity3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_plasticity2.rs:120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_plasticity2.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d8c129c4f5ba89813b75829871f78f56bd6f40890c508bdf50a89923af1f6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/dynamics/joint/multibody_joint/multibody_joint.rs:329-347 | src/dynamics/joint/multibody_joint/multibody_joint.rs:418-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/joint/multibody_joint/multibody_joint.rs:329\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_joint.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39aec5ac08f5218d5316cc2c437127054f40d394325cddd74a537358d727ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/dynamics/rigid_body.rs:1043-1061 | src/dynamics/rigid_body.rs:1069-1087 \u2014 both copies are in the same file, so extract the block 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 \u0060angvel\u0060 to \u0060Real\u0060 in one and \u0060AngVector\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":"src/dynamics/rigid_body.rs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"4094a86363fe8a20cfdf6e042e19451bdbf2ceaa67546f8970815b8ae9edfc96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201328 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_constraint_element.rs:140-167 | src/dynamics/solver/contact_constraint/contact_constraint_element.rs:675-699 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/dynamics/solver/contact_constraint/contact_constraint_element.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"84be0b2f6381513e5c491583a7f4bc1d0a051305e2cf1f916e691517d9c18f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/dynamics/solver/contact_constraint/generic_contact_constraint_element.rs:122-140 | src/dynamics/solver/contact_constraint/generic_contact_constraint_element.rs:157-175 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/contact_constraint/generic_contact_constraint_element.rs:122\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":"src/dynamics/solver/contact_constraint/generic_contact_constraint_element.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3327eaea5b82f915ac0a5bb3f266352544b3b76378e0583b341b9aed357845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 3): examples2d/all_examples2.rs:215-230 | examples3d-f64/all_examples3-f64.rs:32-47 | examples3d/all_examples3.rs:267-284 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/all_examples2.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":"examples2d/all_examples2.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e9d3b36f5374d2ee3591417d22ac14798c86f3fa85e54adb8ac0232c557ba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): bindings/python/rapier-py-3d/src/pipeline.rs:2625-2642 | bindings/python/rapier-py-3d/src/pipeline.rs:2761-2778 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/pipeline.rs:2625\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e09455a178f297498b650614f5d244fc9e35eb055df2e32a9fb2fbbdb4e05ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): bindings/typescript/src/geometry/broad_phase.rs:300-317 | bindings/typescript/src/geometry/broad_phase.rs:401-418 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/typescript/src/geometry/broad_phase.rs:300\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/broad_phase.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6b25dd56e524c8a4ec493d00682dd15bb28f7b0ffc051ccf6dfc2a4c948241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): bindings/typescript/src/geometry/toi.rs:30-47 | bindings/typescript/src/geometry/toi.rs:79-96 \u2014 both copies are in the same file, so extract the block 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":"bindings/typescript/src/geometry/toi.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b79117a508729590e77fd333d94d8aaf2cad96f92ca6e9622902e6b4b11e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): examples2d/character_controller2.rs:144-161 | examples3d/character_controller3.rs:159-176 \u2014 before extracting anything, compare \u0060examples2d/character_controller2.rs\u0060 and \u0060examples3d/character_controller3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/character_controller2.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc4ab1576ecbf07309efe4d40513713ed2dbf937fcef4ea6a454bbe9438db5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): examples2d/soft_plasticity2.rs:21-38 | examples3d/soft_plasticity3.rs:21-38 \u2014 before extracting anything, compare \u0060examples2d/soft_plasticity2.rs\u0060 and \u0060examples3d/soft_plasticity3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_plasticity2.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":"examples2d/soft_plasticity2.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0ed4160b17924c31f3baa93afdaf5b20b78a9b7b9508dde5e601d47fc781ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): examples3d/debug_boxes3.rs:8-25 | examples3d/debug_pop3.rs:8-25 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/debug_boxes3.rs:8\u0060 it does not close everything it opens, so those exact 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, \u0060examples3d/debug_boxes3.rs:26\u0060 calls \u0060translation\u0060 and \u0060examples3d/debug_pop3.rs:28\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":"examples3d/debug_boxes3.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"771f02c6fab998153a685f2c79a55d74efe375d5ae03a9845d6232309d9c551e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs:219-236 | src/geometry/narrow_phase/soft_contacts/soft_contacts_volume.rs:106-123 \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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"67393c95d3accf5476f8a14eaa1f210f58426edb80bd7ca159b58cba410df33f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src_testbed/graphics.rs:1260-1277 | src_testbed/graphics.rs:1431-1448 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src_testbed/graphics.rs:1260\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/graphics.rs"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"767b97cb7628ee46fdea780b666781430e0269470af4f39ede8072f0f5827307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): bindings/c/src/robotics.rs:172-188 | bindings/c/src/robotics.rs:422-438 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/robotics.rs:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/robotics.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05443481e04dfa042f13af20f77752b74bcfbd3821ea16115dcbedf36ac37f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): examples2d/b2d_tumbler.rs:55-67 | examples2d/s2d_confined.rs:66-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 \u0060examples2d/b2d_tumbler.rs:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/b2d_tumbler.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebe13e56f96b6d8a8b029910c0843e40ec87db28d4bbaec2634bb39a09941dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples2d/s2d_high_mass_ratio_1.rs:8-24 | examples2d/s2d_high_mass_ratio_2.rs:8-24 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/s2d_high_mass_ratio_1.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8aeb2900889efd59843d3654174ada0b4e9691f34b7a9d137e90296ebc0642"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples2d/sensor2.rs:52-68 | examples3d/sensor3.rs:56-72 \u2014 before extracting anything, compare \u0060examples2d/sensor2.rs\u0060 and \u0060examples3d/sensor3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/sensor2.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"258c4488b145d238ac25b67f06fe764bba7482981d5a48ced44f6f8258ad6096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples3d/debug_articulations3.rs:17-33 | examples3d/joints3.rs:320-336 \u2014 before extracting anything, compare \u0060examples3d/debug_articulations3.rs\u0060 and \u0060examples3d/joints3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples3d/debug_articulations3.rs:17\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":"examples3d/debug_articulations3.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"adad3dda0425011083fc019ce8c80aa712d6fee4086a0b1477263fc663942853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:341-357 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:409-424 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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 \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:341\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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad79c4fa105dba554eb8258a85a771823685b3722115f058b1d518f6d976105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): src/dynamics/solver/staged_island_solver/worker.rs:510-526 | src/dynamics/solver/staged_island_solver/worker.rs:737-751 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/staged_island_solver/worker.rs:510\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/worker.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d3ea2a3d10c655037272624264d3d64c321ed5b2bae03a00a2b5c05dccd6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/dynamics/solver/staged_island_solver/worker.rs:748-764 | src/dynamics/solver/staged_island_solver/worker.rs:775-791 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/staged_island_solver/worker.rs:748\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/worker.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"931cce0444a7b515047640d8ad8520251e7ec57f9b936fc4a400848c036d98f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/data/arena.rs:934-949 | src/data/arena.rs:967-982 | src/data/arena.rs:1043-1058 | src/data/arena.rs:1076-1091 \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 \u0060src/data/arena.rs:934\u0060 it begins part-way through the construct above it, so those exact 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, \u0060src/data/arena.rs:951\u0060 calls \u0060size_hint\u0060, \u0060Some\u0060 and \u0060src/data/arena.rs:983\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":"src/data/arena.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"594a2b4eb738ca9a1a74e81371d22fdb6434a69e9a9eab6bb1a60552e75d571a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): examples2d/inv_pyramid2.rs:8-23 | examples2d/pyramid2.rs:8-23 | examples2d/stress_tests/pyramid2.rs:8-23 \u2014 before extracting anything, compare \u0060examples2d/pyramid2.rs\u0060 and \u0060examples2d/stress_tests/pyramid2.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/inv_pyramid2.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9971462c64b7324d703a701c8a2c7e1f197707112af36ff5cbd010d89619b5bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples2d/convex_polygons2.rs:30-45 | examples2d/stress_tests/convex_polygons2.rs:30-45 \u2014 before extracting anything, compare \u0060examples2d/convex_polygons2.rs\u0060 and \u0060examples2d/stress_tests/convex_polygons2.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/convex_polygons2.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f7b62443f2e115807774a943454d0208fc2da8d64c23ebd6aa5563a1fb49ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples2d/damping2.rs:8-23 | examples3d/damping3.rs:8-23 \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 \u0060examples2d/damping2.rs:8\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/damping2.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b3512fc41302173001b1311a0ff57130d3218631130f4a4e22936ea28140dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): examples2d/soft_joints2.rs:18-28 | examples3d/soft_joints3.rs:18-33 \u2014 before extracting anything, compare \u0060examples2d/soft_joints2.rs\u0060 and \u0060examples3d/soft_joints3.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 129 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 \u0060examples2d/soft_joints2.rs:18\u0060 it begins part-way through the construct above it, so those exact 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":"examples2d/soft_joints2.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb2716bc1b913cd2cb2c170e95617beb0db479083fe87e902edf435bb82a9d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): examples2d/soft_joints2.rs:86-100 | examples3d/soft_joints3.rs:117-132 \u2014 before extracting anything, compare \u0060examples2d/soft_joints2.rs\u0060 and \u0060examples3d/soft_joints3.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 129 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 \u0060examples2d/soft_joints2.rs:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_joints2.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fb1f9d5358416fe4eab755cf6c804122034bcfd546754fcb4844d814a0cde4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201316 lines \u00D7 3): examples2d/soft_force_tearing2.rs:166-168 | examples2d/soft_tearing2.rs:104-117 | examples3d/soft_tearing3.rs:122-137 \u2014 before extracting anything, compare \u0060examples2d/soft_force_tearing2.rs\u0060 and \u0060examples2d/soft_tearing2.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/soft_tearing2.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. 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":"examples2d/soft_force_tearing2.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e1f484fb060d987db334bc814fb3eae3064688bb3980efed5287b7cf3a3a1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): examples3d/debug_articulations3.rs:40-55 | examples3d/joints3.rs:348-358 \u2014 before extracting anything, compare \u0060examples3d/debug_articulations3.rs\u0060 and \u0060examples3d/joints3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples3d/debug_articulations3.rs:40\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":"examples3d/debug_articulations3.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa4202e0680b8bee7ed8d58ef1b3fb9c1bbbb3660811ad017f13d066fb206c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples3d/debug_rollback3.rs:43-58 | examples3d/debug_shape_modification3.rs:104-119 \u2014 before extracting anything, compare \u0060examples3d/debug_rollback3.rs\u0060 and \u0060examples3d/debug_shape_modification3.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 \u0060examples3d/debug_rollback3.rs:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_rollback3.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c76e62d5cbc0460ad0732034cbfb6911b6c70054ac00e606ba8a27d1432c1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples3d/dynamic_trimesh3.rs:77-92 | examples3d/voxels3.rs:85-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/dynamic_trimesh3.rs:77\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/dynamic_trimesh3.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"384d7f9cdb3c592354edf9db57017c88071bb1a74d38f8469c924a78d203bce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): examples3d/joints3.rs:310-323 | examples3d/stress_tests/joint_ball3.rs:12-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/joints3.rs:310\u0060 it does not close everything it opens, so those exact 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":"examples3d/joints3.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4f87558b7d990b485b5fff0dbac60fffcda38ffbd99bcfa0ae4dc11e48c5ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_constraint_element.rs:400-415 | src/dynamics/solver/contact_constraint/contact_constraint_element.rs:578-592 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/contact_constraint/contact_constraint_element.rs:400\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":"src/dynamics/solver/contact_constraint/contact_constraint_element.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1668bd2e4ea4b947cf7f466a63dde18c136ffcc6ae9c3859fed99d22bf74f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:160-186 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:186-212 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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, \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:215\u0060 calls \u0060from\u0060, \u0060pt_data\u0060, \u0060zero\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17fd9afe311311b54dbd0da6650bf2916ff50e0d21e72aaebbb008fb8e3cb7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): src/dynamics/solver/staged_island_solver/worker.rs:552-567 | src/dynamics/solver/staged_island_solver/worker.rs:765-778 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/staged_island_solver/worker.rs:552\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, \u0060src/dynamics/solver/staged_island_solver/worker.rs:549\u0060 calls \u0060warmstart\u0060 and \u0060src/dynamics/solver/staged_island_solver/worker.rs:762\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":"src/dynamics/solver/staged_island_solver/worker.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"47746905e6e6aecada677179083f3ee6903d0b881c1ce1497fc9b6c38b023e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 8): examples3d/compound3.rs:74-85 | examples3d/debug_shape_modification3.rs:97-108 | examples3d/primitives3.rs:59-73 | examples3d/stress_tests/boxes3.rs:47-58 | examples3d/stress_tests/capsules3.rs:48-59 | examples3d/stress_tests/ccd3.rs:63-74 | examples3d/stress_tests/compound3.rs:53-64 | examples3d/stress_tests/convex_polyhedron3.rs:65-76 \u2014 before extracting anything, compare \u0060examples3d/compound3.rs\u0060 and \u0060examples3d/primitives3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/compound3.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":"examples3d/compound3.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee78959e03df52914576f17650565ed6ca1fb26d037d8fa778d8a67e820dd8c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7): bindings/python/rapier-py-3d/src/joints.rs:949-963 | bindings/python/rapier-py-3d/src/joints.rs:1220-1234 | bindings/python/rapier-py-3d/src/joints.rs:1502-1516 | bindings/python/rapier-py-3d/src/joints.rs:1792-1806 | bindings/python/rapier-py-3d/src/joints.rs:2052-2066 | bindings/python/rapier-py-3d/src/joints.rs:2596-2610 | bindings/python/rapier-py-3d/src/joints.rs:4517-4531 \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 \u0060bindings/python/rapier-py-3d/src/joints.rs:949\u0060 it does not close everything it opens, so those exact 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 \u0060base\u0060 to \u0060rapier::dynamics::FixedJointBuilder\u0060 in one and \u0060rapier::dynamics::RevoluteJointBuilder\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":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"f092529a517d21cd4ea388ea2cf83ec35db8b52c523097fe6221df4db959ecda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7): examples2d/soft_pile2.rs:9-23 | examples2d/soft_surface2.rs:8-22 | examples2d/stress_tests/soft_blobs2.rs:10-24 | examples2d/stress_tests/soft_jellies2.rs:10-24 | examples2d/stress_tests/soft_ropes2.rs:9-23 | examples2d/stress_tests/soft_slab2.rs:10-24 | examples2d/stress_tests/soft_strips2.rs:9-23 \u2014 before extracting anything, compare \u0060examples2d/stress_tests/soft_blobs2.rs\u0060 and \u0060examples2d/stress_tests/soft_jellies2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_pile2.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c462b41a037f5e06a792714d563c399b3f776a58087627f468aff2ae3ec007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): examples2d/pin_slot_joint2.rs:86-100 | examples2d/rope_joints2.rs:67-83 | examples3d/rope_joints3.rs:95-110 \u2014 before extracting anything, compare \u0060examples2d/pin_slot_joint2.rs\u0060 and \u0060examples2d/rope_joints2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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 \u0060examples2d/pin_slot_joint2.rs:86\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":"examples2d/pin_slot_joint2.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ce73936bc8f92888025dd617a7fa68329a4abb0ce82742156dec2bf2a66f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): bindings/bevy_rapier/src/plugin/systems/remove.rs:94-108 | bindings/bevy_rapier/src/plugin/systems/remove.rs:114-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 \u0060bindings/bevy_rapier/src/plugin/systems/remove.rs:94\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":"bindings/bevy_rapier/src/plugin/systems/remove.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60e0b0ffe9340dfd79fceadbf8e76c7db4df0d9e4ba675537645f44313461ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bindings/bevy_rapier/src/plugin/systems/remove.rs:145-159 | bindings/bevy_rapier/src/plugin/systems/remove.rs:168-182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/bevy_rapier/src/plugin/systems/remove.rs:145\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":"bindings/bevy_rapier/src/plugin/systems/remove.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cb0aafb2c8676b1c93075afc6e600278e7302ca1e4403f067e5d7d4c3edbae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bindings/python/rapier-py-3d/src/loaders.rs:862-876 | bindings/python/rapier-py-3d/src/loaders.rs:941-955 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/loaders.rs:862\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":"bindings/python/rapier-py-3d/src/loaders.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc526350b5e1b1730ff6910393ec61bb15b5dabc951b309f3f1dcb742cbcc9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/rapier3d-mjcf/src/loader/mass.rs:244-258 | crates/rapier3d-mjcf/src/loader/mass.rs:293-307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/rapier3d-mjcf/src/loader/mass.rs:244\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/rapier3d-mjcf/src/loader/mass.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e2438ecc82de38ca6eda40c7d912f1593530c89b30105586d4b066f4275cc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): examples2d/debug_box_ball2.rs:25-39 | examples2d/locked_rotations2.rs:40-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/debug_box_ball2.rs:25\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":"examples2d/debug_box_ball2.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51cdec2319f6e2d095fc3f43a9967b9298e643e45fc2e77dff5bb72995d3285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): examples3d/b3d_junkyard.rs:86-100 | examples3d/b3d_trees.rs:173-187 \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":"examples3d/b3d_junkyard.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be2bf85ddebc27d710088c958d76e3fc5ab01d0d9c318787e8de429b254c793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): examples3d/b3d_washer.rs:13-24 | examples3d/stress_tests/pyramid3.rs:14-28 \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":"examples3d/b3d_washer.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54c012dc5863b11fdb019b20a84e26083ef23a37215ef8043c85c8034e549c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): examples3d/character_controller3.rs:56-70 | examples3d/vehicle_controller3.rs:50-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/character_controller3.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. 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":"examples3d/character_controller3.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9c5ad5f32117aedddd2981badcb9588745db9a64bfeb3e87e53616a5b1503e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): examples3d/debug_self_intersect3.rs:9-23 | examples3d/soft_meshes3.rs:26-36 \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":"examples3d/debug_self_intersect3.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dfe7dba22fd758fc032263d1c75e1c94741ddc6ef468a2949b3b50d57359fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): examples3d/harness_capsules3.rs:21-30 | examples3d/stress_tests/capsules3.rs:18-32 \u2014 before extracting anything, compare \u0060examples3d/harness_capsules3.rs\u0060 and \u0060examples3d/stress_tests/capsules3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/harness_capsules3.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"58676bc8ec402d5a9e6bac4e4f85481d7415ec115f797b2e367f4486350336e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): examples3d/stress_tests/trimesh3.rs:22-36 | examples3d/trimesh3.rs:22-36 \u2014 before extracting anything, compare \u0060examples3d/stress_tests/trimesh3.rs\u0060 and \u0060examples3d/trimesh3.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples3d/stress_tests/trimesh3.rs:22\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":"examples3d/stress_tests/trimesh3.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fadd67a2cce9cf05109667e769a2eed3deb0cba6d7e83172a3f0cf5fe2a0ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201315 lines \u00D7 2): src/dynamics/solver/contact_constraint/generic_contact_constraint.rs:203-211 | src/dynamics/solver/contact_constraint/generic_contact_constraint.rs:300-314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/contact_constraint/generic_contact_constraint.rs:203\u0060 it begins part-way through the construct above it, so those exact 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":"src/dynamics/solver/contact_constraint/generic_contact_constraint.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4979d9aa98a15d50ad600415621398c639f39f728048e584dd01863301e1af19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/dynamics/solver/contact_constraint/generic_contact_constraint.rs:604-618 | src/dynamics/solver/contact_constraint/generic_contact_constraint.rs:656-670 \u2014 both copies are in the same file, so extract the block 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":"src/dynamics/solver/contact_constraint/generic_contact_constraint.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de01eb08f015c01e2126ca574c1860bc386c02d005dc01f050df835438acab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/dynamics/solver/contact_constraint/generic_contact_constraint_element.rs:211-225 | src/dynamics/solver/contact_constraint/generic_contact_constraint_element.rs:255-269 \u2014 both copies are in the same file, so extract the block 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":"src/dynamics/solver/contact_constraint/generic_contact_constraint_element.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a5b61ffec0d0c2a16e44a260f9bfbf64aa85e99f384712382cc2eda5d4f5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 41): examples3d-f64/trimesh3_f64.rs:84-94 | examples3d/collision_groups3.rs:86-95 | examples3d/compound3.rs:80-89 | examples3d/convex_polyhedron3.rs:61-70 | examples3d/debug_balls3.rs:53-62 | examples3d/debug_big_colliders3.rs:35-44 | examples3d/debug_boxes3.rs:36-45 | examples3d/debug_chain_high_mass_ratio3.rs:67-76 | examples3d/debug_cube_high_mass_ratio3.rs:90-99 | examples3d/debug_cylinder3.rs:50-59 | examples3d/debug_eccentric_boxes3.rs:37-46 | examples3d/debug_friction3.rs:34-43 | examples3d/debug_internal_edges3.rs:61-70 | examples3d/debug_long_chain3.rs:58-67 | examples3d/debug_multi_collider_body3.rs:53-62 | examples3d/debug_pop3.rs:36-45 | examples3d/debug_prismatic3.rs:65-74 | examples3d/debug_thin_cube_on_mesh3.rs:50-59 | examples3d/debug_triangle3.rs:32-41 | examples3d/debug_trimesh3.rs:54-63 | examples3d/debug_two_cubes3.rs:22-31 | examples3d/domino3.rs:75-84 | examples3d/dynamic_trimesh3.rs:127-136 | examples3d/heightfield3.rs:92-101 | examples3d/keva3.rs:112-121 | examples3d/newton_cradle3.rs:41-50 | examples3d/primitives3.rs:65-78 | examples3d/stress_tests/balls3.rs:47-56 | examples3d/stress_tests/boxes3.rs:53-62 | examples3d/stress_tests/capsules3.rs:54-63 | examples3d/stress_tests/ccd3.rs:69-78 | examples3d/stress_tests/compound3.rs:59-68 | examples3d/stress_tests/convex_polyhedron3.rs:71-80 | examples3d/stress_tests/heightfield3.rs:70-79 | examples3d/stress_tests/keva3.rs:110-119 | examples3d/stress_tests/many_pyramids3.rs:74-83 | examples3d/stress_tests/many_sleep3.rs:48-57 | examples3d/stress_tests/many_static3.rs:46-55 | examples3d/stress_tests/stacks3.rs:174-183 | examples3d/stress_tests/trimesh3.rs:75-84 | examples3d/trimesh3.rs:102-111 \u2014 before extracting anything, compare \u0060examples3d/collision_groups3.rs\u0060 and \u0060examples3d/compound3.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d-f64/trimesh3_f64.rs:84\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, \u0060examples3d/debug_chain_high_mass_ratio3.rs:61\u0060 calls \u0060push\u0060 and \u0060examples3d-f64/trimesh3_f64.rs:78\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":"examples3d-f64/trimesh3_f64.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f8cbb4eec73833fbf6cb5a618895434aea35e883982630b09a9fa04dbb159b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 10): examples2d/convex_polygons2.rs:62-75 | examples2d/pyramid2.rs:40-53 | examples2d/restitution2.rs:29-42 | examples2d/s2d_pyramid.rs:35-48 | examples2d/stress_tests/balls2.rs:50-63 | examples2d/stress_tests/boxes2.rs:49-62 | examples2d/stress_tests/capsules2.rs:51-64 | examples2d/stress_tests/convex_polygons2.rs:65-78 | examples2d/stress_tests/pyramid2.rs:40-53 | examples2d/trimesh2.rs:43-56 \u2014 before extracting anything, compare \u0060examples2d/convex_polygons2.rs\u0060 and \u0060examples2d/stress_tests/boxes2.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. 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 \u0060examples2d/convex_polygons2.rs:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/convex_polygons2.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc3464878eecb7a460d9cad78785118f302b9565db72f201fc774912fce7e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): bindings/python/rapier-py-3d/src/pipeline.rs:1388-1401 | bindings/python/rapier-py-3d/src/pipeline.rs:1660-1673 | bindings/python/rapier-py-3d/src/pipeline.rs:1948-1961 | bindings/python/rapier-py-3d/src/pipeline.rs:2040-2053 \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 \u0060bindings/python/rapier-py-3d/src/pipeline.rs:1388\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":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a6aa37be30745eba8961c2821d838958f83e93525eb192597b579e9c1f4671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): examples3d/heightfield3.rs:38-51 | examples3d/stress_tests/heightfield3.rs:38-51 | examples3d/stress_tests/trimesh3.rs:43-56 | examples3d/trimesh3.rs:48-61 \u2014 before extracting anything, compare \u0060examples3d/heightfield3.rs\u0060 and \u0060examples3d/stress_tests/heightfield3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples3d/heightfield3.rs:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/heightfield3.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce856f9fb9abe28a8ab2f40eda695e4600b7bf24b74b92b7761a4525b8b4119"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): crates/rapier3d-mjcf/src/loader/mass.rs:175-188 | crates/rapier3d-mjcf/src/loader/mass.rs:242-254 | crates/rapier3d-mjcf/src/loader/mass.rs:291-303 \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/rapier3d-mjcf/src/loader/mass.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc8be8b4bf783a88be69d06490f0f180344479b5220613fecc6e126672fb271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 3): examples2d/ccd2.rs:95-108 | examples2d/sensor2.rs:75-85 | examples3d/ccd3.rs:117-130 \u2014 before extracting anything, compare \u0060examples2d/sensor2.rs\u0060 and \u0060examples3d/ccd3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/ccd2.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. 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, \u0060examples2d/sensor2.rs:73\u0060 calls \u0060look_at\u0060 and \u0060examples2d/ccd2.rs:93\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":"examples2d/ccd2.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c3e80b362e2e39e0513a05c5da9268aaf55e439caaa046b41c35c3c9ec70e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): examples2d/damping2.rs:31-44 | examples2d/debug_vertical_column2.rs:33-46 | examples2d/s2d_arch.rs:95-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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/damping2.rs:31\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/damping2.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d3459fc2a580e4dc22112ba9159fcc91a1a572bc587670633692e5e60fe88a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): examples2d/heightfield2.rs:48-61 | examples2d/polyline2.rs:49-62 | examples2d/stress_tests/heightfield2.rs:48-61 \u2014 before extracting anything, compare \u0060examples2d/heightfield2.rs\u0060 and \u0060examples2d/polyline2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 65 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 \u0060examples2d/heightfield2.rs:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/heightfield2.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de291d1e98c20de07370b3e4b885c452ae2e76a5a014a0d6ab3db2a857f76b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): examples2d/soft_fem2.rs:30-43 | examples3d/soft_fem3.rs:31-44 | examples3d/soft_fem3.rs:58-71 \u2014 before extracting anything, compare \u0060examples2d/soft_fem2.rs\u0060 and \u0060examples3d/soft_fem3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/soft_fem2.rs:30\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_fem2.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"09eb84d72513e61d41e1a0d95ac3ad50efc0821e2beb31c470c99a24edfa46d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bindings/c/src/joint_desc.rs:240-253 | bindings/c/src/joint_desc.rs:276-289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/joint_desc.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":"bindings/c/src/joint_desc.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42810b055ccb1e3978b250d5afecb9ed169a322008369d16107a039d69cd038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bindings/c/src/pipeline.rs:1234-1247 | bindings/c/src/pipeline.rs:1262-1275 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/pipeline.rs:1234\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/pipeline.rs"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7346c2a0624253914496469ee93d8a590bfca985e1b9bcd48054bb8646ac3a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): bindings/c/src/world_queries.rs:368-381 | bindings/c/src/world_queries.rs:419-430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/world_queries.rs:368\u0060 it does not close everything it opens, so those exact 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":"bindings/c/src/world_queries.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee9084fc84670b333e0bc8d95e158bbb8e341c92a38e5a2aaa8595d8f573e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bindings/python/rapier-py-3d/src/loaders.rs:355-368 | bindings/python/rapier-py-3d/src/loaders.rs:1200-1213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/loaders.rs:355\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/loaders.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"95951d104087fc1743ea34f96c1bff132f527efbe198fd2e1082dc531292d3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bindings/typescript/src/geometry/toi.rs:14-27 | bindings/typescript/src/geometry/toi.rs:63-76 \u2014 both copies are in the same file, so extract the block 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":"bindings/typescript/src/geometry/toi.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3761b897c40733d24e03f0a3a6d24eac5edaea7b7d54e08f2b1c8c2db1e91d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): examples2d/character_controller2.rs:35-48 | examples3d/character_controller3.rs:50-63 \u2014 before extracting anything, compare \u0060examples2d/character_controller2.rs\u0060 and \u0060examples3d/character_controller3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 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 \u0060examples2d/character_controller2.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":"examples2d/character_controller2.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4922ec03e7fde14cb938f40d932d3c2364e46077ed702adef24ab3988b2105f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): examples2d/soft_joints2.rs:49-60 | examples3d/soft_joints3.rs:75-88 \u2014 before extracting anything, compare \u0060examples2d/soft_joints2.rs\u0060 and \u0060examples3d/soft_joints3.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 129 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 \u0060examples3d/soft_joints3.rs:75\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_joints2.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31960b3f55d27b9c0969818051401b2b52c1958d816dda6e0f0f725139060eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): examples3d/compound3.rs:17-30 | examples3d/convex_polyhedron3.rs:19-32 \u2014 before extracting anything, compare \u0060examples3d/compound3.rs\u0060 and \u0060examples3d/convex_polyhedron3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"examples3d/compound3.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c41eb33d9864dcb41801be5d2cfabbf679e1bc2d125b69c0e5ed8c4aa08b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): examples3d/joints3.rs:260-272 | examples3d/stress_tests/joint_fixed3.rs:25-38 \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 \u0060examples3d/joints3.rs:260\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/joints3.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62c1f59d8a1ee109fd5c0fb4617f83f2bda537a193d21bdbe9e441b0fc4d0e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201314 lines \u00D7 2): examples3d/platform3.rs:18-31 | examples3d/sensor3.rs:24-32 \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 \u0060examples3d/platform3.rs:18\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/platform3.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e394c340b1f96a613dbc0b3a0a6f576b27fc6d5c664fb165cf4a5233bca090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:317-330 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:381-393 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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 \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:317\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a9fca62da281ca540c9207764f8120c7f45b5a29831ca607cdc3de51ea1adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src_testbed/ui.rs:1214-1227 | src_testbed/ui.rs:1257-1270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/ui.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f7c6baac4bfdc4eb74bc8447dc0329891b8149d9949230fdfa7bf55b168bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): bindings/typescript/src/geometry/broad_phase.rs:44-56 | bindings/typescript/src/geometry/broad_phase.rs:86-98 | bindings/typescript/src/geometry/broad_phase.rs:175-187 | bindings/typescript/src/geometry/broad_phase.rs:217-229 | bindings/typescript/src/geometry/broad_phase.rs:256-268 | bindings/typescript/src/geometry/broad_phase.rs:297-309 | bindings/typescript/src/geometry/broad_phase.rs:348-360 | bindings/typescript/src/geometry/broad_phase.rs:398-410 \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 \u0060bindings/typescript/src/geometry/broad_phase.rs:44\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/broad_phase.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b49e57fc56d3e687a06e8144fda648b32e3e61aee3a231f166c93816e64e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): examples2d/convex_polygons2.rs:10-22 | examples2d/stress_tests/boxes2.rs:8-20 | examples2d/stress_tests/capsules2.rs:8-20 | examples2d/stress_tests/convex_polygons2.rs:10-22 | examples2d/trimesh2.rs:8-20 \u2014 before extracting anything, compare \u0060examples2d/convex_polygons2.rs\u0060 and \u0060examples2d/stress_tests/boxes2.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/convex_polygons2.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55f441f00023f4caa37e168af88564d8a414d50d4faec867d461570fa3b5545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): examples2d/heightfield2.rs:28-40 | examples2d/polyline2.rs:29-41 | examples2d/stress_tests/heightfield2.rs:28-40 \u2014 before extracting anything, compare \u0060examples2d/heightfield2.rs\u0060 and \u0060examples2d/polyline2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 65 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 \u0060examples2d/heightfield2.rs:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/heightfield2.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbf408f8c76be2d47315a6957077a7b4dc3e2a00dbaf71e9d28946c287f50d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): examples2d/soft_pile2.rs:68-79 | examples2d/soft_surface2.rs:83-95 | examples3d/soft_surface3.rs:105-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_pile2.rs:68\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_pile2.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c013d7a8f1845a290440f00d3002bcd6e2a473c60da01e3cc6406739564f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): examples3d/debug_dynamic_collider_add3.rs:18-30 | examples3d/debug_rollback3.rs:18-30 | examples3d/debug_shape_modification3.rs:18-30 \u2014 before extracting anything, compare \u0060examples3d/debug_dynamic_collider_add3.rs\u0060 and \u0060examples3d/debug_rollback3.rs\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060examples3d/debug_dynamic_collider_add3.rs:18\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_dynamic_collider_add3.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf81bd578e9e0245a94e7bbdebc95d534468c5d949b97c319ce9e60fff40f97b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:128-140 | src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:235-247 | src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:337-349 \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 \u0060src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"038bf4d34f3d934f228a9066669be460738ae2031871867d71f3b9794ceec75f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bindings/c/src/extra.rs:506-518 | bindings/c/src/joints.rs:485-497 \u2014 before extracting anything, compare \u0060bindings/c/src/extra.rs\u0060 and \u0060bindings/c/src/joints.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/extra.rs:506\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/extra.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e12cdc58aa8240ae516d2595386b70c8f0490e01f538bbfc2cd27468b15a466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): bindings/c/src/soft_body.rs:736-745 | bindings/c/src/soft_body.rs:1240-1252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/soft_body.rs:736\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":"bindings/c/src/soft_body.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea0be0157a841aec64c3797f240378c6b0667839c377e54714d826caf435fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bindings/typescript/src/dynamics/rigid_body_set.rs:117-129 | bindings/typescript/src/dynamics/rigid_body_set.rs:177-189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/typescript/src/dynamics/rigid_body_set.rs:117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/dynamics/rigid_body_set.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c718cfd5f60dbf8e959b4ff67579f1b5afe4bed34a0f495f3e4bff4c7a806a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/rapier3d-mjcf/src/loader/conversion.rs:579-591 | crates/rapier3d-mjcf/src/loader/conversion.rs:595-607 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/rapier3d-mjcf/src/loader/conversion.rs:579\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/conversion.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7a82e17ff3aa330b1df51ec9c2c93939c67d09b21435a4e9b040e43dcb014f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): examples2d/soft_fem2.rs:56-70 | examples3d/soft_fem3.rs:63-77 \u2014 before extracting anything, compare \u0060examples2d/soft_fem2.rs\u0060 and \u0060examples3d/soft_fem3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/soft_fem2.rs:56\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":"examples2d/soft_fem2.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"447ef0d54ddcd57456fad7440cfe1ebd97e9cd9403ee43c5c8b070843a4934d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples2d/soft_plasticity2.rs:76-88 | examples3d/soft_plasticity3.rs:88-100 \u2014 before extracting anything, compare \u0060examples2d/soft_plasticity2.rs\u0060 and \u0060examples3d/soft_plasticity3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_plasticity2.rs:76\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_plasticity2.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3699247568e1123af9246a3aad136a72035551739040ca1a8b73d3576f57ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): examples3d/character_controller3.rs:176-188 | examples3d/platform3.rs:68-77 \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 \u0060examples3d/character_controller3.rs:176\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/character_controller3.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"53341a6839a3c730a8df80fa344ee88dfab9c27d7ee973cfbbc844367be03b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 2): examples3d/debug_cylinder3.rs:26-33 | examples3d/primitives3.rs:18-30 \u2014 before extracting anything, compare \u0060examples3d/debug_cylinder3.rs\u0060 and \u0060examples3d/primitives3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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":"examples3d/debug_cylinder3.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"035a785aea640bc2197cf05ecc5722dd5b79afd7af2086e50c9a111bf4cf0307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples3d/debug_dynamic_collider_add3.rs:38-50 | examples3d/debug_rollback3.rs:37-49 \u2014 before extracting anything, compare \u0060examples3d/debug_dynamic_collider_add3.rs\u0060 and \u0060examples3d/debug_rollback3.rs\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060examples3d/debug_dynamic_collider_add3.rs:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_dynamic_collider_add3.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e81b20be070625d639b21c80122e8cf2c35365c23b32c51df8c9b5e7e5fc1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples3d/debug_dynamic_collider_add3.rs:64-76 | examples3d/debug_rollback3.rs:52-64 \u2014 before extracting anything, compare \u0060examples3d/debug_dynamic_collider_add3.rs\u0060 and \u0060examples3d/debug_rollback3.rs\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060examples3d/debug_dynamic_collider_add3.rs:64\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_dynamic_collider_add3.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fc4357bd7b6837240c8813dc50f349a5d3ff4b06aeea89790b869c3439cc54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): examples3d/debug_shape_modification3.rs:56-68 | examples3d/stress_tests/ccd3.rs:23-31 \u2014 before extracting anything, compare \u0060examples3d/debug_shape_modification3.rs\u0060 and \u0060examples3d/stress_tests/ccd3.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_shape_modification3.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee07b350b8ad2290d1d9c2ae6e9493c69f3f94b3631df30b1e62f7afd335e56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/dynamics/joint/multibody_joint/unit_multibody_joint.rs:48-61 | src/dynamics/joint/multibody_joint/unit_multibody_joint.rs:108-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/joint/multibody_joint/unit_multibody_joint.rs:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/unit_multibody_joint.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7be0809e22481e0a09b385229c7fd119b8cef77fdd249ad072c836175a97b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs:64-76 | src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs:133-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs:64\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":"src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"779809c49ccc59890e97378a160ab361cac4ed2fc8a057c3626d0e00d1c035c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:401-413 | src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:473-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 \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:401\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"05826bae12cf6691c822c0ac15f84163ddb833ee7becfb927697ac99cd59e3d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs:193-204 | src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs:211-223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs:193\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":"src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bae4fa6bb03cda8ba6dafc123757aae0a2d7d554b1cdb4df6b8dfa27b47ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201312 lines \u00D7 5): examples3d/heightfield3.rs:38-44 | examples3d/stress_tests/compound3.rs:23-29 | examples3d/stress_tests/heightfield3.rs:38-44 | examples3d/stress_tests/trimesh3.rs:43-49 | examples3d/trimesh3.rs:43-54 \u2014 before extracting anything, compare \u0060examples3d/heightfield3.rs\u0060 and \u0060examples3d/stress_tests/heightfield3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/heightfield3.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"037a295cb9b21ab3be49ea140e62474363c8fc3e82e3a06bf0b904c2926317b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): examples2d/soft_fem2.rs:32-44 | examples2d/soft_fem2.rs:54-65 | examples3d/soft_fem3.rs:33-45 | examples3d/soft_fem3.rs:60-72 \u2014 before extracting anything, compare \u0060examples2d/soft_fem2.rs\u0060 and \u0060examples3d/soft_fem3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/soft_fem2.rs:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_fem2.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38f85b9f041491bac7564e2c1ebc45d32479de74e98d5f92a88694b4fecb233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): examples2d/b2d_compounds.rs:86-97 | examples2d/b2d_smash.rs:36-47 | examples2d/stress_tests/ragdolls2.rs:85-99 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/b2d_compounds.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":"examples2d/b2d_compounds.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbf590a689b3e294b86d9abd9e9d1ef7137594c5cbf6fc52961f322db79d5ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): examples2d/b2d_spinner.rs:80-91 | examples2d/s2d_joint_grid.rs:50-64 | examples2d/soft_pile2.rs:87-98 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/b2d_spinner.rs:80\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/b2d_spinner.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0600b4eb90136db4e2dd6ecaf652d29a04b912598413b13cc389b6595261dc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 3): examples3d/debug_disabled3.rs:29-36 | examples3d/fountain3.rs:24-35 | examples3d/joint_motor_position3.rs:64-71 \u2014 before extracting anything, compare \u0060examples3d/debug_disabled3.rs\u0060 and \u0060examples3d/fountain3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060examples3d/debug_disabled3.rs:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_disabled3.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"158591a31f5da249aec1ad99dea664e9788b61a6a97255357db9659699b3134e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): examples3d/stress_tests/heightfield3.rs:18-29 | examples3d/stress_tests/trimesh3.rs:18-29 | examples3d/trimesh3.rs:18-29 \u2014 before extracting anything, compare \u0060examples3d/stress_tests/heightfield3.rs\u0060 and \u0060examples3d/stress_tests/trimesh3.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 89 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 \u0060examples3d/stress_tests/heightfield3.rs:18\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":"examples3d/stress_tests/heightfield3.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cd05681981a3c7079bb50c477c75d41e34ad98608c9f8fd9c2cddb543ec591"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bindings/bevy_rapier/src/plugin/systems/joint.rs:259-270 | bindings/bevy_rapier/src/plugin/systems/joint.rs:289-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 \u0060bindings/bevy_rapier/src/plugin/systems/joint.rs:259\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/joint.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec6512c19c66d5bb89dae61fcce918a31638e3b5fd81e3f3fb587589a88eaed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): examples2d/b2d_many_pyramids.rs:33-42 | examples2d/stress_tests/many_pyramids2.rs:14-25 \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":"examples2d/b2d_many_pyramids.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ae6182704f31f3de58c30709bc3cdf60c566ae32e741bb697b36553e6deed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): examples2d/character_controller2.rs:164-173 | examples3d/character_controller3.rs:179-190 \u2014 before extracting anything, compare \u0060examples2d/character_controller2.rs\u0060 and \u0060examples3d/character_controller3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 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 \u0060examples2d/character_controller2.rs:164\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/character_controller2.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd679c4e9e2166f0943098c3f9772baf883b72f6f413619befdc994bb7e0cf53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): examples2d/debug_angular_limits2.rs:28-45 | examples3d/debug_angular_limits3.rs:28-48 \u2014 before extracting anything, compare \u0060examples2d/debug_angular_limits2.rs\u0060 and \u0060examples3d/debug_angular_limits3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/debug_angular_limits2.rs:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"examples2d/debug_angular_limits2.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c540912d273d7ef83c292766b7978888092b431565bd427ba3c0edadbdaaa5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples2d/soft_blobs2.rs:13-24 | examples2d/soft_bodies2.rs:13-24 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_blobs2.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76119c2b10ec7caac58dfb70946f94edfdf38152e2ef02b79c54eed217c75ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples2d/soft_fem2.rs:79-90 | examples3d/soft_fem3.rs:86-97 \u2014 before extracting anything, compare \u0060examples2d/soft_fem2.rs\u0060 and \u0060examples3d/soft_fem3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/soft_fem2.rs:79\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_fem2.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"73499acf18f824dfd7e110d046e203416dcbe4e7685004ef59cb9dd38111cfdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples2d/utils/character.rs:163-174 | examples3d/utils/character.rs:179-190 \u2014 before extracting anything, compare \u0060examples2d/utils/character.rs\u0060 and \u0060examples3d/utils/character.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 128 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 \u0060examples2d/utils/character.rs:163\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":"examples2d/utils/character.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4231a6856a423fff46a5a7286ce0a4d25b069f0333b791d9872b3f675a9a5284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples3d/b3d_washer.rs:52-63 | examples3d/b3d_washer.rs:66-77 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/b3d_washer.rs:52\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/b3d_washer.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45df6bf3fa22730b930b5812d078a66b0e1213aa7d5aa0d38312ab9a9ab0850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples3d/debug_disabled3.rs:5-16 | examples3d/fountain3.rs:7-18 \u2014 before extracting anything, compare \u0060examples3d/debug_disabled3.rs\u0060 and \u0060examples3d/fountain3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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":"examples3d/debug_disabled3.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3356fd06b9c1e93e42450606ee80725b377353dcc4946ca57a22256abf76085c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples3d/heightfield3.rs:9-20 | examples3d/trimesh3.rs:9-20 \u2014 before extracting anything, compare \u0060examples3d/heightfield3.rs\u0060 and \u0060examples3d/trimesh3.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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 \u0060examples3d/heightfield3.rs:9\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/heightfield3.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa439ac1622c22787c681a522c7e6b6f7022f51caa9e3249e429c2045522e7ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/data/arena.rs:839-850 | src/data/arena.rs:862-873 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/data/arena.rs:839\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 after the matched lines, \u0060src/data/arena.rs:852\u0060 calls \u0060size_hint\u0060, \u0060Some\u0060 and \u0060src/data/arena.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":"src/data/arena.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a39d12de8729c098fbb83c84402e2d19402b63474446a37af67ca2e298dde69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/dynamics/island_manager/global_split.rs:226-237 | src/dynamics/island_manager/global_split.rs:255-265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/island_manager/global_split.rs:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/island_manager/global_split.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b2f4a55f300476257ce4a5983761eaec4e1d35ca249a4e162072caecee6382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/dynamics/rigid_body_components.rs:400-411 | src/dynamics/rigid_body_components.rs:417-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":"src/dynamics/rigid_body_components.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde4a412ea7937911de7dc6d8a2d7e8d41197aee97e13f2fdb40371a4a632ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs:436-447 | src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs:449-460 \u2014 both copies are in the same file, so extract the block 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":"src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba7813daa5b4aea6ce539fd4f65ed4774c904093e50947675291ef9a447f177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/dynamics/solver/staged_island_solver/joints.rs:111-122 | src/dynamics/solver/staged_island_solver/joints.rs:334-345 \u2014 both copies are in the same file, so extract the block 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":"src/dynamics/solver/staged_island_solver/joints.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c124e167b4c9242362adf418e09ea2233b19e16305d882be38aed11bfa0d1b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/dynamics/solver/staged_island_solver/joints.rs:187-198 | src/dynamics/solver/staged_island_solver/joints.rs:366-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 \u0060src/dynamics/solver/staged_island_solver/joints.rs:187\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/joints.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8df90a91424563af5ffa1e34ce1720241df7d3bb377856d8e0e235a2b3e72a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/dynamics/solver/staged_island_solver/joints.rs:279-290 | src/dynamics/solver/staged_island_solver/joints.rs:480-491 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/staged_island_solver/joints.rs:279\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/joints.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ddbe55484b187e1f435d3ef9307838d32e74131595c8aa809fcc8cac804726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs:251-262 | src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs:323-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 \u0060src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3fb9ae49882d00ce87d5e46ba78dbdb3d1673f56c9757706e426ce8337b008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): examples2d/character_controller2.rs:13-23 | examples2d/inverse_kinematics2.rs:8-18 | examples2d/locked_rotations2.rs:11-21 | examples2d/pin_slot_joint2.rs:11-21 | examples2d/platform2.rs:8-18 | examples2d/rope_joints2.rs:11-21 \u2014 before extracting anything, compare \u0060examples2d/character_controller2.rs\u0060 and \u0060examples2d/platform2.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/character_controller2.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1a2b42937cd979c6ca679d14ae22b76953853c61b15054a2bdb1407234a721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): examples3d/debug_add_remove_collider3.rs:26-36 | examples3d/debug_cylinder3.rs:45-55 | examples3d/debug_internal_edges3.rs:56-66 | examples3d/debug_thin_cube_on_mesh3.rs:45-55 | examples3d/debug_triangle3.rs:27-37 | examples3d/debug_two_cubes3.rs:17-27 \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 6 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/debug_add_remove_collider3.rs:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_add_remove_collider3.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbf9dc4532346b6b911494f483e6123b6794c746b585b36459e005f213ab72b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 4): bindings/c/src/pipeline.rs:1843-1849 | bindings/c/src/pipeline.rs:1955-1965 | bindings/c/src/pipeline.rs:2003-2013 | bindings/c/src/pipeline.rs:2099-2109 \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. 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":"bindings/c/src/pipeline.rs"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"800c804b3c1c4a8807b9ee867a8496705ad442e9d6886b17251c8650e006091c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): examples2d/soft_joints2.rs:18-28 | examples2d/soft_thin_features2.rs:17-27 | examples3d/soft_joints3.rs:18-28 | examples3d/soft_thin_features3.rs:17-27 \u2014 before extracting anything, compare \u0060examples2d/soft_joints2.rs\u0060 and \u0060examples3d/soft_joints3.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 129 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 \u0060examples2d/soft_joints2.rs:18\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_joints2.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b8ca41bd8ccb4de72fed0dcb740a0a40adc3ca2fb9ae0e60d1280ea11a6857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): examples3d/platform3.rs:8-18 | examples3d/primitives3.rs:8-18 | examples3d/rope_joints3.rs:11-21 | examples3d/vehicle_controller3.rs:9-19 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/platform3.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5d6c7ea1ba2bdeb2b800438ebd9e989710cc04ac325b0ec7014592e9926afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): examples2d/sensor2.rs:90-100 | examples3d/ccd3.rs:139-152 | examples3d/sensor3.rs:99-109 \u2014 before extracting anything, compare \u0060examples2d/sensor2.rs\u0060 and \u0060examples3d/ccd3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/sensor2.rs:90\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/sensor2.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc9d76cc449b0f0d7b7c3ea56e2523db6026b4a14edf30c08a7fcefc8a0a038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs:360-370 | bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs:385-394 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs:360\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":"bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e068024e1743bcb1c086878e0fa0a72b4593b295ad5673d057eda2b9810f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bindings/c/src/extra.rs:345-356 | bindings/c/src/extra.rs:453-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 \u0060bindings/c/src/extra.rs:345\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/extra.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9a425b60f13c533aafcb4f53a1b2e9cf7f41241560875c81c257e7b537f0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bindings/c/src/extra.rs:383-393 | bindings/c/src/queries_extras.rs:466-476 \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 \u0060bindings/c/src/extra.rs:383\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/extra.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b014df2f26772aa76fbd6538bdf0e1c8098faf3ccd212a05ef0971fd9476d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): bindings/c/src/pipeline.rs:2187-2197 | bindings/c/src/pipeline.rs:2218-2226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/pipeline.rs:2187\u0060 it does not close everything it opens, so those exact 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":"bindings/c/src/pipeline.rs"},"region":{"startLine":2187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b98f05fc560c0b86bf94c43268625ef15e3736b6785057082b2b36aec42f324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bindings/c/src/queries_extras.rs:421-431 | bindings/c/src/queries_extras.rs:453-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/queries_extras.rs:421\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/queries_extras.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcd9578b13f70280da14798fb12623c01755341a66a3c6484a7c7512ec40240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): bindings/c/src/soft_body.rs:1285-1295 | bindings/c/src/soft_desc.rs:219-228 \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 \u0060bindings/c/src/soft_body.rs:1285\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":"bindings/c/src/soft_body.rs"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50e62f977beec9c23cefa1abe41aa4ff69e2e0bb437184798c54592cf5fc26b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bindings/python/rapier-py-3d/src/joints.rs:1086-1096 | bindings/python/rapier-py-3d/src/joints.rs:1268-1278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73fa79ebb4c6e2f3c8651d1b0029f5e48406e97efeea67306f2191dac1cf6e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bindings/typescript/src/dynamics/joint.rs:223-233 | bindings/typescript/src/dynamics/joint.rs:250-260 \u2014 both copies are in the same file, so extract the block 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":"bindings/typescript/src/dynamics/joint.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8a539acccda1ee2e488cd362e248bd296f8cdc35535f4f023bf67e30e1957c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/rapier3d-mjcf/src/loader/mass.rs:216-226 | crates/rapier3d-mjcf/src/loader/mass.rs:260-270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/rapier3d-mjcf/src/loader/mass.rs:216\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/rapier3d-mjcf/src/loader/mass.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee91af6f9993456986651385750793b065c6c65f2e86e443e446ea49f4454e17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): examples2d/character_controller2.rs:161-171 | examples2d/platform2.rs:61-70 \u2014 before extracting anything, compare \u0060examples2d/character_controller2.rs\u0060 and \u0060examples2d/platform2.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 \u0060examples2d/character_controller2.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/character_controller2.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf9ddf507495cb350b646d8547c979b6524168c8347b18b6e0f2594e6799ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples2d/collision_groups2.rs:9-19 | examples2d/sensor2.rs:9-19 \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":"examples2d/collision_groups2.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0250a8cc3335652d1e327e260751ba7b4aeb803bcec7ad29ec8948832e801a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples2d/inverse_kinematics2.rs:59-69 | examples3d/inverse_kinematics3.rs:59-69 \u2014 before extracting anything, compare \u0060examples2d/inverse_kinematics2.rs\u0060 and \u0060examples3d/inverse_kinematics3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/inverse_kinematics2.rs:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/inverse_kinematics2.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a40ebddabb1ecca2b177f19c945d0beeab0b92c199c2a0da19381339c4f41d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples2d/joints2.rs:20-30 | examples2d/stress_tests/joint_ball2.rs:14-24 \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 \u0060examples2d/joints2.rs:20\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060examples2d/joints2.rs:13\u0060 calls \u0060example_settings_mut\u0060, \u0060get_or_set_bool\u0060 and \u0060examples2d/stress_tests/joint_ball2.rs:8\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":"examples2d/joints2.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8315659cfe341b3584e69d8162d28f9ad10b7e53fbcecc2e76aedb7823bb1a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples2d/soft_pile2.rs:28-38 | examples2d/stress_tests/soft_jellies2.rs:23-33 \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 \u0060examples2d/soft_pile2.rs:28\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_pile2.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7432f3ebb2d6198da10026a9d533ff0e907c2986bca0e5569e2057c18f646cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples2d/soft_tearing2.rs:89-99 | examples3d/soft_tearing3.rs:107-117 \u2014 before extracting anything, compare \u0060examples2d/soft_tearing2.rs\u0060 and \u0060examples3d/soft_tearing3.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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 \u0060examples2d/soft_tearing2.rs:89\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":"examples2d/soft_tearing2.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cfa83041ca7031d9d490afd53d032eb690c10e8a67684aa201a5a1d7c32f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples2d/stress_tests/joint_fixed2.rs:26-37 | examples3d/debug_articulations3.rs:10-20 \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 \u0060examples2d/stress_tests/joint_fixed2.rs:26\u0060 it does not close everything it opens, so those exact 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":"examples2d/stress_tests/joint_fixed2.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b03cef3f30eea1ecdcf94df281a06392afe9090e72d25b7e2e551c3021d2634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): examples3d/debug_self_intersect3.rs:62-80 | examples3d/debug_self_intersect3.rs:101-117 \u2014 both copies are in the same file, so extract the block 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":"examples3d/debug_self_intersect3.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a2d409b6ef2488eaa8ad5a9ddae8ef8c47047f6e6348ba2602cb1aa9241a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples3d/mjcf3.rs:26-36 | examples3d/urdf3.rs:28-38 \u2014 before extracting anything, compare \u0060examples3d/mjcf3.rs\u0060 and \u0060examples3d/urdf3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 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 \u0060examples3d/mjcf3.rs:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/mjcf3.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"76acb3601eb09c91abc3c772701db6f5c8a89ffb1e0abfc2cd8c946f9eeffdba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/data/graph.rs:337-347 | src/data/graph.rs:373-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/data/graph.rs:337\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/data/graph.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28a98adfef7c5afcc87a8b76e40b03345f0574f8abefbf48802ffa19b7cb44c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/dynamics/joint/multibody_joint/multibody.rs:1638-1648 | src/dynamics/joint/multibody_joint/multibody.rs:1711-1721 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"14570f9985f80f59af47800d8a3f03cf4252403c8a0b7b82c28a94aabe11344e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/dynamics/soft_body/soft_body_builder/soft_body_builder_mesh_helpers.rs:75-85 | src/dynamics/soft_body/soft_body_builder/soft_body_builder_mesh_helpers.rs:97-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/soft_body/soft_body_builder/soft_body_builder_mesh_helpers.rs:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_builder/soft_body_builder_mesh_helpers.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac14b102e47332feb94c34b14fdadbdde9707534e460e0aadc649e088de833a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:199-209 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:224-233 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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, \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:192\u0060 calls \u0060zero\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:219\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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e91e1f831e4e48e482cc3bd7b5208d1d501cfe55e317f9a0d6c092ca99cfc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:391-401 | src/dynamics/solver/contact_constraint/generic_contact_constraint.rs:444-454 \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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"45811d40ddad30c20561c6b7280d23483ae049fb6b2213a243785cb8e54316b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:435-445 | src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:650-660 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:435\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:661\u0060 calls \u0060default\u0060 and \u0060src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:446\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":"src/dynamics/solver/joint_constraint/joint_constraint_helper.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a23ff79e5c2b8dcc6cb43ce5712a6a71fd45d991f0385eb8fe71b6d5f308f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/dynamics/solver/staged_island_solver/worker.rs:49-59 | src/dynamics/solver/staged_island_solver/worker.rs:952-962 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/staged_island_solver/worker.rs:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/worker.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccb1ffa82c88d34274d1a87cc31ccc0e456a562d70dc8a26798deab12922f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src_testbed/graphics.rs:1074-1084 | src_testbed/graphics.rs:1174-1184 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src_testbed/graphics.rs:1074\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src_testbed/graphics.rs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b0da84c87c2801e26baa9126eeb605afc0b5d0cc37cd4d3992b53bc4a99de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src_testbed/graphics.rs:1247-1257 | src_testbed/graphics.rs:1418-1428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src_testbed/graphics.rs:1247\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src_testbed/graphics.rs:1244\u0060 calls \u0060contains\u0060 and \u0060src_testbed/graphics.rs:1416\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":"src_testbed/graphics.rs"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cb4fb7d79b53251ecd112505f9d75e6d883eb4a7006708b3004e3741ff8c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 25): examples2d/b2d_compounds.rs:90-99 | examples2d/b2d_large_pyramid.rs:35-44 | examples2d/b2d_smash.rs:40-49 | examples2d/b2d_spinner.rs:84-93 | examples2d/collision_groups2.rs:82-91 | examples2d/convex_polygons2.rs:69-78 | examples2d/debug_many_colliders2.rs:196-205 | examples2d/pyramid2.rs:47-56 | examples2d/restitution2.rs:36-45 | examples2d/s2d_high_mass_ratio_1.rs:58-67 | examples2d/s2d_joint_grid.rs:57-66 | examples2d/s2d_pyramid.rs:42-51 | examples2d/soft_letters2.rs:63-72 | examples2d/soft_pile2.rs:91-100 | examples2d/stress_tests/balls2.rs:57-66 | examples2d/stress_tests/boxes2.rs:56-65 | examples2d/stress_tests/capsules2.rs:58-67 | examples2d/stress_tests/convex_polygons2.rs:72-81 | examples2d/stress_tests/heightfield2.rs:61-70 | examples2d/stress_tests/joint_fixed2.rs:68-77 | examples2d/stress_tests/joint_prismatic2.rs:54-63 | examples2d/stress_tests/pyramid2.rs:47-56 | examples2d/stress_tests/ragdolls2.rs:92-101 | examples2d/stress_tests/vertical_stacks2.rs:54-63 | examples2d/trimesh2.rs:50-59 \u2014 before extracting anything, compare \u0060examples2d/convex_polygons2.rs\u0060 and \u0060examples2d/stress_tests/boxes2.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. 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 \u0060examples2d/b2d_compounds.rs:90\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/b2d_compounds.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3107be1da73c53aef4d00d8765247eba030e674bf863daf72c422bb0224eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 20): bindings/c/src/pipeline.rs:1568-1577 | bindings/c/src/pipeline.rs:1592-1597 | bindings/c/src/pipeline.rs:1612-1621 | bindings/c/src/pipeline.rs:1636-1645 | bindings/c/src/pipeline.rs:1660-1669 | bindings/c/src/pipeline.rs:1684-1693 | bindings/c/src/pipeline.rs:1708-1713 | bindings/c/src/pipeline.rs:1728-1737 | bindings/c/src/pipeline.rs:1752-1757 | bindings/c/src/pipeline.rs:1772-1781 | bindings/c/src/pipeline.rs:1796-1805 | bindings/c/src/pipeline.rs:1820-1829 | bindings/c/src/pipeline.rs:1864-1873 | bindings/c/src/pipeline.rs:1888-1893 | bindings/c/src/pipeline.rs:1908-1917 | bindings/c/src/pipeline.rs:1932-1941 | bindings/c/src/pipeline.rs:1980-1989 | bindings/c/src/pipeline.rs:2028-2037 | bindings/c/src/pipeline.rs:2052-2061 | bindings/c/src/pipeline.rs:2076-2085 \u2014 all 20 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/pipeline.rs"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"874d20146491bdf271d71a9e825fa72bc411bc3958a1d5a1a1e4c35a49fdc67b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 14): examples2d/s2d_ball_and_chain.rs:74-83 | examples2d/s2d_bridge.rs:58-67 | examples2d/s2d_high_mass_ratio_2.rs:47-56 | examples2d/s2d_high_mass_ratio_3.rs:41-50 | examples2d/soft_blobs2.rs:57-66 | examples2d/soft_surface2.rs:120-129 | examples2d/stress_tests/soft_blobs2.rs:58-67 | examples2d/stress_tests/soft_cloth_keva2.rs:69-78 | examples2d/stress_tests/soft_fem_beams2.rs:65-74 | examples2d/stress_tests/soft_jellies2.rs:62-71 | examples2d/stress_tests/soft_ropes2.rs:52-61 | examples2d/stress_tests/soft_slab2.rs:76-85 | examples2d/stress_tests/soft_strips2.rs:63-72 | examples2d/voxels2.rs:98-112 \u2014 before extracting anything, compare \u0060examples2d/s2d_ball_and_chain.rs\u0060 and \u0060examples2d/s2d_bridge.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/s2d_ball_and_chain.rs:74\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":"examples2d/s2d_ball_and_chain.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9072d80fc790d23de947a6b91e8f70ea5d74ad590c8cedc3a78ad2beba05594b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 13): examples3d/ccd3.rs:43-52 | examples3d/collision_groups3.rs:9-18 | examples3d/compound3.rs:8-17 | examples3d/convex_polyhedron3.rs:10-19 | examples3d/debug_cylinder3.rs:11-20 | examples3d/debug_eccentric_boxes3.rs:8-17 | examples3d/debug_prismatic3.rs:48-57 | examples3d/domino3.rs:9-18 | examples3d/harness_capsules3.rs:6-15 | examples3d/inverse_kinematics3.rs:8-17 | examples3d/keva3.rs:70-79 | examples3d/locked_rotations3.rs:11-20 | examples3d/sensor3.rs:9-18 \u2014 before extracting anything, compare \u0060examples3d/ccd3.rs\u0060 and \u0060examples3d/sensor3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/ccd3.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"020a85a68f37a3b8747a5edb99e5af24e2c466b53e29b73f7cc63e5d94cd6b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): bindings/python/rapier-py-3d/src/joints.rs:974-983 | bindings/python/rapier-py-3d/src/joints.rs:1239-1248 | bindings/python/rapier-py-3d/src/joints.rs:1531-1540 | bindings/python/rapier-py-3d/src/joints.rs:1811-1820 | bindings/python/rapier-py-3d/src/joints.rs:2639-2648 | bindings/python/rapier-py-3d/src/joints.rs:4542-4551 \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 \u0060bindings/python/rapier-py-3d/src/joints.rs:974\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d1f5d7d7ab7d4356fe3cc5984899be26a29f0cedd75e104ca1c86720cbac03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): examples2d/soft_blobs2.rs:8-17 | examples2d/soft_bodies2.rs:8-17 | examples2d/soft_force_tearing2.rs:15-24 | examples2d/soft_plasticity2.rs:9-18 | examples2d/soft_stress2.rs:10-19 | examples2d/soft_tearing2.rs:12-22 \u2014 before extracting anything, compare \u0060examples2d/soft_force_tearing2.rs\u0060 and \u0060examples2d/soft_tearing2.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/soft_blobs2.rs:8\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_blobs2.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c398cabd1ad286e0d9fa68693f680407659491fc407bca3423729deb32856ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:386-395 | src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:435-444 | src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:541-550 | src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:603-612 | src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:650-659 \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 \u0060src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:386\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_constraint_helper.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c1f5663db195fad26901a91513bd8eff3c4bcc10e4c4366d0a3eee81d63364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 4): examples3d/b3d_rain.rs:144-151 | examples3d/debug_disabled3.rs:29-34 | examples3d/fountain3.rs:24-33 | examples3d/joint_motor_position3.rs:64-69 \u2014 before extracting anything, compare \u0060examples3d/debug_disabled3.rs\u0060 and \u0060examples3d/fountain3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060examples3d/b3d_rain.rs:144\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/b3d_rain.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a7eb99dc0af87bafc97e62e7b7d01e869e06b5e0a4e4e1992c2415604fb10c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): bindings/python/rapier-py-3d/src/joints.rs:964-973 | bindings/python/rapier-py-3d/src/joints.rs:2621-2630 | bindings/python/rapier-py-3d/src/joints.rs:4532-4541 \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":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07ffb80673c1be6c08fa958b101d36fbf49615698990442c666cea5bd445401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): examples2d/soft_thin_features2.rs:17-26 | examples3d/soft_meshes3.rs:12-22 | examples3d/soft_thin_features3.rs:17-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_thin_features2.rs:17\u0060 it begins part-way through the construct above it, so those exact 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":"examples2d/soft_thin_features2.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cbc660d10ac6d37d661e835b3ae7354cc1c9134d2fd71016dd6f0893033ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/rapier3d-mjcf/src/loader/conversion.rs:741-750 | crates/rapier3d-mjcf/src/loader/conversion.rs:785-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/rapier3d-mjcf/src/loader/conversion.rs:741\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/rapier3d-mjcf/src/loader/conversion.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5f312f39db9a057e26798a970499cfd9207b75ed2fcb85d46d5146dbbb59b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples2d/b2d_joint_grid.rs:64-73 | examples2d/stress_tests/ropes2.rs:53-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/b2d_joint_grid.rs:64\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":"examples2d/b2d_joint_grid.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1f8ef99074878e383efe8e55de55c9f002dc462fb4fbc029b75629492d3339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples2d/b2d_rain.rs:124-133 | examples3d/b3d_rain.rs:149-158 \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 \u0060examples2d/b2d_rain.rs:124\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":"examples2d/b2d_rain.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ed5765b5934135854b4ba7a78f4e792a4ea71ef06ac530a7dd9b42f982331c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): examples2d/character_controller2.rs:49-57 | examples2d/platform2.rs:31-40 \u2014 before extracting anything, compare \u0060examples2d/character_controller2.rs\u0060 and \u0060examples2d/platform2.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 \u0060examples2d/character_controller2.rs:49\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/character_controller2.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8174e02e06c539f9bdd0881d972df10e66d1319dead1fb10e2cc4a9ddaeefa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples2d/drum2.rs:13-22 | examples3d/sensor3.rs:24-33 \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 \u0060examples2d/drum2.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":"examples2d/drum2.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b332d944ea8de64c4bcfb7a0d4ace017cc529d3795fa896d0aa25f9d3a9a8a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples2d/joints2.rs:21-30 | examples3d/stress_tests/joint_ball3.rs:10-19 \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 \u0060examples2d/joints2.rs:21\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060examples2d/joints2.rs:13\u0060 calls \u0060example_settings_mut\u0060, \u0060get_or_set_bool\u0060 and \u0060examples3d/stress_tests/joint_ball3.rs:8\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":"examples2d/joints2.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a105dda4b0dbbcd0104d7039ae34caf9838172b6930e7f42c2d5d079ca1f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): examples2d/restitution2.rs:20-26 | examples3d/restitution3.rs:18-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/restitution2.rs:20\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/restitution2.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61107803c6db89c061cf153eccbf4b18dbd5e9cc045601b3c9b91eff1011186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples2d/s2d_ball_and_chain.rs:36-45 | examples2d/s2d_bridge.rs:33-42 \u2014 before extracting anything, compare \u0060examples2d/s2d_ball_and_chain.rs\u0060 and \u0060examples2d/s2d_bridge.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/s2d_ball_and_chain.rs:36\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/s2d_ball_and_chain.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5909d0aaf58e7cb8694bdb14bad63a1a44333a2814f0a806ab87ab0d262aa6ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples2d/soft_joints2.rs:206-215 | examples2d/soft_joints2.rs:221-230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_joints2.rs:206\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_joints2.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d57ecbf30c04887ab940aa11851d0cd9e54f3656a1076ac37fec32a193f415e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples2d/soft_joints2.rs:277-286 | examples3d/soft_joints3.rs:350-359 \u2014 before extracting anything, compare \u0060examples2d/soft_joints2.rs\u0060 and \u0060examples3d/soft_joints3.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 129 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 \u0060examples2d/soft_joints2.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":"examples2d/soft_joints2.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4872d13b0391827bf8763a9e0ce81e38d3a99b4314e3b07f0d3aacd619c0a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): examples2d/soft_plasticity2.rs:102-111 | examples3d/soft_plasticity3.rs:113-121 \u2014 before extracting anything, compare \u0060examples2d/soft_plasticity2.rs\u0060 and \u0060examples3d/soft_plasticity3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_plasticity2.rs:102\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_plasticity2.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a527513d8dab7ba9f287c2644d54749dd1b3c629a1306ad128462e71b6e959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples2d/soft_thin_features2.rs:121-130 | examples3d/soft_cloth_stress3.rs:122-131 \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 \u0060examples2d/soft_thin_features2.rs:121\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":"examples2d/soft_thin_features2.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c229d9845d9b09530f7295748bba2d090f6768867dc6b90b218f47feccae6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): examples3d/joints3.rs:31-49 | examples3d/joints3.rs:71-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 \u0060examples3d/joints3.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":"examples3d/joints3.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1835bc4f5e26c79f7786488f2445a0da3efc820b2258362ea5dc73d14728138b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples3d/mjcf3.rs:39-48 | examples3d/urdf3.rs:40-49 \u2014 before extracting anything, compare \u0060examples3d/mjcf3.rs\u0060 and \u0060examples3d/urdf3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 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 \u0060examples3d/mjcf3.rs:39\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/mjcf3.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d72468c3fdbea26188827b46ecbf458e603f57a8e7d250dd7c8eed47a2f7a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples3d/primitives3.rs:17-26 | examples3d/stress_tests/capsules3.rs:17-26 \u2014 before extracting anything, compare \u0060examples3d/primitives3.rs\u0060 and \u0060examples3d/stress_tests/capsules3.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/primitives3.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5caa919ea383180e54bc5e3c26b926a23dec112eebe7c919d913eb41497350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples3d/soft_cloth3.rs:7-20 | examples3d/soft_plasticity3.rs:9-18 \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 \u0060examples3d/soft_cloth3.rs:7\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/soft_cloth3.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f10796a46c2b858135ed637976e1b17b4f24afc6b5bf92fc76366a2525a2b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples3d/soft_joints3.rs:260-269 | examples3d/soft_joints3.rs:275-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/soft_joints3.rs:260\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/soft_joints3.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9122bd52cc6aa8693127869f0ebf06b67e13066d06699fbb59b15e32f97375"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples3d/soft_pile3.rs:48-57 | examples3d/soft_pile3.rs:58-67 \u2014 both copies are in the same file, so extract the block 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":"examples3d/soft_pile3.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a99347247bd3d4947df5cfe13e0a9df83ae43e523adae8191ce9be0ba2ee0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples3d/soft_surface3.rs:76-85 | examples3d/soft_surface3.rs:129-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 \u0060examples3d/soft_surface3.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":"examples3d/soft_surface3.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5061df7caa282d4b065d8d6be05e4af96d627802c02ea18eae2f491823791b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): src/dynamics/island_manager/persistent.rs:827-836 | src/dynamics/island_manager/persistent.rs:839-845 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/island_manager/persistent.rs:827\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/island_manager/persistent.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ba42084daa65c801b1c7b2d420bdf5ef4ec22bfd7dd94a4ad80cb678bf74f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_constraint_element.rs:252-263 | src/dynamics/solver/contact_constraint/contact_constraint_element.rs:491-502 \u2014 both copies are in the same file, so extract the block 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":"src/dynamics/solver/contact_constraint/contact_constraint_element.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e830aaf8a6fa365d9084ece39af0f2415a566e29ab98cc2fb426baf37fce71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 24): bindings/c/src/pipeline.rs:515-521 | bindings/c/src/pipeline.rs:553-559 | bindings/c/src/pipeline.rs:591-597 | bindings/c/src/pipeline.rs:629-635 | bindings/c/src/pipeline.rs:1567-1575 | bindings/c/src/pipeline.rs:1591-1597 | bindings/c/src/pipeline.rs:1611-1619 | bindings/c/src/pipeline.rs:1635-1643 | bindings/c/src/pipeline.rs:1659-1667 | bindings/c/src/pipeline.rs:1683-1691 | bindings/c/src/pipeline.rs:1707-1713 | bindings/c/src/pipeline.rs:1727-1735 | bindings/c/src/pipeline.rs:1751-1757 | bindings/c/src/pipeline.rs:1771-1779 | bindings/c/src/pipeline.rs:1795-1803 | bindings/c/src/pipeline.rs:1819-1827 | bindings/c/src/pipeline.rs:1863-1871 | bindings/c/src/pipeline.rs:1887-1893 | bindings/c/src/pipeline.rs:1907-1915 | bindings/c/src/pipeline.rs:1931-1939 | bindings/c/src/pipeline.rs:1979-1987 | bindings/c/src/pipeline.rs:2027-2035 | bindings/c/src/pipeline.rs:2051-2059 | bindings/c/src/pipeline.rs:2075-2083 \u2014 all 24 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/pipeline.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"87059337e4fc0b6d0c076668654c3e742a9867cd5fdc7f35bd1f75a0b374038c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 20): bindings/c/src/joint_access.rs:30-38 | bindings/c/src/joint_access.rs:72-80 | bindings/c/src/joint_access.rs:114-122 | bindings/c/src/joint_access.rs:156-164 | bindings/c/src/joint_access.rs:198-206 | bindings/c/src/joint_access.rs:240-248 | bindings/c/src/joint_access.rs:282-290 | bindings/c/src/joint_access.rs:324-332 | bindings/c/src/joint_access.rs:366-374 | bindings/c/src/joint_access.rs:408-416 | bindings/c/src/joint_access.rs:450-458 | bindings/c/src/joint_access.rs:492-500 | bindings/c/src/joint_access.rs:534-542 | bindings/c/src/joint_access.rs:583-591 | bindings/c/src/joint_access.rs:642-650 | bindings/c/src/joint_access.rs:692-700 | bindings/c/src/joint_access.rs:739-747 | bindings/c/src/joint_access.rs:782-790 | bindings/c/src/joint_access.rs:836-844 | bindings/c/src/joint_access.rs:890-898 \u2014 all 20 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":"bindings/c/src/joint_access.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f7c5d18fff27619f86d1b0a4a2911aaf9197df49c878256e020c206f282d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201320 lines \u00D7 12): bindings/python/rapier-py-3d/src/controllers.rs:741-749 | bindings/python/rapier-py-3d/src/pipeline.rs:1158-1177 | bindings/python/rapier-py-3d/src/pipeline.rs:1242-1261 | bindings/python/rapier-py-3d/src/pipeline.rs:1331-1350 | bindings/python/rapier-py-3d/src/pipeline.rs:1427-1446 | bindings/python/rapier-py-3d/src/pipeline.rs:1513-1532 | bindings/python/rapier-py-3d/src/pipeline.rs:1604-1623 | bindings/python/rapier-py-3d/src/pipeline.rs:1702-1721 | bindings/python/rapier-py-3d/src/pipeline.rs:1799-1818 | bindings/python/rapier-py-3d/src/pipeline.rs:1892-1911 | bindings/python/rapier-py-3d/src/pipeline.rs:1984-2003 | bindings/python/rapier-py-3d/src/pipeline.rs:2083-2102 \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 \u0060bindings/python/rapier-py-3d/src/controllers.rs:741\u0060 it does not close everything it opens, so those exact 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, \u0060bindings/python/rapier-py-3d/src/pipeline.rs:1600\u0060 calls \u0060into\u0060 and \u0060bindings/python/rapier-py-3d/src/pipeline.rs:1327\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":"bindings/python/rapier-py-3d/src/controllers.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a606dc0517a65d53b0168624bb6dd6d54e6356533cf68a65f38c71d0f038eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 11): examples2d/b2d_many_pyramids.rs:66-75 | examples2d/b2d_tumbler.rs:60-69 | examples2d/b2d_washer.rs:67-76 | examples2d/damping2.rs:37-46 | examples2d/debug_vertical_column2.rs:39-48 | examples2d/inv_pyramid2.rs:40-49 | examples2d/s2d_arch.rs:101-110 | examples2d/s2d_card_house.rs:72-81 | examples2d/s2d_confined.rs:75-84 | examples2d/soft_bodies2.rs:98-107 | examples2d/soft_fem2.rs:90-98 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 11 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/b2d_many_pyramids.rs:66\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":"examples2d/b2d_many_pyramids.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b254dccaec6ec980bb3e8931b06cb8f4266c6eb6a1c1a6db83aa6f3774ac4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 9): bindings/typescript/src/geometry/broad_phase.rs:42-49 | bindings/typescript/src/geometry/broad_phase.rs:84-91 | bindings/typescript/src/geometry/broad_phase.rs:124-132 | bindings/typescript/src/geometry/broad_phase.rs:172-180 | bindings/typescript/src/geometry/broad_phase.rs:214-222 | bindings/typescript/src/geometry/broad_phase.rs:253-261 | bindings/typescript/src/geometry/broad_phase.rs:294-302 | bindings/typescript/src/geometry/broad_phase.rs:345-353 | bindings/typescript/src/geometry/broad_phase.rs:395-403 \u2014 all 9 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 \u0060bindings/typescript/src/geometry/broad_phase.rs:124\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/broad_phase.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0595b11bd6051752801fd3973fab4316a1829924fa27b573ed1aeb9420e399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): examples3d/debug_shape_modification3.rs:67-75 | examples3d/harness_capsules3.rs:26-34 | examples3d/primitives3.rs:29-37 | examples3d/stress_tests/capsules3.rs:28-36 | examples3d/stress_tests/compound3.rs:27-35 \u2014 before extracting anything, compare \u0060examples3d/debug_shape_modification3.rs\u0060 and \u0060examples3d/primitives3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 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 \u0060examples3d/debug_shape_modification3.rs:67\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_shape_modification3.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc073fff69dce836f0454587d6b0a9f0de48009a32610036c7d812c84fdb5753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): examples2d/s2d_ball_and_chain.rs:35-43 | examples2d/s2d_ball_and_chain.rs:61-69 | examples2d/s2d_bridge.rs:32-40 | examples2d/s2d_bridge.rs:45-53 \u2014 before extracting anything, compare \u0060examples2d/s2d_ball_and_chain.rs\u0060 and \u0060examples2d/s2d_bridge.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/s2d_ball_and_chain.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"79361b580340632e8e705b7974f06e5a1e7fa47abe87afc37cbda5699eff2d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): examples3d/debug_cylinder3.rs:26-34 | examples3d/debug_shape_modification3.rs:61-69 | examples3d/primitives3.rs:23-31 | examples3d/stress_tests/ccd3.rs:24-32 \u2014 before extracting anything, compare \u0060examples3d/debug_cylinder3.rs\u0060 and \u0060examples3d/primitives3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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":"examples3d/debug_cylinder3.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"063d76e0c62ceedb17efc5cd409daaf715d02353bd48f8547608e1deb66dffb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/dynamics/solver/contact_constraint/contact_constraint_element.rs:257-265 | src/dynamics/solver/contact_constraint/contact_constraint_element.rs:291-299 | src/dynamics/solver/contact_constraint/contact_constraint_element.rs:496-504 | src/dynamics/solver/contact_constraint/contact_constraint_element.rs:526-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 \u0060src/dynamics/solver/contact_constraint/contact_constraint_element.rs:257\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":"src/dynamics/solver/contact_constraint/contact_constraint_element.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"35905e5c31b11f780bed214981ad11aee36f4a26d7639c9ae71696699638b4e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): bindings/c/src/joint_desc.rs:242-250 | bindings/c/src/joint_desc.rs:278-286 | bindings/c/src/soft_desc.rs:769-777 \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":"bindings/c/src/joint_desc.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c93e35174a521ce4ffa6bca5387a74957bed7aa59d3d1e67756dbe08d205c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): bindings/python/rapier-py-3d/src/dynamics.rs:2292-2300 | bindings/python/rapier-py-3d/src/geometry.rs:4431-4439 | bindings/python/rapier-py-3d/src/soft_body.rs:1411-1419 \u2014 before extracting anything, compare \u0060bindings/python/rapier-py-3d/src/dynamics.rs\u0060 and \u0060bindings/python/rapier-py-3d/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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 \u0060base\u0060 to \u0060rapier::dynamics::RigidBodyBuilder\u0060 in one and \u0060rapier::geometry::ColliderBuilder\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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":2292}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff0f8665c4f389ad6c25aa5eb038b614d5faf4dd92513cb8efeeed3976b0a8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): examples3d/debug_shape_modification3.rs:81-89 | examples3d/heightfield3.rs:54-62 | examples3d/trimesh3.rs:64-72 \u2014 before extracting anything, compare \u0060examples3d/heightfield3.rs\u0060 and \u0060examples3d/trimesh3.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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 \u0060examples3d/debug_shape_modification3.rs:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_shape_modification3.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a8681f47dc0e1c2194a8a04d568c7f105e328cdb9878ac20d5f82d96b5fe48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): examples3d/joints3.rs:255-263 | examples3d/joints3.rs:309-317 | examples3d/stress_tests/joint_ball3.rs:11-19 \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 \u0060examples3d/joints3.rs:255\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/joints3.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfc7610cf2f9288a1c91e0182208eaf62074de75631cd43418fdcd8ac3c060b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/dynamics/joint/multibody_joint/unit_multibody_joint.rs:35-43 | src/dynamics/joint/multibody_joint/unit_multibody_joint.rs:98-106 | src/dynamics/joint/multibody_joint/unit_multibody_joint.rs:155-163 \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":"src/dynamics/joint/multibody_joint/unit_multibody_joint.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bcf4304dd2b62e9953ca5b960748e22537558a15c364df522695e2b8a99e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bindings/c/src/control.rs:436-444 | bindings/c/src/control.rs:689-697 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/control.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1078671cf90b6a7b93bd672e0924b4cadb917e523ec9c868a9223d98bd5cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bindings/c/src/descriptors.rs:634-642 | bindings/c/src/soft_desc.rs:689-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 \u0060bindings/c/src/descriptors.rs:634\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/descriptors.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"a731ca5b7721031da7689caf1dd64e895cd49728ad82e9cc84a4524d97bb6a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bindings/c/src/robotics.rs:171-179 | bindings/c/src/robotics.rs:206-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/robotics.rs:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/robotics.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"629ea5612e4f5958ece333b1fa1d9f2ea00ca317f351f2dd0cd450da6f44d68d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bindings/python/rapier-py-3d/src/conv.rs:57-65 | bindings/python/rapier-py-3d/src/conv.rs:70-78 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/conv.rs:57\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":"bindings/python/rapier-py-3d/src/conv.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b673d44f32741bde0b8417b4dd1fc4379c7268ebad1a6f95270413a78c094859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples2d/collision_groups2.rs:19-27 | examples3d/collision_groups3.rs:19-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/collision_groups2.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0e69cc56c84571b9842ddade902905f67ed02d334df357e9a37d7daea6f979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples2d/debug_angular_limits2.rs:49-57 | examples3d/debug_angular_limits3.rs:51-62 \u2014 before extracting anything, compare \u0060examples2d/debug_angular_limits2.rs\u0060 and \u0060examples3d/debug_angular_limits3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/debug_angular_limits2.rs:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/debug_angular_limits2.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba912988635afd9c09c5e23f5eba2531d217e5c2e0c978084b6bc40587f21cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples2d/one_way_platforms2.rs:91-101 | examples3d/one_way_platforms3.rs:91-99 \u2014 before extracting anything, compare \u0060examples2d/one_way_platforms2.rs\u0060 and \u0060examples3d/one_way_platforms3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/one_way_platforms2.rs:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/one_way_platforms2.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c7d5a9d05e19433e29b1774a0581943c40d9ebae5e3abe9bd61497075eed49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples2d/one_way_platforms2.rs:105-113 | examples3d/one_way_platforms3.rs:103-111 \u2014 before extracting anything, compare \u0060examples2d/one_way_platforms2.rs\u0060 and \u0060examples3d/one_way_platforms3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/one_way_platforms2.rs:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/one_way_platforms2.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4450971fc21a534bcd0c6982656893a0f78cf23289ebcbfb8d4efa89c32face2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): examples2d/soft_blobs2.rs:34-42 | examples2d/stress_tests/soft_blobs2.rs:33-39 \u2014 before extracting anything, compare \u0060examples2d/soft_blobs2.rs\u0060 and \u0060examples2d/stress_tests/soft_blobs2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_blobs2.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a64d8f697bf83a8099ba8af05dc99dfe7f1483325f2f9e3d1e4c8c8ecae53c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples2d/soft_bodies2.rs:49-57 | examples2d/soft_bodies2.rs:59-67 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_bodies2.rs:49\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_bodies2.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ec0a3e4dcc3c7c0ece370b48f7f5b1a72d8f9e1038ca21feb25e49e8276949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): examples2d/soft_pile2.rs:66-74 | examples2d/stress_tests/soft_strips2.rs:41-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060examples2d/stress_tests/soft_strips2.rs:49\u0060 calls \u0060self_contacts\u0060 and \u0060examples2d/soft_pile2.rs:75\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":"examples2d/soft_pile2.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"08040be28db777b1024a147f4a40b9935ea71603ef4df604c1652f570d88bb89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples2d/soft_tearing2.rs:144-152 | examples3d/soft_tearing3.rs:165-173 \u2014 before extracting anything, compare \u0060examples2d/soft_tearing2.rs\u0060 and \u0060examples3d/soft_tearing3.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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 \u0060examples2d/soft_tearing2.rs:144\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":"examples2d/soft_tearing2.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9c4674a233ea4919ccd0472da60c209fd0430216e92deddcfb1df119848e45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples3d/compound3.rs:28-36 | examples3d/stress_tests/ccd3.rs:30-38 \u2014 before extracting anything, compare \u0060examples3d/compound3.rs\u0060 and \u0060examples3d/stress_tests/ccd3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/compound3.rs:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/compound3.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d728bbc6f38a7fa330be2f97fa40cc3669c4152c690f72ff5a52b3b4588cffae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples3d/debug_self_intersect3.rs:83-91 | examples3d/debug_self_intersect3.rs:118-126 \u2014 both copies are in the same file, so extract the block 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":"examples3d/debug_self_intersect3.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02cadde98b8b91f3371622375bcff48d42d584a269447d7e480c45199cadea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples3d/debug_shape_modification3.rs:83-91 | examples3d/stress_tests/ccd3.rs:49-57 \u2014 before extracting anything, compare \u0060examples3d/debug_shape_modification3.rs\u0060 and \u0060examples3d/stress_tests/ccd3.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_shape_modification3.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8295872e1c85262a7ec523eb4993981ef9c9da213be4a5a0cffa2848a1d753e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): examples3d/soft_cloth_stress3.rs:64-71 | examples3d/soft_cloth_stress3.rs:86-94 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/soft_cloth_stress3.rs:64\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"examples3d/soft_cloth_stress3.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f987788b828e952e9c94c5e7a664d486912c62244e2b75a86bba5cacf1a921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/dynamics/soft_body/soft_body_cluster.rs:615-632 | src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_prepare.rs:135-152 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/soft_body/soft_body_cluster.rs:615\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_cluster.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a580c723434d76ea3f6f1a00c57ccec4b4ee456f734f6bc45260094a04cef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/dynamics/soft_body/soft_body_set/soft_body_set_proxies.rs:124-134 | src/dynamics/soft_body/soft_body_set/soft_body_set_proxies.rs:155-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/soft_body/soft_body_set/soft_body_set_proxies.rs:124\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, \u0060src/dynamics/soft_body/soft_body_set/soft_body_set_proxies.rs:154\u0060 calls \u0060set_enabled\u0060 and \u0060src/dynamics/soft_body/soft_body_set/soft_body_set_proxies.rs:123\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":"src/dynamics/soft_body/soft_body_set/soft_body_set_proxies.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e417177a6ad0d31ae4637153d246b41f409ab22eafcb0e3786783083b02f141d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:263-272 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:348-357 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe271cde756264179a29a0bbdb4557dd90afa20a24b486cbe2ce3465c68823b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:395-403 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:462-470 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"007010f4457488e2e8338c807e5624596b44d959a7b327bea1de11652f31128e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:713-722 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:806-815 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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 \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:713\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd77e6175a366990737e73e50367a97ea2c67ba94884d2673fdb5e623f72d398"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:541-549 | src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:766-774 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/joint_constraint/joint_constraint_helper.rs:541\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_constraint_helper.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"903cf92506bf4019900aa29d40abc777a1f562db4e7d4932556a21e6c644ff34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs:230-238 | src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs:423-429 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6a130d5a18fd23bf7d8e4a50645381f66ec7bbb0d573603a7eeab77b9414ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): src/dynamics/solver/soft_constraint/soft_element_constraint_assembly.rs:520-528 | src/dynamics/solver/soft_constraint/soft_element_constraint_assembly.rs:597-604 \u2014 both copies are in the same file, so extract the block 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":"src/dynamics/solver/soft_constraint/soft_element_constraint_assembly.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e4f771dc78d93b2c4ab2f4079512978e0f3153f99f2143c61973dd7e805f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/dynamics/solver/staged_island_solver/worker.rs:219-227 | src/dynamics/solver/staged_island_solver/worker.rs:927-935 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/staged_island_solver/worker.rs:219\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/staged_island_solver/worker.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e049473c3743b24c2a8b2859951c493c0179a3324ca5936692cb9d00561c8800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/geometry/narrow_phase/pair_update.rs:495-503 | src/geometry/narrow_phase/pair_update.rs:526-534 \u2014 both copies are in the same file, so extract the block 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":"src/geometry/narrow_phase/pair_update.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb0c7dc03ee0ec4cf9ac125167cdfedf0d9ae2adae1d18e47a383cf0076400f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/geometry/narrow_phase/soft_contacts/soft_contacts_types.rs:346-354 | src/geometry/narrow_phase/soft_contacts/soft_contacts_types.rs:356-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/geometry/narrow_phase/soft_contacts/soft_contacts_types.rs:346\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_types.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fe7e0997c996cbedb2176d15e3f803c60b8b5b48fe3e4f8434ad4e973ae47d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 31): examples3d/b3d_large_pyramid.rs:37-45 | examples3d/b3d_many_pyramids.rs:61-69 | examples3d/b3d_trees.rs:30-38 | examples3d/b3d_washer.rs:103-111 | examples3d/damping3.rs:38-46 | examples3d/debug_articulations3.rs:80-88 | examples3d/debug_deserialize3.rs:69-77 | examples3d/debug_multibody_ang_motor_pos3.rs:26-34 | examples3d/gyroscopic3.rs:25-33 | examples3d/joints3.rs:558-566 | examples3d/joints3.rs:580-588 | examples3d/locked_rotations3.rs:49-57 | examples3d/mjcf3.rs:45-53 | examples3d/restitution3.rs:40-48 | examples3d/soft_bodies3.rs:95-103 | examples3d/soft_cloth3.rs:67-75 | examples3d/soft_fem3.rs:98-105 | examples3d/soft_pile3.rs:98-106 | examples3d/soft_surface3.rs:150-158 | examples3d/soft_thin_features3.rs:162-170 | examples3d/soft_trimesh3.rs:211-219 | examples3d/spring_joints3.rs:50-58 | examples3d/stress_tests/pyramid3.rs:62-70 | examples3d/stress_tests/soft_blobs3.rs:98-106 | examples3d/stress_tests/soft_cloth_drape3.rs:77-85 | examples3d/stress_tests/soft_cloth_keva3.rs:79-87 | examples3d/stress_tests/soft_fem_beams3.rs:67-75 | examples3d/stress_tests/soft_jellies3.rs:90-98 | examples3d/stress_tests/soft_ropes3.rs:92-100 | examples3d/stress_tests/soft_slab3.rs:112-120 | examples3d/urdf3.rs:46-54 \u2014 before extracting anything, compare \u0060examples3d/debug_articulations3.rs\u0060 and \u0060examples3d/joints3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples3d/b3d_large_pyramid.rs:37\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, \u0060examples3d/soft_bodies3.rs:89\u0060 calls \u0060attach_particle\u0060 and \u0060examples3d/soft_cloth3.rs:64\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":"examples3d/b3d_large_pyramid.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b026cde458086759d793b52b8bda479e84d5d35159312846c2c2da7e67e973f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): bindings/c/src/pipeline.rs:59-66 | bindings/c/src/pipeline.rs:132-139 | bindings/c/src/pipeline.rs:171-178 | bindings/c/src/pipeline.rs:210-217 | bindings/c/src/pipeline.rs:248-255 | bindings/c/src/pipeline.rs:286-293 | bindings/c/src/pipeline.rs:327-334 | bindings/c/src/pipeline.rs:1459-1466 | bindings/c/src/pipeline.rs:1495-1502 \u2014 all 9 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 \u0060bindings/c/src/pipeline.rs:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bindings/c/src/pipeline.rs:140\u0060 calls \u0060ensure\u0060 and \u0060bindings/c/src/pipeline.rs:67\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":"bindings/c/src/pipeline.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6877c0edd114cb719d633b93e4eb7247bfcad58dddb89f223a5aee83b077b5e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): bindings/c/src/descriptors.rs:635-642 | bindings/c/src/joint_desc.rs:243-250 | bindings/c/src/joint_desc.rs:279-286 | bindings/c/src/soft_desc.rs:690-697 | bindings/c/src/soft_desc.rs:770-777 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bindings/c/src/joint_desc.rs:241\u0060 calls \u0060check_world\u0060 and \u0060bindings/c/src/descriptors.rs:634\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":"bindings/c/src/descriptors.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b670e405a24804a46e88b2d6c7997a095d65d4630ea61c4ceffc2a0d066b3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): bindings/c/src/geometry.rs:192-199 | bindings/c/src/geometry.rs:213-220 | bindings/c/src/geometry.rs:741-748 | bindings/c/src/geometry.rs:804-811 \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 \u0060bindings/c/src/geometry.rs:192\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/geometry.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b04ca56419c63d27cc15446fbfbe09dc0953e355ad2dc316ace67cd2a708c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): bindings/c/src/queries_extras.rs:49-56 | bindings/c/src/world_queries.rs:245-252 | bindings/c/src/world_queries.rs:281-288 | bindings/c/src/world_queries.rs:319-326 \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 \u0060bindings/c/src/queries_extras.rs:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/queries_extras.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"460f00570d43dc424fdcaa6e08049cd6039ea489e4e446a6497bd9fe5e622147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): bindings/c/src/queries_extras.rs:116-122 | bindings/c/src/queries_extras.rs:179-185 | bindings/c/src/world_queries.rs:362-369 | bindings/c/src/world_queries.rs:413-420 \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 \u0060bindings/c/src/queries_extras.rs:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/queries_extras.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3163acc8b00e936bbe4c83516a0fb8f35abfdca777914cbbb5501757a8edfbe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): bindings/python/rapier-py-3d/src/dynamics.rs:3062-3069 | bindings/python/rapier-py-3d/src/geometry.rs:4945-4952 | bindings/python/rapier-py-3d/src/joints.rs:3176-3183 | bindings/python/rapier-py-3d/src/soft_body.rs:3651-3658 \u2014 before extracting anything, compare \u0060bindings/python/rapier-py-3d/src/dynamics.rs\u0060 and \u0060bindings/python/rapier-py-3d/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/dynamics.rs:3062\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":3062}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6e8dc8ad48cbe75b18317bc450d02f99b8449e8016ac32abb262ab5a45c118"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): examples3d/debug_balls3.rs:18-25 | examples3d/stress_tests/balls3.rs:18-25 | examples3d/stress_tests/many_sleep3.rs:17-24 | examples3d/stress_tests/many_static3.rs:17-24 \u2014 before extracting anything, compare \u0060examples3d/stress_tests/balls3.rs\u0060 and \u0060examples3d/stress_tests/many_sleep3.rs\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060examples3d/debug_balls3.rs:18\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_balls3.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec19c7bdb284fd94983296e54e5f1305bb4ddbf3717da040384c505609802fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): examples3d/heightfield3.rs:15-22 | examples3d/stress_tests/heightfield3.rs:15-22 | examples3d/stress_tests/trimesh3.rs:15-22 | examples3d/trimesh3.rs:15-22 \u2014 before extracting anything, compare \u0060examples3d/heightfield3.rs\u0060 and \u0060examples3d/stress_tests/heightfield3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples3d/heightfield3.rs:15\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/heightfield3.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"890f0797948cfc8132dca779ea3db8034e15327bb0e46e7edbc17d5aaf6f922b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): bindings/c/src/extra.rs:503-510 | bindings/c/src/joints.rs:289-296 | bindings/c/src/joints.rs:482-489 \u2014 before extracting anything, compare \u0060bindings/c/src/extra.rs\u0060 and \u0060bindings/c/src/joints.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/extra.rs:503\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/extra.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3f776ab707190348453667976ceb4fe5073a052e769d4119f3d7f2eff15885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): bindings/c/src/pipeline.rs:24-31 | bindings/c/src/pipeline.rs:94-101 | bindings/c/src/pipeline.rs:2123-2130 \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 \u0060bindings/c/src/pipeline.rs:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/pipeline.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ba2163e576e554d49ea36891ed2408ca342f0b63364cd3f2eb3a60cd4fe2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples3d/character_controller3.rs:176-183 | examples3d/debug_sleeping_kinematic3.rs:33-40 | examples3d/platform3.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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/character_controller3.rs:176\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/character_controller3.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cc6c54607e79c020bc43308bd7020f1edb470419cfb54244d2714abadbf7ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples3d/compound3.rs:23-30 | examples3d/convex_polyhedron3.rs:25-32 | examples3d/stress_tests/convex_polyhedron3.rs:26-33 \u2014 before extracting anything, compare \u0060examples3d/compound3.rs\u0060 and \u0060examples3d/convex_polyhedron3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"examples3d/compound3.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"38716e78276aefbec2fa6abfb88883c7f1e8c04c099da36f4e259ab4186fda53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples3d/debug_dynamic_collider_add3.rs:43-50 | examples3d/debug_rollback3.rs:42-49 | examples3d/debug_shape_modification3.rs:103-110 \u2014 before extracting anything, compare \u0060examples3d/debug_dynamic_collider_add3.rs\u0060 and \u0060examples3d/debug_rollback3.rs\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060examples3d/debug_dynamic_collider_add3.rs:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_dynamic_collider_add3.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d01d6711d9ac481f7d66f99336c32af401fb4d617ec05e62f82bc960b908a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples3d/soft_surface3.rs:140-147 | examples3d/stress_tests/soft_blobs3.rs:71-78 | examples3d/stress_tests/soft_cloth_drape3.rs:43-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/soft_surface3.rs:140\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":"examples3d/soft_surface3.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2b84081279bbb769db868e5c1387665b0acf8141d9907c91eed65240fc37cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:119-126 | src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:226-233 | src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:328-335 \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 \u0060src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"efac8537d28e80cc4d2f5e6f597dfc687177997745afa1ad3ac9d39f6796bda4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/bevy_rapier/bevy_rapier_benches3d/src/pyramids.rs:7-14 | examples3d/stress_tests/many_pyramids3.rs:11-18 \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 \u0060bindings/bevy_rapier/bevy_rapier_benches3d/src/pyramids.rs:7\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/bevy_rapier_benches3d/src/pyramids.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5277755490bd9353b40014910130b3ce9efeea9a40998904adcfbb0c73ce3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bindings/c/src/control.rs:987-995 | bindings/c/src/control.rs:1050-1058 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/control.rs:987\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/control.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cbbf33cc08ff77d4e04555ce07047c06686d84f7d0ada5731cae8294d75496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/c/src/extra.rs:319-326 | bindings/c/src/extra.rs:371-378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/extra.rs:319\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/extra.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74855ad4cc10b43e5fd8a1f2a29eeab58b23a84f5f7bc9b9fab12589229032b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/c/src/extra.rs:479-486 | bindings/c/src/joints.rs:392-399 \u2014 before extracting anything, compare \u0060bindings/c/src/extra.rs\u0060 and \u0060bindings/c/src/joints.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/extra.rs:479\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/extra.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"442657d3732e446d56196ef77794de58181bd3c7d08c47654f3058d547f5e150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): bindings/c/src/geometry.rs:172-179 | bindings/c/src/geometry.rs:782-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. 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":"bindings/c/src/geometry.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"67784f395fa1922f441cc185e5a884ce6bf35a3b185a61f87382cc29d45cb08f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bindings/c/src/joint_extras.rs:197-205 | bindings/c/src/joints.rs:335-343 \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 \u0060bindings/c/src/joint_extras.rs:197\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/joint_extras.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cb143bb933db2f2151de7397d612a29cd17adfb6aee258d84546517a42faff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/c/src/robotics.rs:245-252 | bindings/c/src/robotics.rs:505-512 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/robotics.rs:245\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/robotics.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0395b9fb7be41ebfebad217c495b6162b2f5b5869e8a741d2681dcd2e69fb3d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/python/rapier-py-3d/src/dynamics.rs:2358-2365 | bindings/python/rapier-py-3d/src/geometry.rs:4477-4484 \u2014 before extracting anything, compare \u0060bindings/python/rapier-py-3d/src/dynamics.rs\u0060 and \u0060bindings/python/rapier-py-3d/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":2358}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33b6f9c7ee3eed33211ea050eda2617ee1c775a840fe1e4e6238aa2d4a73f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bindings/python/rapier-py-3d/src/math.rs:754-762 | bindings/python/rapier-py-3d/src/math.rs:972-980 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/math.rs:754\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":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"e616f64b378bb6903321445538d44931713bbd2eb1d3c92dc27805acdf454ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/python/rapier-py-3d/src/pipeline.rs:3200-3207 | bindings/python/rapier-py-3d/src/pipeline.rs:3285-3292 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/pipeline.rs:3200\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":3200}}}],"partialFingerprints":{"codehealthFindingId/v1":"557a374125b54228575b500840816692de9f41e2ecca17032f9cbe28125e784e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/typescript/src/pipeline/physics_hooks.rs:23-30 | bindings/typescript/src/pipeline/physics_hooks.rs:48-55 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/pipeline/physics_hooks.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6aaf53cba7f0b31c2e1e1639cae21af9399819e0235d1cff49369a21a6fb47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/rapier3d-mjcf/src/loader/mass.rs:367-377 | crates/rapier3d-mjcf/src/loader/mass.rs:451-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/rapier3d-mjcf/src/loader/mass.rs:367\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/rapier3d-mjcf/src/loader/mass.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c424cb0b10aa4811aa65c00e19ffb13e51f23f3ecc551c9fc2d336c8a21869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples2d/inverse_kinematics2.rs:23-30 | examples3d/inverse_kinematics3.rs:23-30 \u2014 before extracting anything, compare \u0060examples2d/inverse_kinematics2.rs\u0060 and \u0060examples3d/inverse_kinematics3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/inverse_kinematics2.rs:23\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/inverse_kinematics2.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f818c564a01d72ffdf8cfe3635ac17ad00c9b3142c43d60df8f29bbacff8fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples2d/s2d_card_house.rs:10-17 | examples2d/s2d_high_mass_ratio_3.rs:11-23 \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 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":"examples2d/s2d_card_house.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d6b3525fa6fb6a3c39fbb29a8ebe3a31678cb392032e8d9747b672fae846f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples2d/soft_cutting2.rs:44-51 | examples2d/soft_cutting2.rs:58-65 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_cutting2.rs:44\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_cutting2.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9476840ab184f282689dea6b4e89d880f5d9969354260c87900714e4f508452c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples2d/soft_jelly2.rs:25-32 | examples2d/soft_pile2.rs:42-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_jelly2.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3911dac10cca8b69610a9f01fd9195df52735fc97b84f8099a42af525b14e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20138 lines \u00D7 3): examples2d/soft_force_tearing2.rs:81-82 | examples2d/soft_stress2.rs:30-37 | examples2d/soft_tearing2.rs:32-39 \u2014 before extracting anything, compare \u0060examples2d/soft_force_tearing2.rs\u0060 and \u0060examples2d/soft_tearing2.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples2d/soft_stress2.rs:30\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_force_tearing2.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f960c9588a90e929e17d789a141780b4c95cfd84a8519bd9a14f58bc64205c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples2d/soft_surface2.rs:34-41 | examples3d/soft_surface3.rs:38-46 \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 \u0060examples2d/soft_surface2.rs:34\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_surface2.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3da8d8cc9a1fdcbe78c1b2960ec6d5591fc6ee27e22dea764e7699c0dc5619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples3d/dynamic_trimesh3.rs:19-35 | examples3d/soft_trimesh3.rs:118-125 \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 \u0060examples3d/dynamic_trimesh3.rs:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/dynamic_trimesh3.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fe5472ce303f2b1ec83184eca75d4d735270cac9782728ad42c45311cbc4ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples3d/soft_cloth_stress3.rs:18-25 | examples3d/soft_thin_features3.rs:37-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/soft_cloth_stress3.rs:18\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/soft_cloth_stress3.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4af5a72206767d462cf7561f5888f0c6e181ab1de1826eaf8522a86b4f67c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/dynamics/island_manager/global_split.rs:128-140 | src/dynamics/island_manager/global_split.rs:142-154 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/island_manager/global_split.rs:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/island_manager/global_split.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e359c63ac7e38c53e48cc3d118515b3bb5daa99357107ccbe06e719bce80197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): src/dynamics/joint/multibody_joint/multibody.rs:1443-1449 | src/dynamics/joint/multibody_joint/multibody.rs:1550-1557 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/joint/multibody_joint/multibody.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. 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":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52f923a02f9defd52ee62bea5f28619ab830efe3452f47ad945f9e0396905c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/dynamics/soft_body/soft_body_volume.rs:78-85 | src/dynamics/soft_body/tearing/tearing_particle_split.rs:685-692 \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":"src/dynamics/soft_body/soft_body_volume.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6b4e2bef8fb1054b42d1140284a481b0240b83af5822ba4c8ff7e2ea07b902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/dynamics/solver/soft_fem/soft_fem_set.rs:267-274 | src/dynamics/solver/soft_fem/soft_fem_set.rs:289-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/soft_fem/soft_fem_set.rs:267\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":"src/dynamics/solver/soft_fem/soft_fem_set.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb281038cda2664442bf7eb51710207bff5b2b56362471c9e79211f46c541f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/pipeline/debug_render_pipeline/debug_render_pipeline.rs:299-306 | src/pipeline/debug_render_pipeline/debug_render_pipeline.rs:333-340 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/pipeline/debug_render_pipeline/debug_render_pipeline.rs:299\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51f955791307b35f51daef374c2e774e2045c5e65f66672d48ab8d4065be0fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/pipeline/debug_render_pipeline/debug_render_pipeline.rs:734-741 | src/pipeline/debug_render_pipeline/debug_render_pipeline.rs:853-860 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/pipeline/debug_render_pipeline/debug_render_pipeline.rs:734\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":"src/pipeline/debug_render_pipeline/debug_render_pipeline.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ea395fc311d84cab8220c887bb680cb2361d62b8fbfe73eb6fef0a02239343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/pipeline/query_pipeline.rs:109-116 | src/pipeline/query_pipeline.rs:123-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/pipeline/query_pipeline.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ce146fafcd5bfc1d7ebf73bceec6d2b2a8600255bf18c33c1fa18cd9131f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 49): bindings/c/src/pipeline.rs:7-12 | bindings/c/src/pipeline.rs:42-47 | bindings/c/src/pipeline.rs:77-82 | bindings/c/src/pipeline.rs:112-117 | bindings/c/src/pipeline.rs:151-156 | bindings/c/src/pipeline.rs:190-195 | bindings/c/src/pipeline.rs:228-233 | bindings/c/src/pipeline.rs:266-271 | bindings/c/src/pipeline.rs:307-312 | bindings/c/src/pipeline.rs:345-350 | bindings/c/src/pipeline.rs:382-387 | bindings/c/src/pipeline.rs:422-427 | bindings/c/src/pipeline.rs:460-465 | bindings/c/src/pipeline.rs:494-499 | bindings/c/src/pipeline.rs:532-537 | bindings/c/src/pipeline.rs:570-575 | bindings/c/src/pipeline.rs:608-613 | bindings/c/src/pipeline.rs:646-651 | bindings/c/src/pipeline.rs:686-691 | bindings/c/src/soft_extras.rs:405-411 | bindings/c/src/soft_extras.rs:426-431 | bindings/c/src/soft_extras.rs:443-449 | bindings/c/src/soft_extras.rs:464-470 | bindings/c/src/soft_extras.rs:485-491 | bindings/c/src/soft_extras.rs:506-511 | bindings/c/src/soft_extras.rs:523-528 | bindings/c/src/soft_extras.rs:540-546 | bindings/c/src/soft_extras.rs:561-566 | bindings/c/src/soft_extras.rs:578-583 | bindings/c/src/soft_extras.rs:595-601 | bindings/c/src/soft_extras.rs:618-624 | bindings/c/src/soft_extras.rs:639-644 | bindings/c/src/soft_extras.rs:656-661 | bindings/c/src/soft_extras.rs:673-678 | bindings/c/src/soft_extras.rs:690-696 | bindings/c/src/soft_extras.rs:711-717 | bindings/c/src/soft_extras.rs:732-738 | bindings/c/src/soft_extras.rs:753-759 | bindings/c/src/soft_extras.rs:810-815 | bindings/c/src/soft_extras.rs:827-832 | bindings/c/src/soft_extras.rs:844-849 | bindings/c/src/soft_extras.rs:861-866 | bindings/c/src/soft_extras.rs:878-883 | bindings/c/src/soft_extras.rs:895-900 | bindings/c/src/soft_extras.rs:931-936 | bindings/c/src/soft_extras.rs:967-973 | bindings/c/src/soft_extras.rs:989-994 | bindings/c/src/soft_extras.rs:1007-1012 | bindings/c/src/soft_extras.rs:1025-1030 \u2014 before extracting anything, compare \u0060bindings/c/src/pipeline.rs\u0060 and \u0060bindings/c/src/soft_extras.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/pipeline.rs:7\u0060 it does not close everything it opens, so those exact 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":"bindings/c/src/pipeline.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a42c34338c5504890028ffdb5564140c0df697de52fe96430fefa9e1bba97c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 35): bindings/c/src/dynamics.rs:782-788 | bindings/c/src/handle_access.rs:267-273 | bindings/c/src/handle_access.rs:297-303 | bindings/c/src/handle_access.rs:327-333 | bindings/c/src/handle_access.rs:357-363 | bindings/c/src/handle_access.rs:385-391 | bindings/c/src/handle_access.rs:412-418 | bindings/c/src/handle_access.rs:441-447 | bindings/c/src/handle_access.rs:508-514 | bindings/c/src/handle_access.rs:574-580 | bindings/c/src/handle_access.rs:603-609 | bindings/c/src/handle_access.rs:634-640 | bindings/c/src/handle_access.rs:665-671 | bindings/c/src/handle_access.rs:694-700 | bindings/c/src/handle_access.rs:718-724 | bindings/c/src/handle_access.rs:1754-1760 | bindings/c/src/scoped_access.rs:1255-1261 | bindings/c/src/scoped_access.rs:1282-1288 | bindings/c/src/scoped_access.rs:1370-1376 | bindings/c/src/scoped_access.rs:2239-2245 | bindings/c/src/scoped_access.rs:2269-2275 | bindings/c/src/scoped_access.rs:2297-2303 | bindings/c/src/scoped_access.rs:2326-2332 | bindings/c/src/scoped_access.rs:2354-2360 | bindings/c/src/scoped_access.rs:2381-2387 | bindings/c/src/scoped_access.rs:2410-2416 | bindings/c/src/scoped_access.rs:2440-2446 | bindings/c/src/scoped_access.rs:2468-2474 | bindings/c/src/scoped_access.rs:2495-2501 | bindings/c/src/scoped_access.rs:2522-2528 | bindings/c/src/scoped_access.rs:2551-2557 | bindings/c/src/scoped_access.rs:2581-2587 | bindings/c/src/scoped_access.rs:2612-2618 | bindings/c/src/scoped_access.rs:2642-2648 | bindings/c/src/scoped_access.rs:2791-2797 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060bindings/c/src/dynamics.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 \u0060handle\u0060 to \u0060RprRigidBodyHandle\u0060 in one and \u0060RprColliderHandle\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, \u0060bindings/c/src/scoped_access.rs:1289\u0060 calls \u0060cast\u0060 and \u0060bindings/c/src/handle_access.rs:275\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":"bindings/c/src/dynamics.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"773a24de6363a77d6b9b820809bcca86493576aac2bf316dd87c7c72849a4037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 24): bindings/c/src/geometry.rs:706-712 | bindings/c/src/handle_access.rs:947-953 | bindings/c/src/handle_access.rs:971-977 | bindings/c/src/handle_access.rs:994-1000 | bindings/c/src/handle_access.rs:1017-1023 | bindings/c/src/handle_access.rs:1040-1046 | bindings/c/src/handle_access.rs:1063-1069 | bindings/c/src/handle_access.rs:1086-1092 | bindings/c/src/handle_access.rs:1730-1736 | bindings/c/src/scoped_access.rs:1310-1316 | bindings/c/src/scoped_access.rs:1518-1524 | bindings/c/src/scoped_access.rs:2818-2824 | bindings/c/src/scoped_access.rs:2841-2847 | bindings/c/src/scoped_access.rs:2864-2870 | bindings/c/src/scoped_access.rs:2887-2893 | bindings/c/src/scoped_access.rs:2910-2916 | bindings/c/src/scoped_access.rs:2933-2939 | bindings/c/src/scoped_access.rs:2956-2962 | bindings/c/src/scoped_access.rs:2979-2985 | bindings/c/src/scoped_access.rs:3002-3008 | bindings/c/src/scoped_access.rs:3025-3031 | bindings/c/src/scoped_access.rs:3048-3054 | bindings/c/src/scoped_access.rs:3509-3515 | bindings/c/src/scoped_access.rs:3532-3538 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060bindings/c/src/geometry.rs:706\u0060 it does not close everything it opens, so those exact 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 \u0060handle\u0060 to \u0060RprColliderHandle\u0060 in one and \u0060RprRigidBodyHandle\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":"bindings/c/src/geometry.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f79da299755d2128ff48e8d8a5d53fe10395c85bb745b6ee92a68e4b4c6b800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 22): bindings/c/src/handle_access.rs:1390-1396 | bindings/c/src/joint_access.rs:26-32 | bindings/c/src/joint_access.rs:68-74 | bindings/c/src/joint_access.rs:110-116 | bindings/c/src/joint_access.rs:152-158 | bindings/c/src/joint_access.rs:194-200 | bindings/c/src/joint_access.rs:236-242 | bindings/c/src/joint_access.rs:278-284 | bindings/c/src/joint_access.rs:320-326 | bindings/c/src/joint_access.rs:362-368 | bindings/c/src/joint_access.rs:404-410 | bindings/c/src/joint_access.rs:446-452 | bindings/c/src/joint_access.rs:488-494 | bindings/c/src/joint_access.rs:530-536 | bindings/c/src/joint_access.rs:579-585 | bindings/c/src/joint_access.rs:638-644 | bindings/c/src/joint_access.rs:688-694 | bindings/c/src/joint_access.rs:735-741 | bindings/c/src/joint_access.rs:778-784 | bindings/c/src/joint_access.rs:832-838 | bindings/c/src/joint_access.rs:886-892 | bindings/c/src/joints.rs:241-247 \u2014 there are 22 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 22 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/handle_access.rs:1390\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/handle_access.rs"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a875233b165a933c52f32a9bacbb94e7dd99ce7e3b85334bb20de24fb7a622b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 16): bindings/c/src/pipeline.rs:6-12 | bindings/c/src/pipeline.rs:41-47 | bindings/c/src/pipeline.rs:76-82 | bindings/c/src/pipeline.rs:111-117 | bindings/c/src/pipeline.rs:150-156 | bindings/c/src/pipeline.rs:189-195 | bindings/c/src/pipeline.rs:227-233 | bindings/c/src/pipeline.rs:265-271 | bindings/c/src/pipeline.rs:306-312 | bindings/c/src/pipeline.rs:1476-1482 | bindings/c/src/pipeline.rs:1512-1518 | bindings/c/src/soft_extras.rs:638-644 | bindings/c/src/soft_extras.rs:731-737 | bindings/c/src/soft_extras.rs:826-832 | bindings/c/src/soft_extras.rs:966-972 | bindings/c/src/soft_extras.rs:988-994 \u2014 before extracting anything, compare \u0060bindings/c/src/pipeline.rs\u0060 and \u0060bindings/c/src/soft_extras.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/pipeline.rs:6\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/pipeline.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9db5345bb0875ba00d0e9eb7ab6a534909ba4925380cc99e2fab0f05547673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): bindings/c/src/pipeline.rs:344-350 | bindings/c/src/pipeline.rs:381-387 | bindings/c/src/pipeline.rs:421-427 | bindings/c/src/pipeline.rs:459-465 | bindings/c/src/pipeline.rs:1547-1553 | bindings/c/src/soft_extras.rs:1006-1012 | bindings/c/src/soft_extras.rs:1024-1030 \u2014 before extracting anything, compare \u0060bindings/c/src/pipeline.rs\u0060 and \u0060bindings/c/src/soft_extras.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/pipeline.rs:344\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/pipeline.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5ca5743de2f471527550c40721d6100edf7cae1ffcb3f2f7cc917001163a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): bindings/c/src/queries_extras.rs:420-426 | bindings/c/src/queries_extras.rs:452-458 | bindings/c/src/scoped_access.rs:384-390 | bindings/c/src/scoped_access.rs:912-918 | bindings/c/src/scoped_access.rs:1005-1011 | bindings/c/src/scoped_access.rs:2710-2716 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/queries_extras.rs:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/queries_extras.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"31429dcd712ede6db2def5d93a497e2c713ea46f72c558a41c0b9bab2c0503db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): bindings/c/src/scoped_access.rs:1039-1045 | bindings/c/src/scoped_access.rs:1071-1077 | bindings/c/src/scoped_access.rs:1100-1106 | bindings/c/src/scoped_access.rs:1127-1133 | bindings/c/src/scoped_access.rs:1228-1234 \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 \u0060bindings/c/src/scoped_access.rs:1039\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/scoped_access.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"808c110077a355b52fc133a0e09a0550a9678008e9f88673e13561c53c8f900c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): bindings/c/src/control.rs:756-764 | bindings/c/src/soft_body.rs:434-440 | bindings/c/src/soft_body.rs:630-638 | bindings/c/src/soft_body.rs:664-672 \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 \u0060bindings/c/src/control.rs:756\u0060 it does not close everything it opens, so those exact 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":"bindings/c/src/control.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7b7953b80f2fd0eb8eb11cbe3c46c164149c5613f715746d5a22dc1f2dc704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): bindings/c/src/extra.rs:451-457 | bindings/c/src/scoped_access.rs:1037-1043 | bindings/c/src/scoped_access.rs:1069-1075 | bindings/c/src/scoped_access.rs:1098-1104 \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 \u0060bindings/c/src/extra.rs:451\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/extra.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d1921b2d8f23b623b7aefa10e3459337ea84e19ced9866ed2e8a060b3a6599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): examples2d/soft_jelly2.rs:72-78 | examples2d/soft_joints2.rs:268-274 | examples2d/soft_plasticity2.rs:117-123 | examples2d/soft_thin_features2.rs:118-124 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_jelly2.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":"examples2d/soft_jelly2.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97064cabd7ad394fa6cfe7355f78f9bb2e9501b243d9b130b450184d8a0c5e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:117-124 | src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:224-231 | src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs:326-333 | src/geometry/narrow_phase/soft_contacts/soft_self_contacts.rs:475-482 \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":"src/geometry/narrow_phase/soft_contacts/soft_contacts_classify.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa913e6eca10f4b8e662650ebb81c4371196474c731b0a10a58c3a2af7b7ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): bindings/c/src/geometry.rs:171-177 | bindings/c/src/geometry.rs:761-767 | bindings/c/src/geometry.rs:781-787 \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 \u0060bindings/c/src/geometry.rs:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/geometry.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b13cb19c36a8c15ce78a3406c187e4523fb959689aeca87f21a4b627669daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): examples2d/sensor2.rs:62-72 | examples3d/ccd3.rs:104-114 | examples3d/sensor3.rs:66-76 \u2014 before extracting anything, compare \u0060examples2d/sensor2.rs\u0060 and \u0060examples3d/ccd3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/sensor2.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a95e1ef5e3ea6a2bb5cc54405af4ef25c3979f6cd57c6f8c0bd4bad00d0ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): examples3d/compound3.rs:24-30 | examples3d/stress_tests/compound3.rs:23-29 | examples3d/stress_tests/convex_polyhedron3.rs:27-33 \u2014 before extracting anything, compare \u0060examples3d/compound3.rs\u0060 and \u0060examples3d/stress_tests/compound3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/compound3.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11b59d52396c78439e20a3dc31d4fa2f15e9fcb348726f81040938dcdc87387"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/bevy_rapier/src/geometry/collider.rs:535-541 | bindings/bevy_rapier/src/geometry/collider.rs:591-597 \u2014 both copies are in the same file, so extract the block 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":"bindings/bevy_rapier/src/geometry/collider.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cc5bba7acdc8b29becd8dd57caeffc6c849354e7b27fd992a673f19b3d8196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): bindings/bevy_rapier/src/plugin/narrow_phase.rs:55-62 | bindings/bevy_rapier/src/plugin/narrow_phase.rs:144-152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/bevy_rapier/src/plugin/narrow_phase.rs:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"bindings/bevy_rapier/src/plugin/narrow_phase.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ccb3ce7ed13c0ee2c1db387bc79c798f672a6769dbe95866da0516d9d7c6b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/c/src/pipeline.rs:667-673 | bindings/c/src/pipeline.rs:707-713 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/pipeline.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab523309ec5d8642686592b294a2e716f06476a14f7d0944861e0b6bd296abac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/c/src/queries_extras.rs:320-327 | bindings/c/src/queries_extras.rs:381-388 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/queries_extras.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":"bindings/c/src/queries_extras.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9b3e4fa8f6610c8c4dee0454e9940816a86fa09c375db2318e096a3aaa25e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/c/src/soft_body.rs:1056-1062 | bindings/c/src/soft_body.rs:1075-1081 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/soft_body.rs:1056\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/soft_body.rs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"58664a0b50affc31a3877b5ae981162740e645d484c245bdb22a22dea16eb757"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bindings/python/rapier-py-3d/src/loaders.rs:389-397 | bindings/python/rapier-py-3d/src/loaders.rs:1235-1243 \u2014 both copies are in the same file, so extract the block 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, \u0060bindings/python/rapier-py-3d/src/loaders.rs:1246\u0060 calls \u0060to_rapier\u0060 and \u0060bindings/python/rapier-py-3d/src/loaders.rs:399\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":"bindings/python/rapier-py-3d/src/loaders.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7ef4831e17d8d7c29dfec3d889a4da7b187e3887f8e35337d893670b1e5d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples2d/joint_motor_position2.rs:23-29 | examples2d/joint_motor_position2.rs:46-52 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/joint_motor_position2.rs:23\u0060 it begins part-way through the construct above it, so those exact 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, \u0060examples2d/joint_motor_position2.rs:45\u0060 calls \u0060rotation\u0060 and \u0060examples2d/joint_motor_position2.rs:22\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":"examples2d/joint_motor_position2.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8573e803a2b7b9b82112264db837d548f4ac67d3c6cf3edd450f8040a90ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples2d/s2d_pyramid.rs:24-30 | examples3d/b3d_large_pyramid.rs:20-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/s2d_pyramid.rs:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/s2d_pyramid.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9c3f6cec2cca95890e9fea48f2456f249e4d4419c7d784056264b935365cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples2d/soft_force_tearing2.rs:68-74 | examples2d/soft_force_tearing2.rs:140-146 \u2014 both copies are in the same file, so extract the block 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":"examples2d/soft_force_tearing2.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a42566702f3104da8ee5cde69ab2c6388d7eae8ac67c6573c7bdbaab22f2c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples2d/soft_joints2.rs:262-268 | examples3d/soft_joints3.rs:327-333 \u2014 before extracting anything, compare \u0060examples2d/soft_joints2.rs\u0060 and \u0060examples3d/soft_joints3.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 129 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_joints2.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d06f31ed38d3a17f947985c731a2eab08872e4e90784a980f37537ef1ae7f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples2d/soft_stress2.rs:48-54 | examples2d/soft_tearing2.rs:52-58 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_stress2.rs:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_stress2.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b06b20c6c0240dc3eb9559571c94cb02ce216cc5ad919212ab2b7f591a3b8a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples3d/ccd3.rs:14-21 | examples3d/stress_tests/stacks3.rs:41-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/ccd3.rs:14\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/ccd3.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fe1f36de235cf44c8259817f8d14ee5f53ee35492df2a8a808b253c83010f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples3d/debug_balls3.rs:20-26 | examples3d/stress_tests/many_kinematics3.rs:19-25 \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 \u0060examples3d/debug_balls3.rs:20\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_balls3.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaf7f79979f6d202a98e77a57182620216cd70544bc5b100bfacea3aef79af9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples3d/debug_chain_high_mass_ratio3.rs:40-46 | examples3d/debug_long_chain3.rs:31-37 \u2014 before extracting anything, compare \u0060examples3d/debug_chain_high_mass_ratio3.rs\u0060 and \u0060examples3d/debug_long_chain3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/debug_chain_high_mass_ratio3.rs:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_chain_high_mass_ratio3.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e539160bc38ab6d402107b69bde2a09af61587af45b47f5f5ddcdd894256b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples3d/debug_shape_modification3.rs:77-83 | examples3d/primitives3.rs:39-45 \u2014 before extracting anything, compare \u0060examples3d/debug_shape_modification3.rs\u0060 and \u0060examples3d/primitives3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 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 \u0060examples3d/debug_shape_modification3.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060examples3d/debug_shape_modification3.rs:84\u0060 calls \u0060cuboid\u0060 and \u0060examples3d/primitives3.rs:47\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":"examples3d/debug_shape_modification3.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a99a7a9894ec64fe77e29615077c0d361f1aade7069913d33899bd6f9f998b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples3d/soft_bodies3.rs:15-25 | examples3d/soft_cloth3.rs:26-32 \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 \u0060examples3d/soft_bodies3.rs:15\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":"examples3d/soft_bodies3.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffa055f6513e46e7f549157caf068cbcaa984d510450f66a636f1d8962b0828"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): src/dynamics/island_manager/persistent.rs:331-337 | src/dynamics/island_manager/persistent.rs:410-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 \u0060src/dynamics/island_manager/persistent.rs:331\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":"src/dynamics/island_manager/persistent.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f379f7b7e7f3e7b786898b280b0fafd97012542839daeec6bbda886c76cca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/dynamics/joint/multibody_joint/multibody_joint_set.rs:144-151 | src/dynamics/joint/multibody_joint/multibody_joint_set.rs:153-160 \u2014 both copies are in the same file, so extract the block 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":"src/dynamics/joint/multibody_joint/multibody_joint_set.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"912b17bcb9145388f379815d3ca02640313c54008856a4a8f37957e9bce4978a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_rigid_coupling.rs:234-240 | src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_rigid_coupling.rs:250-256 \u2014 both copies are in the same file, so extract the block 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":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_rigid_coupling.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e22ae4bd1bf0ccd830b424f618e08d5818779d6e479deb6d08de29621170413"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/geometry/narrow_phase/pair_update.rs:152-158 | src/geometry/narrow_phase/pair_update.rs:761-767 \u2014 both copies are in the same file, so extract the block 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":"src/geometry/narrow_phase/pair_update.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f257208385122c669c5a59344e127d9437e0313d5231c6eba3112f440d0d71d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 31): bindings/c/src/pipeline.rs:514-519 | bindings/c/src/pipeline.rs:552-557 | bindings/c/src/pipeline.rs:590-595 | bindings/c/src/pipeline.rs:628-633 | bindings/c/src/pipeline.rs:666-671 | bindings/c/src/pipeline.rs:706-711 | bindings/c/src/pipeline.rs:1566-1571 | bindings/c/src/pipeline.rs:1590-1595 | bindings/c/src/pipeline.rs:1610-1615 | bindings/c/src/pipeline.rs:1634-1639 | bindings/c/src/pipeline.rs:1658-1663 | bindings/c/src/pipeline.rs:1682-1687 | bindings/c/src/pipeline.rs:1706-1711 | bindings/c/src/pipeline.rs:1726-1731 | bindings/c/src/pipeline.rs:1750-1755 | bindings/c/src/pipeline.rs:1770-1775 | bindings/c/src/pipeline.rs:1794-1799 | bindings/c/src/pipeline.rs:1818-1823 | bindings/c/src/pipeline.rs:1842-1847 | bindings/c/src/pipeline.rs:1862-1867 | bindings/c/src/pipeline.rs:1886-1891 | bindings/c/src/pipeline.rs:1906-1911 | bindings/c/src/pipeline.rs:1930-1935 | bindings/c/src/pipeline.rs:1954-1959 | bindings/c/src/pipeline.rs:1978-1983 | bindings/c/src/pipeline.rs:2002-2007 | bindings/c/src/pipeline.rs:2026-2031 | bindings/c/src/pipeline.rs:2050-2055 | bindings/c/src/pipeline.rs:2074-2079 | bindings/c/src/pipeline.rs:2098-2103 | bindings/c/src/soft_extras.rs:783-788 \u2014 before extracting anything, compare \u0060bindings/c/src/pipeline.rs\u0060 and \u0060bindings/c/src/soft_extras.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/pipeline.rs:514\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/pipeline.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3378ef93014f07edeed76123aedcf57ffb4410af414ee1120b2c9b14e6e366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 16): bindings/c/src/handle_access.rs:160-165 | bindings/c/src/handle_access.rs:194-199 | bindings/c/src/handle_access.rs:875-880 | bindings/c/src/handle_access.rs:1692-1697 | bindings/c/src/objects.rs:165-170 | bindings/c/src/objects.rs:258-263 | bindings/c/src/scoped_access.rs:1428-1433 | bindings/c/src/scoped_access.rs:1970-1975 | bindings/c/src/scoped_access.rs:2003-2008 | bindings/c/src/scoped_access.rs:2069-2074 | bindings/c/src/scoped_access.rs:2102-2107 | bindings/c/src/scoped_access.rs:2135-2140 | bindings/c/src/scoped_access.rs:2168-2173 | bindings/c/src/scoped_access.rs:2201-2206 | bindings/c/src/scoped_access.rs:2754-2759 | bindings/c/src/scoped_access.rs:3405-3410 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060bindings/c/src/handle_access.rs:160\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060out\u0060 to \u0060*mut RprAngVector\u0060 in one and \u0060*mut RprBool\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":"bindings/c/src/handle_access.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f0dff9aebda5d5a9c67ec9284dfaf5f8a933dbff2b1a5ecadca0bc9b64a296"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 15): examples3d/ccd3.rs:48-53 | examples3d/collision_groups3.rs:14-19 | examples3d/compound3.rs:13-18 | examples3d/convex_polyhedron3.rs:15-20 | examples3d/debug_cylinder3.rs:16-21 | examples3d/debug_disabled3.rs:12-17 | examples3d/debug_eccentric_boxes3.rs:13-18 | examples3d/debug_prismatic3.rs:53-58 | examples3d/domino3.rs:14-19 | examples3d/fountain3.rs:14-19 | examples3d/harness_capsules3.rs:11-16 | examples3d/inverse_kinematics3.rs:13-18 | examples3d/keva3.rs:75-80 | examples3d/locked_rotations3.rs:16-21 | examples3d/sensor3.rs:14-19 \u2014 before extracting anything, compare \u0060examples3d/ccd3.rs\u0060 and \u0060examples3d/sensor3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060examples3d/debug_disabled3.rs:22\u0060 calls \u0060dynamic\u0060, \u0060translation\u0060, \u0060cuboid\u0060 and \u0060examples3d/fountain3.rs:24\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":"examples3d/ccd3.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aafc911276f3f9be79ddc40dd6c464739efb1981ec6d3b648a1e3b816333ab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 13): bindings/c/src/handle_access.rs:807-812 | bindings/c/src/handle_access.rs:841-846 | bindings/c/src/scoped_access.rs:1772-1777 | bindings/c/src/scoped_access.rs:1805-1810 | bindings/c/src/scoped_access.rs:1838-1843 | bindings/c/src/scoped_access.rs:1871-1876 | bindings/c/src/scoped_access.rs:1904-1909 | bindings/c/src/scoped_access.rs:1937-1942 | bindings/c/src/scoped_access.rs:3238-3243 | bindings/c/src/scoped_access.rs:3271-3276 | bindings/c/src/scoped_access.rs:3304-3309 | bindings/c/src/scoped_access.rs:3337-3342 | bindings/c/src/scoped_access.rs:3372-3377 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060bindings/c/src/handle_access.rs:807\u0060 it does not close everything it opens, so those exact 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*mut RprVector\u0060 in one and \u0060*mut RprReal\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":"bindings/c/src/handle_access.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a0ba6e4d5777c87aa5228c291b982c3fe5020fb133eeb8b7454b75f1a668ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12): bindings/c/src/control.rs:301-306 | bindings/c/src/queries_extras.rs:52-57 | bindings/c/src/queries_extras.rs:118-123 | bindings/c/src/queries_extras.rs:181-186 | bindings/c/src/world_queries.rs:119-124 | bindings/c/src/world_queries.rs:167-172 | bindings/c/src/world_queries.rs:211-216 | bindings/c/src/world_queries.rs:248-253 | bindings/c/src/world_queries.rs:284-289 | bindings/c/src/world_queries.rs:322-327 | bindings/c/src/world_queries.rs:365-370 | bindings/c/src/world_queries.rs:416-421 \u2014 there are 12 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 12 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bindings/c/src/control.rs:309\u0060 calls \u0060out_ptr\u0060, \u0060positive\u0060 and \u0060bindings/c/src/queries_extras.rs:59\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/control.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"3004c154600693f5e8ddb727df49c02313c82eb6034cbfc4966c6b329e5dfca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12): bindings/c/src/extra.rs:479-484 | bindings/c/src/handle_access.rs:1137-1142 | bindings/c/src/joints.rs:392-397 | bindings/c/src/scoped_access.rs:42-47 | bindings/c/src/scoped_access.rs:268-273 | bindings/c/src/scoped_access.rs:297-302 | bindings/c/src/scoped_access.rs:326-331 | bindings/c/src/scoped_access.rs:355-360 | bindings/c/src/scoped_access.rs:699-704 | bindings/c/src/scoped_access.rs:755-760 | bindings/c/src/scoped_access.rs:944-949 | bindings/c/src/scoped_access.rs:975-980 \u2014 before extracting anything, compare \u0060bindings/c/src/extra.rs\u0060 and \u0060bindings/c/src/joints.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/extra.rs:479\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/extra.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53c9b4165ae4c107120eb405a3ec6a5bce79a3217fd73d62f939c0db5f31994"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): bindings/c/src/pipeline.rs:365-370 | bindings/c/src/pipeline.rs:402-407 | bindings/c/src/pipeline.rs:443-448 | bindings/c/src/pipeline.rs:477-482 | bindings/c/src/pipeline.rs:1531-1536 | bindings/c/src/pipeline.rs:2165-2170 | bindings/c/src/soft_extras.rs:914-919 | bindings/c/src/soft_extras.rs:950-955 \u2014 before extracting anything, compare \u0060bindings/c/src/pipeline.rs\u0060 and \u0060bindings/c/src/soft_extras.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/pipeline.rs:365\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/pipeline.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa094a0be403c6c0821c9f173924d4157144a4422767768279bff8ab78aad45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): bindings/c/src/handle_access.rs:58-63 | bindings/c/src/handle_access.rs:92-97 | bindings/c/src/handle_access.rs:773-778 | bindings/c/src/scoped_access.rs:1605-1610 | bindings/c/src/scoped_access.rs:1640-1645 | bindings/c/src/scoped_access.rs:1673-1678 | bindings/c/src/scoped_access.rs:2669-2674 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060bindings/c/src/handle_access.rs:58\u0060 it does not close everything it opens, so those exact 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*mut RprPose\u0060 in one and \u0060*mut RprVector\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":"bindings/c/src/handle_access.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed890b8a0b06e3686e88dd9a626d87f5b77a994a553663bca94ca8e2b0c197e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): bindings/c/src/handle_access.rs:1447-1452 | bindings/c/src/handle_access.rs:1481-1486 | bindings/c/src/handle_access.rs:1515-1520 | bindings/c/src/scoped_access.rs:1739-1744 | bindings/c/src/scoped_access.rs:3205-3210 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060bindings/c/src/handle_access.rs:1447\u0060 it does not close everything it opens, so those exact 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*mut u16\u0060 in one and \u0060*mut u32\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":"bindings/c/src/handle_access.rs"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b0ee778ad45f2595fd55ae492659eff8bd008879fb4c96f329559fbf53b6f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): examples3d-f64/trimesh3_f64.rs:16-21 | examples3d/heightfield3.rs:15-20 | examples3d/stress_tests/heightfield3.rs:15-20 | examples3d/stress_tests/trimesh3.rs:15-20 | examples3d/trimesh3.rs:15-20 \u2014 before extracting anything, compare \u0060examples3d/heightfield3.rs\u0060 and \u0060examples3d/stress_tests/heightfield3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples3d-f64/trimesh3_f64.rs:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d-f64/trimesh3_f64.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"355cf27c84e216a4c0fdbc61721ebf730ed066d5d962f37cd78661b99f3ee3cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): examples3d/debug_self_intersect3.rs:221-226 | examples3d/soft_cloth_stress3.rs:119-124 | examples3d/soft_jelly3.rs:125-130 | examples3d/soft_joints3.rs:333-338 | examples3d/soft_plasticity3.rs:127-132 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/debug_self_intersect3.rs:221\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_self_intersect3.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1043760a697488b6d0baf4f69394f55ced4425f2ccd513da1d9a6a1f71c5c861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): bindings/c/src/config_data.rs:568-573 | bindings/c/src/pipeline.rs:1477-1482 | bindings/c/src/pipeline.rs:1513-1518 | bindings/c/src/pipeline.rs:1548-1553 \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 \u0060bindings/c/src/config_data.rs:568\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/config_data.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"1242e1d0291ca004554cd6eb8c7c8cdebd462257557ed172dfe66c5499abdc1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): bindings/c/src/handle_access.rs:24-29 | bindings/c/src/handle_access.rs:739-744 | bindings/c/src/handle_access.rs:1550-1555 | bindings/c/src/scoped_access.rs:1539-1544 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060bindings/c/src/handle_access.rs:24\u0060 it does not close everything it opens, so those exact 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*mut u32\u0060 in one and \u0060*mut RprBool\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":"bindings/c/src/handle_access.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef2faf059725f3cde1eaef26fef53318b0ededf87624cdece67c9dd4b0a71a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): bindings/c/src/scoped_access.rs:87-92 | bindings/c/src/scoped_access.rs:109-114 | bindings/c/src/scoped_access.rs:131-136 | bindings/c/src/scoped_access.rs:153-158 \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 \u0060bindings/c/src/scoped_access.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":"bindings/c/src/scoped_access.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bea01a812cef8cef83d23a26ca5d82c96aa48f1a2762c6995f7a04b34b4bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): examples3d/harness_capsules3.rs:32-37 | examples3d/primitives3.rs:35-40 | examples3d/stress_tests/capsules3.rs:34-39 | examples3d/stress_tests/convex_polyhedron3.rs:51-56 \u2014 before extracting anything, compare \u0060examples3d/harness_capsules3.rs\u0060 and \u0060examples3d/stress_tests/capsules3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 40 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 \u0060examples3d/harness_capsules3.rs:32\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/harness_capsules3.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb619aeb372aa0821f9960e1a2d40f7fa64195a62cc7a7d2bad2cb3ce18800d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bindings/bevy_rapier/src/plugin/systems/rigid_body.rs:386-391 | bindings/bevy_rapier/src/plugin/systems/rigid_body.rs:396-401 | bindings/bevy_rapier/src/plugin/systems/rigid_body.rs:423-428 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/bevy_rapier/src/plugin/systems/rigid_body.rs:386\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/rigid_body.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9402a2b8abee86016929445c0a5694e62eb1c90c2f3fca5d3b0640ca652219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bindings/c/src/extra.rs:481-486 | bindings/c/src/joint_extras.rs:130-135 | bindings/c/src/joints.rs:394-399 \u2014 before extracting anything, compare \u0060bindings/c/src/extra.rs\u0060 and \u0060bindings/c/src/joints.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/extra.rs:481\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/extra.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"695dc68952507a45fd66cbc2749ace0f5d8136644b317ed4bb85732563b83f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bindings/c/src/handle_access.rs:1109-1114 | bindings/c/src/scoped_access.rs:175-180 | bindings/c/src/soft_extras.rs:23-28 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060bindings/c/src/handle_access.rs:1109\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/handle_access.rs"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af3fe2ecde9170bfe4f12b81f2d46cf0bf5f200b3c2dde7eea03f4aa27a8a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bindings/c/src/handle_access.rs:1620-1625 | bindings/c/src/handle_access.rs:1656-1661 | bindings/c/src/scoped_access.rs:9-14 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060bindings/c/src/handle_access.rs:1620\u0060 it does not close everything it opens, so those exact 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*mut i8\u0060 in one and \u0060*mut usize\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":"bindings/c/src/handle_access.rs"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d5291ada905e33da935fb50174ac879933ab5a12e76547edc74b55fe7a405f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bindings/c/src/objects.rs:328-333 | bindings/c/src/scoped_access.rs:219-224 | bindings/c/src/scoped_access.rs:241-246 \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 \u0060bindings/c/src/objects.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/objects.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"71562c9b940a333c8f6980f1ecbc22f662596c156993d61a7ae05b3f4814ae12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/bevy_rapier/src/plugin/systems/rigid_body.rs:209-214 | bindings/bevy_rapier/src/plugin/systems/rigid_body.rs:396-401 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/bevy_rapier/src/plugin/systems/rigid_body.rs:209\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/rigid_body.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dea4ec4138666dba2f359099d63ca6b4671e87d4b6ae357d9a14e9867f5b7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/handle_access.rs:126-131 | bindings/c/src/scoped_access.rs:1706-1711 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060bindings/c/src/handle_access.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":"bindings/c/src/handle_access.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"31aeb1924f5bf503a45c8d2cbb284f1065c8d32e22b85a37bd91ee5cba9ccf14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/handle_access.rs:228-233 | bindings/c/src/scoped_access.rs:3171-3176 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060bindings/c/src/handle_access.rs:228\u0060 it does not close everything it opens, so those exact 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 \u0060handle\u0060 to \u0060RprRigidBodyHandle\u0060 in one and \u0060RprColliderHandle\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":"bindings/c/src/handle_access.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45e08c84f241c1035b46e256665de07a3ad33c4bc51029743ba084244914224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/handle_access.rs:1359-1364 | bindings/c/src/joint_extras.rs:128-133 \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 \u0060bindings/c/src/handle_access.rs:1359\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/handle_access.rs"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaabbc2654526a0075ce9120eb6b7c3e26229d1e25cad8c5759aeec99334c3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/joints.rs:275-280 | bindings/c/src/objects.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 \u0060bindings/c/src/joints.rs:275\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/joints.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76c7a01cda6a0bc545f7f3c6d87391fae25abe4689ffe597342b6df71396e13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/read_access.rs:16-21 | bindings/c/src/read_access.rs:48-53 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/read_access.rs:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/read_access.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5ab3266785f7835899d2e45457d1a5a5431e4c230cdc747ef187204a65bd20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/robotics.rs:216-221 | bindings/c/src/robotics.rs:478-483 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/robotics.rs:216\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/robotics.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2f1485b60bb3e389bf0585592d773784705b097e6d868961d11a1e7761fb99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/scoped_access.rs:65-70 | bindings/c/src/soft_extras.rs:60-65 \u2014 before extracting anything, compare \u0060bindings/c/src/scoped_access.rs\u0060 and \u0060bindings/c/src/soft_extras.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/scoped_access.rs:65\u0060 it does not close everything it opens, so those exact 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*mut usize\u0060 in one and \u0060*mut u32\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":"bindings/c/src/scoped_access.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2e2abceeef5a70938ac85b9d9b74149543b5c8ba2c4dd272ab6cdfbe95bb4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/scoped_access.rs:197-202 | bindings/c/src/scoped_access.rs:726-731 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/scoped_access.rs:197\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/scoped_access.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b1a2565eb0b1cbb0276f1faa9c001540c9761e4b660baa3be2f04e332343fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/scoped_access.rs:1572-1577 | bindings/c/src/scoped_access.rs:3068-3073 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/scoped_access.rs:1572\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/scoped_access.rs"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67d1f0de040f3b846a3b789619f5f535ccb47459a00f63c73934217bfd37d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/scoped_access.rs:3103-3108 | bindings/c/src/scoped_access.rs:3138-3143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/scoped_access.rs:3103\u0060 it does not close everything it opens, so those exact 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*mut RprRotation\u0060 in one and \u0060*mut RprInteractionGroups\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":"bindings/c/src/scoped_access.rs"},"region":{"startLine":3103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7720257fa230ea84412bd5dd11dc296c0974d7dafa2fd1aca0bcc1b690c3f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/soft_body.rs:699-704 | bindings/c/src/soft_body.rs:1220-1225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/soft_body.rs:699\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/soft_body.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c80314a8a4ec7737b84b11dcb1a216239efafed7bc378c8a05037e0b08b873c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/soft_body.rs:870-875 | bindings/c/src/soft_body.rs:900-905 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/soft_body.rs:870\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/soft_body.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78481474446827306c92e87f763919c11204b00a8c13103ebcbcd8c9244f0df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/soft_body.rs:915-920 | bindings/c/src/soft_body.rs:930-935 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/soft_body.rs:915\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/soft_body.rs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"81daf91b50c248f35e19aca554f9fcbf4ad9db0137e493c4e207d11f3887e863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/soft_body.rs:1025-1030 | bindings/c/src/soft_body.rs:1082-1087 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/soft_body.rs:1025\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":"bindings/c/src/soft_body.rs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb685518ca07d5ef202fa4f7783a9f82087dc3d491301dc6708b074883774bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/python/rapier-py-3d/src/math.rs:235-240 | bindings/python/rapier-py-3d/src/math.rs:432-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 \u0060bindings/python/rapier-py-3d/src/math.rs:235\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5792c84db5be07ba41d0b8ed15dc91cb03bbc9defcc48798235d272d50af8021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/python/rapier-py-3d/src/math.rs:267-272 | bindings/python/rapier-py-3d/src/math.rs:464-469 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/math.rs:267\u0060 it does not close everything it opens, so those exact 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 \u0060other\u0060 to \u0060PyVector\u0060 in one and \u0060PyPoint\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":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4276002f4005ecb440b73cc0b53d6505729bae39b0dc2d20cb4290ca4d58c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/python/rapier-py-3d/src/pipeline.rs:3209-3214 | bindings/python/rapier-py-3d/src/pipeline.rs:3294-3299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/pipeline.rs:3209\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":3209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d25b204b96a14b8a5c96a084a6183f0a495dda2770146e24db681f37e221dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/typescript/src/pipeline/event_queue.rs:122-127 | bindings/typescript/src/pipeline/event_queue.rs:132-137 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/typescript/src/pipeline/event_queue.rs:122\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/pipeline/event_queue.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"885b6682f8a2b4cc05f6b881efdcd217288aa7ce81c02cc9c7bf26cc7ae62442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/rapier3d-mjcf/src/loader/conversion.rs:530-536 | crates/rapier3d-mjcf/src/loader/geom.rs:445-451 \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/rapier3d-mjcf/src/loader/conversion.rs:530\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/conversion.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bd6139738b9da2741ff6d28c6d6381cc3daec7400071561e0b25d948eb36c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples2d/ccd2.rs:57-65 | examples2d/platform2.rs:28-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/ccd2.rs:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/ccd2.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"78187c0b2bf171a026f50f62ba5b5b2a1070316a8bc804ca9c686628849fdc0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 3): examples2d/debug_self_intersect2.rs:179-184 | examples2d/debug_self_intersect2.rs:185-190 | examples2d/debug_self_intersect2.rs:191-192 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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, \u0060examples2d/debug_self_intersect2.rs:190\u0060 calls \u0060eight_blob\u0060, \u0060asym_eight\u0060 and \u0060examples2d/debug_self_intersect2.rs:192\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":"examples2d/debug_self_intersect2.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d671da55f73993fc6ed078f7987e06903c260c51e6aac74ca0836c3610b0f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples2d/soft_bodies2.rs:77-82 | examples3d/soft_bodies3.rs:80-85 \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 \u0060examples2d/soft_bodies2.rs:77\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_bodies2.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93bbddcb881161fee03b9528290ba6bc27632ea955abe47758fbb20228a4e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples2d/soft_cutting2.rs:68-73 | examples2d/soft_stress2.rs:39-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_cutting2.rs:68\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_cutting2.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3eae243a16ab36ffe3530682c30f675fdc4116ba639e16737a18cd8161d635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples2d/soft_joints2.rs:34-39 | examples3d/soft_joints3.rs:37-43 \u2014 before extracting anything, compare \u0060examples2d/soft_joints2.rs\u0060 and \u0060examples3d/soft_joints3.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 129 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 \u0060examples2d/soft_joints2.rs:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_joints2.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc13f5ee1a7c18cf8aafb7c825f6507cda9f2db7474f05a3f9107f95af23e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples2d/soft_plasticity2.rs:40-45 | examples3d/soft_plasticity3.rs:40-45 \u2014 before extracting anything, compare \u0060examples2d/soft_plasticity2.rs\u0060 and \u0060examples3d/soft_plasticity3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_plasticity2.rs:40\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_plasticity2.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfd3ef0e646681f7c3be86d198129538235ec0f28af2b0535477c61a68a44a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples2d/soft_stress2.rs:77-82 | examples2d/soft_stress2.rs:90-95 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_stress2.rs:77\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_stress2.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6191f5f69255ae2c60907fb54d86c1b20d2f3c4cc9fc955b05a13e2122600ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples2d/soft_surface2.rs:34-40 | examples2d/soft_surface2.rs:61-66 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/soft_surface2.rs:34\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_surface2.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f035247e6002d0d8faa3b056a9e88e9aab6f54441a6c9481a99d3334054b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples3d/debug_prismatic3.rs:65-70 | examples3d/voxels3.rs:212-217 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/debug_prismatic3.rs:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/debug_prismatic3.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad111751f7f364ba5ce978ab6854b0e8a0344bc9a02da7bdfdb9774f6912da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples3d/keva3.rs:90-96 | examples3d/stress_tests/soft_cloth_keva3.rs:46-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/keva3.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":"examples3d/keva3.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f1afb291b3eb4d0197085d96e34ef0fef274b1939c6aaaea3da2cd87ddf040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples3d/soft_cloth_stress3.rs:9-14 | examples3d/soft_joints3.rs:9-14 \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":"examples3d/soft_cloth_stress3.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b814c507bf4360144135f4d60fd9a2f6742f31919689f305c4d00380787b21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples3d/soft_joints3.rs:35-40 | examples3d/soft_joints3.rs:115-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/soft_joints3.rs:35\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":"examples3d/soft_joints3.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee9a85197731a032bc2cf6674f593248e3613c70b2ee545b00306b6df6aaf14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/data/coarena.rs:132-137 | src/data/coarena.rs:141-146 \u2014 both copies are in the same file, so extract the block 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":"src/data/coarena.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"785da3e1fb21b6f3bbed424903ec536ede282688cbdccc98a0656db4ce5b4ea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs:27-32 | src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs:88-93 \u2014 both copies are in the same file, so extract the block 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":"src/dynamics/soft_body/collision_mesh/collision_mesh_topology.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d884073d8e98ade3d1a9685d04a3e730e5ee032d50d986858386f64bd8771c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/dynamics/soft_body/soft_body_builder/soft_body_builder_mesh_helpers.rs:167-172 | src/dynamics/soft_body/soft_body_builder/soft_body_builder_mesh_helpers.rs:180-185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/soft_body_builder/soft_body_builder_mesh_helpers.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b154a6e353b3133c6956d36f49a02805bee2f21ce16694f9a8d845f330abd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/dynamics/solver/staged_island_solver/worker.rs:280-285 | src/dynamics/solver/staged_island_solver/worker.rs:653-658 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/staged_island_solver/worker.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":"src/dynamics/solver/staged_island_solver/worker.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"3219e99ee7a03ce9d639e85a2021f733193b09b66be4588abc46d0e5bf303af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/geometry/interaction_graph.rs:121-127 | src/geometry/interaction_graph.rs:139-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/geometry/interaction_graph.rs:121\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":"src/geometry/interaction_graph.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f996a43e996604d8f0aec729521661a5ba132ed3bcca031a1007482079c651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/geometry/narrow_phase/soft_contacts/soft_contacts_edge_pass.rs:82-87 | src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.rs:122-127 \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 \u0060src/geometry/narrow_phase/soft_contacts/soft_contacts_edge_pass.rs:82\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/soft_contacts/soft_contacts_edge_pass.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7d10930edf88f3e5d8f617df366329655bba5131e5a07c1592ba295bb54a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/pipeline/physics_pipeline/solve.rs:249-254 | src/pipeline/physics_pipeline/solve.rs:281-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. 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":"src/pipeline/physics_pipeline/solve.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1795d140f95ee2a729259b16f5fd27eccc6c721b9bd79d177106e498458fa6ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 33): bindings/c/src/handle_access.rs:270-279 | bindings/c/src/handle_access.rs:300-309 | bindings/c/src/handle_access.rs:330-339 | bindings/c/src/handle_access.rs:360-369 | bindings/c/src/handle_access.rs:388-397 | bindings/c/src/handle_access.rs:415-424 | bindings/c/src/handle_access.rs:444-453 | bindings/c/src/handle_access.rs:511-520 | bindings/c/src/handle_access.rs:577-586 | bindings/c/src/handle_access.rs:606-615 | bindings/c/src/handle_access.rs:637-646 | bindings/c/src/handle_access.rs:668-677 | bindings/c/src/handle_access.rs:697-706 | bindings/c/src/handle_access.rs:721-730 | bindings/c/src/handle_access.rs:1757-1766 | bindings/c/src/scoped_access.rs:1258-1267 | bindings/c/src/scoped_access.rs:1373-1382 | bindings/c/src/scoped_access.rs:2242-2251 | bindings/c/src/scoped_access.rs:2272-2281 | bindings/c/src/scoped_access.rs:2300-2309 | bindings/c/src/scoped_access.rs:2329-2338 | bindings/c/src/scoped_access.rs:2357-2366 | bindings/c/src/scoped_access.rs:2384-2393 | bindings/c/src/scoped_access.rs:2413-2422 | bindings/c/src/scoped_access.rs:2443-2452 | bindings/c/src/scoped_access.rs:2471-2480 | bindings/c/src/scoped_access.rs:2498-2507 | bindings/c/src/scoped_access.rs:2525-2534 | bindings/c/src/scoped_access.rs:2554-2563 | bindings/c/src/scoped_access.rs:2584-2593 | bindings/c/src/scoped_access.rs:2615-2624 | bindings/c/src/scoped_access.rs:2645-2654 | bindings/c/src/scoped_access.rs:2794-2803 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060handle\u0060 to \u0060RprRigidBodyHandle\u0060 in one and \u0060RprColliderHandle\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":"bindings/c/src/handle_access.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b40a254755694b550dfb7b12c4d97cc863030a960ea7e12a3d973a1adfb7559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 32): bindings/c/src/handle_access.rs:1112-1118 | bindings/c/src/handle_access.rs:1140-1146 | bindings/c/src/handle_access.rs:1164-1170 | bindings/c/src/scoped_access.rs:45-51 | bindings/c/src/scoped_access.rs:68-74 | bindings/c/src/scoped_access.rs:90-96 | bindings/c/src/scoped_access.rs:112-118 | bindings/c/src/scoped_access.rs:134-140 | bindings/c/src/scoped_access.rs:156-162 | bindings/c/src/scoped_access.rs:178-184 | bindings/c/src/scoped_access.rs:200-206 | bindings/c/src/scoped_access.rs:222-228 | bindings/c/src/scoped_access.rs:244-250 | bindings/c/src/scoped_access.rs:271-277 | bindings/c/src/scoped_access.rs:300-306 | bindings/c/src/scoped_access.rs:329-335 | bindings/c/src/scoped_access.rs:358-364 | bindings/c/src/scoped_access.rs:388-394 | bindings/c/src/scoped_access.rs:702-708 | bindings/c/src/scoped_access.rs:729-735 | bindings/c/src/scoped_access.rs:758-764 | bindings/c/src/scoped_access.rs:916-922 | bindings/c/src/scoped_access.rs:947-953 | bindings/c/src/scoped_access.rs:978-984 | bindings/c/src/scoped_access.rs:1009-1015 | bindings/c/src/scoped_access.rs:1041-1047 | bindings/c/src/scoped_access.rs:1073-1079 | bindings/c/src/scoped_access.rs:1102-1108 | bindings/c/src/scoped_access.rs:1129-1135 | bindings/c/src/scoped_access.rs:1230-1236 | bindings/c/src/soft_extras.rs:26-32 | bindings/c/src/soft_extras.rs:63-69 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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, \u0060bindings/c/src/scoped_access.rs:1040\u0060 calls \u0060check_world\u0060 and \u0060bindings/c/src/handle_access.rs:1111\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":"bindings/c/src/handle_access.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"031aa579c4a6f06cfaafe6468c05598486eb89ace4a1f6c1182bfa0fd5bcd5aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 32): bindings/c/src/handle_access.rs:1189-1193 | bindings/c/src/handle_access.rs:1213-1217 | bindings/c/src/handle_access.rs:1239-1243 | bindings/c/src/scoped_access.rs:416-420 | bindings/c/src/scoped_access.rs:441-445 | bindings/c/src/scoped_access.rs:466-470 | bindings/c/src/scoped_access.rs:493-497 | bindings/c/src/scoped_access.rs:520-524 | bindings/c/src/scoped_access.rs:548-552 | bindings/c/src/scoped_access.rs:573-577 | bindings/c/src/scoped_access.rs:596-600 | bindings/c/src/scoped_access.rs:619-623 | bindings/c/src/scoped_access.rs:646-650 | bindings/c/src/scoped_access.rs:674-678 | bindings/c/src/scoped_access.rs:786-790 | bindings/c/src/scoped_access.rs:811-815 | bindings/c/src/scoped_access.rs:836-840 | bindings/c/src/scoped_access.rs:863-867 | bindings/c/src/scoped_access.rs:888-892 | bindings/c/src/scoped_access.rs:1155-1159 | bindings/c/src/scoped_access.rs:1179-1183 | bindings/c/src/scoped_access.rs:1204-1208 | bindings/c/src/soft_body.rs:9-13 | bindings/c/src/soft_body.rs:702-706 | bindings/c/src/soft_body.rs:758-762 | bindings/c/src/soft_body.rs:796-800 | bindings/c/src/soft_extras.rs:108-112 | bindings/c/src/soft_extras.rs:157-161 | bindings/c/src/soft_extras.rs:209-213 | bindings/c/src/soft_extras.rs:240-244 | bindings/c/src/soft_extras.rs:271-275 | bindings/c/src/soft_extras.rs:304-308 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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, \u0060bindings/c/src/scoped_access.rs:645\u0060 calls \u0060check_world\u0060 and \u0060bindings/c/src/handle_access.rs:1188\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":"bindings/c/src/handle_access.rs"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"53136fb7777ed1ec27ca10a94462c8c667fc96a0d65abf509ca23f15bfba7bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 32): bindings/c/src/handle_access.rs:1189-1193 | bindings/c/src/handle_access.rs:1213-1217 | bindings/c/src/handle_access.rs:1239-1243 | bindings/c/src/scoped_access.rs:416-420 | bindings/c/src/scoped_access.rs:441-445 | bindings/c/src/scoped_access.rs:466-470 | bindings/c/src/scoped_access.rs:493-497 | bindings/c/src/scoped_access.rs:520-524 | bindings/c/src/scoped_access.rs:548-552 | bindings/c/src/scoped_access.rs:573-577 | bindings/c/src/scoped_access.rs:596-600 | bindings/c/src/scoped_access.rs:619-623 | bindings/c/src/scoped_access.rs:674-678 | bindings/c/src/scoped_access.rs:786-790 | bindings/c/src/scoped_access.rs:811-815 | bindings/c/src/scoped_access.rs:836-840 | bindings/c/src/scoped_access.rs:863-867 | bindings/c/src/scoped_access.rs:888-892 | bindings/c/src/scoped_access.rs:1155-1159 | bindings/c/src/scoped_access.rs:1179-1183 | bindings/c/src/scoped_access.rs:1204-1208 | bindings/c/src/soft_body.rs:9-13 | bindings/c/src/soft_body.rs:327-331 | bindings/c/src/soft_body.rs:702-706 | bindings/c/src/soft_body.rs:758-762 | bindings/c/src/soft_body.rs:796-800 | bindings/c/src/soft_extras.rs:108-112 | bindings/c/src/soft_extras.rs:157-161 | bindings/c/src/soft_extras.rs:209-213 | bindings/c/src/soft_extras.rs:240-244 | bindings/c/src/soft_extras.rs:271-275 | bindings/c/src/soft_extras.rs:304-308 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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, \u0060bindings/c/src/scoped_access.rs:672\u0060 calls \u0060ffi_value\u0060 and \u0060bindings/c/src/handle_access.rs:1187\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":"bindings/c/src/handle_access.rs"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"256b2d733e33a4b0bceb0997ec30a89a4f95b1087a4321d9d96ff04b5964115e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 29): bindings/c/src/handle_access.rs:1112-1116 | bindings/c/src/handle_access.rs:1140-1144 | bindings/c/src/handle_access.rs:1164-1168 | bindings/c/src/objects.rs:331-335 | bindings/c/src/scoped_access.rs:45-49 | bindings/c/src/scoped_access.rs:68-72 | bindings/c/src/scoped_access.rs:90-94 | bindings/c/src/scoped_access.rs:112-116 | bindings/c/src/scoped_access.rs:134-138 | bindings/c/src/scoped_access.rs:156-160 | bindings/c/src/scoped_access.rs:178-182 | bindings/c/src/scoped_access.rs:200-204 | bindings/c/src/scoped_access.rs:222-226 | bindings/c/src/scoped_access.rs:244-248 | bindings/c/src/scoped_access.rs:271-275 | bindings/c/src/scoped_access.rs:300-304 | bindings/c/src/scoped_access.rs:329-333 | bindings/c/src/scoped_access.rs:358-362 | bindings/c/src/scoped_access.rs:388-392 | bindings/c/src/scoped_access.rs:702-706 | bindings/c/src/scoped_access.rs:729-733 | bindings/c/src/scoped_access.rs:758-762 | bindings/c/src/scoped_access.rs:916-920 | bindings/c/src/scoped_access.rs:947-951 | bindings/c/src/scoped_access.rs:978-982 | bindings/c/src/scoped_access.rs:1009-1013 | bindings/c/src/scoped_access.rs:3609-3613 | bindings/c/src/soft_extras.rs:26-30 | bindings/c/src/soft_extras.rs:63-67 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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":"bindings/c/src/handle_access.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3574142c0565a7b9af4e078ffbb80fc1fd53319417eb49c82991154b2ec7816d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 20): examples3d/b3d_trees.rs:29-33 | examples3d/debug_articulations3.rs:79-83 | examples3d/debug_deserialize3.rs:67-72 | examples3d/debug_multibody_ang_motor_pos3.rs:25-29 | examples3d/gyroscopic3.rs:24-28 | examples3d/inverse_kinematics3.rs:56-60 | examples3d/joints3.rs:557-561 | examples3d/joints3.rs:579-583 | examples3d/locked_rotations3.rs:48-52 | examples3d/mjcf3.rs:44-48 | examples3d/rope_joints3.rs:92-96 | examples3d/soft_bodies3.rs:94-98 | examples3d/soft_cloth3.rs:66-70 | examples3d/soft_surface3.rs:149-153 | examples3d/soft_thin_features3.rs:161-165 | examples3d/soft_trimesh3.rs:210-214 | examples3d/stress_tests/soft_cloth_drape3.rs:76-80 | examples3d/stress_tests/soft_cloth_keva3.rs:78-82 | examples3d/stress_tests/soft_fem_beams3.rs:66-70 | examples3d/urdf3.rs:45-49 \u2014 before extracting anything, compare \u0060examples3d/debug_articulations3.rs\u0060 and \u0060examples3d/joints3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples3d/b3d_trees.rs:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060examples3d/soft_bodies3.rs:89\u0060 calls \u0060attach_particle\u0060 and \u0060examples3d/soft_cloth3.rs:64\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":"examples3d/b3d_trees.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72b632d440b107ddb4afa9a82bbb6544d3b7cff6bd28c5672979af92fba06a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): examples3d/collision_groups3.rs:86-90 | examples3d/convex_polyhedron3.rs:61-65 | examples3d/debug_balls3.rs:53-57 | examples3d/heightfield3.rs:92-96 | examples3d/stress_tests/balls3.rs:47-51 | examples3d/stress_tests/many_kinematics3.rs:46-50 | examples3d/stress_tests/many_sleep3.rs:48-52 | examples3d/stress_tests/many_static3.rs:46-50 | examples3d/trimesh3.rs:102-106 \u2014 before extracting anything, compare \u0060examples3d/collision_groups3.rs\u0060 and \u0060examples3d/convex_polyhedron3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060examples3d/collision_groups3.rs:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/collision_groups3.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cc83b87e615933940037fbd64b8820f72e601eae1cae7adcdf097d5785c8c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): examples3d/compound3.rs:28-32 | examples3d/debug_shape_modification3.rs:67-71 | examples3d/harness_capsules3.rs:26-30 | examples3d/primitives3.rs:29-33 | examples3d/stress_tests/capsules3.rs:28-32 | examples3d/stress_tests/ccd3.rs:30-34 | examples3d/stress_tests/compound3.rs:27-31 \u2014 before extracting anything, compare \u0060examples3d/compound3.rs\u0060 and \u0060examples3d/primitives3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/compound3.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5bc034423bd04a2c4b9abb2ea8d0863e4d843a92f5ab257c1595a3a4a73260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): bindings/bevy_rapier/src/plugin/systems/collider.rs:209-213 | bindings/bevy_rapier/src/plugin/systems/collider.rs:218-222 | bindings/bevy_rapier/src/plugin/systems/collider.rs:227-231 | bindings/bevy_rapier/src/plugin/systems/collider.rs:265-269 | bindings/bevy_rapier/src/plugin/systems/collider.rs:274-278 | bindings/bevy_rapier/src/plugin/systems/collider.rs:301-305 \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 \u0060bindings/bevy_rapier/src/plugin/systems/collider.rs:209\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/collider.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4f8760aba8e1e7f12e11577a545ad877c18c73e6a78edbbebe21361bbf5468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): bindings/c/src/extra.rs:482-487 | bindings/c/src/joint_extras.rs:131-136 | bindings/c/src/joint_extras.rs:203-208 | bindings/c/src/joints.rs:395-400 | bindings/c/src/joints.rs:425-429 \u2014 before extracting anything, compare \u0060bindings/c/src/extra.rs\u0060 and \u0060bindings/c/src/joints.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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, \u0060bindings/c/src/extra.rs:480\u0060 calls \u0060ffi_value\u0060 and \u0060bindings/c/src/joints.rs:423\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":"bindings/c/src/extra.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"466056c40480efdd513469e92ace8ade871f0d82cda64b19589e08d923725e13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): examples3d/harness_capsules3.rs:33-37 | examples3d/primitives3.rs:36-40 | examples3d/stress_tests/capsules3.rs:35-39 | examples3d/stress_tests/ccd3.rs:37-41 | examples3d/stress_tests/convex_polyhedron3.rs:52-56 \u2014 before extracting anything, compare \u0060examples3d/harness_capsules3.rs\u0060 and \u0060examples3d/stress_tests/capsules3.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 40 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 \u0060examples3d/harness_capsules3.rs:33\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/harness_capsules3.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"168e19948e5ca8e123c8019af545e7ef9c50b84ee0bd76eaa5e561701b00e274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): bindings/c/src/control.rs:988-992 | bindings/c/src/control.rs:1051-1055 | bindings/c/src/read_access.rs:16-20 | bindings/c/src/read_access.rs:48-52 \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 \u0060bindings/c/src/control.rs:988\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/control.rs"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddc94c1371dc02fa557f1a11dfba951a7fed31d0daa6f2b19227dff954f0247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): bindings/c/src/handle_access.rs:1362-1366 | bindings/c/src/joint_extras.rs:48-52 | bindings/c/src/joint_extras.rs:67-71 | bindings/c/src/joints.rs:341-345 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/handle_access.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"150be611c427e49151a1902e1a3cbca1ef12e41f2d44c0f6366e0bd74206e7a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): bindings/python/rapier-py-3d/src/geometry.rs:4748-4753 | bindings/python/rapier-py-3d/src/geometry.rs:4843-4848 | bindings/python/rapier-py-3d/src/pipeline.rs:3480-3485 | bindings/python/rapier-py-3d/src/pipeline.rs:3513-3518 \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 \u0060bindings/python/rapier-py-3d/src/geometry.rs:4748\u0060 it does not close everything it opens, so those exact 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":"bindings/python/rapier-py-3d/src/geometry.rs"},"region":{"startLine":4748}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e175d99fa06627d9bad247e46f955f858df99a7dc0fd68a7f94b58900902972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): bindings/c/src/pipeline.rs:948-952 | bindings/c/src/pipeline.rs:969-973 | bindings/c/src/pipeline.rs:1020-1025 \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 \u0060bindings/c/src/pipeline.rs:948\u0060 it does not close everything it opens, so those exact 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 \u0060c\u0060 to \u0060\u0026PairFilterContext\u0060 in one and \u0060\u0026mut ContactModificationContext\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":"bindings/c/src/pipeline.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47c8978afb32c1fb0bf4a5df4e3f2e418a70393fcf0fa1f32f9f9c652722e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bindings/bevy_rapier/src/plugin/systems/collider.rs:283-287 | bindings/bevy_rapier/src/plugin/systems/collider.rs:292-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/bevy_rapier/src/plugin/systems/collider.rs:283\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/collider.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"862fb5facf58655ec35826ff4612c165af0a84aad08764252ae4ecc18fc0bafc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bindings/c/src/objects.rs:154-158 | bindings/c/src/objects.rs:248-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. 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":"bindings/c/src/objects.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"398628eff79a20dfbc8f2c7a51fce748b1044fcd1496c9e474d6660f266aa529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/python/rapier-py-3d/src/pipeline.rs:2644-2649 | bindings/python/rapier-py-3d/src/pipeline.rs:2780-2785 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/pipeline.rs:2644\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4edec77519f18c1ca05ae9f07c9a3028ed55f4a368d5efd1bf76beccc9c445d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples2d/b2d_washer.rs:54-58 | examples3d/b3d_washer.rs:87-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/b2d_washer.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/b2d_washer.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5dc86e45ca56b0011d393f295939235bb3149c77eef926d9017137ab749ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples2d/ccd2.rs:86-90 | examples2d/soft_tearing2.rs:99-104 \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":"examples2d/ccd2.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"40338d32828654ecb4de7d5375c686d932cd67389312c361a574a834f20c83b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples2d/soft_blobs2.rs:51-55 | examples2d/stress_tests/soft_blobs2.rs:46-52 \u2014 before extracting anything, compare \u0060examples2d/soft_blobs2.rs\u0060 and \u0060examples2d/stress_tests/soft_blobs2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"examples2d/soft_blobs2.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e2245c3ff2497abf0bb0c55e19939265f48b548eeaccc52f4e5b6a9150cb25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples2d/soft_joints2.rs:62-66 | examples3d/soft_joints3.rs:90-94 \u2014 before extracting anything, compare \u0060examples2d/soft_joints2.rs\u0060 and \u0060examples3d/soft_joints3.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 129 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 \u0060examples2d/soft_joints2.rs:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_joints2.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8ab05729cd18e04af67aded81e12790309f3081fcc4385162f3c7c860012a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples2d/utils/character.rs:215-225 | examples3d/utils/character.rs:231-241 \u2014 before extracting anything, compare \u0060examples2d/utils/character.rs\u0060 and \u0060examples3d/utils/character.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/utils/character.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a929e8ff9e3727dff160addca3a7c8764c57e2587fbdf93c2bfffc82e4ae74ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples3d/dynamic_trimesh3.rs:70-74 | examples3d/soft_trimesh3.rs:232-236 \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 \u0060examples3d/dynamic_trimesh3.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/dynamic_trimesh3.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf76dd24724bbc90e238cdaf07eb15139dd7e274b0254f22b537c92ca5420b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples3d/soft_pile3.rs:40-44 | examples3d/stress_tests/soft_jellies3.rs:35-45 \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 \u0060examples3d/soft_pile3.rs:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/soft_pile3.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb65f77ed632a24ed838349703f918ad5c3f278eceb4f40f79ec48ae4a5f48d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples3d/vehicle_controller3.rs:106-110 | examples3d/vehicle_joints3.rs:17-21 \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 \u0060examples3d/vehicle_controller3.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. 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":"examples3d/vehicle_controller3.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22ae19c909afa81c34a09df8b654c66da7230015f74cd24a77f4bb8ec426df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/dynamics/joint/multibody_joint/multibody.rs:626-632 | src/dynamics/joint/multibody_joint/multibody.rs:1042-1048 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/joint/multibody_joint/multibody.rs:626\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acf9da4be6b9d74cbf4a6fd3cbfdc59f2bfcc290b0c306f7d0b52b2ab9c0491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:481-485 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:545-549 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afbc82ee3bf5caa8104f06546aa25fca91bf4dbb7db6e7f711365f8f4ed5480"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:558-562 | src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:605-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dc07919ee60a44af3271607a2e9f396206023da502d761b421e9bb7010d4dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/dynamics/solver/joint_constraint/generic_joint_constraint.rs:314-319 | src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs:384-388 \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 \u0060src/dynamics/solver/joint_constraint/generic_joint_constraint.rs:314\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/generic_joint_constraint.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1729758caf4946ed43266b9ae881d043acc6bcf56029b2e54d0ef4fb02d3c585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs:560-564 | src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs:719-723 \u2014 both copies are in the same file, so extract the block 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":"src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"00107fdc041c71fad255e4e03e07c89e713be12482cd74ecbeaa75399a98a7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs:328-333 | src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs:354-359 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0b3b028fe77b2dabffb4a4ef263843f3ecd2d66d19b18e8d95f77c66066f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/dynamics/solver/soft_constraint/soft_element_constraint/soft_element_linalg.rs:40-45 | src/dynamics/solver/soft_constraint/soft_element_constraint/soft_element_linalg.rs:46-51 \u2014 both copies are in the same file, so extract the block 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":"src/dynamics/solver/soft_constraint/soft_element_constraint/soft_element_linalg.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adb5a3780c23bf114dab8f0888c94c99d9a44bf616ff1fb6cc5b405af0da8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): bindings/bevy_rapier/src/geometry/shape_views/cone.rs:15-46 | bindings/bevy_rapier/src/geometry/shape_views/cylinder.rs:15-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/bevy_rapier/src/geometry/shape_views/cone.rs:15\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":"bindings/bevy_rapier/src/geometry/shape_views/cone.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"92150e2ebc0de1c34039dd99700dba991fc1aa62926f58397fe7458eb094ee1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/dynamics/joint/impulse_joint/impulse_joint_handle.rs:9-24 | src/dynamics/rigid_body_handle.rs:9-29 | src/dynamics/soft_body/soft_body_handle.rs:9-29 | src/geometry/collider_handle.rs:9-24 \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":"src/dynamics/joint/impulse_joint/impulse_joint_handle.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42dee753bdef8f1db4544097982672fa14066ffb3f3a15d69866e92770724c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/dynamics/rigid_body_handle.rs:9-29 | src/dynamics/soft_body/soft_body_handle.rs:9-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/rigid_body_handle.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"932e2eba5e77676ca25395b5fb908d6c67fdedc8c39eb04cef55e37406c9a2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/bevy_rapier/src/dynamics/pin_slot_joint.rs:23-29 | src/dynamics/joint/pin_slot_joint.rs:26-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060axis\u0060 to \u0060Vect\u0060 in one and \u0060Vector\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":"bindings/bevy_rapier/src/dynamics/pin_slot_joint.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a0cb9bf77cd5b0de1de98ecaa485932eb46a4691031d4aee181f00592a98a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/bevy_rapier/src/dynamics/prismatic_joint.rs:20-26 | src/dynamics/joint/prismatic_joint.rs:34-40 \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 \u0060axis\u0060 to \u0060Vect\u0060 in one and \u0060Vector\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":"bindings/bevy_rapier/src/dynamics/prismatic_joint.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fa1b9cf0bed19101565f8ab8fa347e922081ebf9954670ff2245387e320fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/bevy_rapier/src/dynamics/revolute_joint.rs:42-48 | src/dynamics/joint/revolute_joint.rs:44-50 \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 \u0060axis\u0060 to \u0060Vect\u0060 in one and \u0060Vector\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":"bindings/bevy_rapier/src/dynamics/revolute_joint.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24eab8ddf6514ce83c49bd1e0b441d0e79873e71f56f08249635248626ad201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/bevy_rapier/src/dynamics/rope_joint.rs:18-25 | src/dynamics/joint/rope_joint.rs:32-39 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/dynamics/rope_joint.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6f8cbbe2beb7ab3c40e46c434a76fec03e7d8cbb06ff9bb13ea59bff0b369f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/bevy_rapier/src/dynamics/spring_joint.rs:24-31 | src/dynamics/joint/spring_joint.rs:32-39 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/dynamics/spring_joint.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"088871d00c91257667d16e8ca5ce8244098226f1d4955e3cb8c418cd3b0d890e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 13): bindings/c/src/control.rs:98-106 | bindings/c/src/control.rs:587-595 | bindings/c/src/objects.rs:65-73 | bindings/c/src/pipeline.rs:1088-1096 | bindings/c/src/pipeline.rs:1306-1314 | bindings/c/src/render.rs:226-234 | bindings/c/src/robotics.rs:99-107 | bindings/c/src/robotics.rs:155-163 | bindings/c/src/robotics.rs:349-357 | bindings/c/src/robotics.rs:405-413 | bindings/c/src/robotics.rs:996-1004 | bindings/c/src/robotics.rs:1148-1156 | bindings/c/src/soft_body.rs:401-409 \u2014 there are 13 copies across 6 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 13 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/control.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/control.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"491929dce09ed09a6d23ddcfb4c91d64b6bb13ad909aa92f6744666a60dd7fe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/c/src/control.rs:839-846 | bindings/c/src/render.rs:371-378 \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":"bindings/c/src/control.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"de63859e953e577ebfec423eae2f0c75a708b6da4c55d943a12f8cfeb193ff37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/dynamics.rs:6-11 | bindings/c/src/geometry.rs:481-486 \u2014 before extracting anything, compare \u0060bindings/c/src/dynamics.rs\u0060 and \u0060bindings/c/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bindings/c/src/dynamics.rs:6\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/dynamics.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1657158795380bbf223d336fbfc1e5d219844ba880b3d06c3c7d97eecfa603ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/dynamics.rs:26-31 | bindings/c/src/geometry.rs:491-496 \u2014 before extracting anything, compare \u0060bindings/c/src/dynamics.rs\u0060 and \u0060bindings/c/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bindings/c/src/dynamics.rs:26\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/dynamics.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa07aae7a805453fb84cb29e5584572cd4f653e51c34578608ae68b5aaa16710"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/dynamics.rs:116-121 | bindings/c/src/geometry.rs:541-546 \u2014 before extracting anything, compare \u0060bindings/c/src/dynamics.rs\u0060 and \u0060bindings/c/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bindings/c/src/dynamics.rs:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/dynamics.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d6c7e3c2c6c7ca41a39180e7b5fd269823825f477c14bd5556a3cb60c09bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/dynamics.rs:126-131 | bindings/c/src/geometry.rs:581-586 \u2014 before extracting anything, compare \u0060bindings/c/src/dynamics.rs\u0060 and \u0060bindings/c/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bindings/c/src/dynamics.rs:126\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/dynamics.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c0b0c695b4c061eef1f005a6f3ca8e3f5b870cfea899d87767285be99ed980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/c/src/dynamics.rs:196-201 | bindings/c/src/geometry.rs:641-646 \u2014 before extracting anything, compare \u0060bindings/c/src/dynamics.rs\u0060 and \u0060bindings/c/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bindings/c/src/dynamics.rs:196\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/dynamics.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d0f0890638ebaa2649c4094300c086ed5d1d915fa4f6ee29a6d5a1a4f447b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/c/src/dynamics.rs:474-481 | bindings/c/src/geometry.rs:350-357 \u2014 before extracting anything, compare \u0060bindings/c/src/dynamics.rs\u0060 and \u0060bindings/c/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bindings/c/src/dynamics.rs:474\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/dynamics.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8fe44254e7cc5ca2d89de0c2627289ee5f1cf3e8770e01f63b01b1caa55105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bindings/c/src/dynamics.rs:615-620 | bindings/c/src/geometry.rs:471-476 | bindings/c/src/joints.rs:227-232 \u2014 before extracting anything, compare \u0060bindings/c/src/dynamics.rs\u0060 and \u0060bindings/c/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bindings/c/src/dynamics.rs:615\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/dynamics.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39b6a1b397e0fa3d0a011488835b6d0766d648a2690142c349036f74fc7fcd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/c/src/dynamics.rs:657-663 | bindings/c/src/soft_body.rs:314-320 \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 \u0060bindings/c/src/dynamics.rs:657\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/dynamics.rs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce596714d3abc248ccd6b8cf554215683b1cd5b238f1b9d11fa2eabc949923c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/c/src/joints.rs:76-82 | bindings/c/src/soft_body.rs:345-351 \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 \u0060bindings/c/src/joints.rs:76\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/joints.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57f26a7ef314ca03cca5af90fb6701e9b16bab8f7f8d71d498d8107b7cbb7cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): bindings/python/rapier-py-3d/src/dynamics.rs:604-611 | bindings/python/rapier-py-3d/src/geometry.rs:4972-4979 | bindings/python/rapier-py-3d/src/joints.rs:3206-3213 | bindings/python/rapier-py-3d/src/joints.rs:4267-4274 | bindings/python/rapier-py-3d/src/joints.rs:4292-4299 \u2014 before extracting anything, compare \u0060bindings/python/rapier-py-3d/src/dynamics.rs\u0060 and \u0060bindings/python/rapier-py-3d/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5c0c5a4e5535be8423e4f8874a063489c2a714c9a6d8ca269d791e65b5d6d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/python/rapier-py-3d/src/dynamics.rs:1688-1693 | bindings/python/rapier-py-3d/src/geometry.rs:3595-3600 \u2014 before extracting anything, compare \u0060bindings/python/rapier-py-3d/src/dynamics.rs\u0060 and \u0060bindings/python/rapier-py-3d/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"143860ca4e421f30251422caf24931993807cbaa4457f4d8b04696418d0c3880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): bindings/typescript/src/dynamics/impulse_joint_set.rs:75-80 | bindings/typescript/src/dynamics/rigid_body_set.rs:236-241 | bindings/typescript/src/dynamics/soft_body.rs:1189-1194 | bindings/typescript/src/geometry/collider_set.rs:560-565 \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":"bindings/typescript/src/dynamics/impulse_joint_set.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ed16aa9a2f27f178ec8abff00c2c6ea28c14a1da76c1f23c6ca9e07bcc3556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): examples2d/soft_force_tearing2.rs:202-210 | examples2d/soft_tearing2.rs:157-165 | examples3d/soft_tearing3.rs:178-186 \u2014 before extracting anything, compare \u0060examples2d/soft_force_tearing2.rs\u0060 and \u0060examples2d/soft_tearing2.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"examples2d/soft_force_tearing2.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c069b0558545049fcd2fb095462ad9286774e911aff6e833efa963618e3f353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs:494-499 | src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs:558-563 \u2014 before extracting anything, compare \u0060src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 323 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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"06404edc09c0f354f5c8c04868d184959fec5270730d216a6fa98582f6fc47cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): bindings/c/src/dynamics.rs:106-111 | bindings/c/src/dynamics.rs:186-191 | bindings/c/src/dynamics.rs:216-221 | bindings/c/src/dynamics.rs:250-255 | bindings/c/src/dynamics.rs:260-265 | bindings/c/src/geometry.rs:631-636 \u2014 before extracting anything, compare \u0060bindings/c/src/dynamics.rs\u0060 and \u0060bindings/c/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bindings/c/src/dynamics.rs:106\u0060 it begins part-way through the construct above it, so those exact 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*mut u32\u0060 in one and \u0060*mut RprBool\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":"bindings/c/src/dynamics.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"074a3c9e94f70321d333a3226221010417f0f81525c1604c62ce1ccf8507a3ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): bindings/c/src/dynamics.rs:374-381 | bindings/c/src/dynamics.rs:386-393 | bindings/c/src/dynamics.rs:398-405 | bindings/c/src/geometry.rs:266-273 | bindings/c/src/geometry.rs:278-285 | bindings/c/src/geometry.rs:362-369 | bindings/c/src/geometry.rs:374-381 | bindings/c/src/geometry.rs:690-697 | bindings/c/src/geometry.rs:883-890 \u2014 before extracting anything, compare \u0060bindings/c/src/dynamics.rs\u0060 and \u0060bindings/c/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bindings/c/src/dynamics.rs:374\u0060 it begins part-way through the construct above it, so those exact 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 \u0060RprPose\u0060 in one and \u0060RprVector\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":"bindings/c/src/dynamics.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"744d9c71ecbaa398d5c9832ebacc93fbf6eae936b87ac9f2562f689d81a56fd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 11): bindings/c/src/dynamics.rs:438-445 | bindings/c/src/dynamics.rs:450-457 | bindings/c/src/dynamics.rs:462-469 | bindings/c/src/dynamics.rs:843-850 | bindings/c/src/geometry.rs:290-297 | bindings/c/src/geometry.rs:302-309 | bindings/c/src/geometry.rs:314-321 | bindings/c/src/geometry.rs:326-333 | bindings/c/src/geometry.rs:338-345 | bindings/c/src/geometry.rs:410-417 | bindings/c/src/geometry.rs:422-429 \u2014 before extracting anything, compare \u0060bindings/c/src/dynamics.rs\u0060 and \u0060bindings/c/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060bindings/c/src/dynamics.rs:438\u0060 it begins part-way through the construct above it, so those exact 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 \u0060RprReal\u0060 in one and \u0060RprBool\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":"bindings/c/src/dynamics.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"adce80123721c0fc6070c4ae389b912fd9e525121db86452bbfc29d4660ec5fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): bindings/c/src/extra.rs:81-87 | bindings/c/src/joints.rs:26-32 | bindings/c/src/joints.rs:36-42 | bindings/c/src/joints.rs:46-52 | bindings/c/src/joints.rs:56-62 \u2014 before extracting anything, compare \u0060bindings/c/src/extra.rs\u0060 and \u0060bindings/c/src/joints.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/c/src/extra.rs:81\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060RprPose\u0060 in one and \u0060RprVector\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":"bindings/c/src/extra.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a02f3f8cd7e5a0ad3b9177dd42f62ccd481ddb628159b4ba9d205ae4b3b8994"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 62): bindings/c/src/handle_access.rs:44-52 | bindings/c/src/handle_access.rs:78-86 | bindings/c/src/handle_access.rs:112-120 | bindings/c/src/handle_access.rs:146-154 | bindings/c/src/handle_access.rs:180-188 | bindings/c/src/handle_access.rs:214-222 | bindings/c/src/handle_access.rs:248-256 | bindings/c/src/handle_access.rs:759-767 | bindings/c/src/handle_access.rs:793-801 | bindings/c/src/handle_access.rs:827-835 | bindings/c/src/handle_access.rs:861-869 | bindings/c/src/handle_access.rs:895-903 | bindings/c/src/handle_access.rs:929-937 | bindings/c/src/handle_access.rs:1433-1441 | bindings/c/src/handle_access.rs:1467-1475 | bindings/c/src/handle_access.rs:1501-1509 | bindings/c/src/handle_access.rs:1535-1543 | bindings/c/src/handle_access.rs:1570-1578 | bindings/c/src/handle_access.rs:1604-1612 | bindings/c/src/handle_access.rs:1640-1648 | bindings/c/src/handle_access.rs:1676-1684 | bindings/c/src/handle_access.rs:1712-1720 | bindings/c/src/scoped_access.rs:29-37 | bindings/c/src/scoped_access.rs:1352-1360 | bindings/c/src/scoped_access.rs:1415-1423 | bindings/c/src/scoped_access.rs:1448-1456 | bindings/c/src/scoped_access.rs:1559-1567 | bindings/c/src/scoped_access.rs:1592-1600 | bindings/c/src/scoped_access.rs:1625-1633 | bindings/c/src/scoped_access.rs:1660-1668 | bindings/c/src/scoped_access.rs:1693-1701 | bindings/c/src/scoped_access.rs:1726-1734 | bindings/c/src/scoped_access.rs:1759-1767 | bindings/c/src/scoped_access.rs:1792-1800 | bindings/c/src/scoped_access.rs:1825-1833 | bindings/c/src/scoped_access.rs:1858-1866 | bindings/c/src/scoped_access.rs:1891-1899 | bindings/c/src/scoped_access.rs:1924-1932 | bindings/c/src/scoped_access.rs:1957-1965 | bindings/c/src/scoped_access.rs:1990-1998 | bindings/c/src/scoped_access.rs:2023-2031 | bindings/c/src/scoped_access.rs:2056-2064 | bindings/c/src/scoped_access.rs:2089-2097 | bindings/c/src/scoped_access.rs:2122-2130 | bindings/c/src/scoped_access.rs:2155-2163 | bindings/c/src/scoped_access.rs:2188-2196 | bindings/c/src/scoped_access.rs:2221-2229 | bindings/c/src/scoped_access.rs:2774-2782 | bindings/c/src/scoped_access.rs:3088-3096 | bindings/c/src/scoped_access.rs:3123-3131 | bindings/c/src/scoped_access.rs:3158-3166 | bindings/c/src/scoped_access.rs:3191-3199 | bindings/c/src/scoped_access.rs:3225-3233 | bindings/c/src/scoped_access.rs:3258-3266 | bindings/c/src/scoped_access.rs:3291-3299 | bindings/c/src/scoped_access.rs:3324-3332 | bindings/c/src/scoped_access.rs:3357-3365 | bindings/c/src/scoped_access.rs:3392-3400 | bindings/c/src/scoped_access.rs:3425-3433 | bindings/c/src/scoped_access.rs:3458-3466 | bindings/c/src/scoped_access.rs:3493-3501 | bindings/c/src/soft_extras.rs:337-345 \u2014 before extracting anything, compare \u0060bindings/c/src/handle_access.rs\u0060 and \u0060bindings/c/src/scoped_access.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 115 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 \u0060bindings/c/src/handle_access.rs:44\u0060 it begins part-way through the construct above it, so those exact 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*mut RprPose\u0060 in one and \u0060*mut RprVector\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":"bindings/c/src/handle_access.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f385c64050c8b4df70901d29a7cf320de9a95e7bbdc8438ef84c9a01fd40f1fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/c/src/soft_body.rs:1157-1163 | bindings/c/src/soft_extras.rs:9-15 \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 \u0060bindings/c/src/soft_body.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/soft_body.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97fbbf85f89e5d8ab1e8cef585c6151fda6a1bdf4bd194347198ae8a9d40d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/python/rapier-py-3d/src/dynamics.rs:1997-2002 | bindings/python/rapier-py-3d/src/geometry.rs:3583-3588 \u2014 before extracting anything, compare \u0060bindings/python/rapier-py-3d/src/dynamics.rs\u0060 and \u0060bindings/python/rapier-py-3d/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"83359d9dbac8a6c17029c9a670d5b42f7100067e1f629de36dc6252f42349451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): bindings/typescript/src/control/character_controller.rs:276-280 | bindings/typescript/src/control/character_controller.rs:291-295 | bindings/typescript/src/geometry/point.rs:17-21 | bindings/typescript/src/geometry/ray.rs:14-18 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/control/character_controller.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dcf3b41ee5f8afcec241f9ea52e4891259a07e4e4be7e535a5cd57bc32b36f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): bindings/typescript/src/control/character_controller.rs:283-288 | bindings/typescript/src/control/character_controller.rs:298-303 | bindings/typescript/src/geometry/point.rs:25-30 | bindings/typescript/src/geometry/ray.rs:22-27 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/control/character_controller.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8189901d0d0bb603ff6e6963cb2ea4b77221044938e8bcdfe60e6b515d85ad40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/mjcf-rs/src/loader/parse_utils.rs:281-289 | crates/rapier3d-mjcf/src/loader/joint.rs:184-196 \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/mjcf-rs/src/loader/parse_utils.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"6828d8c38f83114e994de6c38d832ae93dd156d2b49b0fcda5bfe91698a7edb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples2d/b2d_rain.rs:56-64 | examples3d/b3d_rain.rs:64-72 \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 \u0060examples2d/b2d_rain.rs:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/b2d_rain.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3283b5aaff8a8ac63b7c327ef6d2b621caba12eeebcb0e613b79b831db92ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/dynamics/rigid_body_set.rs:307-311 | src/dynamics/rigid_body_set.rs:365-369 | src/geometry/collider_set.rs:500-504 | src/geometry/collider_set.rs:544-548 \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 \u0060src/dynamics/rigid_body_set.rs:365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060\u0026mut\u0060 in one and \u0060crate) fn get_mut_internal_with_modification_tracking( \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":"src/dynamics/rigid_body_set.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc9832d47f3d4f32cb6a899e365744557bab9de926fa7f0058a31d09542b9f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs:313-323 | bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs:334-346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs:313\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e04bd4882a6e29098d13608cd323106191be1b0d496acfc689006ec6ebce30d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): bindings/python/rapier-py-3d/src/joints.rs:3431-3441 | bindings/python/rapier-py-3d/src/joints.rs:3459-3469 | bindings/python/rapier-py-3d/src/joints.rs:3567-3577 \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 \u0060bindings/python/rapier-py-3d/src/joints.rs:3431\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":3431}}}],"partialFingerprints":{"codehealthFindingId/v1":"5777c7709aabc46e64a3e77222956c2e028f88436ab60483c52249bebe5c7009"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bindings/python/rapier-py-3d/src/dynamics.rs:1647-1655 | bindings/python/rapier-py-3d/src/geometry.rs:3546-3554 \u2014 before extracting anything, compare \u0060bindings/python/rapier-py-3d/src/dynamics.rs\u0060 and \u0060bindings/python/rapier-py-3d/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/dynamics.rs:1647\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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"5836e2bed0b69a4d36ada93eb47fe6d8e1cf2cc86a9c6ea6ad8340fc0f65cedc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/python/rapier-py-3d/src/events_hooks.rs:1194-1201 | bindings/python/rapier-py-3d/src/events_hooks.rs:1226-1233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/events_hooks.rs:1194\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/events_hooks.rs"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae26910c604b80c43a40bc07b0f09562a3c1c1362f0045b8be4a894f8c82223"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs:348-354 | bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs:374-380 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed23bcd638fb5ba146e99c2694c83bc198e1e0a9d4e399cded0cd5bf88e73bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs:270-276 | bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs:278-284 \u2014 both copies are in the same file, so extract the block 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":"bindings/bevy_rapier/src/geometry/shape_views/collider_view.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c934c096a9b9918e98f61db1b5a3d3eb5a9e1b04a55a64f8e695e527666d22f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/python/rapier-py-3d/src/joints.rs:1522-1527 | bindings/python/rapier-py-3d/src/joints.rs:2616-2621 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-py-3d/src/joints.rs:1522\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3206ea0b3fd4c0ff3d1dfffb0dcd15dbda839ef1f40ad497d01c117d3be3ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bindings/python/rapier-py-3d/src/joints.rs:2211-2215 | bindings/python/rapier-py-3d/src/joints.rs:2832-2836 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30756901e4c99938a58a779e469412423b90c3f72a74395bccf8e71c58370ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): bindings/python/rapier-py-3d/src/dynamics.rs:2867-2871 | bindings/python/rapier-py-3d/src/geometry.rs:4701-4705 | bindings/python/rapier-py-3d/src/soft_body.rs:3401-3405 \u2014 before extracting anything, compare \u0060bindings/python/rapier-py-3d/src/dynamics.rs\u0060 and \u0060bindings/python/rapier-py-3d/src/geometry.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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 \u0060f\u0060 to \u0060impl FnOnce(\u0026rapier::dynamics::RigidBodySet) -\u003E R\u0060 in one and \u0060impl FnOnce(\u0026rapier::geometry::ColliderSet) -\u003E R\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":"bindings/python/rapier-py-3d/src/dynamics.rs"},"region":{"startLine":2867}}}],"partialFingerprints":{"codehealthFindingId/v1":"00302a749810c0909c560f90896e1c84bdb810add6cf30e51ca6acebb51ca0a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bindings/python/rapier-py-3d/src/joints.rs:2236-2240 | bindings/python/rapier-py-3d/src/joints.rs:2848-2852 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/joints.rs"},"region":{"startLine":2236}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaad893eb9a3666e92dd9feb4f0957b3d2cc48f9d92c1548b87995e860b9648c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): src/dynamics/solver/contact_constraint/contact_constraint_element.rs:111-115 | src/dynamics/solver/contact_constraint/contact_constraint_element.rs:129-133 | src/dynamics/solver/contact_constraint/contact_constraint_element.rs:136-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/dynamics/solver/contact_constraint/contact_constraint_element.rs:111\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060src/dynamics/solver/contact_constraint/contact_constraint_element.rs:115\u0060 calls \u0060gdot\u0060 and \u0060src/dynamics/solver/contact_constraint/contact_constraint_element.rs:139\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":"src/dynamics/solver/contact_constraint/contact_constraint_element.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"300f64ab1e105d2eec0684ff51bbb686d217e62f578e1f2896ecab7051cd194b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/c/src/read_access.rs:267-273 | bindings/c/src/scoped_access.rs:1465-1471 \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 \u0060bindings/c/src/read_access.rs:267\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/c/src/read_access.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4a521eced3cebadaebefba47846134954725bb2334754af6641ba72342e675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bindings/c/src/robotics.rs:1081-1085 | bindings/c/src/robotics.rs:1100-1104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"bindings/c/src/robotics.rs"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"020513a89645d24d6ac4cb722c5d10d3038458e9c1c572203a630aa2b90a8bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bindings/c/src/soft_body.rs:15-20 | bindings/c/src/soft_body.rs:708-713 | bindings/c/src/soft_body.rs:802-807 \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":"bindings/c/src/soft_body.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a9047e3ab556755b46c1f7d7b4edc9f4b84beb0b001588e425b0d56ee444d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/python/rapier-py-3d/src/math.rs:789-796 | bindings/python/rapier-py-3d/src/math.rs:1012-1019 \u2014 both copies are in the same file, so extract the block 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, \u0060bindings/python/rapier-py-3d/src/math.rs:1009\u0060 calls \u0060norm\u0060 and \u0060bindings/python/rapier-py-3d/src/math.rs:785\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":"bindings/python/rapier-py-3d/src/math.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd3bd4a5b3817aa47a44efe1955d1991cbafa1da9b4691bf3065d53e08e9279"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/python/rapier-py-3d/src/pipeline.rs:3216-3221 | bindings/python/rapier-py-3d/src/pipeline.rs:3301-3306 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":3216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4034f5adc39d01efd86aaa3da0be0150d73973b5c8dd948649f57016de11cbeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): bindings/python/rapier-py-3d/src/pipeline.rs:3609-3613 | bindings/python/rapier-py-3d/src/pipeline.rs:3668-3672 | bindings/python/rapier-py-3d/src/pipeline.rs:3696-3700 | bindings/python/rapier-py-3d/src/pipeline.rs:3724-3728 \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":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":3609}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9f2bdf61a1f604dfa2288386f0d7cff45c97c1e326fa55987915ec23933e59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/typescript/src/geometry/narrow_phase.rs:285-291 | bindings/typescript/src/geometry/narrow_phase.rs:304-310 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/typescript/src/geometry/narrow_phase.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060bindings/typescript/src/geometry/narrow_phase.rs:311\u0060 calls \u0060set_index\u0060 and \u0060bindings/typescript/src/geometry/narrow_phase.rs:292\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":"bindings/typescript/src/geometry/narrow_phase.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7424e81d23fef3998c56dfd4610c806a2308122bdb90bbc01941a01745ea3679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bindings/typescript/src/geometry/shape.rs:849-853 | bindings/typescript/src/geometry/shape.rs:863-867 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/shape.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0e38420f9f3e39e7100236cb737a73d50e6221076103a7d66b289f930c4ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/rapier3d-mjcf/src/loader/runtime.rs:249-255 | crates/rapier3d-mjcf/src/loader/runtime.rs:368-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/rapier3d-mjcf/src/loader/runtime.rs:249\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/rapier3d-mjcf/src/loader/runtime.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a826471c11665a18696f4809b47654f7e4a409496e1a816bb9dd4f7c5267a91e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples2d/soft_tearing2.rs:79-85 | examples3d/soft_tearing3.rs:97-103 \u2014 before extracting anything, compare \u0060examples2d/soft_tearing2.rs\u0060 and \u0060examples3d/soft_tearing3.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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 \u0060examples2d/soft_tearing2.rs:79\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/soft_tearing2.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"374f2847eeb490512b2d6f96b1fa74df2bd1a1b3490fee450325cfde82e2352c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples3d/joint_motor_position3.rs:24-31 | examples3d/joint_motor_position3.rs:45-52 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/joint_motor_position3.rs:24\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060examples3d/joint_motor_position3.rs:44\u0060 calls \u0060rotation\u0060 and \u0060examples3d/joint_motor_position3.rs:23\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":"examples3d/joint_motor_position3.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b35dc9bb1a63e972cb4272c372a57dbb371c7cd5628c33d314f5b1e91ff0cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs:803-808 | src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs:828-833 \u2014 both copies are in the same file, so extract the block 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":"src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"111e942db6583d46aee50d4bd7fc265fd40bb998e16ee7227ce374f254d54a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src_testbed/graphics.rs:52-57 | src_testbed/graphics.rs:75-80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src_testbed/graphics.rs:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src_testbed/graphics.rs:82\u0060 calls \u0060Some\u0060, \u0060as_round_convex_polygon\u0060 and \u0060src_testbed/graphics.rs:58\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":"src_testbed/graphics.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"18610d1024a367927db283cf1ef313d9cb3469c3cebc2d14a43b179ee58cbcea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py:47-83 | bindings/python/rapier-testbed/rapier_testbed/examples3/trimesh3.py:86-122 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/trimesh3.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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":"bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afc084a61f4f7a5b59d433cbd13644c06bf6a04bf84b9caf2a0378e619ee4ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/keva3.py:71-98 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/keva3.py:18-44 \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":"bindings/python/rapier-testbed/rapier_testbed/examples3/keva3.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c92e5a9db141b1cea74ab4738ab4c2a9903fdf4e1bd9b0c71e27505bc2fb4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py:27-45 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/heightfield3.py:27-45 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/heightfield3.py\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. 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 \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1235cab4a55ac4d05edc428ab357f98ee71b2f847d2918a4dbbccf895614b0ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 4): bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py:37-52 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/heightfield3.py:37-52 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/trimesh3.py:39-52 | bindings/python/rapier-testbed/rapier_testbed/examples3/trimesh3.py:76-91 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/heightfield3.py\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. 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 \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d639761565f88f7910bfb6997bc7a7888512385730f635a9192c8bb70efaf4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py:26-41 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/capsules3.py:20-35 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/capsules3.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"346bbe265b77305c5920bd0e9ee60cd87f47c5ef5937729a5702d405f87f1ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/primitives3.py:61-76 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/ccd3.py:51-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/ccd3.py:49\u0060 calls \u0060cuboid\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/primitives3.py:59\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/primitives3.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca42305ed5dad51a07c86050f0ae37dd71cf831b33e51496d7ed15ae733a8d66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py:24-38 | bindings/python/rapier-testbed/rapier_testbed/examples3/convex_polyhedron3.py:30-44 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/convex_polyhedron3.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95487e7b8d5f5599aaf586cd1d6b0810874ca1515e577e50dd69756ee603549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 4): bindings/python/rapier-testbed/rapier_testbed/examples3/ccd3.py:45-56 | bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py:22-33 | bindings/python/rapier-testbed/rapier_testbed/examples3/convex_polyhedron3.py:28-39 | bindings/python/rapier-testbed/rapier_testbed/examples3/primitives3.py:26-39 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/convex_polyhedron3.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/ccd3.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9461aead7a2812cbc2f0e376e9c2eeee9ce1a0ce590294040611d5fddf4397"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/_meshes.py:77-99 | bindings/python/rapier-testbed/rapier_testbed/_meshes.py:340-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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060lat\u0060 to \u0060int = _SPHERE_LAT\u0060 in one and \u0060int\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":"bindings/python/rapier-testbed/rapier_testbed/_meshes.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa53a63606afe3f0a8360c6135a940d9f0a78610d510efc38e5cc8f4f86c06c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py:37-47 | bindings/python/rapier-testbed/rapier_testbed/examples3/primitives3.py:45-57 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/capsules3.py:31-41 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/primitives3.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6353ffd1a6f42e8cdd4bf3ab63a4573cc070a969f2bb4ea1046a5bcc0cda8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/platform3.py:22-34 | bindings/python/rapier-testbed/rapier_testbed/examples3/sensor3.py:20-31 \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":"bindings/python/rapier-testbed/rapier_testbed/examples3/platform3.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"96626a9824836c623708974d720df6215b2981f2903832fa944af83c099b1d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 22): bindings/python/rapier-testbed/rapier_testbed/examples3/ccd3.py:40-49 | bindings/python/rapier-testbed/rapier_testbed/examples3/collision_groups3.py:17-26 | bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py:17-26 | bindings/python/rapier-testbed/rapier_testbed/examples3/convex_polyhedron3.py:23-32 | bindings/python/rapier-testbed/rapier_testbed/examples3/domino3.py:14-23 | bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py:18-27 | bindings/python/rapier-testbed/rapier_testbed/examples3/inverse_kinematics3.py:19-28 | bindings/python/rapier-testbed/rapier_testbed/examples3/keva3.py:66-75 | bindings/python/rapier-testbed/rapier_testbed/examples3/locked_rotations3.py:12-21 | bindings/python/rapier-testbed/rapier_testbed/examples3/platform3.py:14-23 | bindings/python/rapier-testbed/rapier_testbed/examples3/primitives3.py:20-31 | bindings/python/rapier-testbed/rapier_testbed/examples3/restitution3.py:12-21 | bindings/python/rapier-testbed/rapier_testbed/examples3/sensor3.py:12-21 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/boxes3.py:12-21 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/capsules3.py:12-21 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/ccd3.py:12-21 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/compound3.py:12-21 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/convex_polyhedron3.py:20-29 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/keva3.py:13-22 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/pyramid3.py:40-49 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/stacks3.py:83-92 | bindings/python/rapier-testbed/rapier_testbed/examples3/vehicle_controller3.py:21-30 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/convex_polyhedron3.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/ccd3.py:40\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/ccd3.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b2303ec2acff5b54af56aa8c1e705f073a68b136b236c148bd2994e29482e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py:240-250 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/joint_ball3.py:18-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"034593821b861bb2428d5842ab6c786d4083ead44b416a4514ec64b343487e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 5): bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py:16-25 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/heightfield3.py:16-25 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/trimesh3.py:17-26 | bindings/python/rapier-testbed/rapier_testbed/examples3/trimesh3.py:52-61 | bindings/python/rapier-testbed/rapier_testbed/examples3/vehicle_joints3.py:21-31 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/heightfield3.py\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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e917e6d2dd3e692a01b203719a42933bc8548569b594ed527f78c696ab183292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py:52-61 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/ccd3.py:45-55 | bindings/python/rapier-testbed/rapier_testbed/examples3/trimesh3.py:91-100 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/trimesh3.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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 \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/ccd3.py:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"43265acca3b56d0c9ca9ac6a0710eafaed74903ef6b861a867acce37606427d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py:131-141 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/joint_revolute3.py:32-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/joint_revolute3.py:32\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cd741358ccccd7aba9fd2ec214b452ce36397759650b3c0eefa6ed75446f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/joint_motor_position3.py:27-36 | bindings/python/rapier-testbed/rapier_testbed/examples3/joint_motor_position3.py:49-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/joint_motor_position3.py:27\u0060 it begins part-way through the construct above it, so those exact 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, \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/joint_motor_position3.py:48\u0060 calls \u0060rotation\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/joint_motor_position3.py:26\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":"bindings/python/rapier-testbed/rapier_testbed/examples3/joint_motor_position3.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0d73760da3d02d7d35b9c9f44a723da2035e0e489ba01f848c558723f06f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/trimesh3.py:28-36 | bindings/python/rapier-testbed/rapier_testbed/examples3/trimesh3.py:63-72 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/trimesh3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/trimesh3.py\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. 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 \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/trimesh3.py:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/trimesh3.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"288cb62b4f20e87de527731cba50d109b21e36d56c2e2550bd518621540fabfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py:35-42 | bindings/python/rapier-testbed/rapier_testbed/examples3/primitives3.py:43-51 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/capsules3.py:29-36 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/compound3.py:28-35 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/primitives3.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py: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":"bindings/python/rapier-testbed/rapier_testbed/examples3/harness_capsules3.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0cdac5ce2df3fac7d3ab2687e3b7dbd555f8d96b1a059600729a6cbfab479e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/soft_bodies3.py:14-22 | bindings/python/rapier-testbed/rapier_testbed/examples3/soft_tearing3.py:14-21 \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":"bindings/python/rapier-testbed/rapier_testbed/examples3/soft_bodies3.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9975faf2e5e944fd5238dabafee12d5f4c2c1fe16df92db5ad4aca8b1712176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/vehicle_controller3.py:94-102 | bindings/python/rapier-testbed/rapier_testbed/examples3/vehicle_joints3.py:27-35 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/vehicle_controller3.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"620782ce72895a01310f36ea776f650109c8e0e13b0d2865434ef77bb7886f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): bindings/python/rapier-testbed/rapier_testbed/examples3/ccd3.py:27-34 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/pyramid3.py:29-35 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/stacks3.py:31-37 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/pyramid3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/stacks3.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 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 \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/ccd3.py:27\u0060 it begins part-way through the construct above it, so those exact 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":"bindings/python/rapier-testbed/rapier_testbed/examples3/ccd3.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ebcd66b7dcb9ceef73648d2edf6cc0ac0f59044a061e372388e022189e6b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py:53-62 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/compound3.py:41-50 \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":"bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90bbc6cd1674a569f09d5ce0ff02c28b439ab85994ce6a019a32b3c97b1a963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py:206-213 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/joint_fixed3.py:28-35 \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":"bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"820894f6bbb7b47c0ccf33560c944b490858d705980d24eb407660e53b23d0c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py:60-73 | bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py:86-99 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/joints3.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35600accb4c26134bf1d46f86fe5ea33ebd9423cbc1af69c0da7651bde6e83c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): bindings/python/rapier-testbed/rapier_testbed/examples3/dynamic_trimesh3.py:78-82 | bindings/python/rapier-testbed/rapier_testbed/examples3/vehicle_controller3.py:95-99 | bindings/python/rapier-testbed/rapier_testbed/examples3/vehicle_joints3.py:28-32 \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 \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/dynamic_trimesh3.py:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/dynamic_trimesh3.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd51ab9c6aa68cd671740d4eb9733742ea759185d579a434c13a2f259e491be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py:43-47 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/compound3.py:34-38 \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":"bindings/python/rapier-testbed/rapier_testbed/examples3/compound3.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a88ee7fbd3f6fbdabe812b332189db2171e9c903ff2db569af207305229863f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/_meshes.py:559-563 | bindings/python/rapier-testbed/rapier_testbed/_meshes.py:616-620 \u2014 both copies are in the same file, so extract the block 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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/_meshes.py"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"0226a10a6e1c5eb638f6697dd9e0a3915273441135f333e85c53f4a181b572c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 21 shared lines): examples3d/stress_tests/compound3.rs:4-68 | examples3d/stress_tests/convex_polyhedron3.rs:6-80 | examples3d/stress_tests/keva3.rs:67-119 | examples3d/stress_tests/stacks3.rs:91-183 \u2014 These 4 members are variants of one another: a block of 21 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":"examples3d/stress_tests/compound3.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a63034a21499b64dfe7f5e6b4ba5bba57a53b9ec5079e4a30cddbef6ec7548"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): examples2d/stress_tests/ragdolls2.rs:6-60 | examples3d/stress_tests/ragdolls3.rs:7-82 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/stress_tests/ragdolls2.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11b937b21f0723efd511710bf74c9a748246bc2b5a377b47dad26e4a562d629"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): examples2d/stress_tests/soft_slab2.rs:9-71 | examples3d/stress_tests/soft_slab3.rs:9-95 \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":"examples2d/stress_tests/soft_slab2.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc9ee30812d5b39e9be3a2dc8e3e9c45b95d1ef335b121cc2c98c139dec3bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): examples2d/stress_tests/joint_prismatic2.rs:4-63 | examples3d/stress_tests/joint_prismatic3.rs:4-63 \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":"examples2d/stress_tests/joint_prismatic2.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6370a6284e1b33182b16222e717de53d6a7546a19833023db74e3d1a4c9814c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 63\u002B corresponding lines): examples2d/stress_tests/joint_ball2.rs:4-68 | examples2d/stress_tests/joint_fixed2.rs:4-77 | examples3d/stress_tests/joint_ball3.rs:4-66 | examples3d/stress_tests/joint_fixed3.rs:4-84 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 63 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":"examples2d/stress_tests/joint_ball2.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"476395d9026b46b5cd97b23d51466339ac0e69deaab7496ea3b4e95b83839d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): examples2d/stress_tests/soft_fem_beams2.rs:9-60 | examples3d/stress_tests/soft_fem_beams3.rs:9-61 \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":"examples2d/stress_tests/soft_fem_beams2.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6583fe7896f7c4ccaf664a47e4d5c9f45239e62d065dd00682d226b5bf2a8efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): examples2d/stress_tests/ropes2.rs:4-62 | examples3d/stress_tests/ropes3.rs:4-64 \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":"examples2d/stress_tests/ropes2.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c293f7d065bf15dc55b5d925e979301913b9a0276400f77b422667cff8d950"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): examples2d/stress_tests/soft_jellies2.rs:9-57 | examples2d/stress_tests/soft_strips2.rs:8-58 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/stress_tests/soft_jellies2.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ebc2704dc24f9ec14035d597b28f3dcaf86c439083445b45092b5a8b5b86a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/balls3.py:12-38 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/many_static3.py:12-38 \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":"bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/balls3.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8010407fae68e12ab1563f97375afd50aa2a0207dea331309aa2c01d03a228a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): examples3d/stress_tests/stacks3.rs:39-57 | examples3d/stress_tests/stacks3.rs:65-89 \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":"examples3d/stress_tests/stacks3.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d416c5059569f684c1f2cd124b2dc1566f666e95ad10c25b41ab1b43340d9660"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): examples3d/stress_tests/soft_blobs3.rs:83-106 | examples3d/stress_tests/soft_jellies3.rs:75-98 | examples3d/stress_tests/soft_ropes3.rs:77-100 | examples3d/stress_tests/soft_slab3.rs:97-120 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/stress_tests/soft_blobs3.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"299264d04030da70e2c03bfaad730fe5256e7ab85262f98c567e181485c7c7f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): examples3d/stress_tests/soft_cloth_drape3.rs:73-85 | examples3d/stress_tests/soft_cloth_keva3.rs:75-87 | examples3d/stress_tests/soft_fem_beams3.rs:63-75 \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":"examples3d/stress_tests/soft_cloth_drape3.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4455f8a65ce8f984627f92189b8fd40fbdb98d57f81812572887ca1ff31ba51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): examples3d/stress_tests/boxes3.rs:17-53 | examples3d/stress_tests/ray_cast3.rs:17-53 \u2014 before extracting anything, compare \u0060examples3d/stress_tests/boxes3.rs\u0060 and \u0060examples3d/stress_tests/ray_cast3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"examples3d/stress_tests/boxes3.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f5eab3e68c9a1a4f11c6db8156abd9d806ed1f59e6be3b7bfbdaee2c0890c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): examples3d/stress_tests/soft_blobs3.rs:10-36 | examples3d/stress_tests/soft_jellies3.rs:10-36 | examples3d/stress_tests/soft_ropes3.rs:10-36 | examples3d/stress_tests/soft_slab3.rs:10-36 \u2014 before extracting anything, compare \u0060examples3d/stress_tests/soft_blobs3.rs\u0060 and \u0060examples3d/stress_tests/soft_jellies3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/stress_tests/soft_blobs3.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd83604ff2da2fe8528d68266e7364fdb93a605599bfd9f7c0665877d1639b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): examples2d/stress_tests/soft_fem_beams2.rs:28-52 | examples3d/stress_tests/soft_fem_beams3.rs:29-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/stress_tests/soft_fem_beams2.rs:28\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/stress_tests/soft_fem_beams2.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3ac7ea23dd7037e8c3fa6410395b0a3dde24fe46352e38f6b7d84c0655cea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): examples3d/stress_tests/heightfield3.rs:49-71 | examples3d/stress_tests/trimesh3.rs:54-76 \u2014 before extracting anything, compare \u0060examples3d/stress_tests/heightfield3.rs\u0060 and \u0060examples3d/stress_tests/trimesh3.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 89 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 \u0060examples3d/stress_tests/heightfield3.rs:49\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/stress_tests/heightfield3.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3155e82de2226f59b994b9a6b7fd95d2c2c67709de5e2de7a1ea57756e801c10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): examples2d/stress_tests/boxes2.rs:15-34 | examples2d/stress_tests/capsules2.rs:15-34 | examples2d/stress_tests/convex_polygons2.rs:17-36 \u2014 before extracting anything, compare \u0060examples2d/stress_tests/boxes2.rs\u0060 and \u0060examples2d/stress_tests/capsules2.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 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":"examples2d/stress_tests/boxes2.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"791c731a3d5418ed92407d232b272c2d3ce566425ec52255b080952a5dcf1752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): examples3d/stress_tests/balls3.rs:9-27 | examples3d/stress_tests/many_sleep3.rs:8-26 | examples3d/stress_tests/many_static3.rs:8-26 \u2014 before extracting anything, compare \u0060examples3d/stress_tests/balls3.rs\u0060 and \u0060examples3d/stress_tests/many_sleep3.rs\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060examples3d/stress_tests/balls3.rs:9\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/stress_tests/balls3.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c7e7679a8622554c48e1c732818671dff8841f88074f1d09e55f8886a4ef51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): examples3d/stress_tests/soft_blobs3.rs:84-101 | examples3d/stress_tests/soft_jellies3.rs:76-93 | examples3d/stress_tests/soft_ropes3.rs:78-95 | examples3d/stress_tests/soft_slab3.rs:98-115 \u2014 before extracting anything, compare \u0060examples3d/stress_tests/soft_blobs3.rs\u0060 and \u0060examples3d/stress_tests/soft_jellies3.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/stress_tests/soft_blobs3.rs:84\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/stress_tests/soft_blobs3.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c3d3c659a35c4974e554e36ec92750161f53a02509dc13bddf130f3f974edc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): examples3d/stress_tests/boxes3.rs:8-24 | examples3d/stress_tests/capsules3.rs:8-24 | examples3d/stress_tests/ccd3.rs:8-24 | examples3d/stress_tests/ray_cast3.rs:8-24 \u2014 before extracting anything, compare \u0060examples3d/stress_tests/boxes3.rs\u0060 and \u0060examples3d/stress_tests/capsules3.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. 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":"examples3d/stress_tests/boxes3.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3248ccc61f052acd219b4b8c87d473b05872c316e4f6fddf25d1ee285dd8309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): examples2d/stress_tests/soft_slab2.rs:43-58 | examples3d/stress_tests/soft_slab3.rs:63-79 \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 \u0060examples2d/stress_tests/soft_slab2.rs:43\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/stress_tests/soft_slab2.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1936b5c34b8163adb51256948f36109902eaf727e79eeef9afb650aa65956a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples2d/stress_tests/heightfield2.rs:53-68 | examples2d/stress_tests/vertical_stacks2.rs:46-61 \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 \u0060examples2d/stress_tests/heightfield2.rs:53\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/stress_tests/heightfield2.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad45c7c1536e6fe87c9472c2a54bea7eafa1b00087edf1accf1838f974db1a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 2): examples2d/stress_tests/joint_fixed2.rs:8-23 | examples3d/stress_tests/joint_fixed3.rs:8-19 \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 \u0060examples2d/stress_tests/joint_fixed2.rs:8\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/stress_tests/joint_fixed2.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"32871e08e49ff52d7339ecae0947f0a8b74cf2f10a5330268ebf6d2f58cda5f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): examples2d/stress_tests/soft_jellies2.rs:41-54 | examples3d/stress_tests/soft_jellies3.rs:56-69 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/stress_tests/soft_jellies2.rs:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/stress_tests/soft_jellies2.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d5fb34c1ad3323f05a2d75d5319b32d4c88edf5c179fd2bedaa871c52f9bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): examples3d/stress_tests/boxes3.rs:43-54 | examples3d/stress_tests/capsules3.rs:44-55 | examples3d/stress_tests/ray_cast3.rs:43-54 \u2014 before extracting anything, compare \u0060examples3d/stress_tests/boxes3.rs\u0060 and \u0060examples3d/stress_tests/capsules3.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. 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 \u0060examples3d/stress_tests/boxes3.rs:43\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/stress_tests/boxes3.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fd5882b54e574e2020709bf03de211a288dd703168a216b9bfb7c5b81ac16f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): examples3d/stress_tests/many_kinematics3.rs:38-49 | examples3d/stress_tests/many_sleep3.rs:40-51 | examples3d/stress_tests/many_static3.rs:38-49 \u2014 before extracting anything, compare \u0060examples3d/stress_tests/many_sleep3.rs\u0060 and \u0060examples3d/stress_tests/many_static3.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 \u0060examples3d/stress_tests/many_kinematics3.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":"examples3d/stress_tests/many_kinematics3.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd29bfb470f46cf3046ddbba74757213b743f72402871b27cebb523f1244a0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): examples3d/stress_tests/stacks3.rs:47-57 | examples3d/stress_tests/stacks3.rs:77-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples3d/stress_tests/stacks3.rs:47\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":"examples3d/stress_tests/stacks3.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8951b4c37b1d6750e014558161c22557358ad571fe13a9df1c9ae21a275d1cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): examples2d/stress_tests/soft_blobs2.rs:56-66 | examples2d/stress_tests/soft_cloth_keva2.rs:67-77 | examples2d/stress_tests/soft_fem_beams2.rs:63-73 | examples2d/stress_tests/soft_jellies2.rs:60-70 | examples2d/stress_tests/soft_ropes2.rs:50-60 | examples2d/stress_tests/soft_slab2.rs:74-84 | examples2d/stress_tests/soft_strips2.rs:61-71 \u2014 before extracting anything, compare \u0060examples2d/stress_tests/soft_blobs2.rs\u0060 and \u0060examples2d/stress_tests/soft_jellies2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/stress_tests/soft_blobs2.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad5e1573952248b5d760afe8bbbcdfda446fb36164e27c1843a231d2227ff3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): examples3d/stress_tests/compound3.rs:8-18 | examples3d/stress_tests/convex_polyhedron3.rs:10-20 | examples3d/stress_tests/keva3.rs:71-81 | examples3d/stress_tests/stacks3.rs:95-105 \u2014 before extracting anything, compare \u0060examples3d/stress_tests/compound3.rs\u0060 and \u0060examples3d/stress_tests/convex_polyhedron3.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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":"examples3d/stress_tests/compound3.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"403976b2ee8f3d255afcf4722ec707b46c880202bb8fc2e1e81b402808a0f42d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples2d/stress_tests/soft_cloth_keva2.rs:51-61 | examples2d/stress_tests/soft_strips2.rs:43-53 \u2014 before extracting anything, compare \u0060examples2d/stress_tests/soft_cloth_keva2.rs\u0060 and \u0060examples2d/stress_tests/soft_strips2.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 \u0060examples2d/stress_tests/soft_cloth_keva2.rs:51\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/stress_tests/soft_cloth_keva2.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fde701843fa3a8e2cbb2d3a0f21e31a741f40067c9d6d576886b68b88ebc01d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples2d/stress_tests/large_pyramids2.rs:56-65 | examples2d/stress_tests/many_pyramids2.rs:69-78 \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 \u0060examples2d/stress_tests/large_pyramids2.rs:56\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/stress_tests/large_pyramids2.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"17aee9877f1150e06c137e976df9e60a322e0b7c36445b65bcb6a52e8a89fbe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples2d/stress_tests/boxes2.rs:39-47 | examples2d/stress_tests/heightfield2.rs:38-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/stress_tests/boxes2.rs:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/stress_tests/boxes2.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dfeb331ea0a39b040dd7128e008943559ef8f2feea39a8fb010ea90b0715cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples2d/stress_tests/convex_polygons2.rs:44-51 | examples3d/stress_tests/convex_polyhedron3.rs:37-44 \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 \u0060examples2d/stress_tests/convex_polygons2.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":"examples2d/stress_tests/convex_polygons2.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"07adf70f237ef0a2e63168b995b5bc5547fc48e9745db7b5844223b25e23bb25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): examples2d/stress_tests/soft_jellies2.rs:32-39 | examples3d/stress_tests/soft_jellies3.rs:46-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"examples2d/stress_tests/soft_jellies2.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8c5e87114857c29953f8d1385d388ac290a2431c4d435e09c0624faf3c819e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples2d/stress_tests/balls2.rs:32-38 | examples2d/stress_tests/boxes2.rs:37-43 \u2014 before extracting anything, compare \u0060examples2d/stress_tests/balls2.rs\u0060 and \u0060examples2d/stress_tests/boxes2.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples2d/stress_tests/balls2.rs:32\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/stress_tests/balls2.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d846fd1aae709c3c68621a3244a511d355d58ac31c519e084c5bdb20e4a587d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples3d/stress_tests/joint_prismatic3.rs:17-21 | examples3d/stress_tests/joint_revolute3.rs:14-18 \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 \u0060examples3d/stress_tests/joint_prismatic3.rs:17\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/stress_tests/joint_prismatic3.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf6b6dda5d536b7b7b50275579bbf618bde46ebdf85df08a693fa158821d326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/pyramid3.py:12-36 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/stacks3.py:14-38 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/pyramid3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/stacks3.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 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":"bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/pyramid3.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a706a95ab7002a8a6cefa04da8290478efb04a87489a896d5f3fd43616685ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/balls3.py:12-29 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/many_sleep3.py:12-29 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/many_static3.py:12-29 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/balls3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/many_sleep3.py\u0060 as WHOLE FILES: 82% 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/balls3.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fb65c21a8a8c50dc2902305693b8faea1a0a3bd896cdb19e73a0866a2c6e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): bindings/python/examples/hello_world.py:17-26 | bindings/python/examples/serde/snapshot_restore.py:17-25 \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":"bindings/python/examples/hello_world.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ff7a62b3bb86070df2b675134066b451ea26505c1d9e6e9005d138da8934f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/python/examples/joints/pendulum.py:24-29 | bindings/python/examples/joints/pendulum.py:37-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 \u0060bindings/python/examples/joints/pendulum.py:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/examples/joints/pendulum.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"342ab60627d35114950a294e3e5f28d5a5975bb496cc05087b28e9aad9164f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bindings/python/examples/joints/pendulum.py:24-28 | bindings/python/examples/joints/six_dof_motor.py:21-28 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bindings/python/examples/joints/pendulum.py:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/examples/joints/pendulum.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0593802689f19ed4d05276f6ac36f75623aaa067b9a70138bab11102fe99a8c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/balls3.py:31-37 | bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/many_static3.py:31-37 \u2014 before extracting anything, compare \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/balls3.py\u0060 and \u0060bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/many_static3.py\u0060 as WHOLE FILES: 88% 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 2 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/stress_tests/balls3.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a44b8c323f7cd320cf2a60de1baf252b0bc0ade7187a4b0f16af4e4cc30f4ce"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mjcf-rs: mjcf-rs: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bb48f98ac0d7b59833eb2d6bb032767b186d95b59594fee65abfcea2bef13503"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: rapier3d-meshloader: rapier3d-meshloader: abstractness 0.00, instability 0.17, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"94994f9b9f14ab1219a7c84e35a76b26ba12d641e0492dfa2b2314b2a66b159c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SoftBody (LCOM4 11): SoftBody\u0027s methods fall into 11 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 11 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":"bindings/bevy_rapier/src/dynamics/soft_body.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ab2ffe856782e57245e63f15be6f3d44b5657c78cae3c75aa82a66b77ff410"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SolverVel (LCOM4 5): SolverVel\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/solver_body.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3338b8274a68fc82ac5db68ce2eaf81b8b9c11939b836f40b3fbd067d5ee3cb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GenericJoint (LCOM4 4): GenericJoint\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/generic_joint.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f2d3de10435f04fdf659b2f74bbd20da2495f9f1daf263e2c8002b266c6f76"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the jest suite in bindings/typescript/rapier-compat/ ran and not one test passed (FAIL tests/World3d.test.ts), so the coverage would describe the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/geometry/narrow_phase/pair_update.rs: src/geometry/narrow_phase/pair_update.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 100 in crate::geometry::narrow_phase::pair_update::process_pair at line 70. 2 of those changes were fix/bug commits, and the other 2 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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src/geometry/narrow_phase/pair_update.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/pair_update.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cdbecf9f45c76518c9a0b10c11734af8772179e7186601713cd84951092c2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/dynamics/solver/staged_island_solver/worker.rs: src/dynamics/solver/staged_island_solver/worker.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 110 in crate::dynamics::solver::staged_island_solver::worker::run_worker at line 32. 1 of those changes was a fix/bug commit, and the other 1 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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src/dynamics/solver/staged_island_solver/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":"src/dynamics/solver/staged_island_solver/worker.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fb09d075afcc2154b1c83d1d2255e1cc7357e5bb71c1d3db067c0626adeeca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/dynamics/solver/contact_constraint/generic_contact_constraint.rs: src/dynamics/solver/contact_constraint/generic_contact_constraint.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in GenericContactConstraintBuilder::generate at line 35. 4 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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src/dynamics/solver/contact_constraint/generic_contact_constraint.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":"src/dynamics/solver/contact_constraint/generic_contact_constraint.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7459ba08a89746124ae10c77239b70352601aab6ae86110c50959fb126648076"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/geometry/broad_phase_bvh/update.rs: src/geometry/broad_phase_bvh/update.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in BroadPhaseBvh::update at line 35. 1 of those changes was a fix/bug commit, and the other 2 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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src/geometry/broad_phase_bvh/update.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/broad_phase_bvh/update.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca4a8fd35786f7f306452756001176f4056da62e9adc7cbe3c9efecdfe2f4b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/dynamics/solver/staged_island_solver/init.rs: src/dynamics/solver/staged_island_solver/init.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in StagedIslandSolver::init_and_solve at line 30. 2 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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src/dynamics/solver/staged_island_solver/init.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":"src/dynamics/solver/staged_island_solver/init.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"706ef44b18bf73885a9433ad9022ebdbf7ffba0fdafc2db730f407a0712909b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/pipeline/physics_pipeline/substep.rs: src/pipeline/physics_pipeline/substep.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in PhysicsPipeline::step_inner at line 309. 2 of those changes were fix/bug commits, and the other 2 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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src/pipeline/physics_pipeline/substep.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":"src/pipeline/physics_pipeline/substep.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f0b483f60549efb8237c9eced59d6a2964f0f9368179a01559fd00d64fc218"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/dynamics/joint/multibody_joint/multibody.rs: src/dynamics/joint/multibody_joint/multibody.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Multibody::remove_link at line 187. 1 of those changes was a fix/bug commit, 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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src/dynamics/joint/multibody_joint/multibody.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":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9939e02d2fbf2d5c14ac558666e00b5698179ec61753707f16c743060c369ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bindings/c/src/descriptors.rs: bindings/c/src/descriptors.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in RprShapeDesc::raw_depth at line 290. 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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- bindings/c/src/descriptors.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":"bindings/c/src/descriptors.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"929025d65c293686c0a7a9dbed6486d586ba3ef587e4a1cc646892a0ec455591"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/pipeline/user_changes.rs: src/pipeline/user_changes.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in crate::pipeline::user_changes::handle_user_changes_to_rigid_bodies at line 46. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src/pipeline/user_changes.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":"src/pipeline/user_changes.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"906a8da4543d4b138efcea40c5b98ffcfeebfea99c6994bc90cf2fedfaca5a49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src_testbed/graphics.rs: src_testbed/graphics.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in GraphicsManager::draw at line 1236. 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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src_testbed/graphics.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":"src_testbed/graphics.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"495b2023d056a8ba5c656be695a7a206fa27aeeead56ab772d0e24a85825e050"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/pipeline/physics_pipeline/solve.rs: src/pipeline/physics_pipeline/solve.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PhysicsPipeline::build_islands_and_solve_velocity_constraints at line 163. 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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src/pipeline/physics_pipeline/solve.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":"src/pipeline/physics_pipeline/solve.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27f895c7b05263f11c9b51a59623e3d07db979cdcec184113a62387a40c7659"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src_testbed/ui.rs: src_testbed/ui.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in crate::src_testbed::ui::settings_tab at line 307. 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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src_testbed/ui.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":"src_testbed/ui.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1718fdf525f08df57cf0f1ef749556a77d7a84032c062c2eedd12763c68094"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/control/character_controller.rs: src/control/character_controller.rs changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is KinematicCharacterController::detect_grounded_status_and_apply_friction at line 496), 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 character controller manifold collection (#1004)\u201D; \u201Cfix: KCC should allow grounding with no up movement (#481)\u201D; \u201Cchore: CI fix\u201D; \u201Cfix: apply character controller impulses at the collider\u0027s world contact point\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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src/control/character_controller.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":"src/control/character_controller.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5def891696abf05ab6e177b75ff2a9abf8d67cd9a256a1efbcfd87da1aab99a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/dynamics/solver/joint_constraint/joint_constraint_builder.rs: src/dynamics/solver/joint_constraint/joint_constraint_builder.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 15 (its worst body is JointConstraintBuilderSimd::update at line 358), 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 various CCD and broad-phase related bugs (#1012)\u201D; \u201Cfix: allow angular limits on the full circle\u201D; \u201CFix SIMD joint constraints (#953)\u201D; \u201Cchore:\u202FCI fixes\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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src/dynamics/solver/joint_constraint/joint_constraint_builder.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_constraint_builder.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad61435061472e340d54f741bd27fdc91b118d127def05c5ac1d73c54ecd2403"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/dynamics/joint/generic_joint.rs: src/dynamics/joint/generic_joint.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 GenericJoint::set_enabled at line 405), 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 various CCD and broad-phase related bugs (#1012)\u201D; \u201Cfix: allow angular limits on the full circle\u201D; \u201Cfix: complete joint axis frames with a twist-consistent minimal rotation\u201D; \u201Cchore:\u202FCI fixes\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-07-12..2026-10-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-12 14:08:56 \u002B02:00\u0027 --until=\u00272026-10-10 14:08:56 \u002B02:00\u0027 --full-history --no-merges -- src/dynamics/joint/generic_joint.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":"src/dynamics/joint/generic_joint.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c55b3acf18f1f14d2bd0caa8efaf2340cd27b252ad21ea1c9c1d194cead986"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 73 significant file(s) lose their only recent owner: bindings/python/rapier-py-3d/src/geometry.rs, bindings/python/rapier-py-3d/src/joints.rs, bindings/python/rapier-py-3d/src/pipeline.rs, bindings/python/rapier-py-3d/src/dynamics.rs, src/dynamics/rigid_body.rs, bindings/python/rapier-py-3d/src/loaders.rs, src/dynamics/joint/multibody_joint/multibody.rs, bindings/c/src/pipeline.rs (\u002B65 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7dc60e7ee3e397831374383fbe197bcd9fd25c052c09d7461da5af6b4da95379"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (74 single-owned of 556 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; 556 of the 841 production source files in this repository met that bar). They are anonymized user #2 (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: examples2d/multi_pendulum2.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this? I find that in the math code using indices adds clarity. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lib.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c65230ae1ef1fc5d74f0f43189827dcb13146832fa434988069ad4f4ca1458f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this can probably be optimized a lot by unrolling the 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":"src/utils/rotation_ops.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4ef244b012856990d0dee0d2ce45a7000505f5ae3e1b17ae335977219f4fc3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this can probably be optimized a lot by unrolling the 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":"src/utils/rotation_ops.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2867104e51dd4f1496d449fb6a000bb6d2ac010b2df3ab43c8bb851fe1a9dd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add this to CompositeShapeRef? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/query_pipeline.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1db123c5d46de792c37c5a0647cea6f49d37efcb29f9751b9fbcfc1263590d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add this to CompositeShapeRef? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/query_pipeline.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b6581f8c8acd2c34fcda5de59953d678f9140d31a4bf6c5345a0961389d094"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add to CompositeShapeRef? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/query_pipeline.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcc3b98ebcc930e50823c3ce23358834928e0efe3cbd7ba89c2a951fd4610e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add to ColliderRef? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/query_pipeline.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7f067f97fe77477f283fbcf355c76b4c32e743536d6c4e9bec12a9d033357c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: propagate disabled state to multibodies \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/user_changes.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacc5234252ecd9e5ea9adeffb1274e7bf61e386a9ebb674b95e5f7fcfe7656f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Propagate the rigid-body\u2019s enabled/disable status to its attached multibody joints. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/user_changes.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aecd6bba565ff8077bd158a0e6284d8fe3b78abd0bd09c9f96cb9bee6d71b1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: what is the best place for this? It should at least be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_pipeline/substep.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"843b001cad593b0cc224da7b2c45fbb4785c343f8fc7dfccbf93567e1d3904ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO PERF: only iterate on kinematic position-based bodies \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_pipeline/substep.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c429531aeb468b6dc3cfb6cb1446f7ee0534057cd2bdf91f1f057179bd6553c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do this only on user-change. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_pipeline/substep.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc06e657f9d7ab67c63ed74e86bc6ec757a4dbbe7ba1973a2cfe65ab6c837763"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do we want some kind of automatic inverse kinematics? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_pipeline/substep.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f99ddd9596ccea72ddf488dc71af79e3453949b4d45131252b03a1bd39ad61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: avoid updating the world mass properties twice (here, and \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pipeline/physics_pipeline/substep.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35de1ab17cea7c26a36841629cc7f7af276e141424f3e94142766d90b296634"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we have a lot of different AABB computation functions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/collider.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cfb24408bae60692caae3f19874adeed9d0a60b5c14c0225b10f7faf2a54c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a COMPUTE_SOFT_IMPULSES flag too? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/contact_pair.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"934a8427ebdbdf9008c01e035cf06471437296fb16a7f761c77f1947bf87354c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO PERF: double-check that the compiler is using simd loads and \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/contact_pair.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"53934f708c3f64365a3a1b2cddc149d9d940adf1766ebff4fb35356d92a37a49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: avoid lookup into bodies. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/intersections.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfeba6367a9dd868bdc4f66b630465c5df93c136068adaddb522d4d44bb82263"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: avoid these hash-maps. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/pair_management.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6915d500da44643d0c5e61d53725e158f084e38410e8e9dd96fbeecd7b489a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: could we just unwrap 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":"src/geometry/narrow_phase/pair_management.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23f5fa98cab6f40180f1ecd0ba9eefc3dc3b40d6a099bf3746b723aa353a1a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor both pieces of code somehow? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/pair_management.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"b939e40255d955ef5a7a41f49d7a0de2d999743fcd5d5615ebc47de0ef7c1a45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(perf): would it be worth it to check if the aabb overlaps the leaves of composite shapes? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/narrow_phase/pair_update.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e655cd8b7c3d29533d53338db61d8dae6154af564c76665ad0748b03b6129a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: would be interesting to try out: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/broad_phase_bvh/mod.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa0b3f493de1282f611f2fb4a484d8a255f1de405883edf5bf103330abb8cc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(PERF): avoid the systematic Vec\u003CVec\u003C_\u003E\u003E allocation? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/broad_phase_bvh/update.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d600ae72b001d4b4ddf95de498c269257f13b828bbedd03ae76bd1d0940b1b0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(perf): avoid systematic \u0060Vec\u0060 allocation. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/broad_phase_bvh/update.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e11bedc1dc10ce67641ea8693d49e7b6dfead4ba358c20b4405225ad96e9687"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(refactor): looks more complex than it could be. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/broad_phase_bvh/update.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48a13c3b7c9f26d841a9ab1c7fbaee33f734ca2ef3b45eab2a6b9685dbf10b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(perf): avoid these Vec allocations? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/geometry/broad_phase_bvh/update.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"5613b2a4becb7992ebe11c81fc2e019d66507dc02a4166f9b8eac84017d94ba5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should be able to combine this with MotorModel. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/integration_parameters.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea76802d8e6ae41539b49024ccc6b8d22a454b63b08d192a2fe9498b72d0eab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this really necessary? Could we just always assign u32::MAX \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/rigid_body.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"977de8b8efeb554c6562bc3bd2842704129485614e81f5c4d41987b87cb1e681"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/rigid_body.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3de3006402dd6a9c813408b1230db642b31b15e52f0ed1bcbacd36852c26b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do we really need to check that the body isn\u0027t dynamic? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/rigid_body.rs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68907aef07266339be6df278673b9196a5c8b250057eb556351dfb1b216f25a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do we really need to check that the body isn\u0027t dynamic? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/rigid_body.rs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01f10b720df1c1991453be69659cc5f97d48168b565476b97de599056c71ad7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do we really need to check that the body isn\u0027t dynamic? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/rigid_body.rs"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ae863658d120a08c27bd3678149606b32fb119f39f891d49ae39b645b112b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is renormalization really useful? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/rigid_body_components.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c20bf7d7b60a105c7d619daa58010ff0fe8f355f275281916813bf31786868"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: SAFETY: restrict with bytemuck::Zeroable to make this safe. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/mod.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"531c07d62c1cc4c9e5da0ea318be4d9a29ca1aab4021fc5ccf624302ff7d1dbe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a SIMD version? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/solver_body.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"003bd08a447e163c15571da8d7c98f7718fb3100812f2c730b70047e493e6356"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: explicit padding are useful for static assertions. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/solver_body.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b0ebe870ec83bad2b7567a511003fb5913b36a13f69db3f66f9ba2b4c45625"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: double-check that the compiler is using simd loads and \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/solver_body.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"29632a21ddbc856981571bd8a5b987e7bf267b414cdccd1355d6ef5f42babcfa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: double-check that the compiler is using simd loads and \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/solver_body.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cf723130ae768c1b4164f8b0f55c0842b1be32142c048f3d44a915cdd1f3a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: double-check that the compiler is using simd loads and no useless copies. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/solver_body.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f1f051ed292c7adb452a0bcf5ddbede63ae1a3f4b47e50a05197e2704b079c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: double-check that the compiler is using simd loads and no useless copies. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/solver_body.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef947baeb8ba1e52905de0bac8b8c59b1c00db8da1bce99b6a8b32d0a26ac545"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO PERF: will the compiler handle this efficiently and generate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/solver_body.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec4795d2b15319eb3c450087f2a797dcf8a678685eef2a8b5573c0b24c1e831"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we don\u2019t support impulse writeback for internal constraints yet. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/generic_joint_constraint.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2df5995418e70b019fbf7a2b8d15221039b49896f503e07b3893b7a63377e16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we don\u2019t support impulse writeback for internal constraints yet. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/unit_multibody_joint.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac7f9c3d27bbe79654b4dc0dba096938534e7875cad7b5a6a0ba4908dd2bd61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we don\u2019t support impulse writeback for internal constraints yet. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/unit_multibody_joint.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b0cbbb36f44abb51288d4a3b202c222111698c7996d2a1684ab11b4867332a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we don\u2019t support impulse writeback for internal constraints yet. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/unit_multibody_joint.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bb1537d8df946e20c6513fe86609896431a246089490b7fa680f0631986b02"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do we need the same trick as for the non-generic constraint? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c89d12b2f6fa9178b46268c52bfd0e26990c88d27ff0934f2e86b835387312"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //     // FIXME: check that this also works for cases \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"363c9b6bfa3e10e4c3c57b626be82ac607276fd8261557ba9d39101a77975175"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: orthogonalization doesn\u2019t seem to give good results for multibodies? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/generic_joint_constraint_builder.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bc7ee92241ea3f933e8197fe0ab912632a66c7b4b9efb56103368385267eef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: used for angular coupling. Can we avoid storing this? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_constraint_helper.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"831079d574eed991ec63383bfbb9c69e10a1a809ad411e26fc07f31872f8b31a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: handle min limit too. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_constraint_helper.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d80ff9aca1c057925a10816cea5625cc6bf4e0c872efd363d38eaf9bf8968a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: right now we only use this for impulse_joints. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8113c062f94126e82627d49f9e094c58527b1631a01764d08f24cd66bb4a81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this still needed now that the solver body poses are expressed at the center of mass? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c702e0bce305e1c6c8793553cf0eca6644f9eca24949042d6e870f2facc690"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: coupled angular motor constraint. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa93c5d6e89728c79fac01b6d27558820df87cd39f155ca88d4675496c35867b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we move the iteration on ii deeper in the nested 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":"src/dynamics/solver/joint_constraint/joint_velocity_constraint.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"41381e3b56172383b8a132a193a2115d006f26137629b513969dac0c62fbcc55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: measure if using \u0060degraded_dvel_a\u0060 instead of \u0060dvel.x\u0060 has any performance \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_constraint_element.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2094df0a59e5c878fdec99f58291786f0d6cf0a745447efd76d39435cd34d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO PERF: implement SIMD gather \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd772aec6747e700fa845b4a3ffe44b7124208ac1416823fccd069047fb408e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO PERF: implement SIMD gather \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"576a763f03f098d32e400abc5e23f34fbf803a011537d72ace64671818f3200a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO PERF: we already applied the inverse inertia to the torque \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e33d57c73b23f1704ad7138e7855fcb8af4d1c5bb2c1d364f0a4d6bad8619e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO PERF: we already applied the inverse inertia to the torque \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f748c26ad6698682c4f65b30246955f9f448c0efac09dca59635d1a7908e35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add something similar to tangent velocity to the twist \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/contact_with_twist_friction.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"499d028fad91887d1b5269ba5a5c485765e800b5fdee36d550c8af791c9d714f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO PERF: we haven\u2019t tried to optimized this codepath yet (since it relies \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/solver/contact_constraint/generic_contact_constraint.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b881e68a9981c8c4bd7124346cae7cf4253ad1f5c9034689b5c33eed0230a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: in 3D, we should take into account gcross[0].dot(gcross[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":"src/dynamics/solver/contact_constraint/generic_contact_constraint.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac7e729c327f7af6f8cdcfbdc5983164092bcde5108ee46e9aad6f3b57a9f8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor this into \u0060Tetrahedron\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/collision_mesh/collision_mesh_binding.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7cc54368387ec98ad00d6f0b764f7f2ed86af3fa6eed7c9df340ad69ea170e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optimize neighrest neighbor search with the BVH? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/soft_body/collision_mesh/collision_mesh_binding.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38f48fd283e9d9364f7bfc7807b0f8c0a2dba573133a333302e2746bbbc78be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: serialization: skip the workspace fields. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7bce67906fc86434fe4367b0e618defa06865428d9ba4e2984dac4c7078e75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use sparse matrices? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b4ee359f324d146fb3d418a8580df03859d35d56a52726ce9565728f05fac0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should be a RigidBodyHandle? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88fd969d3ee4e877e763a8756ef036d58798384853f8165624d3f6f834afcfb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should gyroscopic forces already be computed by the rigid-body itself \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a98078d09107a17f06f2efcd308f7dbd4e30bf67acf4a082d127771670ed3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use a resize instead. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6488ea19113a1d18a92873e25a722383261260665c8136ba0ab5044a09765d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do a resize instead of a full reallocation. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"97144819604e41b6323306d3847e8f72283b39e25928e9572ba1f8a2568af2a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optimize that (knowing the structure of the augmented inertia matrix). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3306aaab4f93b303a9faaf62cb634f495b6efb1de18ff339d14399c995ce12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this could be better optimized in 2D. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e6a59eb2059d12e7ee5e66832aa2e078cc849860e57f58c8353a043fb47751"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: avoid allocation inside LU at each timestep. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8a6387550977aaac521d1a2d5451fc90e15107a4c80c74dfa8da302e0bc2ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make a version that doesn\u2019t write back to bodies and doesn\u2019t update the jacobians \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83f63efa69117cf7a36fb2fd5c38a762449b0d2b331901ccd636d3824a6a991"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this shares a lot of code with \u0060forward_kinematics\u0060 and \u0060update_body_jacobians\u0060, except \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"3deea1d24eb903419edb9db5cbcce126ef2f5feaa05eb8975fa40dd7b9563f25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this shares a lot of code with \u0060forward_kinematics\u0060 and \u0060update_body_jacobians\u0060, except \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ae84b53ae524f25ef2a866deed29cf462c73e604abde523165467f9d798624"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize with a copy_nonoverlapping? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"7308d402c31f5331012c623c20ed8e1e63f1a5747a5dc87aa2a73bdbaca71ef4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize with a copy_nonoverlapping? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody.rs"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c5bf201a785e93cb97c711c2ed078cb2a41f2316207adfa2865e08ae5384dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: measure convergence on the error variation instead? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_ik.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c1da69a1b9768cbecaa702f00fbead04bfe5b8d32b13e4fcaa99c591aeec67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should make special cases for multi-angular-dofs limits/motors \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_joint.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fc3a32993460f6753ce1221d2803301b05a677653db75148b40ab780aa5baa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove the node if it no longer has any attached edges? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_joint_set.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6e83b604cbf0b897a4c5e681fcdf04a02ae4bd8a3e4863d8a8726c14a5b84a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optimize this. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_joint_set.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cf9bb97a20b3d40c6b18ba94ab3146df7700b68be5a62b4c5fbd40b96f4303"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: modification tracking. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_joint_set.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdeea8206d8b94ad41a3c6306523f833ed49ca6ae0ad9148b85c1e941571779e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: modification tracking? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_joint_set.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a7621447d2e14580281f0fed66b915962726a86060474de0b3dabce8205dc3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: make all those private. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_link.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef721dc1916d0e477c4788a5b36696885c342b12a0573d907a321605bcf8550"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should this be removed in favor of the rigid-body position? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_link.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab40b8a0555890fe2304358d2fd70fca721e20b4689f43589cf328a2f5046a0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: keep this even if we already have the Index2 traits? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/multibody_joint/multibody_link.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"02880b843026b298d2d81f051406a562f6224918b7392c4f8cd95458e9974dd8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: have the soft-body code write a frame-velocity estimate into the rigid body? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/island_manager/manager.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"321c9009b0c2403e5a3248679a4b459c72427e353f7edc4542194a9c33559563"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this happens if we found a TOI between two non-sensor \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/ccd/ccd_solver.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e61dceadf7a86686071ab487175261eae62692c4ee0cd31c21e7d471cfb4b5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow custom dispatchers. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/character_controller.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14bcd8565f832df415d0b3c9df75e863548d8baa3ed0e391bb615b3e175da0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow custom dispatchers. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/character_controller.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb6f4818a2be4da664a7b392e24b11c6cfd81b3f2a4faa865683294e1be624f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this public? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"257061e5ca2c84427ff4a2f4f8ec2dd8d57241cf863178de29abc38c0d0d19e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: collapse all those loops into one! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"317d472f9188d8cfce5c144d29e7c0a2c9dffbc1f50fdf6c0c4ce3cb88fe9302"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: apply friction impulse on the ground \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7924933beba38751bfa01c1dd8773a935e88fe7713817dca9d51ecf2cf25022"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: take the effective inv mass into account instead of the inv_mass? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"a819e44f60a0dd132cbbd9526d9d50c17e290bbda015272f708b0c2265d57f0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: take the effective_inv_mass into account? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"974ed198f23f27d9f9857d58033365e60ee2baf5d3986366cd04eab42f2fc391"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: take the effective_inv_mass into account? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a806de76337cec7b2c237314952a6f28c066db13bed37d8f7a5e70d963ef5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: move this into proper structure \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"df34fa1ec63c7ea1e378c4a4c6746d92623be13e404890fc2a5d24ae1a571386"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: move this into proper structure \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/control/ray_cast_vehicle_controller.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"d635477f8ad948908479cb9e3e04e88051736e055753a8b97682c63b416a0bad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: lower center of mass? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/vehicle_joints3.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee6e62b1e9aca1c5ebff43d8b0020fdb51503a4ebc7f49ea5baad105e6a2ae5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: give a better placement to the objs. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d/voxels3.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0debf4588722a009cfc7472dca02d16103720c03fc13577409ffe2ce40828fcd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make the testbed support custom enums (or at least a list of option from strings and \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples2d/voxels2.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22da3d729e85ac0a384386dabb23274a202ac607f0e64723a1b538f8138d3e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the following fields are currently ignored: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/rapier3d-urdf/src/lib.rs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d014342a60af20d818e7ef6b0736f05ab080a0d0f0f80282f57b2bbec195969"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: type ram: RawVector? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/math.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4064d21e09e39b8c1fb6029947189ce7728c8eb7cc336d39aaea3781d21419e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: type ram: RawVector? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/math.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0680693a070a9156e94a04a33d111d364d9354ab44f493cdbee9f5d06f2d4d2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This needs to trigger a broad-phase update but without emitting collision events? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/pipeline/world.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"322087c88c94ae5100c621299e2a21d866500b1ba136373d663c9b6117209323"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: deprecate/remove this since it isn\u2019t a reliable way of getting the latest shape properties. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/collider.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafc3490410a341e6d66a0f5242b6efe14caec68e13f35e9a88e2fa72e0e6ebb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: rename this to RigidBodyType \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa64c73f520277eb58370ad36301c8b1a6c13a7bc6b0f764a698d13c4791635e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unify with the JointAxesMask \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/control/pid_controller.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bf18127dd040e42272188497cfe6d1784dcc9c1a7e5992c79fe851571e6361"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: not sure exactly why we have to do \u0060flags as u32\u0060 instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/pipeline/physics_hooks.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdefdc15ef228d051935731efb2f41f77d38e0e212a9e20cf8f394cdfc1eea4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: take a callback as argument so we can yield all the intersecting shapes? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/broad_phase.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77faa467630be85814099f3b74d07a2db9d13b1d151ecdd681f13d0a4add42d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: avoid the unwrap? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/dynamics/multibody_joint_set.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfb4153940cff67b406819abd9da769dbd1ddafdfa353e720251320e37889fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: joints and colliders might be parallelizable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/plugin.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4eeabab103221dd5b274da65f48249ebe0e48c273336e7c4a98c30ff2dc360b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: avoid the systematic scale somehow? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/character_controller.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfd028c93a4894a9852124c4d32bc223ad738983a25b7d81317a8d252f80104"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: take the parent\u2019s GlobalTransform rotation into account? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/character_controller.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7899e469122a38fb69168d661a5241cbf892f63486ccf19b6600aab85e19373"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: not sure this will always work properly, e.g., if the number of Dofs is changed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/joint.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c38cd5be288f041cf94a96a28a36aeea6b7bf12522ff22f5aefcdf204f14dc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: We need to wait 1 frame when creating a context. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/multiple_rapier_contexts.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4af99fe9326fbbd21cb8652744b24c939168ebf5af96b5f40108fce9d70afe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: avoid to run multiple times the mutable deref ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/rigid_body.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6a9ddd3f77366bbbe4a4060b90a1b3e8e67ce99c9ddf4b8d8ba68867184ac6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do this the other way round: iterate through Rapier\u2019s RigidBodySet on the active bodies, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/plugin/systems/rigid_body.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"990f9779a48cb73bce363ba7130227ac50cf9b55049f6e168287d55b7f5ef897"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it may be more efficient to use crossbeam channel. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/pipeline/events.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cc0487ab77bd6d012a08b7f47d64da3f8c492cc000ef7dd73122b7cb1afee8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Reflect \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/geometry/collider.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d345925dee144ea380d72b460f1dfc3753ee3f9d295282fe071b0f9e456fdc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Reflect \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/control/character_controller.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"44642a17a49500ec06185b98435356e616b4a297b32bcdd483da068756dad122"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: bevy 0.16 will expose a builder for cuboids: https://github.com/bevyengine/bevy/pull/17454"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/geometry/to_bevy_mesh.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"715179b5ac2ab72152943f9243132b130581d81358295387705a9578166ec882"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: bevy 0.16 will expose a builder for triangles: https://github.com/bevyengine/bevy/pull/17454"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/geometry/to_bevy_mesh.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3280c711d5d0a0a0510ffdc9d7245adb47ec36671690c077780a3f3a77a8d1e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: we could use TriMesh::From(height_field), but that would clone, we should fix that in parry. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/geometry/to_bevy_mesh.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7033906d5014ca193e66fdd3b1f3ab891d6a51d8161a351b413406f72fb8910c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Error is simply \u0022peeked\u0022 and ignored. Handle it properly by returning a Result from this function. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/geometry/to_bevy_mesh.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab91fe6a9f736304976629a9760bb1ad3b4e89f44e70ecc3d868e1f26502e24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add modifications. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/geometry/shape_views/convex_polygon.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2593cc93df29492c7871c6387d26efa4bfaf0257e904ce3432fc32df14a1753e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement those on VoxelsViewMut too. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/geometry/shape_views/voxels.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0f81b9ed37968b053d534c81e6e9b239644698096fa6fe40f32d24d77d42d7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: rename this to \u0060group\u0060 (no \u0060s\u0060). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/dynamics/rigid_body.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2fb24edb0e64d4387157141e743de5108d88b21898560d03a2a9dfbc365ab3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: rename these to \u0022linear\u0022 and \u0022angular\u0022? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/bevy_rapier/src/dynamics/rigid_body.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b73250048d03164c99b53b77f24ff4971eeaae439bf8495c3c1f811982e7b36"}},{"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 \u0060examples3d-f64/Cargo.toml\u0060 makes this repository a deployable product (line 29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples3d-f64/Cargo.toml"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9ad33bced0ceb5a8cf221eea8193304daa6252bb7ce20e4ce9d322704eaf96"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060RawCCDSolver\u0060 spells \u0060CCD\u0060 where 12 names in the project spell it \u0060Ccd\u0060: 12 of 13 names in project crate spell the token \u0060Ccd\u0060 (12 of 13; unit: names in project crate containing \u0060Ccd\u0060). Peers: crate.bindings.bevy_rapier.src.dynamics.rigid_body.SoftCcd (bindings/bevy_rapier/src/dynamics/rigid_body.rs:574); RprIntegrationParameters.minCcdDt (bindings/c/src/config_data.rs:425); RprIntegrationParameters.maxCcdSubsteps (bindings/c/src/config_data.rs:451); RprRigidBodyDesc.softCcdPrediction (bindings/c/src/descriptors.rs:40); RawIntegrationParameters.maxCcdSubsteps (bindings/typescript/src/dynamics/integration_parameters.rs:46). Rename to \u0060RawCcdSolver\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/dynamics/ccd_solver.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba606b04c60440524e290e3cb6a72995917d7b84c688e91fd185e8149c9fb2da"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060rawCCDSolver\u0060 spells \u0060CCD\u0060 where 19 names in the project spell it \u0060Ccd\u0060: 19 of 20 names in project repository spell the token \u0060Ccd\u0060 (19 of 20; unit: names in project repository containing \u0060Ccd\u0060). Peers: IntegrationParameters.maxCcdSubsteps (bindings/typescript/src.ts/dynamics/integration_parameters.ts:75); RigidBody.enableCcd (bindings/typescript/src.ts/dynamics/rigid_body.ts:315); RigidBody.setSoftCcdPrediction (bindings/typescript/src.ts/dynamics/rigid_body.ts:325); RigidBody.softCcdPrediction (bindings/typescript/src.ts/dynamics/rigid_body.ts:335); RigidBody.isCcdEnabled (bindings/typescript/src.ts/dynamics/rigid_body.ts:820). Rename to \u0060rawCcdSolver\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/pipeline/world.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb58021bfd6e6860337b72c0478bf508959cc8a66b12a48d9ceb3d7824ec87e"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa94eea6e2b67e17f6643b3c656d86ad9840584c29dcd89b1ab980df966af78e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"e8129933a0460a6dcf310b6e984ba10080c5659c2b0a3bf5c3d5f30d018535a2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"a4802ee59621909cf8c0905b69a07727a75e60044f163c9dad0150089d7cf89d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"2b4581205780c3f804004f2d44dad37142f009fe89da6408188f7136639a5997"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"7abe9ea8e8c5af70de01bac08ef68ce63a81987b038fa6e790c6d968190d8236"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"ab47041c75bbea6cace250ec74a8723d5ba4da7ba99267eea725bfa4f21b4338"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"2a4755b7ed5da15049d6d2062d74a208728c02bae0e77f42703798961727ce78"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"f7e6167307d61ccd5a8d66b01fed5842ca7e364381adfc62dfcec70e02338381"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"50632bb728182daccb00b7b67d4eb90f7e37a971131d26225f35759dadf29242"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"d82f436a7152a717c0d259ac4618b64db082d21735a65267b522ea9dd0c2024b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"d2e701c0436e1af84b71971738cf189a40b862bfd124f1b054614614c20d646d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"4384cf4746f43d26563c9b5d6cd2c3913e21cfece00533360630ddb0ef1376cb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"2867ae0700d5c710762e130bfc7df54430482ab49c6b67ba9b02b2f1673a728a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"0e68f9368872364e862d2df9f0b1d550c31c57bfe358ed486f2dfce4a527d38c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"e19f33a204edc128f583c76df8ca68eedcd9eb2aa98d691ad8b121e96eea5748"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"930766014e8f67c37e57c9f2f85eed3c62c2fce0d5fb0b573ed40242ae1f7f62"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"ca288443556a3620c012935eb2deb0ddf361576f58d219cba2c6f7dcc9a91917"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"9a282c57d8de0e4b7a6f19e4aa5e987c5426c05ee34640b2d9225e9982166c3f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"d4c1f8952db31866a0f429cf510585c11faf1a9f90fcfbd967bf2b74940dd0f2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"456e9f99d00589c843cd6b099c870cb5c5faf6b993b7e7d245590a6c3f5d8a74"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"2f7f7eb3a05ddfba796fa0d2f78463bc67a23ac5a0dfb2593e20813caea89fe9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"6aede5ede049830370eb3945ac447da7992dd544a6db7d5ec0379490bf2f6219"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"c7fefbaf2b26e9e3a4170c104dd60aab9e545e10ba0735d4b913e6fedf44f3c8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"cbbdc25bec02abe930a38f1235cb6922736284b49a60c7e63e7a6a5fb513701d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"bd92d955bb76a6140a982241873b0a3f17038cba197b67a953fec201af5e0e63"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"282148f41105e93a3ef9d418ef26541da1ced5d8534ae6195e1c24a27d1dd7f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"193998c6daba7f4a9b8a86f9a122387e7d6862487600ca0117020d863941e0ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"30fd4bad6aa21da89a2e588f2be832bc2fd53a8ccdfda0e48182b2e0fb0f6283"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"70509ed15b231460d131e3adf21194428c1c99f52c1dac19f044005e95c02402"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"8356673436e28b3383714701382e6e26174ceb3989da6175b24a752b700e38cb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"570515ca3bd9983baa4e4bcc70e644d20a62b8bb10495f7ac42f9dd021ddcda1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"1873c5e30a6eb5e36b44923274605da24120b43b2324c1516ea3d36811f1dd19"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"04b64d2e93a1b760396afafe5e279538383da057acd4934d6cf31ccb8cbbf63b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"e4acd38cf464ed9f09c1eb65771dce4dbc19aeef7c6dab3d6ec1db01c0fa1e89"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"66e63bc6869b823093c4bbd36b7165d99abd79b3bbb10ba38f40cb33bf7d43e1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"15abcdd2b021f28937605b96908c59864cc294c13e0c14872511ceecf8d3da4e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"ffc31aa7559201a2fb01ea6b27288146c65fbc118797713b6ab93c780d063771"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"d35ee83ea7e8199ad317798780d7a95545ee0fd20fddf48aa44c2e85dfded17c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"e3c06755db2ca882bc273f88181f31f06c7fe2998b4fabec613ff11442b13b36"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"995c34046e5823b6bd9d678d3d3f9415171aec809378a217ca412c6713ae2924"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"4e54a819e669b1d16deba725b900d54f5df1f27fe5587c9e6e04b9a55b84d043"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"c9822c7afa3bb6c574c4d748ff20ca25faf8ea72ab3200ec75c1d64460f7cb1f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f76d6ca94e3d47b008aaadf7ee9000d728034240ba4fa549bb26f7bb3c5090d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"e597e88eba97fe4275c4a6d42b756ca5dc106b30b10fc85351bd3870b2d04e4d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"086dad5e43ad04522c2898cafd2d56014b055aec4a38c469a462c31b9746e944"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"d2bd7f7e4cd4034547dbbbe843582d14e8be40ce9d136376471f1ba72d3f4ab1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"8f0e69fd69728d0a063127266afed6a6017a5d7c7de8d26f390e18ff111140a8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"a112a0547f493a7e678b78c9683930f84984cd2a78b8ea419a40bbefb8c4505d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"4b6a9658967f3ada68cd6cf0d1cd4b5a37ffa1c4a3e3c7cbca9d8fe183e3f3ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"cd8cf3fb9f36eb9828e3870004807de0eb6db4b0ce7fb2d8ca9424c3b1b089a7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"6e329e704fccc33c30fcb0a3e44b1b7c4f4b12993d7f39e23391657620bf4d55"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"c2c7d3b242b492068873ec720bccd56bfdbac8a188a669b32c67a817854b7c8e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"efd48634ee64fb9607bd09357a14618b34438d2a927e44ce0bca9551690c91b1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"441de257d87371a258f6d04daf0c3fa633bd11a756927e4929165c2938539040"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"d124b116e9a7cddd696a70e5e07296612f37c54ad703b1629e57acd687f4c546"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"f20d893d77727e74e02cc6b2527770a8140261fe09cced6399adebc4bf1310cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"d8c27fdb551e1a2ac69e86140ce5589280e4da108440fed3514b99be8ccb335d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"11357e5ede32d97f7d5731618d0b2cf22ad14178572c52d2404efe641ba7e8c9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"f751c1f132135904d01b5a501aa3ab8fb64795eef4ab2e2486bb3d69c70024c3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"74c24fe7bf701c2a210ab3cb7071acdb11bd44ffbf18fd86a45c990a993348ef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"e683a48aa1bf9f55b2201b8ffc32fe95734816a6105bf6957c36367a316704e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"8555a9e2dbf2ea95a50b4827cf6757eb6aea415f306b96a646f973702ff21128"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"d228f27f6852c808c56f1bb41b4cc2149daac502eab2cb17009c165011e2d20c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"a60d2e1118e1683a9d7bf55b092b8863f986391dd0242e32f3c5a8e672a9fa69"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"3b02e52d5985fa4e206ed3d6ff1b9c9c35618ab4b201961d96357029f3f042f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"927f296ac03b1ef99c1ca02391f9aa8a53e73ff3f028786d43113b378646b652"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"846198e4d49fd240360b7e6f7d129113d6ba6969be019e0ffd9e614fd9ad7270"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"cadc6692d54656debb758db92c7f7fa5d2a6185e8b9662c2614ae07a1b601b5b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"d9f5bb2f57ed6dba602de45f2b0432b0ef726aa82d2fc1e6955b4303cc2d1945"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"b4c64e40c83aaf6d8760edef7ef788bcc94500fc87a742de56725d8d5e2c4d6b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"e3d4733f7fc5339144497bf426d76090acca3e9922c18d46f9bbc2bcc6239920"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"f5fedbfdec4f3b594cc483104272004e2d08b2c5ce3e9a967cbf52b15b09efce"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"e121503c1319eff7a5f88ee46de049aa8ef6c18e409f0c17d889a1a43548fabe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"51e598ed37cf08ebe17c4bf366252c0d772178e6acbb5f34962d62178401cbf0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"b3d5056ff6a9d0bc638bdb67398bec7342029898496a4d1a08c0153fb03f1e3d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"fcc3f58a6e8ad43075237aa5ec3fe6b2bd48ebac15b7a2921fa11fd9b2e1a4e5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"f310989c336e8805a0dba363cda20fd45a2e9ee375ce036a6cc521993edd8654"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"4a0323553071df323b9979254a8030fbeec787cec6380247537a1b16c70d293a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"da344a2e8efaea14e571b5b269111ec21ad39408a76671892a31fe4dc6a6f139"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"7bcd0dfad7511e4ca4cb0aa67c4bba7a29188beed8dcf331354239dca7f46828"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"5fbf1307f3687d74b151fd1c083310b5b19b2bb3abdaf5090f15f06e29fc94e9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"5e0a5282afcafe2fffb5e3bf46f2cec5d2106d4581d5ee55359edafe310ee12f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"8e0f983257dda5600e1ebd70b47a6dbdef1b0265c0158ca1a29e7b6287e48399"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"d4624d4bbca239cfa331771319158ba5d5f65d146eab0ce1ffe48b44267e09f5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"c5acbe479e66cbf0a4d13ecb5e504476e8368df978ba795d65d9279e51f59ff4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"4ba87f7c5917fb308356c5e496c151a4ac88f3afd33e20c7cba30f6c336fdcac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"e8a0a2e1a4c203b5fafbb69a91e4d7d6c8dffe6517d4cb4184f39fed6e79641a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"da72758281d3e1f57c7de353999b296fa4ad2dc13cbd8820d463adfc9ed5aa53"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"6d8d49561084020a9784e55d73d57070551afb01c1cf3c456aab79719fa7b2c1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"6b8daf56bbd23b9d4d02379d818ed6a4d77840c3161cb7e2a73ac4561769270f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"4f1d766b9bbfedbea774a367fa040e7aca1e169694b9746a4b5a9622347dd8f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"fdf05743cd5c8e359648153efba365fd0a7c3fedbb7e7c8aa8d8c02ee530c6da"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"cd22b3eeba72ca7f2705335eb4a9dfae31db034d68507bb2618b8b9f680fba7b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"273fa20141db233271bac74178f7922b549584ccdfd85a15707081b84223ea2f"},"taxa":[{"id":"CWE-676","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23ef74406d47c86f66194424c17206aa7b461a7a0ace684a6bb06f4cd6164ed2"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ae25e0401a19dfac80d3eb3f8e8d997762396fc13b6bba5fcbb6efd5fd08656"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c7e20143382344ad4ba30b3c87610a2dd8dffebcae585493fee33f895fb0f51"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 3 of 556 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 556 of the 841 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/dynamics/joint/pin_slot_joint.rs, crates/rapier3d-meshloader/src/lib.rs, src/data/modified_objects.rs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamics/joint/pin_slot_joint.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05215391aaa4bdbb8f8b4b3a67b86e0ac7bf6ef10b8d36355437c838b0ddcd07"}},{"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/rapier3d-meshloader/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e393077eb588d9b85769bcee24a0ad90f97223a85b4b7942ece059b875814eeb"}},{"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":"src/data/modified_objects.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ee87e17bd98ab127f9ab037f64dc09629805019f18339caae59b5f01d92f16"}},{"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"860857c8ce0c137484859ee8abf46758d05ab9562807ad68dec6d1f6bab1a369"}},{"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":"5557378e96431d2e5b48a258a45160c65648444a02b10a753a3d1967c2a7c6c5"},"taxa":[{"id":"CICD-SEC-4","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":"7d1e14a268c63189e8e1b3ce25e9dcef39fea9a817d104b5970b7daec81a6ef7"},"taxa":[{"id":"CICD-SEC-4","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":"14f387556f678acf7c5d6045e86ca76226bcabfb835454850fae22cfaa10ecd0"},"taxa":[{"id":"CICD-SEC-4","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":"acf95bbddd7077543a6caecc09a6a430ad92c93cd71de32330ec216b87c76df7"},"taxa":[{"id":"CICD-SEC-4","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":"802e651ed0ffb2589c07712f797baec7d879be8ea1f2eb169ec3a77fedb8b803"},"taxa":[{"id":"CICD-SEC-4","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":"aa6bb92e105879052a0cf17b321867765a97c0bdefd51bd2776aca0945cf41c5"},"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":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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/rapier3d-meshloader/README.md links to \u0060CODE_OF_CONDUCT.md\u0060, but \u0060crates/rapier3d-meshloader/CODE_OF_CONDUCT.md\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/rapier3d-meshloader/README.md"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c67a3fb6b12675911af4fe2ae255f9dd8f37121008a515365daa109d64190b4"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: crates/rapier3d-meshloader/README.md links to \u0060CONTRIBUTING.md\u0060, but \u0060crates/rapier3d-meshloader/CONTRIBUTING.md\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/rapier3d-meshloader/README.md"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64469f5e234b8f927978264df6ea2d5619f3dc0fd58ce2d6272d50574efa5cb"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: crates/rapier3d-urdf/README.md links to \u0060CODE_OF_CONDUCT.md\u0060, but \u0060crates/rapier3d-urdf/CODE_OF_CONDUCT.md\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/rapier3d-urdf/README.md"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeaf7b853b4700f0a05c751d650d341690853227b6b83fa77fb2d0c2c994ddf"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: crates/rapier3d-urdf/README.md links to \u0060CONTRIBUTING.md\u0060, but \u0060crates/rapier3d-urdf/CONTRIBUTING.md\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/rapier3d-urdf/README.md"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ada54afd270d947de7343cafca539df3c791673eadff5356827186dd5b71ace"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 5/12 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060bindings/bevy_rapier/bevy_rapier_benches3d\u0060, \u0060bindings/python/rapier-testbed\u0060, \u0060bindings/typescript/builds/prepare_builds\u0060, \u0060examples2d\u0060 and 2 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060bindings/typescript/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/package.json"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a47e8b404a350ade5646afbd323b0c80ad3fbe7aef38fca6a4a6190b1f8d7b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (15 clone groups): 15 duplicated blocks under bindings/typescript/src.ts/ have copies in at least two of the sibling directories control, dynamics, geometry, pipeline \u2014 7 of them are reported below, and 8 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 15 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 15 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 15 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body.ts"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf1fdc8d97d97a6f8f2c11df2f871f43d32e5492b8aaf69f2d05214b9574731"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (7 clone groups): 7 duplicated blocks under bindings/typescript/ have copies in at least two of the sibling directories testbed2d, testbed3d \u2014 5 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed2d/src/Testbed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e07ef8b3ad7f9fb9deeee06665c92c618ad3d1bee5e280964b48294b5af4eb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (133 identical lines \u00D7 2 files): bindings/typescript/testbed2d/src/Testbed.ts:1 \u00B7 bindings/typescript/testbed3d/src/Testbed.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 133 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed2d/src/Testbed.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd34fef4fea065a90b4dd3ea2ccab6902ae599920690fe283ee15315192dbbb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (94 matched lines \u00D7 2 locations): bindings/typescript/testbed2d/src/Gui.ts:6 \u00B7 bindings/typescript/testbed3d/src/Gui.ts:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 649 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed2d/src/Gui.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89e3536a55b560469467c2e0c0d55f24215e80bb88e01a12b2d0e791766af63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/shape.ts:81 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:279 \u2014 the two spans are one implementation copied and then locally edited \u2014 397 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afb3c699125a8287ee634342be53df56238ee3d36a430a70f44a7124611f535"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): bindings/typescript/testbed2d/webpack.config.js:5 \u00B7 bindings/typescript/testbed3d/webpack.config.js:5 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed2d/webpack.config.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1417e4e990cc241062300f6cd0bcd85e07724596847c73b05b7424ffa15deeaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/collider_set.ts:89 \u00B7 bindings/typescript/src.ts/geometry/collider_set.ts:174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/collider_set.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"71770722ecacba5d0f6011844b47557b5307df7125e94373101231cc5131f5c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/point.ts:43 \u00B7 bindings/typescript/src.ts/geometry/ray.ts:100 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/point.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5ea47b8625c7f3a4f94636cf4a0d8f79c41322f0abc3f5096dbe01216879ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): bindings/typescript/src.ts/dynamics/rigid_body_set.ts:182 \u00B7 bindings/typescript/src.ts/dynamics/soft_body_set.ts:256 \u2014 the two spans are one implementation copied and then locally edited \u2014 155 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body_set.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c201b8aab7cdc61bf446be9df27a23568d3c61565bbc5328516ff4ed65606fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/broad_phase.ts:267 \u00B7 bindings/typescript/src.ts/geometry/broad_phase.ts:310 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/broad_phase.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadc267fcf9d6b6a6e034f3460a93d96ec3d262ddaf2a64271a24a178c2b637c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): bindings/typescript/src.ts/pipeline/world.ts:984 \u00B7 bindings/typescript/src.ts/pipeline/world.ts:1205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/pipeline/world.ts"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bdc8b9d2cbb260f18cf3c567b63e2e407578c9a157b1713f2a5156f4626e3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): bindings/typescript/src.ts/dynamics/impulse_joint.ts:595 \u00B7 bindings/typescript/src.ts/dynamics/impulse_joint.ts:675 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/impulse_joint.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63c53d95e07abd66f648d3bab100976cffd13b5fdbf3d20df43409e004eb22d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/shape.ts:669 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:699 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90f54d351d21d5d1cfa543cc5e48db8db00bfeb2bc050a640f9914dfb24f30f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): bindings/typescript/src.ts/dynamics/impulse_joint_set.ts:110 \u00B7 bindings/typescript/src.ts/dynamics/multibody_joint_set.ts:90 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/impulse_joint_set.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8df8c2c0cca209f4cd7bbe51941924f41193ebab2a91ff7bbe316045170c3ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/shape.ts:1891 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:1966 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"593030c2917cf5ada6716b014d12af2b1a86f21f9715128327d345dc15e44928"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/toi.ts:66 \u00B7 bindings/typescript/src.ts/geometry/toi.ts:146 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/toi.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"156c9bbfa102109c320ba43c542aa399556b9e92ebd77e173e3b6051f8f6b618"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): bindings/typescript/src.ts/dynamics/rigid_body.ts:1412 \u00B7 bindings/typescript/src.ts/geometry/collider.ts:1945 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body.ts"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdddecc9204d19e9d29c7f8b13e0bc969cfc485366c17ee0eb9edd355d70e911"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): bindings/typescript/src.ts/dynamics/rigid_body.ts:142 \u00B7 bindings/typescript/src.ts/dynamics/rigid_body.ts:185 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25d6b9b8a457d1a7e7be0540f138cd8a7230cbe00616229943b78ef84a831b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): bindings/typescript/src.ts/pipeline/physics_pipeline.ts:25 \u00B7 bindings/typescript/src.ts/pipeline/serialization_pipeline.ts:26 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/pipeline/physics_pipeline.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1206909ba13890133689ae4177c3cc803f69238f5b5354e41ab8a5fb80674739"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): bindings/typescript/src.ts/pipeline/world.ts:937 \u00B7 bindings/typescript/src.ts/pipeline/world.ts:974 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/pipeline/world.ts"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"526d9b6c5edefd53ff8e123212ccd868e7eea626b61399b4fc0d0d764ea4c8f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): bindings/typescript/src.ts/dynamics/impulse_joint.ts:543 \u00B7 bindings/typescript/src.ts/dynamics/impulse_joint.ts:642 \u00B7 bindings/typescript/src.ts/dynamics/impulse_joint.ts:745 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/impulse_joint.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f6788b126d2e716d74bfea39cfc85a5bf9c3d13b712c4633bb855d9dd7490c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/broad_phase.ts:441 \u00B7 bindings/typescript/src.ts/geometry/collider.ts:1223 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/broad_phase.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5c8c65ed0905629f61908bce3606e0b370133deb61cce2392ac84bc2cdffbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): bindings/typescript/src.ts/geometry/shape.ts:1124 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:1871 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:1946 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fc0db0d6096ba89bcf3256d70bd026a457d9c2fda6c79becf04a1b28431a87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): bindings/typescript/src.ts/dynamics/rigid_body_set.ts:69 \u00B7 bindings/typescript/src.ts/geometry/collider_set.ts:89 \u00B7 bindings/typescript/src.ts/geometry/collider_set.ts:174 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body_set.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd5b7d3d40c68af4033b19b184593d6b4c658ebc20679db140bef82ed3480fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): bindings/typescript/testbed3d/src/Graphics.ts:542 \u00B7 bindings/typescript/testbed3d/src/Graphics.ts:556 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed3d/src/Graphics.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26156b88406cb619a138efb0046237fa3b5e28a1bf63d1d6d2064f7726b81b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): bindings/typescript/src.ts/geometry/broad_phase.ts:30 \u00B7 bindings/typescript/src.ts/pipeline/debug_render_pipeline.ts:58 \u00B7 bindings/typescript/src.ts/pipeline/physics_pipeline.ts:29 \u00B7 bindings/typescript/src.ts/pipeline/serialization_pipeline.ts:30 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/broad_phase.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"406308210b7f464677e672c95338b29be65f79ba3ec7da4b482ad5fbc2617457"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/contact.ts:61 \u00B7 bindings/typescript/src.ts/geometry/toi.ts:58 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/contact.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdbb7217268a75d110a01d6f83320f7f9834948983119c0a026683792dba535"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/ray.ts:97 \u00B7 bindings/typescript/src.ts/geometry/ray.ts:167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/ray.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"abde1c0b2b4699e5f9bef7303d90db0055e287b7edccb4b261736c70e1833136"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): bindings/typescript/testbed2d/src/Graphics.ts:120 \u00B7 bindings/typescript/testbed3d/src/Graphics.ts:278 \u2014 the two spans are one implementation copied and then locally edited \u2014 94 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed2d/src/Graphics.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a596f7c05d8cc747c5a09e8216dbe86b99215e82755fcc3f36589aa385d031f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): bindings/typescript/src.ts/math.ts:34 \u00B7 bindings/typescript/src.ts/math.ts:122 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/math.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47aa16151b3cd0ae46104163a2a074721a37546a2c7954cdacbb556756ecba6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): bindings/typescript/src.ts/dynamics/impulse_joint.ts:289 \u00B7 bindings/typescript/src.ts/dynamics/multibody_joint.ts:60 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/impulse_joint.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bd89a6822717b4ca608c833fc49a546cfc5f79ab85d53e16e5ac9175e5c53e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): bindings/typescript/src.ts/dynamics/island_manager.ts:16 \u00B7 bindings/typescript/src.ts/geometry/broad_phase.ts:26 \u00B7 bindings/typescript/src.ts/pipeline/physics_pipeline.ts:25 \u00B7 bindings/typescript/src.ts/pipeline/serialization_pipeline.ts:26 \u2014 the 4 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/island_manager.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e80b6bb49d8541e0505459a6d1a8fe98058feba405cc12652fab58b57a98589"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): bindings/typescript/src.ts/dynamics/rigid_body.ts:1300 \u00B7 bindings/typescript/src.ts/dynamics/rigid_body.ts:1322 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body.ts"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab27d50209c0a351f0b4b06f9f172e36bf128781a145a00f386e57d4bcf4442"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): bindings/typescript/src.ts/dynamics/soft_body.ts:1629 \u00B7 bindings/typescript/src.ts/dynamics/soft_body.ts:1789 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/soft_body.ts"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dcd77f64db0ab5b7d4fd85b17d3cdd267f45da1957a89dff2cc5a77a8eeb7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): bindings/typescript/testbed3d/src/Graphics.ts:200 \u00B7 bindings/typescript/testbed3d/src/Graphics.ts:211 \u00B7 bindings/typescript/testbed3d/src/Graphics.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed3d/src/Graphics.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23b32205de6c870dc81cd5502e45fe53431b100f6a1af1bdad08abe92895db7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): bindings/typescript/testbed3d/src/Graphics.ts:216 \u00B7 bindings/typescript/testbed3d/src/Graphics.ts:227 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed3d/src/Graphics.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2beb50334801cdcd4ed36192275751c755040a3013d134366824bd65e20b15a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts:469 \u00B7 bindings/typescript/src.ts/geometry/narrow_phase.ts:176 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde51009d5fc674007443ee93dcbda804854a0070170a2b2d92f7445b92448e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): bindings/typescript/src.ts/geometry/shape.ts:193 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:205 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:214 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc93fddbb6ec38a677aa270d19624296fe28d2304628b2e6ccff3e541fa99a26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/shape.ts:414 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:423 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f5d3da9ea81924a0e5d8538dd16173bcf8f25d92d4378341776af3ab70a531"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): bindings/typescript/src.ts/dynamics/rigid_body.ts:429 \u00B7 bindings/typescript/src.ts/dynamics/rigid_body.ts:483 \u00B7 bindings/typescript/src.ts/dynamics/soft_body.ts:709 \u00B7 bindings/typescript/src.ts/dynamics/soft_body.ts:727 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde744353ff1d7e2b1e94089720c32084d7e1f432d985910cda7fa76a6a1a20b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/collider.ts:1101 \u00B7 bindings/typescript/src.ts/geometry/collider.ts:1342 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/collider.ts"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"580bb18281368e7d276e36b1e77fb3528be58e6010974bd5473ac79228268ce1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): bindings/typescript/testbed2d/src/Graphics.ts:169 \u00B7 bindings/typescript/testbed3d/src/Graphics.ts:381 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed2d/src/Graphics.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f14f6ab09f3740c51a90cae2bc96586dcbdd6ffec4c5eed581e47cffba7677"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts:339 \u00B7 bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts:364 \u00B7 bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts:459 \u00B7 bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts:490 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"881388f990619ec89721e6f05f3e091f52b175eb6d820f85017ba309e820f209"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): bindings/typescript/src.ts/dynamics/impulse_joint.ts:266 \u00B7 bindings/typescript/src.ts/dynamics/impulse_joint.ts:277 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/impulse_joint.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"add5dd12959c3b45ef5814cd7a879e8fd84d8eda5aa3cb7f2e978fc58c0d654a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): bindings/typescript/src.ts/dynamics/soft_body.ts:631 \u00B7 bindings/typescript/src.ts/dynamics/soft_body.ts:650 \u00B7 bindings/typescript/src.ts/dynamics/soft_body.ts:666 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/soft_body.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb24c2b5814f2c0d18e17a5f34f652164c360d4d973c2fbc50381e0c8f336c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): bindings/typescript/testbed2d/src/Graphics.ts:239 \u00B7 bindings/typescript/testbed2d/src/Graphics.ts:270 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed2d/src/Graphics.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df54b8bfdfc9b8aa0089e5edb9334c480659c7635111569a0cca5dbd052f9d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): bindings/typescript/src.ts/geometry/shape.ts:487 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:545 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:592 \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":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ce651c2fde491138eb14ed1b9ef287a6fd6a59253cdad72f63798bc8d8dcaa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts:500 \u00B7 bindings/typescript/src.ts/geometry/narrow_phase.ts:188 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"633c65e9cd7e21a284a87e2df9d60c59b4ef5106fc9b7519df9d46b831f91727"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): bindings/typescript/src.ts/geometry/shape.ts:300 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:320 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39fb32ddb6f26305a9a5ca4d8a7aafe6c9ded25bb82de25760dabefc4f51795"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): bindings/typescript/src.ts/geometry/shape.ts:1491 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:1503 \u00B7 bindings/typescript/src.ts/geometry/shape.ts:1512 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"37659a3f00878e848e57363c0fa1fbb5b75ea29b3b0f3428df47d7330b07b80e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addCollider (cyclomatic 19, cognitive 13): addCollider has cyclomatic complexity 19 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed3d/src/Graphics.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"b981f83c319aa010216ac8e8fc7f8ca9692fec0b48815a76bad671be7c6bb8bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addCollider (cyclomatic 14, cognitive 12): addCollider has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed2d/src/Graphics.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"672cb40a0630f24ba137679b775e692a644afd4cf9509177afe17c83c80339da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convexDecomposition (cyclomatic 12, cognitive 20): convexDecomposition has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/collider.ts"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0720ddc6b9238d522d1973ee8e1f0f626f6da2a55955b493493b0ae334715d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function intoRaw (cyclomatic 12, cognitive 13): intoRaw has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/soft_body.ts"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d12d698d2a9759ded744e0631be632e36625e87937ad668a5cf73865fd94073"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initWorld (cyclomatic 11, cognitive 10): initWorld has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed3d/src/demos/softTearing.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3ee85f3126281a10c4d356b27d2451d2021efe000af36ddd876a5aff08c6b1"}},{"ruleId":"R3","level":"warning","message":{"text":"bindings/typescript/src.ts/dynamics/soft_body.ts: 2237 lines of code: bindings/typescript/src.ts/dynamics/soft_body.ts has 2237 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/soft_body.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84369e90e57aaf2b74db3c037daef6d2f96f0cfcb5998258f58bb9a5e1f25b1"}},{"ruleId":"R3","level":"warning","message":{"text":"bindings/typescript/src.ts/geometry/collider.ts: 2039 lines of code: bindings/typescript/src.ts/geometry/collider.ts has 2039 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/collider.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e20d93ee008e0b46f2d81201d95865337e73d60e6c8e02d5baf927e62c41088"}},{"ruleId":"R3","level":"warning","message":{"text":"bindings/typescript/src.ts/geometry/shape.ts: 1769 lines of code: bindings/typescript/src.ts/geometry/shape.ts has 1769 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/shape.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa42d833156e99b336d38d8d6817628eda354be5b8655d9f08c36459c94cfed8"}},{"ruleId":"R3","level":"warning","message":{"text":"bindings/typescript/src.ts/dynamics/rigid_body.ts: 1657 lines of code: bindings/typescript/src.ts/dynamics/rigid_body.ts has 1657 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"862fc202ccae91236a99d2fd962b0a808072c2f5500436a95cfeb6a5dc5f26ef"}},{"ruleId":"R3","level":"warning","message":{"text":"bindings/typescript/src.ts/pipeline/world.ts: 1422 lines of code: bindings/typescript/src.ts/pipeline/world.ts has 1422 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/pipeline/world.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"427c8f06ee91a1e9b76b93264c3ae1f388e4a3aaa384c90419a3213629d4f094"}},{"ruleId":"R3","level":"warning","message":{"text":"bindings/typescript/src.ts/dynamics/impulse_joint.ts: 823 lines of code: bindings/typescript/src.ts/dynamics/impulse_joint.ts has 823 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/impulse_joint.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"018864981f018fa5cbcf7f1f566f3e307edf1aaae610345fe9dd4968eee3bded"}},{"ruleId":"R3","level":"warning","message":{"text":"bindings/typescript/testbed3d/src/Graphics.ts: 573 lines of code: bindings/typescript/testbed3d/src/Graphics.ts has 573 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed3d/src/Graphics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2069642cc1aa2af720fb0daa5e9b6f4016c63c2d02b0ad2a16d42f8fca16d280"}},{"ruleId":"R3","level":"warning","message":{"text":"bindings/typescript/src.ts/geometry/broad_phase.ts: 510 lines of code: bindings/typescript/src.ts/geometry/broad_phase.ts has 510 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/geometry/broad_phase.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"369e78aa6ea8662a2457679bc1bd4e9ec6b0e75dc219976ee62319e3bcf79727"}},{"ruleId":"R3","level":"warning","message":{"text":"bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts: 461 lines of code: bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts has 461 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/control/ray_cast_vehicle_controller.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b65025ae7d624768ea0e51faf3d8f5fc43ae9bdccc666318b6bb745b559b02"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~15 LoC): no import path from any entry point (3 application, 3 tooling, 4 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/rapier-compat/src2d/init.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebafb6cc1822bc239d098c8e0275e9cb62d3c8ec6ed6bff8fbd1860751c1b00"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~15 LoC): no import path from any entry point (3 application, 3 tooling, 4 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/rapier-compat/src3d/init.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d04b2d28c5d678309637e20f2b3ee633d952402b4e7ca4c6b9e3f97d8659e47"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (3 application, 3 tooling, 4 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/rapier-compat/src2d/raw.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d771358cbdd3874c2cee5aa5c38d6843f5d0b937491867c8b429a36f52fd9186"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (3 application, 3 tooling, 4 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/rapier-compat/src3d/raw.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d94441e8fba7198b5e904a73383300c00f540008138d34a2e7897513b1b6b98"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027typedoc\u0027: Declared in bindings/typescript/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9afe1e6c166c227029b3bf60a811e712a66d76e97d6a25cf37c65475e507026a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027wasm-opt\u0027: Declared in bindings/typescript/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6fe30d74a52ba9fbca855c2fd0c6c83e96bb6e8aa09e1fe3250a0fda0778548b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027wasm-pack\u0027: Declared in bindings/typescript/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cd43f124147bf025169d0f7b5cc9dee20452db73de3ecd190250f99936195589"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (5 files): bindings/typescript/src.ts/dynamics/index.ts \u2192 bindings/typescript/src.ts/dynamics/impulse_joint.ts \u2192 bindings/typescript/src.ts/dynamics/rigid_body.ts \u2192 bindings/typescript/src.ts/geometry/index.ts \u2192 bindings/typescript/src.ts/geometry/broad_phase.ts \u2192 bindings/typescript/src.ts/dynamics/index.ts (one verified cycle inside a mutually-dependent group of 31 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/index.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daabf287d3a06e51db9ee2f903ad8ab31f2997f80cdcb8b9fb63c6ba0c03708"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.parameters.running || this.parameters.stepping\u0060 appears character-identically in 2 files \u2014 bindings/typescript/testbed2d/src/Testbed.ts, bindings/typescript/testbed3d/src/Testbed.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/testbed2d/src/Testbed.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a36f163a83a672426e05ddeb8b1b33fff4ef2732464c507fb29567451b9a9e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof x != \u0022number\u0022 || typeof y != \u0022number\u0022\u0060 appears character-identically in 2 files \u2014 bindings/typescript/src.ts/dynamics/rigid_body.ts, bindings/typescript/src.ts/geometry/collider.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body.ts"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a497276852f4b7bee3ed70e0dd5d12988e15c6acdff9bfde53c90a36208ee02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof x != \u0022number\u0022 || typeof y != \u0022number\u0022 || typeof z != \u0022number\u0022\u0060 appears character-identically in 2 files \u2014 bindings/typescript/src.ts/dynamics/rigid_body.ts, bindings/typescript/src.ts/geometry/collider.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src.ts/dynamics/rigid_body.ts"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81894084cad94043554786a2c75ad1e1a008701688264b3f7b3aa62db5f3520"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i == 0 or i == nsubdivs or j == 0 or j == nsubdivs\u0060 appears character-identically in 2 files \u2014 bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py, bindings/python/rapier-testbed/rapier_testbed/examples3/trimesh3.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-testbed/rapier_testbed/examples3/heightfield3.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac11bee58846b5fb39056529a734cfa21a0b7c1247171f6dfb05394d81b3b8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!co1.changes.needs_narrow_phase_update() \u0026\u0026 !co2.changes.needs_narrow_phase_update() \u0026\u0026 !body_awake(co1) \u0026\u0026 !body_awake(co2)\u0060 appears character-identically in 2 files \u2014 src/geometry/narrow_phase/intersections.rs, src/geometry/narrow_phase/pair_update.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":"src/geometry/narrow_phase/intersections.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"20680e0cf30b675b38138fc6a4b8d4574defc76efdbcf2601a138ae1dee55c0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!co1.flags.active_collision_types.test(rb_type1, rb_type2) \u0026\u0026 !co2.flags.active_collision_types.test(rb_type1, rb_type2)\u0060 appears character-identically in 2 files \u2014 src/geometry/narrow_phase/intersections.rs, src/geometry/narrow_phase/pair_update.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":"src/geometry/narrow_phase/intersections.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d764a5edd0a3958c44043127f28a00965269fb00f114cd67da34d9ecb10c2f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!out.cross_tangled_vertices.is_empty() || !out.cross_tangled_elements.is_empty()\u0060 appears character-identically in 2 files \u2014 src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs, src/geometry/narrow_phase/soft_contacts/soft_contacts_vertex_pass.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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7420079b9993a18c8528f0f294491f7c8ec6c4d2583fdec4d64cc3bdc09e718"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!params.soft_bodies.recovery.edge_speculation \u0026\u0026 mesh.is_closed() \u0026\u0026 other_mesh.is_closed()\u0060 appears character-identically in 2 files \u2014 src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_edge_contacts.rs, src/geometry/narrow_phase/soft_contacts/soft_contacts_edge_pass.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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_edge_contacts.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa5cd0a6ee6693c3e4b4654e5b9b11c145440a9e411f585a2f4bacbd9eedb92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!self.manifold_id[ii].is_padding() \u0026\u0026 contact_id != u8::MAX\u0060 appears character-identically in 2 files \u2014 src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs, src/dynamics/solver/contact_constraint/contact_with_twist_friction.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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd1485bcc62dc8476602acf473cf22320514806c08d8d209982e5cba66f5aae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060aabb.mins.is_finite() \u0026\u0026 aabb.maxs.is_finite()\u0060 appears character-identically in 3 files \u2014 bindings/python/rapier-py-3d/src/pipeline.rs, src/geometry/broad_phase_bvh/update.rs, src/pipeline/physics_pipeline/substep.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":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"c926e1d026412634a0a7a45c01024b021aae2903bb60b6791e9056a60d6066f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060constraint.solver_vel1[ii] == u32::MAX || constraint.solver_vel2[ii] == u32::MAX\u0060 appears character-identically in 2 files \u2014 src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs, src/dynamics/solver/contact_constraint/contact_with_twist_friction.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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4d0ea72509c4aa6cdeae7c6b58e50013717dad3ab6d3266d4d1983e019b532"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.collider1 == self.platform1 || context.collider2 == self.platform2\u0060 appears character-identically in 2 files \u2014 examples2d/one_way_platforms2.rs, examples3d/one_way_platforms3.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":"examples2d/one_way_platforms2.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"847b35d0f350c3803695bf5f52748f16288d8d84314f268d0e6f4fc6a1d0707b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i == 0 || i == nsubdivs || j == 0 || j == nsubdivs\u0060 appears character-identically in 3 files \u2014 examples3d-f64/trimesh3_f64.rs, examples3d/heightfield3.rs, examples3d/trimesh3.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":"examples3d-f64/trimesh3_f64.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d3ee4b5cdfb336e244402b9db1692768f718baa199aa080c74222738015a4c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i == 0 || j == 0 || i == n - 1 || j == n - 1\u0060 appears character-identically in 2 files \u2014 examples3d/debug_self_intersect3.rs, examples3d/soft_tearing3.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":"examples3d/debug_self_intersect3.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"643755e36b5acd13fca7a3b530caae9b4cead973bf55227fd5a227c14778601e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060id != u32::MAX \u0026\u0026 (id as usize) \u003C bodies.len()\u0060 appears character-identically in 3 files \u2014 src/dynamics/solver/soft_constraint/soft_contact.rs, src/dynamics/solver/soft_constraint/soft_element_constraint/soft_elastic_constraint.rs, src/dynamics/solver/soft_constraint/soft_element_constraint/soft_scalar_constraint.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":"src/dynamics/solver/soft_constraint/soft_contact.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7650bad100b49d1f195179090c9f833fe5367b849cfe1d1c5c9f52a9fac338be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060manifolds[ii].data.relative_dominance \u003C= 0 \u0026\u0026 !manifold_id[ii].is_padding()\u0060 appears character-identically in 2 files \u2014 src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs, src/dynamics/solver/contact_constraint/contact_with_twist_friction.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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5a05de9766dbb6e4fd30bc6c550d8e8308ec05bce73c40a55431b5f6e6fe28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060manifolds[ii].data.relative_dominance \u003E= 0 \u0026\u0026 !manifold_id[ii].is_padding()\u0060 appears character-identically in 2 files \u2014 src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs, src/dynamics/solver/contact_constraint/contact_with_twist_friction.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":"src/dynamics/solver/contact_constraint/contact_with_coulomb_friction.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e73425cf233e6e7f9825be5f419cf3a84f26600071f0a1fba8b95a2008ef4e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060material.plastic_yield \u003E 0.0 \u0026\u0026 material.plastic_creep \u003E 0.0\u0060 appears character-identically in 2 files \u2014 src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_writeback.rs, src/dynamics/solver/soft_fem/system/soft_fem_system_assemble.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":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_writeback.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd1dd457d8273a127b52993c1fe2a9e7aaf5a41241b0d45e116f5c95f0dcbd8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mesh.is_closed() \u0026\u0026 other_mesh.is_closed()\u0060 appears character-identically in 2 files \u2014 src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_edge_contacts.rs, src/geometry/narrow_phase/soft_contacts/soft_contacts_edge_pass.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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_edge_contacts.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f81af6a7d8becc943c219bd850991bbdab35e21b1a359547def55905591df47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent_handle1 != ground_handle \u0026\u0026 parent_handle1 != sensor_handle\u0060 appears character-identically in 3 files \u2014 examples2d/sensor2.rs, examples3d/ccd3.rs, examples3d/sensor3.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":"examples2d/sensor2.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79d8033b0b1c32ad1b9f7a3b54fc259ec6e3383fd59b7bc3bffe330cbf51ae6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent_handle2 != ground_handle \u0026\u0026 parent_handle2 != sensor_handle\u0060 appears character-identically in 3 files \u2014 examples2d/sensor2.rs, examples3d/ccd3.rs, examples3d/sensor3.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":"examples2d/sensor2.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6b65f9513a9d4834a71e3b1fb26792d8976d9ba6f285550ccfb296723d1107"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rb.ids.active_island_id == island_id as u32 \u0026\u0026 !rb.is_sleeping() \u0026\u0026 rb.is_enabled() \u0026\u0026 rb.is_dynamic_or_kinematic()\u0060 appears character-identically in 2 files \u2014 src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_rigid_coupling.rs, src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_body_contacts.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":"src/dynamics/solver/soft_constraint/soft_constraints_set/soft_constraint_rigid_coupling.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16503eb36141af386fdfcda33c0ea56dbb7434b0b5b5def3c300b540c27b462"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rb.is_dynamic_or_kinematic() \u0026\u0026 !rb.is_sleeping()\u0060 appears character-identically in 2 files \u2014 src/dynamics/joint/impulse_joint/impulse_joint_set.rs, src/dynamics/solver/solver_body.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":"src/dynamics/joint/impulse_joint/impulse_joint_set.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56117f8aaa19cd36ef8bc290c0c039362049342f1a4c3dded1db7a2c896c220"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rb_handle1 == rb_handle2 \u0026\u0026 co1.parent.is_some()\u0060 appears character-identically in 2 files \u2014 src/geometry/narrow_phase/intersections.rs, src/geometry/narrow_phase/pair_update.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":"src/geometry/narrow_phase/intersections.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcda5f4b196d5bf78ce6d9622b225e0d3d297b368e40d38d49a15f4bc964e0a3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recovery.overlap_skin_volume || recovery.overlap_patch_constraints != SoftPatchConstraints::Keep\u0060 appears character-identically in 2 files \u2014 src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs, src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_volume_constraints.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":"src/dynamics/solver/soft_constraint/soft_contact_assembly/soft_contact_assembly_vertex_contacts.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8c51d833c7dfe836ddd14e36543ba2b207b226d3822dab1559ef23cdae69cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selectable \u0026\u0026 manifold .data .solver_flags .contains(SolverFlags::COMPUTE_RIGID_IMPULSES) \u0026\u0026 manifold.data.num_active_contacts() != 0\u0060 appears character-identically in 2 files \u2014 src/geometry/narrow_phase/mod.rs, src/geometry/narrow_phase/solver_graph.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":"src/geometry/narrow_phase/mod.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"417136709decda454a201d2b10349d55ad4c16a5a09a876e4eeae912f37e156a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.bodies.is_empty() \u0026\u0026 self.colliders.is_empty() \u0026\u0026 self.soft_bodies.is_empty()\u0060 appears character-identically in 2 files \u2014 bindings/python/rapier-py-3d/src/pipeline.rs, src/pipeline/physics_pipeline/quarantine.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":"bindings/python/rapier-py-3d/src/pipeline.rs"},"region":{"startLine":2479}}}],"partialFingerprints":{"codehealthFindingId/v1":"404cdfef53008120355c2165bc6353045588b7a1d8a526c49c3e8e2b7cab32c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.draw_surfaces \u0026\u0026 self.colliders_visible\u0060 appears character-identically in 2 files \u2014 src_testbed/graphics.rs, src_testbed/graphics/graphics_soft_bodies.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":"src_testbed/graphics.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"084f5be62cf2600f64acb50c877d6210f245b5f34d34ae2530d6770b3d6baaaf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step_id.is_multiple_of(200) \u0026\u0026 world.bodies.len() \u003C= 7\u0060 appears character-identically in 2 files \u2014 examples2d/one_way_platforms2.rs, examples3d/one_way_platforms3.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":"examples2d/one_way_platforms2.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a763e9cba89105e8a0fd4c01729a3b8ed2b3198891edfcdd926f4f73fd61b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060vertices.is_empty() || indices.is_empty()\u0060 appears character-identically in 3 files \u2014 src/dynamics/soft_body/soft_body_builder/soft_body_builder_shapes.rs, src/geometry/collider_set.rs, src_testbed/graphics/graphics_soft_bodies.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":"src/dynamics/soft_body/soft_body_builder/soft_body_builder_shapes.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3080af0eeafca1a1e59bdf65aa31f5a3b2eb2d568a8bdca7a4b966e272af87dd"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 0/1 C# file(s) are in a nullable-enabled context. This repository commits no project file, so nothing sets \u003CNullable\u003Eenable\u003C/Nullable\u003E for it: a file is enabled only by its own \u0060#nullable enable\u0060, by a Unity \u0060csc.rsp\u0060 with \u0060-nullable:enable\u0060 for its assembly, or as a file-based app (\u0060#:\u0060 directives) whose \u0060#:property Nullable\u0060 does not turn it off. NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060intersectionsWithRay\u0060 turns every \u0060Err\u0060 into \u0060true\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/broad_phase.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ae48e6e2e9588c57c7ffabca2fa309b212ae05fabf6e6900ac424965a82502"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060intersectionsWithPoint\u0060 turns every \u0060Err\u0060 into \u0060true\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/broad_phase.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c215157a5516748cb2786fd69b46b25d0d4f9d194a7f5473b36f2d920d53bc22"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060intersectionsWithShape\u0060 turns every \u0060Err\u0060 into \u0060true\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/broad_phase.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf1527998c6d81fb4fc55a93f74f7af983c67f566ebd214d800e27e8a298470"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060collidersWithAabbIntersectingAabb\u0060 turns every \u0060Err\u0060 into \u0060true\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/geometry/broad_phase.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b341e5cc81bf76febbe4c51e493e5251aff9d4f6fc470dd854189305268b6c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060with_filter\u0060 turns every \u0060Err\u0060 into \u0060true\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/typescript/src/utils.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c32dd8db643369690f21bf3214ec32c57fb97202f617567bbd501e43d9a7df8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060filter_contact_pair\u0060 turns every \u0060Err\u0060 into \u0060Some(rapier::geometry::SolverFlags::default())\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/python/rapier-py-3d/src/events_hooks.rs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c26724d61fab39416afb2b7be0cba78aacee0e0d82277945ba8642f07ae0e6e"}}],"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-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-676","guid":"550e6fab-2881-3252-8a05-c688a6b19c14","name":"Use of Potentially Dangerous Function","shortDescription":{"text":"Use of Potentially Dangerous Function"},"helpUri":"https://cwe.mitre.org/data/definitions/676.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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"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-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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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-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":107,"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."]}]}