{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"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":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"turbovec::search::scan_with_luts (cyclomatic 113): turbovec::search::scan_with_luts has cyclomatic complexity 113 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (turbovec::search::scan_with_luts::scan_range_neon) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: turbovec/src/search.rs holds 12 of the 28 functions over the threshold \u2014 including the worst \u2014 and 215 of the 350 points over it (61%), 3.8\u00D7 the next-largest file (turbovec/src/io_v7.rs at 57). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":5686}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb38c6a8010a7fa398647e26a98b877881eb72f9c36ff5e44f6bc05e9920f2"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::io_v7::load_image (cyclomatic 64): turbovec::io_v7::load_image has cyclomatic complexity 64 (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":"turbovec/src/io_v7.rs"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"981569bab754a1079151f277989bcb9b02e3f1da69170acee82ecdfe9233b911"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::search::search (cyclomatic 55): turbovec::search::search has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: turbovec/src/search.rs holds 12 of the 28 functions over the threshold \u2014 including the worst \u2014 and 215 of the 350 points over it (61%), 3.8\u00D7 the next-largest file (turbovec/src/io_v7.rs at 57). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":3940}}}],"partialFingerprints":{"codehealthFindingId/v1":"19552733f37b2900c2b778de06b6bf7a6590e9fb4943ba059d32706f75554b69"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::search::avx2_post_flush_heap_update (cyclomatic 31): turbovec::search::avx2_post_flush_heap_update 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: turbovec/src/search.rs holds 12 of the 28 functions over the threshold \u2014 including the worst \u2014 and 215 of the 350 points over it (61%), 3.8\u00D7 the next-largest file (turbovec/src/io_v7.rs at 57). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fc3ab206628bd7c3b5843f713ca86ef94bdf860754138663dfe29e9940697d"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::search::build_query_lut (cyclomatic 31): turbovec::search::build_query_lut 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: turbovec/src/search.rs holds 12 of the 28 functions over the threshold \u2014 including the worst \u2014 and 215 of the 350 points over it (61%), 3.8\u00D7 the next-largest file (turbovec/src/io_v7.rs at 57). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":3502}}}],"partialFingerprints":{"codehealthFindingId/v1":"190974e8289b802f06f2a21d1f6be7fd5b006cd6176e0e29d46f5bf98dfb1b32"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::search::scan_with_luts::scan_range_neon (cyclomatic 31): turbovec::search::scan_with_luts::scan_range_neon 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. This shape REPEATS in the file: one other method here (turbovec::search::scan_with_luts) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: turbovec/src/search.rs holds 12 of the 28 functions over the threshold \u2014 including the worst \u2014 and 215 of the 350 points over it (61%), 3.8\u00D7 the next-largest file (turbovec/src/io_v7.rs at 57). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":5739}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90c7f4313943d59a274adf5a560c3181a6ec8ed2c91e53b5fa6fc16a57362ac"}},{"ruleId":"D1","level":"warning","message":{"text":"TurboQuantVectorDb.insert (cyclomatic 28): TurboQuantVectorDb.insert has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab11ffc0b4fae40e55cd3808e1c51c86f62375e5f889d2d4f2a95ac5ba35755e"}},{"ruleId":"D1","level":"warning","message":{"text":"TurboQuantVectorStore.query (cyclomatic 28): TurboQuantVectorStore.query has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/llama_index.py"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4ff627a2964f03e2516c2341ffb8cc21b09aded1774ac2ac5c448c141e26fa"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::search::search_multi_query_avx2 (cyclomatic 27): turbovec::search::search_multi_query_avx2 has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: turbovec/src/search.rs holds 12 of the 28 functions over the threshold \u2014 including the worst \u2014 and 215 of the 350 points over it (61%), 3.8\u00D7 the next-largest file (turbovec/src/io_v7.rs at 57). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3cd70f60154f6eaa50a223b18a97c6ad0c2aea4aa060f5f8c138b46e0af3a2"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::io_v7::cursor_state (cyclomatic 23): turbovec::io_v7::cursor_state has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/io_v7.rs"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"1110f8f411945d9fa111e2f4a18c25802aa18f759d631a9b4d61d0d6d0192ab6"}},{"ruleId":"D1","level":"warning","message":{"text":"changelog_gate.strip_literals (cyclomatic 23): changelog_gate.strip_literals 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":".github/scripts/changelog_gate.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f94b3cdc3745363622cfccd55d81ec9c33a53241fe2da946a930f83ee5738a"}},{"ruleId":"D1","level":"warning","message":{"text":"TurboQuantVectorStore._single_filter_match (cyclomatic 22): TurboQuantVectorStore._single_filter_match has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/llama_index.py"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8d6befcfca112bcbaf7fa6b30a24967e79fc33c71df1514f67baee08c7dd54"}},{"ruleId":"D1","level":"warning","message":{"text":"TurboQuantIndex::from_parts (cyclomatic 21): TurboQuantIndex::from_parts has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/lib.rs"},"region":{"startLine":2596}}}],"partialFingerprints":{"codehealthFindingId/v1":"e240af12826b8e7948d35f81050de009a4e907bf5b7bf55190e9530c338f2c3e"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::search::search_multi_query_avx512bw (cyclomatic 21): turbovec::search::search_multi_query_avx512bw has cyclomatic complexity 21 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: turbovec/src/search.rs holds 12 of the 28 functions over the threshold \u2014 including the worst \u2014 and 215 of the 350 points over it (61%), 3.8\u00D7 the next-largest file (turbovec/src/io_v7.rs at 57). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58d8d834108019e253aa356626dd01f676bc59f8ed6bf41393ac7e314f8d26f"}},{"ruleId":"D1","level":"warning","message":{"text":"TurboQuantVectorStore._search_vector (cyclomatic 21): TurboQuantVectorStore._search_vector 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":"turbovec-python/python/turbovec/langchain.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d9045762012e6297c96078ec5f9cf901dda0c6e75f5dd5532133b8b4822bd1"}},{"ruleId":"D1","level":"warning","message":{"text":"TurboQuantDocumentStore.embedding_retrieval (cyclomatic 20): TurboQuantDocumentStore.embedding_retrieval 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":"turbovec-python/python/turbovec/haystack.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ef9e97cfc4df2d8be1b717e26ec070c02c0e81a24227875433497bbaabe5b8"}},{"ruleId":"D1","level":"warning","message":{"text":"TurboQuantIndex::encode_and_append (cyclomatic 19): TurboQuantIndex::encode_and_append 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":"turbovec/src/lib.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be9bec1b50e23af00cead5c91864e5fd3b0cb70424327d6a0ef09a5e08e0bef"}},{"ruleId":"D1","level":"warning","message":{"text":"TurboQuantIndex::swap_remove (cyclomatic 19): TurboQuantIndex::swap_remove 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":"turbovec/src/lib.rs"},"region":{"startLine":3089}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cac8bc744f087a39c93761e348fe8441f7aded378ce0c0be1329276cab4068a"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::pack::planes_stats (cyclomatic 19): turbovec::pack::planes_stats has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/pack.rs"},"region":{"startLine":2255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1184aade48c90b0214829ad619bc4662241ce128e2b3bb688660f5a5613db63c"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::search::avx512_post_flush_heap_update (cyclomatic 19): turbovec::search::avx512_post_flush_heap_update 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: turbovec/src/search.rs holds 12 of the 28 functions over the threshold \u2014 including the worst \u2014 and 215 of the 350 points over it (61%), 3.8\u00D7 the next-largest file (turbovec/src/io_v7.rs at 57). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd96c3573e2add11b7c2265ff6bd8ca0ab173ecf29820343966ca90206417b9"}},{"ruleId":"D1","level":"warning","message":{"text":"TurboQuantIndex::calibrate_2d (cyclomatic 18): TurboQuantIndex::calibrate_2d 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":"turbovec/src/lib.rs"},"region":{"startLine":2824}}}],"partialFingerprints":{"codehealthFindingId/v1":"47590697d47a19d1cf27fbef9088cc312ab9af6cc259f950998a9c88aa7e0ddd"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::search::neon_block_topk_update (cyclomatic 18): turbovec::search::neon_block_topk_update has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: turbovec/src/search.rs holds 12 of the 28 functions over the threshold \u2014 including the worst \u2014 and 215 of the 350 points over it (61%), 3.8\u00D7 the next-largest file (turbovec/src/io_v7.rs at 57). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":3134}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ad32c7bf5a163eca10a59548ebc565cfcdbc69821289f1be122ff377e968c6"}},{"ruleId":"D1","level":"warning","message":{"text":"TurboQuantVectorStore.add (cyclomatic 18): TurboQuantVectorStore.add 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":"turbovec-python/python/turbovec/llama_index.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c36ca36f088855bf51532ed6c947ae0c79a949bcea735225a757ddbc5301af4"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::search::score_block_permute_dot_neon (cyclomatic 17): turbovec::search::score_block_permute_dot_neon has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: turbovec/src/search.rs holds 12 of the 28 functions over the threshold \u2014 including the worst \u2014 and 215 of the 350 points over it (61%), 3.8\u00D7 the next-largest file (turbovec/src/io_v7.rs at 57). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":3005}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaede9648a74514833947c483e26fb92751249eed65f70b590fb4c8bfb8b557"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::io::sweep_stale_tmps (cyclomatic 16): turbovec::io::sweep_stale_tmps 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":"turbovec/src/io.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b810fbc489448e96d4d0fcaa8f09db21d580d9f067266da5d02d26681324d4d2"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::search::score_lut_block_neon (cyclomatic 16): turbovec::search::score_lut_block_neon has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: turbovec/src/search.rs holds 12 of the 28 functions over the threshold \u2014 including the worst \u2014 and 215 of the 350 points over it (61%), 3.8\u00D7 the next-largest file (turbovec/src/io_v7.rs at 57). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"60fd8745c241124b8f850af058ae9ca766441a3324fd776b6d48d533f2b27f27"}},{"ruleId":"D1","level":"warning","message":{"text":"turbovec::search::rerank_legacy (cyclomatic 16): turbovec::search::rerank_legacy has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: turbovec/src/search.rs holds 12 of the 28 functions over the threshold \u2014 including the worst \u2014 and 215 of the 350 points over it (61%), 3.8\u00D7 the next-largest file (turbovec/src/io_v7.rs at 57). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":5542}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b69c43286f1478bcf68569486ef6a3baa46854c2fbf7c82a5692c93e162ef7"}},{"ruleId":"D1","level":"warning","message":{"text":"TurboQuantVectorStore._store_texts_and_vectors (cyclomatic 16): TurboQuantVectorStore._store_texts_and_vectors 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":"turbovec-python/python/turbovec/langchain.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cccf09868ef6358799e109c4bd40d514f64f75f27584757f04e70349545788b"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::scan_with_luts (cognitive 278): turbovec::search::scan_with_luts has cognitive complexity 278 (threshold 15). Drivers by points: if/else 151 (276 pts), loops 25 (75 pts), boolean chains 30 (nesting depth added 175). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (turbovec::search::scan_with_luts::scan_range_neon) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":5686}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf609ea09a49de01de75329e031ab072deecf3856b8656908ed3429fda1b241"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::search (cognitive 117): turbovec::search::search has cognitive complexity 117 (threshold 15). Drivers by points: if/else 42 (73 pts), boolean chains 19, loops 4 (14 pts), match/switch 5 (11 pts) (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":3940}}}],"partialFingerprints":{"codehealthFindingId/v1":"132572ca3f8e410d00b45b04bcd6ba39aa16ef3c3278b80bb921e0d85a103483"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::search_multi_query_avx2 (cognitive 106): turbovec::search::search_multi_query_avx2 has cognitive complexity 106 (threshold 15). Drivers by points: if/else 15 (62 pts), loops 13 (44 pts) (nesting depth added 78). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"633d01533a9d849ecc03f8fd5d0fa841e6cfc3063863bbb4f6a9d44f85e4cb70"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::io_v7::load_image (cognitive 94): turbovec::io_v7::load_image has cognitive complexity 94 (threshold 15). Drivers by points: if/else 46 (59 pts), loops 12 (19 pts), boolean chains 14, match/switch 1 (2 pts) (nesting depth added 21). 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":"turbovec/src/io_v7.rs"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fd6cfad2ebca6577f755d632b0ce7a91b09ca7fe82124b607e59034a5f7826"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::scan_with_luts::scan_range_neon (cognitive 78): turbovec::search::scan_with_luts::scan_range_neon has cognitive complexity 78 (threshold 15). Drivers by points: if/else 21 (56 pts), loops 5 (15 pts), boolean chains 7 (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (turbovec::search::scan_with_luts) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":5739}}}],"partialFingerprints":{"codehealthFindingId/v1":"d825ee26fd52efaa1c4e10db799fdc5d3f7fea7c68a6bfe1538e01042bbce7d6"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::avx2_post_flush_heap_update (cognitive 77): turbovec::search::avx2_post_flush_heap_update has cognitive complexity 77 (threshold 15). Drivers by points: if/else 24 (60 pts), loops 7 (16 pts), boolean chains 1 (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"0953acd3687a38e43ac6c72c9cd2711e21094d3ee7db4bf53268a0cd9b3dacba"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::build_query_lut (cognitive 77): turbovec::search::build_query_lut has cognitive complexity 77 (threshold 15). Drivers by points: if/else 23 (44 pts), loops 12 (31 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":3502}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01ad89513e5b0987b214c482b01ca469b9f897d0df64fd267c19a9d24682433"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantVectorStore.query (cognitive 59): TurboQuantVectorStore.query has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (39 pts), loops 3 (6 pts), ternaries 2 (6 pts), boolean chains 5, error handling 1 (3 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/llama_index.py"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee43358e39ef380a27c38a1cc13f09757bdb448ca2ed33b6e72ced03adacd42"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::search_multi_query_avx512bw (cognitive 54): turbovec::search::search_multi_query_avx512bw has cognitive complexity 54 (threshold 15). Drivers by points: loops 14 (39 pts), if/else 7 (15 pts) (nesting depth added 33). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d3a41a1b7e4c11b1df0d3fb326042842f2c45dce4b8368e43cafcbc60f5597"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::score_block_permute_dot_neon (cognitive 50): turbovec::search::score_block_permute_dot_neon has cognitive complexity 50 (threshold 15). Drivers by points: loops 12 (34 pts), if/else 7 (16 pts) (nesting depth added 31). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":3005}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac418e2012af193e60cc225ffc51a16072eb75594b76f63338db507a99083363"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantVectorStore._search_vector (cognitive 50): TurboQuantVectorStore._search_vector has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (37 pts), loops 4 (9 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/langchain.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b1cc84eb7367c8180891f8bd9454157351ed5c58e5433cf3c66b81a4abeaaa"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::avx512_post_flush_heap_update (cognitive 49): turbovec::search::avx512_post_flush_heap_update has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (38 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"287a6b954573b5614fbab01f24aebcf8a1d96f0e9409e324b11007b3545deb5d"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantVectorDb.insert (cognitive 45): TurboQuantVectorDb.insert has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (25 pts), loops 6 (10 pts), ternaries 3 (7 pts), boolean chains 2, error handling 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":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba38dd589be92b1c4e0f6e11bc9530356fd1df88b3dfaa60809766adfc800d74"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::score_lut_block_neon (cognitive 43): turbovec::search::score_lut_block_neon has cognitive complexity 43 (threshold 15). Drivers by points: loops 10 (23 pts), if/else 9 (20 pts) (nesting depth added 24). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4a9d678f5defb1db9a73c25fe2988196da7c0e657dbf68bbc6c93d14afc0eb"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::score_block_permute_smmla_neon (cognitive 43): turbovec::search::score_block_permute_smmla_neon has cognitive complexity 43 (threshold 15). Drivers by points: loops 11 (29 pts), if/else 6 (14 pts) (nesting depth added 26). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":2790}}}],"partialFingerprints":{"codehealthFindingId/v1":"4490b225a520a03c8b08793fee6a67bcaf610c842923225eaf2ff00a9072ccef"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::score_block_smmla_vm8 (cognitive 41): turbovec::search::score_block_smmla_vm8 has cognitive complexity 41 (threshold 15). Drivers by points: loops 10 (25 pts), if/else 7 (16 pts) (nesting depth added 24). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":2656}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fd88a7e8202111a5956d333866a30295fc3f58cf579f747794e6d969954990"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::pack::planes_stats (cognitive 39): turbovec::pack::planes_stats has cognitive complexity 39 (threshold 15). Drivers by points: loops 11 (22 pts), if/else 11 (17 pts) (nesting depth added 17). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/pack.rs"},"region":{"startLine":2255}}}],"partialFingerprints":{"codehealthFindingId/v1":"389731e31b0ebeeab60d0fbec94abbc7f3ff238955b83e820cb868bfd57dd190"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantDocumentStore.embedding_retrieval (cognitive 39): TurboQuantDocumentStore.embedding_retrieval has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 3 (6 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/haystack.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"7740e83bcc4a50b029f8a720d4c138c7b8b84d5785d8624cbfc49d498ee38c02"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::search_multi_query_permute_dot (cognitive 38): turbovec::search::search_multi_query_permute_dot has cognitive complexity 38 (threshold 15). Drivers by points: loops 9 (25 pts), if/else 4 (13 pts) (nesting depth added 25). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (turbovec::search::search_multi_query_permute_dot_gfni) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec1b75d0be747416dfceb1d3939d2e02fb5f650c8ad9eb6f0cfc0037e614a11"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::search_multi_query_permute_dot_gfni (cognitive 38): turbovec::search::search_multi_query_permute_dot_gfni has cognitive complexity 38 (threshold 15). Drivers by points: loops 9 (25 pts), if/else 4 (13 pts) (nesting depth added 25). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (turbovec::search::search_multi_query_permute_dot) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd65531b712c83d8bf2f3388f8d7d189f933eae26956a74ad6d37c843efe259"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::neon_block_topk_update (cognitive 37): turbovec::search::neon_block_topk_update has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 5 (10 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":3134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9b5e9c4b501973f3d73150c36386106b3f28fba5baca000c5c42926b8830b9"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::score_block_smmla_vm8_2bit (cognitive 35): turbovec::search::score_block_smmla_vm8_2bit has cognitive complexity 35 (threshold 15). Drivers by points: loops 9 (22 pts), if/else 6 (13 pts) (nesting depth added 20). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":2916}}}],"partialFingerprints":{"codehealthFindingId/v1":"0787dfa2baf0b43efd2f1614f1fd051b2ea088b9ec651b2b77ede637208ad33a"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::score_4query_block_neon (cognitive 34): turbovec::search::score_4query_block_neon has cognitive complexity 34 (threshold 15). Drivers by points: loops 9 (24 pts), if/else 6 (10 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":2290}}}],"partialFingerprints":{"codehealthFindingId/v1":"79804a56e756b0570be8453a68b567af11161141a882e9a0ea397d61a682d279"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantIndex::encode_and_append (cognitive 33): TurboQuantIndex::encode_and_append has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (27 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/lib.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7bcb2143ff7e6f45eeceb665e1719edfc53bfa52bd6d2f8c916bfcd17bd4d8"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantIndex::swap_remove (cognitive 33): TurboQuantIndex::swap_remove has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (31 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":"turbovec/src/lib.rs"},"region":{"startLine":3089}}}],"partialFingerprints":{"codehealthFindingId/v1":"4626b36d96efd04eb282ab93a6bef1d4071979e68129dab0abb5aa123112d465"}},{"ruleId":"D2","level":"warning","message":{"text":"changelog_gate.strip_literals (cognitive 33): changelog_gate.strip_literals has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (24 pts), ternaries 1 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/changelog_gate.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffc787bd9356a5ca0c26f78f2b6d557975e33ed22b6f9133d006069158313a2"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::search_multi_query_vnni (cognitive 32): turbovec::search::search_multi_query_vnni has cognitive complexity 32 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 5 (12 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c686c6ef7666fa9c173e19ca89cccfbe1056398e299cae2ffda2396bc82a473"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::rerank_legacy (cognitive 28): turbovec::search::rerank_legacy has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 3, loops 2, match/switch 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":5542}}}],"partialFingerprints":{"codehealthFindingId/v1":"062d44c729ac4beb706e1b41ad528ebd7c8e0b14e1ded84b65cca324e6272cce"}},{"ruleId":"D2","level":"warning","message":{"text":"_persist._check_json_faithful (cognitive 28): _persist._check_json_faithful has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (7 pts), ternaries 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":"turbovec-python/python/turbovec/_persist.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67041eb6b5e739268a5a731dc92c01426b760af593792094e5b195a26e3db6b"}},{"ruleId":"D2","level":"warning","message":{"text":"IdMapIndex::add_with_ids_2d (cognitive 26): IdMapIndex::add_with_ids_2d has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/id_map.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f952a614bba67d0ab187874ba5bb47b709edf15d1423dd37cc2e89e35bbce74"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::score_query_into_heap (cognitive 26): turbovec::search::score_query_into_heap has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 3 (6 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":3811}}}],"partialFingerprints":{"codehealthFindingId/v1":"122602f86932ae2975a4bf403a4721b66e9b4be6861f5155cb167abfd95e8b3c"}},{"ruleId":"D2","level":"warning","message":{"text":"IdMapIndex::search (cognitive 26): IdMapIndex::search has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 3 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/src/lib.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30a34100ff591ffe73814a8326a80c23b2ef6eae1e06d277718045efef10eca"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::io_v7::cursor_state (cognitive 25): turbovec::io_v7::cursor_state has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 4, boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/io_v7.rs"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4f2f616ecb529364fe230cfdc93ba861db53ae398a91133bb5e9ea05733d3c"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::search_single_query_vnni_blk2 (cognitive 25): turbovec::search::search_single_query_vnni_blk2 has cognitive complexity 25 (threshold 15). Drivers by points: loops 7 (16 pts), if/else 3 (8 pts), boolean chains 1 (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":1557}}}],"partialFingerprints":{"codehealthFindingId/v1":"437707c97fa86ef190547ace8958cdadad5cf000f0a122303c164a1fba79ad61"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantDocumentStore._write_documents_locked (cognitive 25): TurboQuantDocumentStore._write_documents_locked has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/haystack.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"25297b733f153f106113a10f03a5de2ee3eb17d950147da0f70a8510a474107e"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantIndex::from_parts (cognitive 24): TurboQuantIndex::from_parts has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 5, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/lib.rs"},"region":{"startLine":2596}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee8ef084e1815cd44b680732d9fb96295d5217aeae510e460cf8bb1ad0bde0c"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantVectorDb._embed_missing (cognitive 24): TurboQuantVectorDb._embed_missing has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 2 (4 pts), ternaries 1 (4 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":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cc0b0acbe1317f4ef6d1907fbcc2d5a1912d71e75972bcfa5e5e4ddbdee74a"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantVectorStore._single_filter_match (cognitive 23): TurboQuantVectorStore._single_filter_match has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/llama_index.py"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a36a333dba07ed08b9c5c9c79b787ed9294abe8df6d058cfbeef672158e4c8"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::io::sweep_stale_tmps (cognitive 22): turbovec::io::sweep_stale_tmps has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 2, loops 1, match/switch 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":"turbovec/src/io.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b8f32f4f1a1c4bcbbf79d5127ec0d6eb8e4607d772de3891ebea1b616d82fe"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantVectorDb._embed_missing_async (cognitive 22): TurboQuantVectorDb._embed_missing_async has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, ternaries 1 (4 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"92716e8af2a205e5aae5743d1fe693a1ba8c6e08cf20e3293b093aa263318ef1"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantVectorStore.add (cognitive 22): TurboQuantVectorStore.add has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 4 (6 pts), boolean chains 2, error handling 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":"turbovec-python/python/turbovec/llama_index.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"264928f433d5f93cdabb62f48f26f132b1c9b3dba0b025ee75c1723c1ae8763f"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::pack::planes4_seq_block (cognitive 21): turbovec::pack::planes4_seq_block has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (14 pts), if/else 3 (7 pts) (nesting depth added 13). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/pack.rs"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"570ed7166f19a937353cd47688280c123f726fe83435b7fa1db4f877e0db78d4"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::rotation::wht_block_avx512 (cognitive 21): turbovec::rotation::wht_block_avx512 has cognitive complexity 21 (threshold 15). Drivers by points: loops 9 (18 pts), if/else 3 (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":"turbovec/src/rotation.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"6987c11f79f85b78496e6eb1de607e03b3527cdd802e069660ef19cb1a7ef322"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::score_2bit_block_vm8_neon (cognitive 21): turbovec::search::score_2bit_block_vm8_neon has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 5 (8 pts), boolean chains 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d3b232c9c4a027c608247773a7c44d596874b27ae7df798b7920e682899cc6"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::rank_full_known (cognitive 21): turbovec::search::rank_full_known has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (13 pts), if/else 5 (8 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":5053}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e80c982a3b10fa5213cec5c002b1ba668e91e9c3e2fd7b18b958f19f3e12271"}},{"ruleId":"D2","level":"warning","message":{"text":"changelog_gate.cfg_test_regions (cognitive 21): changelog_gate.cfg_test_regions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/changelog_gate.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb3d91b08a43329da0573db93cfe863ea8e0a821d71d2964ba48f0de8680d85"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::encode::fused_quantize_scale_pack (cognitive 20): turbovec::encode::fused_quantize_scale_pack has cognitive complexity 20 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 2 (3 pts), match/switch 1 (2 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":"turbovec/src/encode.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b7fb39c9d01478963e940aca429aa1fe70bcfc0d721befed670aadf0bf205a"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::encode::fused_quantize_scale_pack_avx2 (cognitive 20): turbovec::encode::fused_quantize_scale_pack_avx2 has cognitive complexity 20 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 6 (8 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":"turbovec/src/encode.rs"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf364d5cfba1d717b18d77720dbea2a8ee7ae730727f16d6d9a3e06afdb54805"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::rotation::wht_block (cognitive 20): turbovec::rotation::wht_block has cognitive complexity 20 (threshold 15). Drivers by points: loops 9 (18 pts), if/else 2 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (turbovec::rotation::wht_block_avx2) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/rotation.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec3ae7cac30d150ba545b31f7e7e2e8bf87c0215af760b49cbb7fee8403d68b"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::rotation::wht_block_avx2 (cognitive 20): turbovec::rotation::wht_block_avx2 has cognitive complexity 20 (threshold 15). Drivers by points: loops 9 (18 pts), if/else 2 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (turbovec::rotation::wht_block) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/rotation.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63d0d4cb5f68ac5cf24e487117e379bdff46d0d1ee3a4aad207494245c3f87f"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::score_block_vm8_single (cognitive 20): turbovec::search::score_block_vm8_single has cognitive complexity 20 (threshold 15). Drivers by points: loops 7 (14 pts), if/else 4 (6 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":2565}}}],"partialFingerprints":{"codehealthFindingId/v1":"605861f24ac4727955d8eadb648cb5d8102e0d8ab51fe25a3f0f1afc9439a984"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantVectorStore._store_texts_and_vectors (cognitive 20): TurboQuantVectorStore._store_texts_and_vectors has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 5 (7 pts), boolean chains 1, error handling 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":"turbovec-python/python/turbovec/langchain.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"753f28cb87e0eb227becf74b6421f171688c18ad5d3d4d536cd27018faa66edd"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantIndex::calibrate_2d (cognitive 19): TurboQuantIndex::calibrate_2d has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/lib.rs"},"region":{"startLine":2824}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fab21a9271851ec9873c992885011253af47595603bd3735bbf6c29e97e514"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::build_low_planes_scalar (cognitive 19): turbovec::search::build_low_planes_scalar has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":4612}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d1aadef19ed06664ce4f35847d7b2d098f1b814032acb4cf4a83d20b5c9eb7"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::table_sums_neon (cognitive 19): turbovec::search::table_sums_neon has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 3 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":4912}}}],"partialFingerprints":{"codehealthFindingId/v1":"539ef0ac9f4e7ca13e04b811e8cde5a60b7e9680b7544878f994b1a21a204981"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::encode::fused_quantize_scale_pack_scalar (cognitive 18): turbovec::encode::fused_quantize_scale_pack_scalar has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 1 (4 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":"turbovec/src/encode.rs"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cb6f651f7e8c9165e3eb01f60e8a8127d27f53b8af7bfd2a848d676aaae19e"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::pack::planes_from_seq_owned (cognitive 18): turbovec::pack::planes_from_seq_owned has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/pack.rs"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb99ee362dd976ef5c96075d52a9dca035dbabc03547006653856ff786cf6566"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::prefetch_candidate (cognitive 18): turbovec::search::prefetch_candidate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (2 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":5260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f4d560ebe2a5f3520de927ef7b6fcdfa1ea2efc30cb2c99e3935763b4ba451"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantDocumentStore._commit_batch (cognitive 18): TurboQuantDocumentStore._commit_batch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 4 (6 pts), boolean chains 2, error handling 1 (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":"turbovec-python/python/turbovec/haystack.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf593085d6a87ab64d1f0c21af16d41d23f0bb59fac4ee9b2636831273157152"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantIndex::try_search_with_mask (cognitive 17): TurboQuantIndex::try_search_with_mask has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/lib.rs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cbb68afdc88ce446f8a39367e3bd77b0ac1aed02d402b7bd1c600f726f2b8c"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::search::build_sign_lut (cognitive 17): turbovec::search::build_sign_lut has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 3 (6 pts) (nesting depth added 5). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: turbovec/src/search.rs holds 28 of the 66 functions over the threshold \u2014 including the worst \u2014 and 1021 of the 1477 points over it (69%), 11.5\u00D7 the next-largest file (turbovec/src/io_v7.rs at 89). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":5165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4097faed75bbc5fb1656d4f4d6b1a312c58f84688b016c4beaf7ff4f467647"}},{"ruleId":"D2","level":"warning","message":{"text":"changelog_gate.substantive (cognitive 17): changelog_gate.substantive has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/changelog_gate.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aec5dba2970791f5bef11f3442624654c89f45310d19bd2f56d6387dd9df1a7"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::convert::read_legacy (cognitive 16): turbovec::convert::read_legacy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 2, loops 1 (2 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":"turbovec/src/convert.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b1a9a97f36cfe18e4f1487f9648bb38936fb4fac50c20c9554cd70599c6a30"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::convert::write_legacy (cognitive 16): turbovec::convert::write_legacy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 4 (6 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/convert.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afb7c622766c26501b73b12d56da646e876847e83e1362a8d1fccd1079827b9"}},{"ruleId":"D2","level":"warning","message":{"text":"turbovec::pack::pack_blocked (cognitive 16): turbovec::pack::pack_blocked has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/pack.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e774720a2e792915fa0c1cab026e5f07b2be2a35ce839a639ac30dfeda09126"}},{"ruleId":"D2","level":"warning","message":{"text":"TurboQuantVectorDb._unlink_payload (cognitive 16): TurboQuantVectorDb._unlink_payload has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb8f822cf062c191d29b76f307074a63a2e665504dd6428f42204796ac51e12"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: turbovec::search::scan_with_luts: FunctionTooLong \u2014 turbovec::search::scan_with_luts runs 790 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 690 over it, 7.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":5686}}}],"partialFingerprints":{"codehealthFindingId/v1":"6422a85c050d9fab82d2a5d6d05b08032d05ed32f0958e2dc4c00d3ebb2b8bcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/search.rs: FileTooLong \u2014 3925 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 91 free functions. The bar is 500 significant lines; this is 3425 over it, 7.85\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":"turbovec/src/search.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f1b0f3d6d3d1ec0854008f218477180d0c98781ce62f16c9e5d1ad2321055c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TurboQuantIndex: ClassTooLong \u2014 1100 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 55 methods, 2 blocks, lines 355-3314. The bar is 400 significant lines; this is 700 over it, 2.75\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":"turbovec/src/lib.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"823402c912883d013bc95689f5b11e8d9b4a2f3056e2250ce419064a95d41109"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: turbovec::search::search: FunctionTooLong \u2014 turbovec::search::search runs 254 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":3940}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acbc69a5691900b16625fc6f379fbd0f0ce397369d0c60b32e7443c7e6a297b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1204 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: TurboQuantIndex (2 blocks, 355-3314). The bar is 500 significant lines; this is 704 over it, 2.41\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":"turbovec/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64e9df0c427ac002cd3322c91efc483200a573a0ac6900d8cc107ae1ca30659"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/pack.rs: FileTooLong \u2014 1128 significant 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 79 free functions. The bar is 500 significant lines; this is 628 over it, 2.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":"turbovec/src/pack.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8013761f0bbf256616d72a06d667e671909bbed38b9a99f5544bd8f7e3492a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: turbovec::io_v7::load_image: FunctionTooLong \u2014 turbovec::io_v7::load_image runs 210 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 110 over it, 2.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":"turbovec/src/io_v7.rs"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2d4436a0aae48c93fd33f7a2a01a492f542e7e74697721f066e39aed0832c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: turbovec::search::search_multi_query_avx512bw: FunctionTooLong \u2014 turbovec::search::search_multi_query_avx512bw runs 193 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"60de1ba3adca4693a192e9b6f4f657e809964afc39edf3cbc091887ac0b7e6c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/io_v7.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 37 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":"turbovec/src/io_v7.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85597b27e3a53ebcf7696e36e43000d7ee81c90501bfa98282b264833ec8065b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TurboQuantIndex: 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":"turbovec/src/lib.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"990983bb6a38af651b86944f051ef004ab4f1e22883ed9d0565775de9e20bb0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 857 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 49 free functions. The bar is 500 significant lines; this is 357 over it, 1.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d46208c80037c5b900a0cd27c412cb617cb13924da92562d9bfed46210fd37"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TurboQuantVectorDb: 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":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f237d45116ea49f8368b13d8023b0a0809fe015272e6a82ab445d2c495ca82"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TurboQuantDocumentStore: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/haystack.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6614850ff55ddc8ce2de095cb76b1c2936f6cd39a8eb4bb8506ead084031b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TurboQuantIndex.encode_and_append: MethodTooLong \u2014 encode_and_append 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":"turbovec/src/lib.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4648a6c471c18974194326bdeabeda7a4d660b869820e3a3e6a326d4beed31c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: turbovec/agno.py: FileTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 208 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e2d918c3809eb4f0c87ed997f82c1c302067320b0761b6d2c1e4009edcfe7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: turbovec::search::search_multi_query_avx2: FunctionTooLong \u2014 turbovec::search::search_multi_query_avx2 runs 141 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4584c0da17e20f050b1b90e1b0db5bcc1789741b3d9a2e74d8b36335629f79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/encode.rs: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/encode.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a56be8a55296f80d6ac21bc749317f3386df6ea2520346fb1c452c9eee643e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IdMapIndex: 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":"turbovec/src/id_map.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"556f02d0b0d473f0446c5c378d7bed3a065fbc039cfc99bd0f672ebb4294b111"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TurboQuantVectorStore: 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":"turbovec-python/python/turbovec/langchain.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ed14819971472cc106581ef51b346ec0eab992f4338a6f9c4e835da8dc2abc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: turbovec/llama_index.py: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 98 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/llama_index.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb050a4a8440ff69334aaa3115b0b4c32bfd8665c129e14905b520ad0215c78b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: turbovec::search::build_query_lut: FunctionTooLong \u2014 turbovec::search::build_query_lut 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":"turbovec/src/search.rs"},"region":{"startLine":3502}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b2ea1ff44d02d52100945f7783d9fa0723650d8dfe3e729311c7ce62b4758f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: turbovec/haystack.py: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 82 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/haystack.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"658b8b8e936991fa1d9b4fef59a458a7e6ab6149e37961d8d342996d210e2720"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: turbovec/langchain.py: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 73 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":"turbovec-python/python/turbovec/langchain.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4a5b1d85e12252a2c4d18d85b0cb6081bf0764db0f60b1a504196ae0ffb647"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: turbovec::rotation::wht_block_avx512: FunctionTooLong \u2014 turbovec::rotation::wht_block_avx512 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":"turbovec/src/rotation.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba680c09b945477171af1304d83a7ccbca5759a86256115a32a47c075d791679"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rotation.rs: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/rotation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ab956cfa2de9a5f7a0aeda1889c3e06cd2f773887e040bfa85d6b3e97b29db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: turbovec::search::avx2_post_flush_heap_update: FunctionTooLong \u2014 turbovec::search::avx2_post_flush_heap_update 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":"turbovec/src/search.rs"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28b033712cc0a87d937d50e946c3c2165bdc68eb1ae15f6abac22343a37454e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TurboQuantVectorStore: 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":"turbovec-python/python/turbovec/llama_index.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8397030ce14664573c9683b8fa97c0fc131ff7e6c0138c872ecfee5f44f2326"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TurboQuantIndex.try_search_with_mask: MethodTooLong \u2014 try_search_with_mask 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":"turbovec/src/lib.rs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"be77ba265708b29bb77d6baa064e396ee2428876ab34e3e018fbef21146f058b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: turbovec::rotation::wht_block_avx2: FunctionTooLong \u2014 turbovec::rotation::wht_block_avx2 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":"turbovec/src/rotation.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"953fb300578248923ad950bf42391a7f7d907ba5846656cb68faefa04a89b4cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: turbovec::search::score_lut_block_neon: FunctionTooLong \u2014 turbovec::search::score_lut_block_neon runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"d485eae96b753d05cd24a62c90538f78e2b3f793ee048dd1772b73ecd9af8638"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: turbovec::search::avx512_post_flush_heap_update: FunctionTooLong \u2014 turbovec::search::avx512_post_flush_heap_update runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"21eebea92001bfe5213f5b898e79d488e43c8a755cf772760437a98b54c61ff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): turbovec/src/search.rs:2575-2639 | turbovec/src/search.rs:2666-2765 | turbovec/src/search.rs:2800-2883 | turbovec/src/search.rs:2926-3000 | turbovec/src/search.rs:3014-3122 \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":"turbovec/src/search.rs"},"region":{"startLine":2575}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4fbf7624c5b2f8855cba310d23022a88377fe74a1b57bf5407b3d2939eaf15"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): turbovec-python/src/lib.rs:814-827 | turbovec-python/src/lib.rs:981-997 | turbovec-python/src/lib.rs:1413-1426 | turbovec-python/src/lib.rs:1462-1476 \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":"turbovec-python/src/lib.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96180513cb13d9f3d8035b768c4d60bdb45b4d61159e4dd134e75e70c826aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): turbovec/src/lib.rs:883-1177 | turbovec/src/lib.rs:2012-2143 | turbovec/src/lib.rs:2333-2352 | turbovec/src/lib.rs:2824-2948 \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":"turbovec/src/lib.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3e983ae6d937e26ef65369859808c1ff9a2ad4fa72fe39139f8eed724dcdce"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): turbovec/src/search.rs:767-954 | turbovec/src/search.rs:1954-2077 | turbovec/src/search.rs:3145-3228 | turbovec/src/search.rs:3831-3881 \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":"turbovec/src/search.rs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"0983450988dd4b0a700ab7b59a11d83426780f56f4b360c3dc5cfd31334c71f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 130\u002B corresponding lines): turbovec/src/rotation.rs:494-630 | turbovec/src/rotation.rs:666-795 | turbovec/src/rotation.rs:810-954 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 130 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or 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":"turbovec/src/rotation.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf025cfc1ca956d0b9c90233dd2763f6ce4bfee035d1c44b26e85c5e8c075d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): turbovec-python/src/lib.rs:459-541 | turbovec-python/src/lib.rs:1011-1064 \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":"turbovec-python/src/lib.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e4ad353bbdaa876d0913739867a43eb5268c1add2d5beb62dff3614aa368c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): turbovec/src/pack.rs:617-641 | turbovec/src/pack.rs:659-696 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/pack.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9bec865ad7924985edec5ecb61c5f93ef0b56b47f492bc1ddee5c50eb02537"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): turbovec/src/io_v7.rs:207-223 | turbovec/src/io_v7.rs:243-263 \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":"turbovec/src/io_v7.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c43c0b2a6dc02c971c15eb57361558d5cd28bcf82fc69af6e55b3bb506ed31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): turbovec/src/lib.rs:689-722 | turbovec/src/lib.rs:730-756 \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":"turbovec/src/lib.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"b246525d526ea2e4daab126d10f27c7e48bdf75c5c014517ced8a72b90841b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): turbovec-python/python/turbovec/agno.py:376-408 | turbovec-python/python/turbovec/agno.py:411-452 \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":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e090536ea282447bd23d97e5544d21e77600bdf0779303703f224391a3f54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): turbovec/src/encode.rs:86-115 | turbovec/src/encode.rs:132-158 \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":"turbovec/src/encode.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeda6593f473716f6159da0a4ec22bbbb2c603b8c00754e88b6606f244eb8383"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): turbovec-python/python/turbovec/langchain.py:265-286 | turbovec-python/python/turbovec/langchain.py:295-321 \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":"turbovec-python/python/turbovec/langchain.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c5229feacce515628a94112990dbece4472ffb573ca1e92a5ab9fbc0952d09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): turbovec/src/id_map.rs:902-924 | turbovec/src/id_map.rs:928-946 \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":"turbovec/src/id_map.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe0b183f0a1a4ff0f02bd34a47036c54e89b6a22b55691836fa149fa0f2c532"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): turbovec/src/search.rs:2490-2509 | turbovec/src/search.rs:2524-2544 | turbovec/src/search.rs:3462-3478 \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":"turbovec/src/search.rs"},"region":{"startLine":2490}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da24b44d13e22ea162f0654935950ee8a8db8b1620d8c39dbde2c3c151d04bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): turbovec/src/pack.rs:1161-1176 | turbovec/src/pack.rs:1189-1207 \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":"turbovec/src/pack.rs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db3155b8963bd63ade703de334bdb728b1765f6865dfe595f423c09bc2d9557"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): turbovec-python/python/turbovec/agno.py:956-970 | turbovec-python/python/turbovec/agno.py:978-998 \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":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f84901570afb5ae5ca039a42a7be6398d9cae99a240051530d79124865dead"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): turbovec-python/src/lib.rs:788-804 | turbovec-python/src/lib.rs:1436-1452 \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":"turbovec-python/src/lib.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cb18cf7d65f3ac18a988999bb61cf5c886e8a1c8320319de93ad40207acf23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): turbovec/src/pack.rs:1487-1494 | turbovec/src/pack.rs:1501-1508 \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":"turbovec/src/pack.rs"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ac670d05485cdbbb4d93c4fe9ca5335a0a48bfec046d5c34bc134e0e5e6a2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): turbovec/src/pack.rs:1597-1609 | turbovec/src/pack.rs:1611-1619 \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":"turbovec/src/pack.rs"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bf25ed805cd122f76c43afae43acce2b9e625e1eba1ea60f71730f999628e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): turbovec-python/src/lib.rs:913-920 | turbovec-python/src/lib.rs:1490-1497 \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":"turbovec-python/src/lib.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecbcb06bc9f6aa45252b4591099962439eabdcc656173d8be646d4c8eb8ffb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): turbovec/src/pack.rs:1689-1696 | turbovec/src/pack.rs:2213-2222 \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":"turbovec/src/pack.rs"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3ba68c51993223b4ed30ff04115ea149609b7c95110a30f2bd523706ca48e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): turbovec/src/pack.rs:1375-1386 | turbovec/src/pack.rs:1389-1400 | turbovec/src/pack.rs:1403-1414 | turbovec/src/pack.rs:1419-1430 \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":"turbovec/src/pack.rs"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd341e54448cb3d10fdfc46132b99e0af47fe3eb2da8b8f7f4b2ed0c5b8a1df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): turbovec/src/id_map.rs:278-286 | turbovec/src/id_map.rs:291-299 \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":"turbovec/src/id_map.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee8598beee92ad118ccf845b3f5c29b1496206898f3639f2260f08f3cb19195"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): turbovec-python/src/lib.rs:750-763 | turbovec-python/src/lib.rs:1394-1407 \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":"turbovec-python/src/lib.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be792765f45af928d52cd906c174ac5e60e67e150f0ed2a7f308266906a4f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): turbovec-python/python/turbovec/langchain.py:334-339 | turbovec-python/python/turbovec/langchain.py:348-355 \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":"turbovec-python/python/turbovec/langchain.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"649def7aeaec26cc2d0d3ac45b2a2ba4d2df912746064858b2184a1f959f6ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): turbovec/src/io_v7.rs:167-177 | turbovec/src/io_v7.rs:179-189 \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":"turbovec/src/io_v7.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd5a40ab16d8dc747abe8d4909fb9d62fcec70e7d3dec349a888b43b0348b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): turbovec/src/io_v7.rs:193-203 | turbovec/src/io_v7.rs:227-239 \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":"turbovec/src/io_v7.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f85ce81fb2027ff9ade6bf9c4e2b1bf9258838c3603b05630ba94480739d3f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): turbovec-python/python/turbovec/haystack.py:1010-1016 | turbovec-python/python/turbovec/llama_index.py:618-625 \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":"turbovec-python/python/turbovec/haystack.py"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"5281e2c4f978276cdd333e27fae2abcf282c76e8a9a0dace396b122ce02c49ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): turbovec/src/id_map.rs:885-891 | turbovec/src/lib.rs:2153-2161 \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":"turbovec/src/id_map.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a772ee356214a1e2536e63afc3c3d9baa7648bb6ce58127bd90644ffcc62aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): turbovec-python/python/turbovec/agno.py:1346-1352 | turbovec-python/python/turbovec/langchain.py:974-978 \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":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0010ac759d3af34f8d2d5474e368aa32fdba8e530ed164c0bc0321550c59fdf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): turbovec/src/convert.rs:205-209 | turbovec/src/io_v7.rs:1126-1130 \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":"turbovec/src/convert.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6532945ec1a62c7662bd321fe312ac6a989a641ab8ef93ba677e799ace29147"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): turbovec/src/convert.rs:211-215 | turbovec/src/io_v7.rs:1133-1137 \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":"turbovec/src/convert.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6b55458625cf72bb908a178e1346fe7e62bb05018a3e05c6de1496ef9c4c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): turbovec/src/id_map.rs:867-872 | turbovec/src/lib.rs:2460-2465 \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":"turbovec/src/id_map.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"830737a287bf4cdedb2d5825ccbefd6eeac17df51844fca5cce8debead0a41e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): turbovec-python/python/turbovec/agno.py:1355-1357 | turbovec-python/python/turbovec/haystack.py:991-993 | turbovec-python/python/turbovec/langchain.py:981-983 | turbovec-python/python/turbovec/llama_index.py:1196-1198 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or 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":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bec99f7911e4bfe636cd28bd585c3e3a40d6a2e6e57204de9419e06137f6d53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): turbovec/src/search.rs:6001-6032 | turbovec/src/search.rs:6493-6525 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:6001\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":6001}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9671347eecc76e4bb5ff3f669d0fd6e2fe61482a8f6b78b0b71fdf882bcbcb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): turbovec-python/src/lib.rs:703-734 | turbovec-python/src/lib.rs:1347-1378 \u2014 both copies are in the same file, so extract the block 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":"turbovec-python/src/lib.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc1a00779eea12b5574503764b0903e1b1e3d80c012f30dc97bd28ce77283eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201341 lines \u00D7 2): turbovec/src/search.rs:6336-6376 | turbovec/src/search.rs:6888-6927 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:6336\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":6336}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0ee16cb2c6871bf5438b5212c82963b00d3a45ef894c556ea7c200dba58d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201327 lines \u00D7 2): turbovec/src/search.rs:801-827 | turbovec/src/search.rs:1211-1231 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:801\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b54665ffa7413ec7c82071ea9b4fefb1dd9ab499c29a0f77464a1a9cad08f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 2): turbovec/src/search.rs:2667-2693 | turbovec/src/search.rs:2801-2823 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:2667\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":2667}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af7521cc378ef1edd01bf00c11387ee53d05dd7acda4ebc02f5d95400284e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201325 lines \u00D7 2): turbovec/src/search.rs:1992-2011 | turbovec/src/search.rs:2199-2223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:1992\u0060 it begins part-way through the construct above it, so those exact 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":"turbovec/src/search.rs"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb41e1ed948df15af74dabcc220a7ed289184f64065864ae2c4c476d48345f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): turbovec/src/search.rs:534-555 | turbovec/src/search.rs:719-741 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:534\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":"turbovec/src/search.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06ac167bca20de42a40a82e79faa9165c9079dde19d89c5a2aafa97159ca338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): turbovec/src/search.rs:2745-2765 | turbovec/src/search.rs:2863-2883 | turbovec/src/search.rs:2980-3000 | turbovec/src/search.rs:3102-3122 \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 \u0060turbovec/src/search.rs:2745\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":"turbovec/src/search.rs"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da47337f9361cbfd2f170e706d7a05d272759e2a7ce55f4386111a6d3e31e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): turbovec/src/search.rs:6780-6798 | turbovec/src/search.rs:6813-6833 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:6780\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":6780}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec07c4802f8d7aeba5ffd851c001c3d9394f790ad5607cc166d72816c8f895f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201320 lines \u00D7 3): turbovec/src/search.rs:2673-2692 | turbovec/src/search.rs:2811-2822 | turbovec/src/search.rs:2934-2942 \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 \u0060turbovec/src/search.rs:2673\u0060 it does not close everything it opens, so those exact 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, \u0060turbovec/src/search.rs:2932\u0060 calls \u0060vld1q_s8\u0060, \u0060as_ptr\u0060 and \u0060turbovec/src/search.rs:2671\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":"turbovec/src/search.rs"},"region":{"startLine":2673}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfb34da0cd515d60ba6c0ca4a9db863bc1bc0d8f0b4aa49e5f36d1979f84859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): turbovec/src/rotation.rs:409-427 | turbovec/src/rotation.rs:466-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 \u0060turbovec/src/rotation.rs:409\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":"turbovec/src/rotation.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"7954900f8326a1be53346beeb65a0a405e47f0b7adc51eb3440a91e8f37c1ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201339 lines \u00D7 2): turbovec/src/search.rs:5942-5980 | turbovec/src/search.rs:6396-6430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:5942\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":"turbovec/src/search.rs"},"region":{"startLine":5942}}}],"partialFingerprints":{"codehealthFindingId/v1":"379574d530f774aba59c50be2e4e2368a483e26d9851fd6403d8237c60592588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 4): turbovec/src/search.rs:938-950 | turbovec/src/search.rs:1997-2009 | turbovec/src/search.rs:2063-2075 | turbovec/src/search.rs:2204-2221 \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 \u0060turbovec/src/search.rs:938\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84db5d474de58fffde9448cf3d0adddb208d2c23e1b798a08ecfd7fc7c0ca07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): turbovec/src/search.rs:910-926 | turbovec/src/search.rs:2035-2051 | turbovec/src/search.rs:3211-3228 \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 \u0060turbovec/src/search.rs:910\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"750d48a888867cb950dbdea49448916fa0b76354d11ad67fe75db66995072a3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): turbovec-python/src/lib.rs:567-584 | turbovec-python/src/lib.rs:1316-1333 \u2014 both copies are in the same file, so extract the block 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":"turbovec-python/src/lib.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6540fc64d4b12510c12cd4e91ee9b71142471519ea18f945f84b4ddcb40e2dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): turbovec-python/src/lib.rs:640-654 | turbovec-python/src/lib.rs:1184-1194 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec-python/src/lib.rs:640\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/src/lib.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"67617a24b44f0337af2ce7426d2d0530350684b004a7922a92ea1d94ef17fc49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): turbovec/src/search.rs:3585-3597 | turbovec/src/search.rs:3606-3618 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:3585\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":3585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00fd9a10b161575ca08e3867c17fa64eee5fc20acddfc2580285d34fbe938db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): turbovec-python/src/lib.rs:611-621 | turbovec-python/src/lib.rs:1146-1157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec-python/src/lib.rs:1146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/src/lib.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4b5a2e7fa7d08713e7555e245f283e82d0cf09525ae26519816b8550ab6903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): turbovec/src/search.rs:788-799 | turbovec/src/search.rs:1008-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"248b55b23e5440bae1b66f85dfb0e3ea552ce9f7149fe6466c89b5f66c3b08eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): turbovec/src/search.rs:847-858 | turbovec/src/search.rs:1915-1926 \u2014 both copies are in the same file, so extract the block 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":"turbovec/src/search.rs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e8f8493a33d735c710dc22aab6742b9206eceab7ac8afd40481db77ed99e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): turbovec/src/search.rs:6101-6112 | turbovec/src/search.rs:6649-6660 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:6101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":6101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b785374b6a0b6d86b42a8661ab56502e1a9932bd93489e5aedd0be5000a8de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): turbovec-python/src/lib.rs:485-495 | turbovec-python/src/lib.rs:1023-1032 \u2014 both copies are in the same file, so extract the block 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, \u0060turbovec-python/src/lib.rs:1033\u0060 calls \u0060to_vec\u0060 and \u0060turbovec-python/src/lib.rs:526\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":"turbovec-python/src/lib.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a952053e5bf25740d9cb5f56a5673e4a4ed6cd02f99a18c09bd117faf1afd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): turbovec-python/src/lib.rs:794-804 | turbovec-python/src/lib.rs:1442-1452 \u2014 both copies are in the same file, so extract the block 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":"turbovec-python/src/lib.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd77824f5304f548fd77b21c58b2acb54e164d43e3994cbf5f02e94669b550e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): turbovec/src/rotation.rs:698-710 | turbovec/src/rotation.rs:859-869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/rotation.rs:698\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/rotation.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d18aa676828dd9e68a25bab7a4c00889b28fb946984dead4acfaeb81fe19c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): turbovec/src/lib.rs:713-722 | turbovec/src/lib.rs:747-756 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/lib.rs:713\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":"turbovec/src/lib.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"c184667ca94e8dd7379d385abbeab910420058e56f883e048567d607a3ee8929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): turbovec/src/lib.rs:1078-1087 | turbovec/src/lib.rs:1129-1138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/lib.rs:1078\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/lib.rs"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd87e410bb7cb6029fc2591987306a52d69c8626b381b2b20b0e2f3fa2240fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): turbovec-python/src/lib.rs:755-763 | turbovec-python/src/lib.rs:1399-1407 \u2014 both copies are in the same file, so extract the block 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":"turbovec-python/src/lib.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0cdab143044f43c14d9b13c6504677f1d4146b13c3fda5bbe0258f9cb289ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): turbovec/src/search.rs:3571-3578 | turbovec/src/search.rs:3624-3632 \u2014 both copies are in the same file, so extract the block 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":"turbovec/src/search.rs"},"region":{"startLine":3571}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7a8cacc3090ba59d507d25fb40983cb1843efdec8c359a3f144af7b79b5847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): turbovec/src/search.rs:913-920 | turbovec/src/search.rs:2038-2045 | turbovec/src/search.rs:3214-3221 | turbovec/src/search.rs:3866-3873 \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 \u0060turbovec/src/search.rs:913\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbef1361d72c230336ebdde10e8f68c8ed1750d1c6e356328299ff56d97e63a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): turbovec/src/rotation.rs:539-547 | turbovec/src/rotation.rs:583-591 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/rotation.rs:539\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/rotation.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f44f86cb367985fc5d998b98ffd00949e9ee76119df0a7e1e07a37ec514003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): turbovec/src/rotation.rs:574-581 | turbovec/src/rotation.rs:598-605 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/rotation.rs:574\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/rotation.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"9173962f231a1edb962e8d281a881c400b7c0e1c2fa02860ac17e5012ef0c837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): turbovec/src/rotation.rs:706-714 | turbovec/src/rotation.rs:750-758 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/rotation.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/rotation.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31690f1b634ec5c8a98806c3fa7f925ac62b17d0c59b6410e562194a993257c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): turbovec/src/rotation.rs:741-748 | turbovec/src/rotation.rs:765-772 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/rotation.rs:741\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/rotation.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ee56bdf3c0e01f6dd2f6adae2da6424eae4d2170cdd6d09549a14fd01dd0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): turbovec/src/rotation.rs:865-873 | turbovec/src/rotation.rs:909-917 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/rotation.rs:865\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/rotation.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"2410c234b2ff0d419ae8dfd3496c774733f49d97bd255c6a68de4d15e0d315bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): turbovec/src/rotation.rs:900-907 | turbovec/src/rotation.rs:924-931 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/rotation.rs:900\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/rotation.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"8deeebdd2da0f816e03a788097b7478ebd6be8843c6ee90187410c48e3a7ca7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): turbovec/src/search.rs:5908-5915 | turbovec/src/search.rs:5920-5927 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:5908\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":5908}}}],"partialFingerprints":{"codehealthFindingId/v1":"8283f0b620218188aa312157ca0e469dda2a8b5a591c8ebd57bd9eab92c946cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): turbovec/src/io_v7.rs:1207-1213 | turbovec/src/io_v7.rs:1234-1240 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/io_v7.rs:1207\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/io_v7.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"018326866f6cc67d55f6790656ce00af439b429600e6fcb254c115eaf04cc590"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): turbovec/src/pack.rs:1705-1711 | turbovec/src/pack.rs:2074-2080 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/pack.rs:1705\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":"turbovec/src/pack.rs"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c4edf4b3274be1a4e69718014187e3fbe8fee280d564955611afc1fff6ff4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): turbovec/src/search.rs:1448-1454 | turbovec/src/search.rs:1820-1826 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:1448\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"350a7d1e3130371bb313ff4e3be8e4cba6ea5d3f4a5cbdfcb2c4f48516b2c686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): turbovec/src/search.rs:1632-1639 | turbovec/src/search.rs:1664-1671 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:1632\u0060 it begins part-way through the construct above it, so those exact 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, \u0060turbovec/src/search.rs:1629\u0060 calls \u0060iter\u0060, \u0060enumerate\u0060, \u0060min\u0060 and \u0060turbovec/src/search.rs:1663\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":"turbovec/src/search.rs"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae4656a677b21230930cb5fe40c354f83ae0f641100ab2cf027b8c180e4dbbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): turbovec/src/search.rs:6805-6811 | turbovec/src/search.rs:6840-6846 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:6805\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":"turbovec/src/search.rs"},"region":{"startLine":6805}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b4b450657a8061e39ac9b0fd36688b7a3c53818e2176724bb07ef0d8bc8467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): turbovec/src/search.rs:2627-2632 | turbovec/src/search.rs:2752-2757 | turbovec/src/search.rs:2870-2875 | turbovec/src/search.rs:2987-2992 | turbovec/src/search.rs:3109-3114 \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 \u0060turbovec/src/search.rs:2627\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":2627}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b025cabf5515746292e0e955c3988027e0eb7f70d2963b59b428d4fe6ec76b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): turbovec/src/search.rs:2734-2739 | turbovec/src/search.rs:2851-2856 | turbovec/src/search.rs:2969-2974 \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":"turbovec/src/search.rs"},"region":{"startLine":2734}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45dd6c1dde60c1d749e7fc45df96f7971cbaf47b476a38872bc287e4adbdc37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): turbovec/src/search.rs:5974-5979 | turbovec/src/search.rs:6424-6429 | turbovec/src/search.rs:6667-6672 \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":"turbovec/src/search.rs"},"region":{"startLine":5974}}}],"partialFingerprints":{"codehealthFindingId/v1":"111fac8bcf543c6ec143165895fd4508c4bca60bde137ecaac6fc683f2fa825d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): turbovec/src/search.rs:1069-1075 | turbovec/src/search.rs:1077-1083 \u2014 both copies are in the same file, so extract the block 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":"turbovec/src/search.rs"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f0577c9a28f5edb217c31fa001efd9cd74a7d233e5a1813150343bdde24ba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): turbovec/src/search.rs:5817-5828 | turbovec/src/search.rs:5886-5897 \u2014 both copies are in the same file, so extract the block 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":"turbovec/src/search.rs"},"region":{"startLine":5817}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9159a689295c30db53257da039e28fa0f05948bb3d6a3db1e5978a015c613b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): turbovec/src/search.rs:6329-6334 | turbovec/src/search.rs:6881-6886 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:6329\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":6329}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f226acc77c05de0861d1406a6c01c90d5dc9d090133fc00e89c0096437182e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): turbovec-python/src/lib.rs:993-997 | turbovec-python/src/lib.rs:1422-1426 | turbovec-python/src/lib.rs:1472-1476 \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 \u0060turbovec-python/src/lib.rs:993\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":"turbovec-python/src/lib.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61b9dc12e3fc3010bbd8eecce5bc1fcc8a195858e608132ed2f5aa97a061f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): turbovec-python/src/lib.rs:526-531 | turbovec-python/src/lib.rs:1050-1055 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec-python/src/lib.rs:526\u0060 it does not close everything it opens, so those exact 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, \u0060turbovec-python/src/lib.rs:1033\u0060 calls \u0060to_vec\u0060 and \u0060turbovec-python/src/lib.rs:495\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":"turbovec-python/src/lib.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"c940a8bdd4a9640997582f98e46c56436e0abbc512823adbc60cda9283ddb154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): turbovec-python/src/lib.rs:821-825 | turbovec-python/src/lib.rs:1469-1473 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec-python/src/lib.rs:821\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/src/lib.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"50523bb1611714e9131601fbc72d757229deca2a8f57f89a353282f53bec9511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): turbovec/src/id_map.rs:282-286 | turbovec/src/id_map.rs:295-299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/id_map.rs:282\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/id_map.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"545715ccead8460a598e815ecdf46cbc45d1b38b7c099b7337e8b78c3df3f8de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): turbovec/src/pack.rs:1488-1492 | turbovec/src/pack.rs:1502-1506 \u2014 both copies are in the same file, so extract the block 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":"turbovec/src/pack.rs"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e6afc8a7e98baffcc5f19947f6880ddc94daeba1a81dbc38a47e625dfc6156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): turbovec/src/rotation.rs:550-555 | turbovec/src/rotation.rs:590-595 \u2014 both copies are in the same file, so extract the block 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":"turbovec/src/rotation.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1139f4d0b68bd382815c46fca5e6276c1178a4a7baf13e5f943f5a66526e3e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): turbovec/src/rotation.rs:717-722 | turbovec/src/rotation.rs:757-762 \u2014 both copies are in the same file, so extract the block 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":"turbovec/src/rotation.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"5357489da4b90bf125be21c1e3f4aa9dacb774b4d93b29344bf0d940d1cb61b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): turbovec/src/rotation.rs:876-881 | turbovec/src/rotation.rs:916-921 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/rotation.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5372939eee9ffce5b4fd907ef48174ce18ee5db2d7cb26ca52967f8a4d6aa0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 4): turbovec/src/search.rs:510-512 | turbovec/src/search.rs:657-661 | turbovec/src/search.rs:680-682 | turbovec/src/search.rs:701-705 \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 \u0060turbovec/src/search.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. 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":"turbovec/src/search.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ccce46a489fe463cb700b7dad7cbbc77fa7af5be3f21c86eef575ffa9e0961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): turbovec/src/search.rs:2491-2496 | turbovec/src/search.rs:2525-2530 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:2491\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf652b15dde46cbde1fcff13e10edc89d18a8cd4b3f7b746bdf07ae0fab8c49c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): turbovec/src/search.rs:6114-6118 | turbovec/src/search.rs:6662-6666 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:6114\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":6114}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ba8d39ebc37607286f0bd051244232b78fe2378a2a2635a0478d79c82d5fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): turbovec/src/encode.rs:101-112 | turbovec/src/encode.rs:145-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/encode.rs:101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/encode.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"836702d4243984cfa61cdaf31dca0df484d570e0ba6e7c3bfa1fb9afbf8417a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): turbovec/src/id_map.rs:909-924 | turbovec/src/id_map.rs:931-946 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/id_map.rs:909\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":"turbovec/src/id_map.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"b935678d94843519055f912759e9f13f0ed264a47e21331053bc92fb59f9261e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 4): turbovec/src/lib.rs:902-909 | turbovec/src/lib.rs:2022-2024 | turbovec/src/lib.rs:2345-2349 | turbovec/src/lib.rs:2869-2871 \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 \u0060turbovec/src/lib.rs:902\u0060 it begins part-way through the construct above it, so those exact 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, \u0060turbovec/src/lib.rs:2345\u0060 calls \u0060codebook\u0060 and \u0060turbovec/src/lib.rs:2022\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":"turbovec/src/lib.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b26ba3bdd87a56990f5f2b1a80d00f18d804dc774f32271b5001b25f569a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): turbovec-python/src/lib.rs:914-920 | turbovec-python/src/lib.rs:1491-1497 \u2014 both copies are in the same file, so extract the block 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":"turbovec-python/src/lib.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"304cea05f17f677766aee358b739e8b20a516cc66f97fca529c72dfcdeabd499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): turbovec/src/pack.rs:1664-1668 | turbovec/src/pack.rs:2159-2163 \u2014 both copies are in the same file, so extract the block 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":"turbovec/src/pack.rs"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b629b5eb828fcab7f4de1fc7c6362bca4b3caedbcca8d071d70b9791fa8f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): turbovec/src/search.rs:1103-1107 | turbovec/src/search.rs:1108-1112 \u2014 both copies are in the same file, so extract the block 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":"turbovec/src/search.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb47eff38361d01f0d3971617091a07b2c3d2a9acf2f1c596b430a7c1e8505ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): turbovec/src/search.rs:1502-1507 | turbovec/src/search.rs:2176-2181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:1502\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"8371bce7d665c4f329e10c1d14c0b0af97a98acee18adecced0d82ee629be709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): turbovec/src/search.rs:1607-1611 | turbovec/src/search.rs:1648-1652 \u2014 both copies are in the same file, so extract the block 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, \u0060turbovec/src/search.rs:1612\u0060 calls \u0060_mm512_loadu_si512\u0060, \u0060as_ptr\u0060, \u0060add\u0060 and \u0060turbovec/src/search.rs:1653\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":"turbovec/src/search.rs"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"941c7d407b8905bbd4e0fbadcf2f2611101c26839dacb7dc8446c7c17f8885ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): turbovec/src/search.rs:1617-1621 | turbovec/src/search.rs:1653-1657 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7680a421a5913e101ddec2a85727fa7fca1f22066ae05341bda650c5cca53e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): turbovec/src/search.rs:3066-3072 | turbovec/src/search.rs:3076-3082 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec/src/search.rs:3066\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/search.rs"},"region":{"startLine":3066}}}],"partialFingerprints":{"codehealthFindingId/v1":"24494549c7319c942efaf1c25acef626bb9b11fa96fec27e70dcdcf623a26d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): turbovec/src/search.rs:4613-4617 | turbovec/src/search.rs:4648-4652 \u2014 both copies are in the same file, so extract the block 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":"turbovec/src/search.rs"},"region":{"startLine":4613}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d695c2005bcf48ed03b56e4aa38f6c641db25e1834979756aea3ad685ab62f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 2): turbovec-python/python/turbovec/langchain.py:397-420 | turbovec-python/python/turbovec/llama_index.py:392-412 \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 \u0060turbovec-python/python/turbovec/langchain.py:397\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/langchain.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd39bb4754e79a6334b7426482f421e62cd12412dfd47af72f9b66f670d8940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): turbovec-python/python/turbovec/agno.py:1065-1080 | turbovec-python/python/turbovec/agno.py:1109-1127 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a928cf9d1a49deead24cb949a27f3fdd1e6b38a79e5ce9dadda6935fea5d903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): turbovec-python/python/turbovec/haystack.py:651-668 | turbovec-python/python/turbovec/langchain.py:602-619 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/haystack.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"96496e07ed44ba25e07969d08de45a011662783a6bace350959210dc775ab5ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): turbovec-python/python/turbovec/langchain.py:265-282 | turbovec-python/python/turbovec/langchain.py:295-311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060turbovec-python/python/turbovec/langchain.py:295\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/langchain.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b13a447144cfd68d1a5838442b3db4a9717d3c5e0be44ad41bb6408e1a2fe68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): turbovec-python/python/turbovec/agno.py:378-390 | turbovec-python/python/turbovec/agno.py:411-423 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"010102148511a987e2beb5d5b771f2033acd9ab59dfbe19bfc77d6df47de5693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 2): turbovec-python/python/turbovec/agno.py:398-405 | turbovec-python/python/turbovec/agno.py:425-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 \u0060turbovec-python/python/turbovec/agno.py:425\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c959e1fe171538f5ac947a7bb5b536fe2dab654867397743f28fbe48c5d9278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): turbovec-python/python/turbovec/agno.py:961-968 | turbovec-python/python/turbovec/agno.py:986-993 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060turbovec-python/python/turbovec/agno.py:983\u0060 calls \u0060hasattr\u0060, \u0060async_get_embedding\u0060 and \u0060turbovec-python/python/turbovec/agno.py:959\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":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"611bc6afdea21a32c9d551aeccdfb144266e0ca4d1b795f063a22b55be9d4fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): turbovec-python/python/turbovec/langchain.py:621-628 | turbovec-python/python/turbovec/langchain.py:637-648 \u2014 both copies are in the same file, so extract the block 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":"turbovec-python/python/turbovec/langchain.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b14c33563877bb88e0a68897ea562cdb3561a8b324a45c4bc5f7ce8eced21f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): turbovec-python/python/turbovec/_persist.py:509-514 | turbovec-python/python/turbovec/_persist.py:516-521 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/_persist.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c6dc42a81bc12f07ef546ba82ddbebe2d0b43da495099333bad65b84942aae"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: turbovec: turbovec: 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":"9922b041c93494ebdc7c15440e75bdbd98d9895de5c7cda1df52562b3ff75fd5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: turbovec/src/search.rs: turbovec/src/search.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 162 in turbovec::search::scan_with_luts at line 5686. 7 of those changes were fix/bug commits, and the other 19 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 22:14:55 \u002B02:00\u0027 --until=\u00272026-10-06 22:14:55 \u002B02:00\u0027 --full-history --no-merges -- turbovec/src/search.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":"turbovec/src/search.rs"},"region":{"startLine":5686}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fba7849dfdbf3a07cbcc9cbae68f0294bbb72645d12aa945dac065bf180f50e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: turbovec/src/lib.rs: turbovec/src/lib.rs changed 60 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in TurboQuantIndex::from_parts at line 2596. 26 of those changes were fix/bug commits, and the other 34 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-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 22:14:55 \u002B02:00\u0027 --until=\u00272026-10-06 22:14:55 \u002B02:00\u0027 --full-history --no-merges -- turbovec/src/lib.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec/src/lib.rs"},"region":{"startLine":2596}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e690e25d07c79d123c12846f7124c641ebab2662998319413f222ec655e717"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: turbovec-python/python/turbovec/llama_index.py: turbovec-python/python/turbovec/llama_index.py changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in TurboQuantVectorStore.query at line 786. 14 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-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 22:14:55 \u002B02:00\u0027 --until=\u00272026-10-06 22:14:55 \u002B02:00\u0027 --full-history --no-merges -- turbovec-python/python/turbovec/llama_index.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/llama_index.py"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"9741f15117fdfce08383908bea1c529e771f58ff32f92bf14e8c286c09fdd20b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: turbovec/src/io.rs: turbovec/src/io.rs changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in turbovec::io::sweep_stale_tmps at line 351. 14 of those changes were fix/bug commits, and the other 20 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-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 22:14:55 \u002B02:00\u0027 --until=\u00272026-10-06 22:14:55 \u002B02:00\u0027 --full-history --no-merges -- turbovec/src/io.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":"turbovec/src/io.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f3afd70d2c733a9daed06da54f27dec3b144a732e14a2a0bf5c944f73061ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: turbovec-python/python/turbovec/agno.py: turbovec-python/python/turbovec/agno.py changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in TurboQuantVectorDb.insert at line 471. 15 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-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 22:14:55 \u002B02:00\u0027 --until=\u00272026-10-06 22:14:55 \u002B02:00\u0027 --full-history --no-merges -- turbovec-python/python/turbovec/agno.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/agno.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af380ab8394f66d41b5301e39ce1148f44de20ac3674adb68ea8924a6c20ce2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: turbovec/src/pack.rs: turbovec/src/pack.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in turbovec::pack::planes_stats at line 2255. 3 of those changes were fix/bug commits, and the other 22 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 22:14:55 \u002B02:00\u0027 --until=\u00272026-10-06 22:14:55 \u002B02:00\u0027 --full-history --no-merges -- turbovec/src/pack.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":"turbovec/src/pack.rs"},"region":{"startLine":2255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29eadd708fc21f81b15df6bf882bef56cb307810d4131df98669c5ede11ec5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: turbovec/src/io_v7.rs: turbovec/src/io_v7.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in turbovec::io_v7::load_image at line 1355. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 22:14:55 \u002B02:00\u0027 --until=\u00272026-10-06 22:14:55 \u002B02:00\u0027 --full-history --no-merges -- turbovec/src/io_v7.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":"turbovec/src/io_v7.rs"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab5eb4cfd63c294cc07ef323d5fc82fcdc6f5e66ec4a0f2980941ab4c1b32fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: turbovec-python/python/turbovec/langchain.py: turbovec-python/python/turbovec/langchain.py changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in TurboQuantVectorStore._search_vector at line 563. 12 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-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 22:14:55 \u002B02:00\u0027 --until=\u00272026-10-06 22:14:55 \u002B02:00\u0027 --full-history --no-merges -- turbovec-python/python/turbovec/langchain.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/langchain.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc40af42cadf177201d9b7191d6c76e0e4fe9f9d83afda8d1b8a60d57457bfc8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: turbovec-python/python/turbovec/haystack.py: turbovec-python/python/turbovec/haystack.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in TurboQuantDocumentStore.embedding_retrieval at line 578. 10 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-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 22:14:55 \u002B02:00\u0027 --until=\u00272026-10-06 22:14:55 \u002B02:00\u0027 --full-history --no-merges -- turbovec-python/python/turbovec/haystack.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/haystack.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"3016b4a2d5137981c2ef7ddcd368a2af122b71449b7413f64c1d2c01098c838c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: benchmarks/hillclimb/bench_ops.py: benchmarks/hillclimb/bench_ops.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in bench_ops.main at line 61. 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-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 22:14:55 \u002B02:00\u0027 --until=\u00272026-10-06 22:14:55 \u002B02:00\u0027 --full-history --no-merges -- benchmarks/hillclimb/bench_ops.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmarks/hillclimb/bench_ops.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c1ca75da2a182299b7db2a519b69a4cfda329a1582c0126492781d5c1c320e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: turbovec-python/src/lib.rs: turbovec-python/src/lib.rs changed 34 times in last 90 days and 18 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 IdMapIndex::search at line 1135), 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: five release-blocking bugs (#484, #501, #487, #473, #493) (#533)\u201D; \u201Cfix(#418): a drained warming-up index no longer round-trips into permanent Identity calibration (#443)\u201D; \u201Cfix(#360): don\u0027t run the core\u0027s durability warning under the index read guard (#433)\u201D; \u201Cfix: Python object model \u2014 unsound bool mask read, pickle/copy, weakref, real __module__, chunk_size in signature (#340, #345, #349) (#417)\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-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 22:14:55 \u002B02:00\u0027 --until=\u00272026-10-06 22:14:55 \u002B02:00\u0027 --full-history --no-merges -- turbovec-python/src/lib.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/src/lib.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa574d481985ccf9ec70f45c88b2a61641c64dfcea69b44f6f568874cf4d1b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: turbovec-python/python/turbovec/_persist.py: turbovec-python/python/turbovec/_persist.py changed 10 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is _persist._check_json_faithful at line 217), 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: retry ERROR_ACCESS_DENIED, not just ERROR_SHARING_VIOLATION, on Windows renames (#415) (#442)\u201D; \u201Cfix: IdHasher finalizer collapses ids above shift 32 (#385); side-car rename durability and schema_version type gate (#350) (#423)\u201D; \u201Cfix: reject side-car payloads JSON can\u0027t round-trip; require key presence in LangChain dict filters (#350, #381) (#402)\u201D; \u201Cfix: half-present agno store no longer loads silently empty; error messages name the real condition (#328, #329) (#359)\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-08..2026-10-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-08 22:14:55 \u002B02:00\u0027 --until=\u00272026-10-06 22:14:55 \u002B02:00\u0027 --full-history --no-merges -- turbovec-python/python/turbovec/_persist.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/python/turbovec/_persist.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace12fbe428096558499b14a2f146f27555755a55bb5bcd2c4a4b035ab0c70b1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e9445f35b46222b3d3d35bc2e2d8ffe5b734ef88218319b0276b672cc1c7fad"},"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":"3e4b27239596f29dafe7289cca889987c98c5242d520cc27d6d557a80985f355"},"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":"4c55121275494b4e2c482610eb7e6275b67b8034b6ddaabc20df791dfa85b9b3"},"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":"3ce54e45b0900bf7df28a3d3af71d17de762b82ff7d3f4003cadda7653c993ae"},"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":"e6f65da0a3639a8d3af42ca7176c97c8fda03a477e946cbf6a2688a1a1101999"},"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":"3e1c7f75ca8b405cce256a910bc74e662f129696ed66c28771cd176b6db8eb50"},"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":"792adaa2ecae2d059bead008254db14a37b5c85f6fde1163ad9f99ce2595eade"},"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":"219afdbc06ce1c7344e1b2f8967b1ac01c401ce4ff3d6b7f18eda6a6ce62ba5f"},"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":"33659909a528e27256b24849ca6bb3f74e97626872905a3a87faeae39756a02f"},"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":"2b0517e74d9df5ee81deba7b80564dd86ff1b59f4270ca0d1b588b7ea5034c9b"},"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":"d99fbca79a99c9380ced0b86a5bfbb2634f2b45bc99e3d127d34e61a9e2ff034"},"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":"34de610c496865d821f4a5ccb15ce79f30a7cc09b46e7dd1454398e568835229"},"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":"308510c3ff9e6490b182a1f6dbe6d13209ddf69bc537c709d6269b1c1b6c81c7"},"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":"b5274b9fad0f25ad2a13b33ca894ede536f4317774741f60f3c8df3b586ab1eb"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6248fb1f9801f019415453b702e6a340178bfebaa3c67c30a94b7a63aa6c0149"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20c4e985617c54ec14d685e54108c633c3917d7c92eeb7e7f09bb3c83a949c36"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"bf1a0c17f7806419fbd8325ed40ac090aaebd18c2a3d8d4692f05d8389d8f09f"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61e062304cc84e85b581ba3e8131980f88a8a69e76a68d98c29178c29b090cc6"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2036bcb2a7b463f121c57a481345622dc5e03b4e100eedd822a8e8404162437b"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5922a5beeab5ac077ffb485a783ad545036e79b56239f83da38f3fb84336b113"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7385b376cf33a97cafdd700f4edcd1396fbf9130912336af2799a9dde788b4bc"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","reachability":{"kind":"unknown"}}}},{"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":"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing_dim is not None and vectors.shape[1] != existing_dim\u0060 appears character-identically in 3 files \u2014 turbovec-python/python/turbovec/haystack.py, turbovec-python/python/turbovec/langchain.py, turbovec-python/python/turbovec/llama_index.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":"turbovec-python/python/turbovec/haystack.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c915aad8c47666eee5c2c1a1549f8d50d5fb591428a4756a02ce21d07c7bff93"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060type_name\u0060 turns every \u0060Err\u0060 into \u0060\u0022\u003Cunknown\u003E\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/src/lib.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"853a74c730c93ae520a511dcf02d8c8f6fb1f15bc0d13de276b7d9a12a887578"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060int_repr\u0060 turns every \u0060Err\u0060 into \u0060\u0022\u003Cunprintable\u003E\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"turbovec-python/src/lib.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"92470bebc01706f868b4706ec85e7b9864e7d9e74e2239ebab7d53e18f42ea96"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.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-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"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/95.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"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-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":22,"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."]}]}