{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"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":"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"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":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"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":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"home_page.main (cyclomatic 40): home_page.main has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"unified-search-app/app/home_page.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9013104271837f7943dc3d57e8ddb427f1fe1683f2f382bb20a10bfa86bd0e92"}},{"ruleId":"D1","level":"warning","message":{"text":"Condition._compare (cyclomatic 18): Condition._compare has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-vectors/graphrag_vectors/filtering.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"121046415cf9adef8d71be7fb4f471209e590d884da37c60bf798837e316f70e"}},{"ruleId":"D1","level":"warning","message":{"text":"prune_graph.prune_graph (cyclomatic 17): prune_graph.prune_graph has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/prune_graph.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5359c08efb9424747f22268fa95c0a13a9ecdf8886aac3a1f6feb11700e73f5"}},{"ruleId":"D1","level":"warning","message":{"text":"sort_context.sort_context (cyclomatic 17): sort_context.sort_context has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/summarize_communities/graph_context/sort_context.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f322084098a650b41acdf3aa6df3d3c17f984c2c4f172a49cb114a181e4b01"}},{"ruleId":"D1","level":"warning","message":{"text":"local_context.build_relationship_context (cyclomatic 17): local_context.build_relationship_context has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f959e5a2e1472f2b2a8cb0cfbde377f28da0eaa5be2a9d6efc5ee5f525dc3414"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobalSearch._reduce_response (cyclomatic 17): GlobalSearch._reduce_response has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/global_search/search.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ee4faf2e51aac941d5c8d0a964f05eb5af168143ed3765dae8a201adf7e604"}},{"ruleId":"D1","level":"warning","message":{"text":"local_context.build_covariates_context (cyclomatic 16): local_context.build_covariates_context has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c960ef5f64291cb534bceb2a846e4ee5019f828e0ecad9df8e585c6d698cfd84"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobalSearch._stream_reduce_response (cyclomatic 16): GlobalSearch._stream_reduce_response 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":"packages/graphrag/graphrag/query/structured_search/global_search/search.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"621b838761700e07462264298794b58f55736e37ea087e771a7ca058a30ecbfc"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalSearchMixedContext._build_community_context (cyclomatic 16): LocalSearchMixedContext._build_community_context has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/local_search/mixed_context.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d103fe5236f978802cbd1b39db85a33d15a9558e3d66282d16e85f937e9872e"}},{"ruleId":"D2","level":"warning","message":{"text":"home_page.main (cognitive 86): home_page.main has cognitive complexity 86 (threshold 15). Drivers by points: if/else 34 (75 pts), error handling 2 (5 pts), loops 2 (5 pts), boolean chains 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"unified-search-app/app/home_page.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27ab2f90bd2ee2e3708537fbbb5db5c2848d3411e4b384723a56123129d9fe7"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicCommunitySelection.select (cognitive 32): DynamicCommunitySelection.select has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 3 (8 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/dynamic_community_selection.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1adb438096350014060c609491c910714f71eb778bcfdd87b895874ada4c81"}},{"ruleId":"D2","level":"warning","message":{"text":"sort_context.sort_context (cognitive 31): sort_context.sort_context has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (9 pts), boolean chains 4 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/summarize_communities/graph_context/sort_context.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"752924bdd23771ba57f30b9c3300e525d390f7e01dfc1a184a6b7fc248c12c6b"}},{"ruleId":"D2","level":"warning","message":{"text":"local_context.build_relationship_context (cognitive 26): local_context.build_relationship_context has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 7 (9 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94332128667c56c2df5c429451a2d069f1f3a145ba971a40c809fe597669ce2"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokenizer.num_prompt_tokens (cognitive 25): Tokenizer.num_prompt_tokens has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-llm/graphrag_llm/tokenizer/tokenizer.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"43301d55983071fa3ed2e4e83cb10f55c26dda6149790504201ac47bc1fde4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobalSearch._reduce_response (cognitive 24): GlobalSearch._reduce_response has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 5 (7 pts), boolean chains 3, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/global_search/search.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daf6cebaa258c92b8f87c72c55122359c429e50ff92d6d82b50c7d58d3252ca"}},{"ruleId":"D2","level":"warning","message":{"text":"local_context.build_covariates_context (cognitive 23): local_context.build_covariates_context has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 4 (7 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d66229ffa04fa1d0ef65be369ddb0489cf64735b652d67fdf92b8a91bbdaeee"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobalSearch._stream_reduce_response (cognitive 23): GlobalSearch._stream_reduce_response has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 5 (7 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/global_search/search.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b339c6ef3d3b22b37dbf25479a6e94f846209e0ead79adb7feca90e411ee265"}},{"ruleId":"D2","level":"warning","message":{"text":"CFGNounPhraseExtractor.extract (cognitive 22): CFGNounPhraseExtractor.extract has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/cfg_extractor.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"978e78eb51d543d91c86b69f9eee5c00e189381ec9925ed0273aee81a4543cf2"}},{"ruleId":"D2","level":"warning","message":{"text":"SyntacticNounPhraseExtractor.extract (cognitive 22): SyntacticNounPhraseExtractor.extract has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/syntactic_parsing_extractor.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4f569bee5c628cbe65c8a34bb8a992f16a855475bd54ce7c4acd885f8fb583"}},{"ruleId":"D2","level":"warning","message":{"text":"community_context._compute_community_weights (cognitive 22): community_context._compute_community_weights has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (7 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/community_context.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"434f07b720b611dfffdebffee0d348f6550f637a2cfc0027d6fafed0ec1fbc22"}},{"ruleId":"D2","level":"warning","message":{"text":"search.render_html_table (cognitive 22): search.render_html_table has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 3 (10 pts), if/else 3 (8 pts), loops 3 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"unified-search-app/app/ui/search.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"063eb29ea68ae8d33d62be9b28424323e82de2897a3972f3960f912523b6ca03"}},{"ruleId":"D2","level":"warning","message":{"text":"prune_graph.prune_graph (cognitive 21): prune_graph.prune_graph has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/prune_graph.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"702987bfb31739b9a2f914c77dca3708619c16e220d7a4c1f63f96716f4b0a78"}},{"ruleId":"D2","level":"warning","message":{"text":"local_context.build_entity_context (cognitive 21): local_context.build_entity_context has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (8 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dda39ddf817ea691474d69251376f89de8d3ad5ce24b40814e517ac9c275cc0"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalSearchMixedContext._build_local_context (cognitive 21): LocalSearchMixedContext._build_local_context has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/local_search/mixed_context.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"40481b64c3eec362fad5dd0afcf8674f7c5093470ec420aa8c7f2c56b07e9a63"}},{"ruleId":"D2","level":"warning","message":{"text":"relationships.to_relationship_dataframe (cognitive 20): relationships.to_relationship_dataframe has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 4 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/retrieval/relationships.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"720f45f917e6bb9c900efeae79f5ab90542cf4fb9d42809797ff2f5a1676e2ea"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalSearchMixedContext._build_community_context (cognitive 20): LocalSearchMixedContext._build_community_context has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 4 (6 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/local_search/mixed_context.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebbddd376aad8eae6aee4ba0dda5e67935efeedd376698ba9b0509b42e71be0"}},{"ruleId":"D2","level":"warning","message":{"text":"report_details.create_report_details_ui (cognitive 20): report_details.create_report_details_ui has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (7 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"unified-search-app/app/ui/report_details.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bfd2d45727608b0cce11e1e9609604225700e3ee3b3ccfa8b0753bc92c2ab2"}},{"ruleId":"D2","level":"warning","message":{"text":"build_mixed_context.build_mixed_context (cognitive 19): build_mixed_context.build_mixed_context has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/summarize_communities/build_mixed_context.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"994087d10eaea1b65712d8286966f148466aa79aa4fc0dbeac36593cd8c8302b"}},{"ruleId":"D2","level":"warning","message":{"text":"entity_extraction.map_query_to_entities (cognitive 18): entity_extraction.map_query_to_entities has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/entity_extraction.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"592812d0d4c250d537553148c3db14e19379d317ccce8eeb84ab8cb16e27034a"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalSearchMixedContext._build_text_unit_context (cognitive 18): LocalSearchMixedContext._build_text_unit_context has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, 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":"packages/graphrag/graphrag/query/structured_search/local_search/mixed_context.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d25d3adae2260cb887cb323be85f95f16f73af964470dd0f005e1c0fe3d69df"}},{"ruleId":"D2","level":"warning","message":{"text":"SlidingWindowRateLimiter.acquire (cognitive 17): SlidingWindowRateLimiter.acquire has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 6, 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":"packages/graphrag-llm/graphrag_llm/rate_limit/sliding_window_rate_limiter.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f287f9f496520c1a12856bc057d6c56c222bbd339bcc2094cfc311d3f3b7e4e"}},{"ruleId":"D2","level":"warning","message":{"text":"community_context.build_community_context (cognitive 17): community_context.build_community_context has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/community_context.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bda59938752e6f781e04960d898c23cd9ac8b0ccd14908f833332483da4b4ac"}},{"ruleId":"D2","level":"warning","message":{"text":"entities.to_entity_dataframe (cognitive 17): entities.to_entity_dataframe has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/retrieval/entities.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f820754e72c6e48cb53e4a04093ea602d677e9d10a72c8dc297abd95398bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"embed_text._flush_embedding_buffer (cognitive 16): embed_text._flush_embedding_buffer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/embed_text/embed_text.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"988febb17bf7b4a5de13dbc51659b318961a9a6b5e2a6c27d46bc5bf2820ad78"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.to_optional_dict (cognitive 16): utils.to_optional_dict has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/loaders/utils.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2dc9ee7caaf325584c47d325582537bdde69f8e8ecb08adc9b22444b39b1f9"}},{"ruleId":"D2","level":"warning","message":{"text":"search.display_citations (cognitive 16): search.display_citations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"unified-search-app/app/ui/search.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f59347aeed5b3fff923ad9e3a5a6b3e3cf0ede6ae93c10992e4ff45c57b36e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): packages/graphrag/graphrag/query/structured_search/basic_search/search.py:63-141 | packages/graphrag/graphrag/query/structured_search/local_search/search.py:62-144 \u2014 These two members are variants of one another: 44 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/basic_search/search.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"907fc4794c1a131f7077e47496529b0b95fac5606f64c86038c22f0bef12d78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/graphrag/graphrag/api/query.py:78-123 | packages/graphrag/graphrag/api/query.py:208-255 | packages/graphrag/graphrag/api/query.py:338-383 | packages/graphrag/graphrag/api/query.py:465-501 \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":"packages/graphrag/graphrag/api/query.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aba3392e5af458014c047bf6007f6ab9cb8c21e9ca5a38311d0b3e2c73f10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/graphrag/graphrag/cli/query.py:36-110 | packages/graphrag/graphrag/cli/query.py:122-207 | packages/graphrag/graphrag/cli/query.py:219-299 | packages/graphrag/graphrag/cli/query.py:310-371 \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":"packages/graphrag/graphrag/cli/query.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"84daaaf99780be0e00183634d6bef288313ddd5ed5e9d09685f9baf3821f47f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): packages/graphrag/graphrag/query/input/loaders/utils.py:52-64 | packages/graphrag/graphrag/query/input/loaders/utils.py:70-88 | packages/graphrag/graphrag/query/input/loaders/utils.py:144-159 | packages/graphrag/graphrag/query/input/loaders/utils.py:168-187 \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":"packages/graphrag/graphrag/query/input/loaders/utils.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fd591dc116a41b22679a3d795d5d3562a4c27ede72cb90d2fea7c1b3a10521"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): unified-search-app/app/app_logic.py:151-198 | unified-search-app/app/app_logic.py:202-250 | unified-search-app/app/app_logic.py:257-303 | unified-search-app/app/app_logic.py:310-350 \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":"unified-search-app/app/app_logic.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e2fa92ec4b8f63e58b3fe2b5ca41063ecb5d551f25f2c62e866e234d510d54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83\u201384 lines \u00D7 2): packages/graphrag/graphrag/query/question_gen/local_gen.py:63-146 | packages/graphrag/graphrag/query/question_gen/local_gen.py:155-237 \u2014 both copies are in the same file, so extract the block 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":"packages/graphrag/graphrag/query/question_gen/local_gen.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7925a9568bf9784dfb8e9401b6fcbffb3d3f05dcf8b9a93f007f68274eb437c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): packages/graphrag-llm/graphrag_llm/threading/completion_thread_runner.py:193-243 | packages/graphrag-llm/graphrag_llm/threading/embedding_thread_runner.py:166-216 \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 \u0060packages/graphrag-llm/graphrag_llm/threading/completion_thread_runner.py:193\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060callback\u0060 to \u0060ThreadedLLMCompletionResponseHandler\u0060 in one and \u0060ThreadedLLMEmbeddingResponseHandler\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-llm/graphrag_llm/threading/completion_thread_runner.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2da85ffc5b6de32738b28c7a2ffcb998efeb586b239f186162704f0aa4c841c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201337 lines \u00D7 2): packages/graphrag/graphrag/query/structured_search/drift_search/search.py:359-395 | packages/graphrag/graphrag/query/structured_search/drift_search/search.py:418-452 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/drift_search/search.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f6f1323c3427cc9d8be6a31dba18dfebc34fefc7f8bd366571e31bb7eb8618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201335 lines \u00D7 2): packages/graphrag/graphrag/query/structured_search/basic_search/search.py:148-182 | packages/graphrag/graphrag/query/structured_search/local_search/search.py:151-183 \u2014 \u0060packages/graphrag/graphrag/query/structured_search/basic_search/search.py\u0060 and \u0060packages/graphrag/graphrag/query/structured_search/local_search/search.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 91 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/basic_search/search.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d09e146bbdfb317824ed2867d3b85270f603ced95d11e82ce5b628b138fab73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201332 lines \u00D7 4): packages/graphrag/graphrag/api/query.py:78-109 | packages/graphrag/graphrag/api/query.py:208-239 | packages/graphrag/graphrag/api/query.py:338-368 | packages/graphrag/graphrag/api/query.py:465-491 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/api/query.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc124e3f70ab225136c627a5f7395afa8ca4f87125b93920792dc4d52fc38a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201329 lines \u00D7 2): packages/graphrag/graphrag/cli/query.py:36-60 | packages/graphrag/graphrag/cli/query.py:122-150 \u2014 both copies are in the same file, so extract the block 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":"packages/graphrag/graphrag/cli/query.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8c3c6f02bcc0d5d87e826d396db521308e4cd4ba45f8280b5ee75bc688f82c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): packages/graphrag/graphrag/query/structured_search/global_search/search.py:318-344 | packages/graphrag/graphrag/query/structured_search/global_search/search.py:441-467 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"packages/graphrag/graphrag/query/structured_search/global_search/search.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5831c7cc65f0d1451c39e2677f3845328326710bf1e217fd11bd5272f85654c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): packages/graphrag/graphrag/query/context_builder/local_context.py:68-90 | packages/graphrag/graphrag/query/context_builder/local_context.py:132-155 | packages/graphrag/graphrag/query/context_builder/local_context.py:207-229 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b957f18f0edf88f21c92b11c12ceb6672d06de662453e8d2bbf199f8d242ea7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): packages/graphrag-llm/graphrag_llm/middleware/with_cache.py:72-95 | packages/graphrag-llm/graphrag_llm/middleware/with_cache.py:121-144 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"packages/graphrag-llm/graphrag_llm/middleware/with_cache.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"540442833f83fccac1dcdbdb4c19a777f41fd4029f840b028ae94cc89305e670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201324 lines \u00D7 2): packages/graphrag/graphrag/cli/query.py:219-242 | packages/graphrag/graphrag/cli/query.py:310-329 \u2014 both copies are in the same file, so extract the block 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":"packages/graphrag/graphrag/cli/query.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"712cb4d4bb1dee73c73b219f18c67840aa50d638eeb4d9a0d8bd909dfd346baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): packages/graphrag/graphrag/query/question_gen/local_gen.py:103-125 | packages/graphrag/graphrag/query/question_gen/local_gen.py:194-216 | packages/graphrag/graphrag/query/structured_search/local_search/search.py:90-112 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/graphrag/graphrag/query/question_gen/local_gen.py:103\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/question_gen/local_gen.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d618ee1acc7351ea656fc759d3b0aeb9fc2b8826afba726a6e25383793d77c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): packages/graphrag-storage/graphrag_storage/tables/cosmos_table_provider.py:399-420 | packages/graphrag-storage/graphrag_storage/tables/cosmos_table_provider.py:430-448 \u2014 both copies are in the same file, so extract the block 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":"packages/graphrag-storage/graphrag_storage/tables/cosmos_table_provider.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"080a6db20a00c3adcea4b1fe9c83123ec37de77e2589a45734ccd9fe5d79332a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): unified-search-app/app/home_page.py:107-127 | unified-search-app/app/home_page.py:169-189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060unified-search-app/app/home_page.py:130\u0060 calls \u0060write\u0060 and \u0060unified-search-app/app/home_page.py:191\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":"unified-search-app/app/home_page.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"674e01a4c6bb5dbe3995347e478480254b94c37fd2ee2ce47617633a77620062"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 3): packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py:191-206 | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py:189-207 | packages/graphrag-vectors/graphrag_vectors/lancedb.py:140-155 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c46ffa6223ab4382505df202f23eb784c2b7133c6bff3d5c9e88ce9c1179cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/graphrag-llm/graphrag_llm/completion/completion_factory.py:109-127 | packages/graphrag-llm/graphrag_llm/embedding/embedding_factory.py:106-124 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-llm/graphrag_llm/completion/completion_factory.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8f2e655abedcee3ec6334d2f4865d04c9d8bbae8df21da6e51d5d870122fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/graphrag/graphrag/query/context_builder/local_context.py:186-204 | packages/graphrag/graphrag/query/context_builder/source_context.py:44-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"998f42ccdd62d093e396d4e07788a118e09d1cada3e60b163de5fbf4151d1de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/graphrag-chunking/graphrag_chunking/token_chunker.py:52-69 | packages/graphrag/graphrag/index/text_splitting/text_splitting.py:85-102 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"packages/graphrag-chunking/graphrag_chunking/token_chunker.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef303d58235fd5a8d5f665faf033c606c6d2c493c9e7f3009a180ae3ee2569f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/graphrag-llm/graphrag_llm/completion/lite_llm_completion.py:137-154 | packages/graphrag-llm/graphrag_llm/completion/lite_llm_completion.py:176-193 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-llm/graphrag_llm/completion/lite_llm_completion.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2297e8ee39bacc7a67e677729e412004a53cdbad5c3a75c1f36a15c010fbe684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): packages/graphrag/graphrag/index/update/communities.py:54-71 | packages/graphrag/graphrag/index/update/communities.py:121-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/update/communities.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0284dc08170b09db349d5faed15cd3d3fe8fc50497768fd18d815b0ad00d4c3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): packages/graphrag/graphrag/query/structured_search/basic_search/search.py:63-80 | packages/graphrag/graphrag/query/structured_search/local_search/search.py:62-77 \u2014 \u0060packages/graphrag/graphrag/query/structured_search/basic_search/search.py\u0060 and \u0060packages/graphrag/graphrag/query/structured_search/local_search/search.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 91 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/basic_search/search.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fafcde6df3281e3756e4365d05ecffd1d5920e5ee0233e727e814fa5bd6a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): packages/graphrag/graphrag/cli/query.py:80-95 | packages/graphrag/graphrag/cli/query.py:175-190 | packages/graphrag/graphrag/cli/query.py:267-283 | packages/graphrag/graphrag/cli/query.py:345-360 \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 \u0060packages/graphrag/graphrag/cli/query.py:80\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"packages/graphrag/graphrag/cli/query.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced8ba32af1b63740bb185b9eace2d39c3b2de9a7ab4176cee197b079540a285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): unified-search-app/app/app_logic.py:182-198 | unified-search-app/app/app_logic.py:234-250 | unified-search-app/app/app_logic.py:287-303 | unified-search-app/app/app_logic.py:334-350 \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 \u0060unified-search-app/app/app_logic.py:182\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"unified-search-app/app/app_logic.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0567cad35cd5b52bdd71e97449ee2a80bbfa07db01badb228bfe9b9006e44b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 4): packages/graphrag/graphrag/query/context_builder/local_context.py:75-88 | packages/graphrag/graphrag/query/context_builder/local_context.py:140-153 | packages/graphrag/graphrag/query/context_builder/local_context.py:214-227 | packages/graphrag/graphrag/query/context_builder/source_context.py:63-78 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. 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":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce8c4670d0a88f8dbb112241218f07f4b281224abab38398951e40eeb852b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py:220-235 | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py:217-230 | packages/graphrag-vectors/graphrag_vectors/lancedb.py:165-178 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py:220\u0060 it begins part-way through the construct above it, so those exact 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":"packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"674bf75760790eb88422f0cd0f03849ce0500485c687fa5c70c2ca2919d2fd7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/graphrag-llm/graphrag_llm/middleware/with_metrics.py:57-72 | packages/graphrag-llm/graphrag_llm/middleware/with_metrics.py:81-96 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-llm/graphrag_llm/middleware/with_metrics.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"be42a5221608f86e0a601bf9bd4efdb67be1a9c57f31254312aa9611f9a29bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/graphrag/graphrag/cli/query.py:58-73 | packages/graphrag/graphrag/cli/query.py:244-259 \u2014 both copies are in the same file, so extract the block 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":"packages/graphrag/graphrag/cli/query.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1165aaf1bfdf748a8a969c8d5527e1812534396c83e3d7b63c1b9fffe9b6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): packages/graphrag/graphrag/query/context_builder/local_context.py:60-74 | packages/graphrag/graphrag/query/input/retrieval/entities.py:75-90 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e31fb971e2beccf117fa461eaf970677b9f3d667ea63f6924ee84cc4354198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/graphrag/graphrag/query/context_builder/local_context.py:198-213 | packages/graphrag/graphrag/query/input/retrieval/relationships.py:122-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa2e4abbd6a1b28b0d58d51e16da1d0edc3408bd42c4ab3b587ce93a29e00e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/graphrag/graphrag/query/structured_search/basic_search/search.py:122-137 | packages/graphrag/graphrag/query/structured_search/local_search/search.py:128-143 \u2014 \u0060packages/graphrag/graphrag/query/structured_search/basic_search/search.py\u0060 and \u0060packages/graphrag/graphrag/query/structured_search/local_search/search.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 91 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/graphrag/graphrag/query/structured_search/basic_search/search.py:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"packages/graphrag/graphrag/query/structured_search/basic_search/search.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ee07d0115d851d477e1d0d816fd7b09667ea14e9e5f326ece6a6519e2e17df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): packages/graphrag/graphrag/query/structured_search/global_search/search.py:117-132 | packages/graphrag/graphrag/query/structured_search/global_search/search.py:169-184 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/global_search/search.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6629e0ca1e6c2bc07c7b3226db41609246479deb4e6b07847257814ab44f1a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): packages/graphrag/graphrag/query/input/retrieval/entities.py:68-81 | packages/graphrag/graphrag/query/input/retrieval/relationships.py:115-129 \u2014 before extracting anything, compare \u0060packages/graphrag/graphrag/query/input/retrieval/entities.py\u0060 and \u0060packages/graphrag/graphrag/query/input/retrieval/relationships.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/retrieval/entities.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec078e0d6812a307d60cd14b30a1df2fc9623e538108345a23a185418c59405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py:171-184 | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py:172-185 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from 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":"packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f86f2833dfc8ce181d5274ac16476b0883a9b8223e51651cef39a8113920f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/graphrag/graphrag/api/query.py:242-255 | packages/graphrag/graphrag/api/query.py:370-383 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/graphrag/graphrag/api/query.py:242\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/api/query.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf689d158df22ce713f9b8916ac57e194f8264b50bb1a7385622024e081beab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): packages/graphrag/graphrag/data_model/row_transformers.py:136-149 | packages/graphrag/graphrag/data_model/row_transformers.py:169-181 \u2014 both copies are in the same file, so extract the block 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":"packages/graphrag/graphrag/data_model/row_transformers.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac82beb1764a19bbfa616bc9c2f4ab6ceea359e761b502db53314b1a69bbdc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): packages/graphrag/graphrag/query/input/loaders/utils.py:146-159 | packages/graphrag/graphrag/query/input/loaders/utils.py:174-187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/loaders/utils.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb21e67b5efd59d039a24f7fbbae668658a0f6c0f6dcb5dfaedd1480e83d4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): packages/graphrag/graphrag/query/structured_search/local_search/mixed_context.py:291-304 | packages/graphrag/graphrag/query/structured_search/local_search/mixed_context.py:363-375 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/graphrag/graphrag/query/structured_search/local_search/mixed_context.py:291\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/local_search/mixed_context.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0399e2255618c7bf510181bef37d144c44ba8d03795a7eef565e02fb19d9d481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): packages/graphrag/graphrag/query/input/retrieval/entities.py:68-80 | packages/graphrag/graphrag/query/input/retrieval/relationships.py:115-128 | packages/graphrag/graphrag/query/input/retrieval/text_units.py:34-51 \u2014 before extracting anything, compare \u0060packages/graphrag/graphrag/query/input/retrieval/entities.py\u0060 and \u0060packages/graphrag/graphrag/query/input/retrieval/relationships.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/retrieval/entities.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efda86d23cd3af8371d27765047857d05d418ea8f01713983cd94219da30eaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/cfg_extractor.py:100-112 | packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/syntactic_parsing_extractor.py:95-107 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/cfg_extractor.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"19eeedbe774eda91d0ccd3beada1bec2b7356cdd976ae5bd9d3d8630e28f1998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): packages/graphrag/graphrag/query/structured_search/global_search/search.py:372-384 | packages/graphrag/graphrag/query/structured_search/global_search/search.py:485-497 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/graphrag/graphrag/query/structured_search/global_search/search.py:372\u0060 it does not close everything it opens, so those exact 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":"packages/graphrag/graphrag/query/structured_search/global_search/search.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"960e71e3918dc93c9c9b5ff6d70be8d6f3b9e59f30ba567ec86248e15d9cdc80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): packages/graphrag/graphrag/query/structured_search/basic_search/search.py:108-119 | packages/graphrag/graphrag/query/structured_search/local_search/search.py:114-125 \u2014 \u0060packages/graphrag/graphrag/query/structured_search/basic_search/search.py\u0060 and \u0060packages/graphrag/graphrag/query/structured_search/local_search/search.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 91 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/graphrag/graphrag/query/structured_search/basic_search/search.py:108\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/basic_search/search.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9b26651f6ae20c9e5b5c8f2310a9d62ad35ca660a4b26365fa8031ff8f19c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): packages/graphrag-llm/graphrag_llm/retry/exponential_retry.py:71-82 | packages/graphrag-llm/graphrag_llm/retry/exponential_retry.py:103-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-llm/graphrag_llm/retry/exponential_retry.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f5f2881a64d8c53e1bd41ac788f97901679cb652a0f316da43d43ea7fdfd70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): packages/graphrag/graphrag/query/context_builder/local_context.py:183-192 | packages/graphrag/graphrag/query/input/retrieval/relationships.py:112-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"598b225b44bd668a1da322fa634977a87e54bb0e154823441b270d1d0fe2ee3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): packages/graphrag/graphrag/query/input/retrieval/covariates.py:45-53 | packages/graphrag/graphrag/query/input/retrieval/entities.py:84-92 | packages/graphrag/graphrag/query/input/retrieval/relationships.py:131-139 \u2014 before extracting anything, compare \u0060packages/graphrag/graphrag/query/input/retrieval/entities.py\u0060 and \u0060packages/graphrag/graphrag/query/input/retrieval/relationships.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/retrieval/covariates.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c158f58bd1de0dd5c86d56652ec593a87f088dffa9464bfec35d44d29e361ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/graphrag-llm/graphrag_llm/completion/lite_llm_completion.py:255-263 | packages/graphrag-llm/graphrag_llm/completion/lite_llm_completion.py:281-289 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-llm/graphrag_llm/completion/lite_llm_completion.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbab85c9111f2660df4fd18e7ef0b6bedd12e0b4e070dc6403f9a4237646b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py:301-309 | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py:343-351 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py:301\u0060 it does not close everything it opens, so those exact 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":"packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"67209acfa48c3e3e164ead7ba6646ba725999652c46f6e1a85cdac9cb8fbff5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/graphrag/graphrag/query/input/loaders/utils.py:56-64 | packages/graphrag/graphrag/query/input/loaders/utils.py:80-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060packages/graphrag/graphrag/query/input/loaders/utils.py:78\u0060 calls \u0060isinstance\u0060 and \u0060packages/graphrag/graphrag/query/input/loaders/utils.py:55\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/loaders/utils.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbd851be8d7bf7b11f91e035b3134beea6fcc21729019ed53789bd050eb084b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): packages/graphrag/graphrag/query/structured_search/global_search/search.py:257-266 | packages/graphrag/graphrag/query/structured_search/global_search/search.py:415-423 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/graphrag/graphrag/query/structured_search/global_search/search.py:257\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/global_search/search.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"880b6dc52d6ea0d60bcc095b399e61623155b90d52ddc1d9b8f8a239551c29c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/graphrag/graphrag/graphs/modularity.py:32-39 | packages/graphrag/graphrag/graphs/modularity.py:107-115 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/graphs/modularity.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"058b5599d378cd0bff73c62fe070f1e4ccbc95357562b0d128e9956eff9aaf86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): packages/graphrag/graphrag/query/input/loaders/utils.py:57-63 | packages/graphrag/graphrag/query/input/loaders/utils.py:81-87 | packages/graphrag/graphrag/query/input/loaders/utils.py:147-153 | packages/graphrag/graphrag/query/input/loaders/utils.py:175-181 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060packages/graphrag/graphrag/query/input/loaders/utils.py:78\u0060 calls \u0060isinstance\u0060 and \u0060packages/graphrag/graphrag/query/input/loaders/utils.py:55\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/loaders/utils.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42f3099807930a2dee54a274fcfe448bb0d721e64985ac9bafdabaedb965b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py:241-247 | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py:236-242 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py:241\u0060 it begins part-way through the construct above it, so those exact 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":"packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3fed8987aedf3b32cd55982fc860801e52a937b232bb8e54da7e9459a86c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py:338-344 | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py:369-375 \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":"packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"967e04947c344d34465ca4d967ea067f81376e0f16144888b071cb6f4dd79da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/graphrag/graphrag/data_model/dfs.py:90-94 | packages/graphrag/graphrag/data_model/dfs.py:109-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/data_model/dfs.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e9474f88dca2805168cbe3aa2322a07e0eb0878eeec9990787e136ce5eab4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): packages/graphrag-storage/graphrag_storage/tables/csv_table.py:128-136 | packages/graphrag-storage/graphrag_storage/tables/parquet_table.py:113-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"packages/graphrag-storage/graphrag_storage/tables/csv_table.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53df3815706734c3613339e421c4c21b13f1586935f11b7dbdcaa796f554eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py:256-262 | packages/graphrag-vectors/graphrag_vectors/cosmosdb.py:251-257 | packages/graphrag-vectors/graphrag_vectors/lancedb.py:131-137 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-vectors/graphrag_vectors/azure_ai_search.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"5773df054b3145dc36081ae808c1c59e9c11d67afb0c5f68b93442c7d4985d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): packages/graphrag/graphrag/query/question_gen/base.py:43-47 | packages/graphrag/graphrag/query/structured_search/base.py:67-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/question_gen/base.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7057c5bae204500b2b4061ef63bca1f24780add1afe7b05959442b51aaaab6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/graphrag/graphrag/index/workflows/update_community_reports.py:54-67 | packages/graphrag/graphrag/index/workflows/update_text_units.py:51-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/workflows/update_community_reports.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"853fddc61b9232cb94eb287419e681d6753a4c639985daef818536e8a1e96806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): packages/graphrag/graphrag/prompt_tune/generator/community_report_rating.py:19-41 | packages/graphrag/graphrag/prompt_tune/generator/community_reporter_role.py:20-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompt_tune/generator/community_report_rating.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"903ce8cf03cecc8a2333b8491729091e1c7a65baefb44dc778140bb3abe30af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): packages/graphrag/graphrag/prompt_tune/generator/domain.py:16-34 | packages/graphrag/graphrag/prompt_tune/generator/language.py:16-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompt_tune/generator/domain.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"60892aa723a1ad832a6f2dae6ccb84540e4da1361267eefcfaaa74af54860eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): packages/graphrag/graphrag/query/structured_search/basic_search/search.py:46-55 | packages/graphrag/graphrag/query/structured_search/local_search/search.py:45-54 \u2014 \u0060packages/graphrag/graphrag/query/structured_search/basic_search/search.py\u0060 and \u0060packages/graphrag/graphrag/query/structured_search/local_search/search.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 91 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/basic_search/search.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e592f9bcf712cd2e7ddc967df5bbd3c415261d44df9aae201addee3097d8fe0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 3 significant file(s) lose their only recent owner: packages/graphrag-llm/graphrag_llm/completion/lite_llm_completion.py, packages/graphrag-llm/graphrag_llm/types/types.py, packages/graphrag-llm/graphrag_llm/middleware/with_cache.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"15bc5391ee21d7b9d1e7ae50c783fff743b9a4e6af8057014b9940ea827fefa4"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (7 single-owned of 192 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 192 of the 453 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: packages/graphrag-cache/graphrag_cache/sqlite_cache.py, packages/graphrag-cache/graphrag_cache/cache.py, packages/graphrag/graphrag/index/operations/embed_text/embed_text.py, packages/graphrag/graphrag/index/validate_config.py."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: with the combined verb we can\u0027t force summarization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/verbs/test_extract_graph.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab06df3d411c7f16a6a2dc328ebf05d4f929ce4e520ecbf7fbd4750f7bab1af1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Allow for another llm definition only for Global Search to leverage -mini models \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/factory.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"82917cb56ee46681a2b5034cedc069eb8316e33560f7bb8b278838ba4a3c3c7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO check why some sub_communities are NOT in report_df \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/dynamic_community_selection.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bc515958538e8b4e00643bb73d66d15618738b4d42bfbb45d9d5ac881757b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: we could probably re-compute this with the entire new graph \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/update/entities.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2409c1a9ba22f2a88afcb0bb98e315bf4d967f3effc53d0e1847a5deed4055"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: streamline construction \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/summarize_descriptions/description_summary_extractor.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"70290d1c06541662e78316600a98244d7b9168e170ee728337945c7af4defe6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: this could propagate out to the cli for better clarity, but will be a breaking api change \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/api/index.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3dcccd0a3cae680fdb4f7676cbbded48149a4b127659c5505e37e94d7dece7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Expose a way to specify Prompt Tuning model ID through config \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/api/prompt_tune.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb70c42e56b6123a07da9e81ca03ef7728b4bd3eee5a58227536d3406ebfa47d"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 10 project(s) overshoot their size bounds, lowering Project Cohesion to 8.0/10. The most over is \u0060packages/graphrag\u0060 (19298 LoC, 255 module-visible types across 42 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7113fb963e2f3ac1693d0e6474b6a6ef22cb24e89350e768434b550a40dc3352"},"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":"135f4f57ad80969915ce5abfb6d03e2e6d505e58ddafe2588f0cc0849e5d72e9"},"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":"6ed059458dc0d864f79fffc2c8cd3f09ac2213f256b255ba1e07734350228541"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc951ff3fdea93ca71b60ef4dc925033edf5087a4692eeef5ae051ea1d2eedca"},"properties":{"dependency":{"package":"gitpython","version":"3.1.45","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2160","PYSEC-2026-2161","PYSEC-2026-2162","PYSEC-2026-2163","PYSEC-2026-3783","PYSEC-2026-3784","PYSEC-2026-3785","PYSEC-2026-3786","PYSEC-2026-3787","PYSEC-2026-3788","PYSEC-2026-3836","PYSEC-2026-3837","PYSEC-2026-3838","PYSEC-2026-3839","PYSEC-2026-3840","PYSEC-2026-3841","PYSEC-2026-3842","PYSEC-2026-3843","PYSEC-2026-3948","PYSEC-2026-3949","PYSEC-2026-3950","PYSEC-2026-3951","PYSEC-2026-3952","PYSEC-2026-3953","PYSEC-2026-3980","PYSEC-2026-3981","PYSEC-2026-3982","PYSEC-2026-3984","PYSEC-2026-3995"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5287eeda6c11c3e859f833fed243eaeca3cb0b58828d51499a9fa00b31bf8201"},"properties":{"dependency":{"package":"pillow","version":"11.3.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-112396","BIT-pillow-2026-112397","BIT-pillow-2026-112398","BIT-pillow-2026-112399","BIT-pillow-2026-112400","BIT-pillow-2026-112401","BIT-pillow-2026-112402","BIT-pillow-2026-112403","BIT-pillow-2026-112404","BIT-pillow-2026-112406","BIT-pillow-2026-112891","BIT-pillow-2026-112892","BIT-pillow-2026-112893","BIT-pillow-2026-112894","BIT-pillow-2026-112895","BIT-pillow-2026-112896","BIT-pillow-2026-112897","BIT-pillow-2026-112898","BIT-pillow-2026-112900","BIT-pillow-2026-112901","BIT-pillow-2026-114501","BIT-pillow-2026-25990","BIT-pillow-2026-40192","BIT-pillow-2026-42308","BIT-pillow-2026-42309","BIT-pillow-2026-42310","BIT-pillow-2026-42311","BIT-pillow-2026-54058","BIT-pillow-2026-54059","BIT-pillow-2026-54060","BIT-pillow-2026-55379","BIT-pillow-2026-55380","BIT-pillow-2026-55798","BIT-pillow-2026-59197","BIT-pillow-2026-59198","BIT-pillow-2026-59199","BIT-pillow-2026-59200","BIT-pillow-2026-59204","BIT-pillow-2026-59205","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-96639","BIT-pillow-2026-96640","BIT-pillow-2026-96641","BIT-pillow-2026-96642","BIT-pillow-2026-96643","BIT-pillow-2026-96644","BIT-pillow-2026-96778","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-165","PYSEC-2026-2249","PYSEC-2026-2250","PYSEC-2026-2251","PYSEC-2026-2252","PYSEC-2026-2253","PYSEC-2026-2254","PYSEC-2026-2255","PYSEC-2026-2256","PYSEC-2026-2257","PYSEC-2026-2874","PYSEC-2026-3451","PYSEC-2026-3453","PYSEC-2026-3454","PYSEC-2026-3493","PYSEC-2026-3494","PYSEC-2026-3495","PYSEC-2026-3496","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4328","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4336","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-4339","PYSEC-2026-4340","PYSEC-2026-4341","PYSEC-2026-4342","PYSEC-2026-4343"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c9654ed558968f89a13401ea247a2de28bdadd014fae9cbef0fc67ebf2dde6a"},"properties":{"dependency":{"package":"nltk","version":"3.9.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2078","PYSEC-2026-2085","PYSEC-2026-2235","PYSEC-2026-2236","PYSEC-2026-2237","PYSEC-2026-3581","PYSEC-2026-3582","PYSEC-2026-3583","PYSEC-2026-3584","PYSEC-2026-3657","PYSEC-2026-3722","PYSEC-2026-3723","PYSEC-2026-3724","PYSEC-2026-3728","PYSEC-2026-3729","PYSEC-2026-3730","PYSEC-2026-3731","PYSEC-2026-3732","PYSEC-2026-3733","PYSEC-2026-3734","PYSEC-2026-3735","PYSEC-2026-3736","PYSEC-2026-3737","PYSEC-2026-3738","PYSEC-2026-3739","PYSEC-2026-3740","PYSEC-2026-3741","PYSEC-2026-3748","PYSEC-2026-3749","PYSEC-2026-3750","PYSEC-2026-3751","PYSEC-2026-3752","PYSEC-2026-3868","PYSEC-2026-3869","PYSEC-2026-3870","PYSEC-2026-3871","PYSEC-2026-3954","PYSEC-2026-3955","PYSEC-2026-4318","PYSEC-2026-597","PYSEC-2026-96","PYSEC-2026-97","PYSEC-2026-98","PYSEC-2026-99"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1918b5baf3c8173b273f4dfd79163a28f52fd369387ebef89a351315ddc5b3c"},"properties":{"dependency":{"package":"anyio","version":"4.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a4ab97341ebaf555f3ccd5efd84a206c5ca4f57c16f4ce980c38bb0d3f23fb7"},"properties":{"dependency":{"package":"pyjwt","version":"2.10.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-183","PYSEC-2026-120","PYSEC-2026-175","PYSEC-2026-176","PYSEC-2026-177","PYSEC-2026-178","PYSEC-2026-179","PYSEC-2026-4140","PYSEC-2026-4141","PYSEC-2026-4144","PYSEC-2026-4145","PYSEC-2026-4147","PYSEC-2026-4148","PYSEC-2026-4149","PYSEC-2026-4152","PYSEC-2026-4183"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3aca4f09ca437a64c04d2a16e6cf1978ec0167f097100ec7bc843e227b328e98"},"properties":{"dependency":{"package":"certifi","version":"2025.7.14","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09eef8b6625b25738f8700358b71be29a093fcfe59905926f2178ad3d178132f"},"properties":{"dependency":{"package":"pillow","version":"12.3.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-112396","BIT-pillow-2026-112397","BIT-pillow-2026-112398","BIT-pillow-2026-112399","BIT-pillow-2026-112400","BIT-pillow-2026-112401","BIT-pillow-2026-112402","BIT-pillow-2026-112403","BIT-pillow-2026-112404","BIT-pillow-2026-112405","BIT-pillow-2026-112406","BIT-pillow-2026-112891","BIT-pillow-2026-112892","BIT-pillow-2026-112893","BIT-pillow-2026-112894","BIT-pillow-2026-112895","BIT-pillow-2026-112896","BIT-pillow-2026-112897","BIT-pillow-2026-112898","BIT-pillow-2026-112900","BIT-pillow-2026-112901","BIT-pillow-2026-114501","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-96639","BIT-pillow-2026-96640","BIT-pillow-2026-96641","BIT-pillow-2026-96642","BIT-pillow-2026-96643","BIT-pillow-2026-96644","BIT-pillow-2026-96778","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4328","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4333","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4336","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-4339","PYSEC-2026-4340","PYSEC-2026-4341","PYSEC-2026-4342","PYSEC-2026-4343"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d49eb05e6539a924c4d16423528db47785694155a4f62872a38f13451dd520a"},"properties":{"dependency":{"package":"nltk","version":"3.9.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2078","PYSEC-2026-3581","PYSEC-2026-3582","PYSEC-2026-3583","PYSEC-2026-3584","PYSEC-2026-3722","PYSEC-2026-3723","PYSEC-2026-3728","PYSEC-2026-3729","PYSEC-2026-3730","PYSEC-2026-3731","PYSEC-2026-3733","PYSEC-2026-3734","PYSEC-2026-3735","PYSEC-2026-3736","PYSEC-2026-3737","PYSEC-2026-3738","PYSEC-2026-3739","PYSEC-2026-3740","PYSEC-2026-3741","PYSEC-2026-3748","PYSEC-2026-3749","PYSEC-2026-3750","PYSEC-2026-3751","PYSEC-2026-3752","PYSEC-2026-3790","PYSEC-2026-3868","PYSEC-2026-3869","PYSEC-2026-3870","PYSEC-2026-3871","PYSEC-2026-3954","PYSEC-2026-3955","PYSEC-2026-4318","PYSEC-2026-597"],"reachability":{"kind":"production","file":"packages/graphrag-chunking/graphrag_chunking/bootstrap_nltk.py","line":19}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c39221e7a57c94c8668f293a52beb2217070a9b1a940bee5edd4b6b0b226af4b"},"properties":{"dependency":{"package":"certifi","version":"2026.7.22","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e74566b8bcbee56a8f06fbb655cb435ace48d321ff0fcd91e9b6107cdf33213"},"properties":{"dependency":{"package":"urllib3","version":"2.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-141","PYSEC-2026-1994","PYSEC-2026-1996","PYSEC-2026-1998","PYSEC-2026-4175","PYSEC-2026-4177"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9fb4201f20219efa28fde8b64b22dafe769178b161fae3a6a344c48a3211c7a9"},"properties":{"dependency":{"package":"tornado","version":"6.5.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-265","PYSEC-2025-266","PYSEC-2025-267","PYSEC-2026-140","PYSEC-2026-2287","PYSEC-2026-3387","PYSEC-2026-3388","PYSEC-2026-3389","PYSEC-2026-3928"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce012303daf9df43756438bf14704001a67e5fd52171de0f66ded4ea928b941e"},"properties":{"dependency":{"package":"protobuf","version":"5.29.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1805"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8cf324bd4c70fbfbbe17706cbfe76a9098a74cf9125bae35f91a30b68d2f4b2e"},"properties":{"dependency":{"package":"azure-core","version":"1.35.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1208"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0389dd49a8a2eeb9c992a61df6acb37dd24bf92abcaba9031bc0b0050efb57ee"},"properties":{"dependency":{"package":"pyarrow","version":"21.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-113"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df6e88aa4efb5ac3d22913afd85bf367594f986e33af12291ef463fb3d0f320f"},"properties":{"dependency":{"package":"cryptography","version":"45.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2141","PYSEC-2026-35","PYSEC-2026-3552","PYSEC-2026-3553","PYSEC-2026-3554","PYSEC-2026-36"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8508847bc704bef1984e9c8a6c76a377d3e320add340203c13fcbd64d85c79a3"},"properties":{"dependency":{"package":"json-repair","version":"0.30.3","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68d12c1003853104d3983851affe39476c77f7ff3051b6ed28be18dc21747846"},"properties":{"dependency":{"package":"jupyterlab","version":"4.6.3","advisory":"[GHSA redacted]","aliases":["BIT-jupyterlab-2026-102904","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4055","PYSEC-2026-4056","PYSEC-2026-4057","PYSEC-2026-4058","PYSEC-2026-4059","PYSEC-2026-4060","PYSEC-2026-4112"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c7aaf1fb8559c36e5df33ec1068e23fe8da0a6bf8c468a8e6f2615c3a7cea7f6"},"properties":{"dependency":{"package":"notebook","version":"7.6.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4057","PYSEC-2026-4058","PYSEC-2026-4060","PYSEC-2026-4112"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c33e63fe868bc80622edcb53fc1833c32728687bef646b79090ec6bad08ecd7"},"properties":{"dependency":{"package":"litellm","version":"1.100.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/graphrag-llm/graphrag_llm/completion/lite_llm_completion.py","line":9}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f268873f65bdaa9fa0eb6931555627e85a8ff8143ca35ae482b4a7d5ea5ae3e9"},"properties":{"dependency":{"package":"urllib3","version":"2.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4175","PYSEC-2026-4176","PYSEC-2026-4177"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8d3dcf234d07496351880fce4779e84ddade6494e493217ff2558072baf308e"},"properties":{"dependency":{"package":"tornado","version":"6.5.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"973761dc48415cb88e8328f335615cb9a9390dc14e167c265c3a4fcef8a1e0a7"},"properties":{"dependency":{"package":"nbconvert","version":"7.17.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1cd5edb55bbbb627ab2f3a485a1a65f2b7d9e94a298b940d9d0c04d4a4bc987f"},"properties":{"dependency":{"package":"filelock","version":"3.32.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a848c382c8b8d7071a123cc620adc049527f5e7c02d12e6b43294a21f8ace908"},"properties":{"dependency":{"package":"aiohttp","version":"3.14.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa21dd29d1100f391c8a951f15e9fb224cacdf19955f93534e65557b820d81a2"},"properties":{"dependency":{"package":"marshmallow","version":"4.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1605"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0be7f8b350782230887e81e644879f5695a727ebdd6b238a2d232cb3dd390bac"},"properties":{"dependency":{"package":"idna","version":"3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-215"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bbfea7b5dc4111661070790d6cc041f59a975d6351e70ffee1bcc641ed5cc2d1"},"properties":{"dependency":{"package":"fonttools","version":"4.59.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1389"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a138b37f2d85c8556280b617c5aaab5e586c4ad91d7d132343dc8d5ba44691d"},"properties":{"dependency":{"package":"streamlit","version":"1.43.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-212","PYSEC-2026-2285"],"reachability":{"kind":"production","file":"unified-search-app/app/app_logic.py","line":11}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ec96e71b848094e7d7afa6145b3230e5a47bac14d0f77cc8bee0a9072e4c84f"},"properties":{"dependency":{"package":"requests","version":"2.32.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2275"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc503b32a02efd355f54876f9210ae2e0dec271bfcbc2188eaf7b601ba20c6be"},"properties":{"dependency":{"package":"setuptools","version":"80.9.0","advisory":"[GHSA redacted]","aliases":["BIT-setuptools-2026-59890","[CVE redacted]","[GHSA redacted]","PYSEC-2026-3447"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5055f0f298db217f1c3c881194baec84ed13dd362d43f8edd5980b68d9c16e9a"},"properties":{"dependency":{"package":"python-dotenv","version":"1.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2270"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3983d8ad0f7cf93779d87ae9d50cde386664003de03a56c1b1723a1e94c24b78"},"properties":{"dependency":{"package":"pygments","version":"2.19.2","advisory":"PYSEC-2026-2987","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da07a9ff6639c2d72d1034c6ebffe34d8b06a4ad72edf646dafd4490389a7af7"},"properties":{"dependency":{"package":"pyjwt","version":"2.14.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4141","PYSEC-2026-4183"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2f69292b7500f63f60d9273f140d50be816fe0dca2dfb24841c4450b5194153"},"properties":{"dependency":{"package":"multidict","version":"6.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4244"],"reachability":{"kind":"not-imported"}}}},{"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":"9958ffb9a1831d3aa4b9a5ff26d13631913a6a56cc5e7cb007bbcdf19046f529"},"properties":{"dependency":{"package":"setuptools","version":"84.0.0","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a9549c6f7e13fddeab87ceb79bec4e0b390b2914efca4c7fdce4a834127961c"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a0bfeab201f7e3e02904ccafe871e4544f093570a75399a5af323e3e95ea1af"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f77da75ae7f958932b974e2d748bb71e524a89fab5ee76798248f91e75e3b346"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1ac4d3b224dd1b90afbc41fe5fc9b34b3957161055e1a66bf1590161b5dd217"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2592e0911307fb689290f2f4a6984f586eb1cf94f5d0b86ccac7999e0f4d01f8"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"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":"bfa2397110661f26fac56b8f17f37a26bef3a7e8fd0be87a58f8fde41388d25b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49c4933bb19d4b3c96f42c6e4b479e337be41389054e2c50155d60ebbc006ce8"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91ab8d5a7db94358b4940f4d3ed4e9eb0f5d35684435b4fbee9f106250c053f9"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/local_search/mixed_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ff2d4abf26bbfffff8dec2ed79f3166c32831775b7b44b291775bbf8b7d8d2"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/global_search/search.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49de31277515477ef1f3f8cfa22fb7296ac0cf87beadeec52808702409abdc2f"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 85 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: packages/graphrag-storage/graphrag_storage/tables/cosmos_table_provider.py, packages/graphrag-vectors/graphrag_vectors/cosmosdb.py, packages/graphrag/graphrag/cli/main.py, packages/graphrag/graphrag/query/context_builder/local_context.py, packages/graphrag-vectors/graphrag_vectors/filtering.py, packages/graphrag/graphrag/index/operations/summarize_communities/graph_context/context_builder.py, packages/graphrag/graphrag/query/factory.py, packages/graphrag/graphrag/graphs/modularity.py (and 77 more) (87 orphaned of 192 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 192 of the 453 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-storage/graphrag_storage/tables/cosmos_table_provider.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b021e6cfc8fdcd065fef440b752ee9932417830ffb7cc4a496fc6b622c670fa1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-vectors/graphrag_vectors/cosmosdb.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14b924c0e06fcc218361c04df8168eb5a298ebe50305c875f907166eac1fb98"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/cli/main.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6669b36ef4069df8012f578e8a9e6b4f0fde619509790e938c564cbcac4c848a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca58a722a76ea4e246b625cc12a3d804f6d9fa28cc992ffff4f8c7d5a906ffa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-vectors/graphrag_vectors/filtering.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7963675c39c0bbc27009e7effb4ce2c2e7323abaa8743b0a0bab45406bd9fa9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/summarize_communities/graph_context/context_builder.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef726f0d25237621cd4b9f4f109e6c2ac3dee1281af34fb2f262a87ee450af6e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/factory.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8892032285f32b36a96e3c9d0df2b846f4322203c0388c5a6cc00c904d8f32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/graphs/modularity.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e3c1d8472c075834f78237ffc7d4d00307ccbd90e0c011ab31828a8923341a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/community_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64213d1a44c28d471137a32661682baebef2165d528d0728a04701992ecbcb82"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/loaders/dfs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e0a77231b96c5383d1a2b285606541fc26384912714a577cb1977572f41e30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompts/index/community_report.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b85b1cd7d2dfb1a082dab18bb90f96ed18fe08e4be0af42119e0b7e7b59c8c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/summarize_communities/text_unit_context/context_builder.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93540786430198c6cc9f5b8bb4eed1a8e33a47628e4b7aab0d327290e24103d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/question_gen/local_gen.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff8b0fc166f228daf929f00117416f7661d5326c9af10eeeaba542e3b244031"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompts/query/drift_search_system_prompt.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"412cb016e28156a35e8ef89be910e711cde15eb85e1353e1107df270cf413055"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/drift_search/drift_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"500ee21ff51d21a28eb76a885a96e8880e792715d124a6fc93d80e8e79f00fff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompts/index/community_report_text_units.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d701bb03e843dc02740852393752be972b4d0fd5d838aa8a535464f9aecfa5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/drift_search/action.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec632415082051ead1f5d9ff8fed0a67425baf4e5aa6b2db6da0c12e02212989"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/data_model/row_transformers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b346ae68ffa1819ef1a8703551c3a5d9ca8f1d5f3639fd51365e611d554fde"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/indexer_adapters.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0373e71b6ba7c6f7fc0ab34696e89b98aef29bfd3dae94f5f7d6dc9e5d65b51b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/cfg_extractor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1128ad60edd906a5b04e7403810ef149031873a46b6b08e6b73ad30d5bcddd1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-storage/graphrag_storage/tables/csv_table.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"348e5d722240c81faa6f6e834798b116f4d738c9685f15500fea596c0e33d58e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/api/prompt_tune.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98f357b55372fc36cebb3336ba9c0dada62445805fa8250d90d50cb32c5ecf8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/local_search/search.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10c9a00c81303a11b70ff69d4186de34d006470873cf9dd316f3d0842a2d264"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/dynamic_community_selection.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e812e99006b0729959e614b03058f2e70843ce2312a393798b381d13a6c843"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompt_tune/prompt/community_report_rating.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e7fdb746c98e06ab4fcd6436d81841b13a09b9afd991d78f68538d7f8c70d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-storage/graphrag_storage/tables/cosmos_table.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a76606cf16168017771d27fa101f0e0dd3eeb2494606707b20626ef71310052"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/syntactic_parsing_extractor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7339407d6be4060f676edcf729ed7c5c9df3542882a9b4838ad0dd9b26308702"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompt_tune/template/community_report_summarization.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8760c17255b67402751998e6d14eafd92dc7ccf444e825138407de15692754"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/loaders/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4756338d988413e19a9f41ced65e956623d1e1d017dd39f34c3bebb94dbb75a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompt_tune/template/extract_graph.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"471ba09d77f8685f9e821668526bfa8d8e7e33932d34e4be9841f07ab9b95d6a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/global_search/community_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f083a8ee95aef73ac9816b2b7fcc23ee5749e54b942d711e0b2bd1fb5c92f4e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/summarize_communities/graph_context/sort_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"648ba248e09ba3cd1ae008803894c1ef747e5fb3e2c1935c293c355f7467667a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompt_tune/prompt/entity_types.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5233730b8a843dc7a29bf1988e9de404e66e964204d4a1e26698129e84c8af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/data_model/dfs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e34f91b2e7506e33f18a6e19e6a0c77ea47abf661435510fad72b00cc0defb6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/drift_search/state.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc7855b002a56f19c5c65cdd5a0ee9b35060f0e35b4b6970539ec6d76e6eaf0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-storage/graphrag_storage/tables/parquet_table.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"511dd7456d110a7674a8d60ae8b3867a37c9d684b3e4cb49089fb9eeb14e8d81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/utils/derive_from_rows.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"749fd3054b945af61b9ff9139c10b5c57420bc732bfc0a660de9e20dc653e0e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/embed_text/run_embed_text.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1dc09204a07e848150b1529f046bc331d5f9bd7bc364f1d114592b7e5f24a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/retrieval/relationships.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7e7823f8867a14085c4dec9cf931f0763e5083ec2f62413d7a064a792a5f91"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompts/index/extract_claims.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"babc683946a0274e032b038ca88400316e92fa3e831efc27b8237d8b93e1c649"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-storage/graphrag_storage/tables/csv_table_provider.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2809bbfe6cb808d341dedb858dfc89c84bcda93523cca537394cd326df0ec79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/config/models/drift_search_config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a920be95179a020258d44a6b1f0787462749f10eedc88fd3c683f9ae165684"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-storage/graphrag_storage/tables/parquet_table_provider.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c51a60fa9ae155d8fbec770a50d6c1833b30ac0fb6c18e1a449a3a96403e976"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/prune_graph.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95aff35a797469fbf7a3a352f1246841a15302c48ddb012cd41e7771563189b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/summarize_descriptions/description_summary_extractor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9b1530491eea04e24d70d95f6c689cc3e7a951e882b5868a66f345f8f7b9b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/regex_extractor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b135af2bb8f3c27857202cc2c1624f77ab8a0106295ba40ae2c67153dc4cec62"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/workflows/update_entities_relationships.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7838372b62948844d3809abe4a51c70aa858959496f80b41aebe2f58d732ca5b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/entity_extraction.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"960222f63db2b6614f7d8ddf8627540bcece1e5361fea06e1507346525150256"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/summarize_descriptions/summarize_descriptions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49146f6629f38dd670aa1d7e9354213b85bcf721645c95ee186e14ab04025d95"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompts/query/global_search_map_system_prompt.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74095b6985ab2d65b041deba88789f0752f0f7b464233c2d4088b41cfeeeedcf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/cli/prompt_tune.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"739bd81830b151d129342892148be0fbaea8cebecfdd8b61c1395b42fb6d15fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompts/query/global_search_reduce_system_prompt.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b531946b8cd790e30d9988c7bc215e837ea7b2ab15461dd964ba2ba511521235"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/workflows/create_community_reports_text.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ba7ae865b9053ef437dcdfc064794abcc21bf4b3cc8ebf8b116ebbe3c1ad85"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-storage/graphrag_storage/tables/table_provider_factory.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a0f91d9a61ef552df4e461b738c174d701f43a2c12eb0d5bb1fe87b9363de6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/extract_graph/extract_graph.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c374f0ade647ec56f71e69f38be764b56606a95d1543b082ade51789606e67ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompt_tune/generator/extract_graph_prompt.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f4a89a6eeb8f769f1f103dd04a840bd6332a2ab1099bfca3de22003307fd48"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/factory.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d6ecabe62b6dfb98d9d476be0ece560d983bdec07726cf4d0b2eff96ca299d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/workflows/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f67402886242929e998ccb70df796000e45ca61c85e4b3d7e2de05e8a11d572"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/config/models/extract_graph_nlp_config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46e031b5149a08639d189604bd5fe1065e5d530e5d0037d6e8af6baa4f80a50"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/summarize_communities/community_reports_extractor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9dc2100af082b4c0b04fb3e42b2730d780640cc5dc29712809e3ef80e4ced3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-storage/graphrag_storage/tables/table_provider.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"725f6f19a0df388d12e5505e13f132da550d09fbe362ae76e98ea6a209677cd3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-storage/graphrag_storage/tables/table.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cff673d9b8cbe378db2dcd007148a0a7d5c19184c383a4e4219051154ce152"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/source_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6938e4b57dc60be1a70dcab7130f8806778f9ce4d92d070fc5617b8ce19d0f29"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/graphs/edge_weights.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb4f5c7cc9c95e797de706e1ec59f349a60df618ba0e5cd0dbf2a5fc2985a08"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/workflows/update_text_units.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6910c24cc9c9e32cff6efe77f926aa08a0825d04f544e994983b223146974c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/cluster_graph.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5677769976467cbca83147cce00b7af7e993e539bd953766459b6507bd2988"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/retrieval/entities.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedde5a8f48ebe78162f8c9dfce72364ce4d784b4d8447e0de49a54c34ea6582"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/workflows/factory.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2b339540fe46990a5d3f239de1aff62a674322494260897ed4a46e51bdfe82"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/summarize_communities/build_mixed_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"181ab5b681d697efb318b349f3f3280e6d3e021dff0a5c22d13d1fc377a048cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/data_model/schemas.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42d3a33c64d986033061e29a8d59c56972b1bf2d7f48e47d86baf128ecf81cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-vectors/graphrag_vectors/timestamp.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c659d033c646a6d15a6af8ff8bfe9d0ae3fdb7b5a97e45b9c983c3186290a3c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/operations/summarize_communities/text_unit_context/sort_context.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b149a19e621fb5e226af764e3a6d0b09fe20d51cca91af21dd5fd9036ac9a258"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"615184ce9c15a7af500fdea8efb7ad4c9d33b2f5e7ea754f6ba069656d95ee99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-storage/graphrag_storage/memory_storage.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08b5b6e1a5acd391fd59f69be1ffe3b6e0e74da8ceb47fc17ace9f60b30aedc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/logger/progress.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2295596a51911468af84e5b43515becfbc33bee90ef51715d05b3eb655ded49d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/update/relationships.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3893147a9b02796e132dedb770a8a964773adb3a767961f1d3325511023f561d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/prompts/query/local_search_system_prompt.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a138fde101a3cf4b0815a027849bf7452605ad039b7d44c5d6c8818f12d2447"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/data_model/data_reader.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce040041f298aa87043597d26dd2183ff0c04b7e02820044527e0dabf88dd4b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/workflows/update_covariates.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa46a470a76d6dc58a9b544648641b7e073ead796bea41a00c20fdea3434ec2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/workflows/prune_graph.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ff3045d0b21cebfd2b08cc57077ddf884a8c224ee35a375b4322f301bb357e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/graphs/connected_components.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b5da28e30558b1bea36ef0ff628c5bbacc4b3f13bc9543d379c2b4ebdd53dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/data_model/community.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"580ed4fa50eda6c044fbc6eafda2961e979eb9f32dd4d64017678d0866861780"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/graphs/stable_lcc.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64192479e89835fe38eb867a2d477126f3c13a7f9442e871908d2d8411aa2c75"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/input/retrieval/community_reports.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77ad2dadacac69c92355573b11df06a80c494f54fbff9ff73a9e5aec0811b45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/data_model/entity.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dd182587e2d2eecee0c7ad3537e388a0f215af0abf987e0f2452cb7d8427a9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: defaults.py \u2194 factory.py: \u0060packages/graphrag/graphrag/config/defaults.py\u0060 and \u0060packages/graphrag/graphrag/query/factory.py\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060e2a44817\u0060 Fix/minor query fixes (#1893) (at that commit the files were still \u0060graphrag/config/defaults.py\u0060 and \u0060graphrag/query/factory.py\u0060); \u00603defab2e\u0060 Reduce Drift Response and Streaming endpoint (#1624) (at that commit the files were still \u0060graphrag/config/defaults.py\u0060 and \u0060graphrag/query/factory.py\u0060); \u0060185f513c\u0060 Basic search implementation (#1563) (at that commit the files were still \u0060graphrag/config/defaults.py\u0060 and \u0060graphrag/query/factory.py\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/config/defaults.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a466ab03f7cb4e795d6e14312b3f3943879669588dc496e3ee2e322febd449"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6bda55f2da1d67afd2738b1e33e91e1518576d6132b8f16dc4d85612d22d85d5"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26832ccae8a238b9cc1676b146912f980de4070c3ff20376c422386e8c98ca8c"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 19945 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/python-checks.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch pip: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060pip\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf68ee1ea2969cbbdae4336ca738b5320c565628ea6ee894219d523831dd0f17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022-\u0022 in token and len(token.strip()) \u003E 1 and len(token.strip().split(\u0022-\u0022)) \u003E 1\u0060 appears character-identically in 2 files \u2014 packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/np_validator.py, packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/regex_extractor.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":"packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/np_validator.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd8994cb15c630bbc92643830652792684df566f00520aa657702d6bc3c8178"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060True and not quit_process_event.is_set()\u0060 appears character-identically in 2 files \u2014 packages/graphrag-llm/graphrag_llm/threading/completion_thread_runner.py, packages/graphrag-llm/graphrag_llm/threading/embedding_thread_runner.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":"packages/graphrag-llm/graphrag_llm/threading/completion_thread_runner.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"179152ce551ed2ea1c894099a7438a2e493e120af26764a5e424f774a87efe4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection_string is not None and account_url is not None\u0060 appears character-identically in 2 files \u2014 packages/graphrag-storage/graphrag_storage/azure_blob_storage.py, packages/graphrag-storage/graphrag_storage/azure_cosmos_storage.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":"packages/graphrag-storage/graphrag_storage/azure_blob_storage.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c3b6b3ed07fddcd7f1f2f893b5039502509d347ed4eafe320fe0cc771ce4f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060covariate.attributes and covariate.attributes.get(field)\u0060 appears character-identically in 2 files \u2014 packages/graphrag/graphrag/query/context_builder/local_context.py, packages/graphrag/graphrag/query/input/retrieval/covariates.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":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bf9b820b40453f09ae8f2bee921946b7140ca2c3405c382e767011b42750cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entity.attributes and entity.attributes.get(field)\u0060 appears character-identically in 2 files \u2014 packages/graphrag/graphrag/query/context_builder/local_context.py, packages/graphrag/graphrag/query/input/retrieval/entities.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":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb63712abe0bd5205f3a5500660b8a25840d4cb4e7e1cb65499ae9c18102860b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060exceptions_to_skip or _default_exceptions_to_skip\u0060 appears character-identically in 2 files \u2014 packages/graphrag-llm/graphrag_llm/retry/exponential_retry.py, packages/graphrag-llm/graphrag_llm/retry/immediate_retry.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":"packages/graphrag-llm/graphrag_llm/retry/exponential_retry.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c9cfa2d1859e8ca0f3a58b2b116fdb2fdfef295446da723444301f5e8bcbf4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(tagged_np[\u0022cleaned_tokens\u0022]) \u003E 1 or tagged_np[\u0022has_compound_words\u0022]\u0060 appears character-identically in 2 files \u2014 packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/cfg_extractor.py, packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/syntactic_parsing_extractor.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":"packages/graphrag/graphrag/index/operations/build_noun_graph/np_extractors/cfg_extractor.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca01ab605c091f4dbb6e245b2c355e08a0105efb556da7c2968f4c91930eefa9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model_config.azure_deployment_name or model_config.model\u0060 appears character-identically in 2 files \u2014 packages/graphrag-llm/graphrag_llm/completion/lite_llm_completion.py, packages/graphrag-llm/graphrag_llm/embedding/lite_llm_embedding.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":"packages/graphrag-llm/graphrag_llm/completion/lite_llm_completion.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7be9b154f84a991abdf41d4340431f88a40b1619f9a5ec4db50bf993bb1ade1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(mock_responses, list) or len(mock_responses) == 0\u0060 appears character-identically in 2 files \u2014 packages/graphrag-llm/graphrag_llm/completion/mock_llm_completion.py, packages/graphrag-llm/graphrag_llm/embedding/mock_llm_embedding.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":"packages/graphrag-llm/graphrag_llm/completion/mock_llm_completion.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21bde5baa820f00a7b013a0e77c411367f6217b8c11ff132cbb6da1199c7a94"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rel.attributes and rel.attributes.get(field)\u0060 appears character-identically in 2 files \u2014 packages/graphrag/graphrag/query/context_builder/local_context.py, packages/graphrag/graphrag/query/input/retrieval/relationships.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":"packages/graphrag/graphrag/query/context_builder/local_context.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc66159d9391608744cc1b6bc37366d45ccc7efe7a90af8c47566e9c736d31ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.base_dir is not None and self.base_dir.strip() == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 packages/graphrag-llm/graphrag_llm/config/metrics_config.py, packages/graphrag-llm/graphrag_llm/config/template_engine_config.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":"packages/graphrag-llm/graphrag_llm/config/metrics_config.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d316224a96375e05a0ec23db0413e007c278131131fc95324f15059586eb5f40"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060template_engine_config or TemplateEngineConfig()\u0060 appears character-identically in 2 files \u2014 packages/graphrag-llm/graphrag_llm/templating/template_engine_factory.py, packages/graphrag-llm/graphrag_llm/templating/template_manager_factory.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":"packages/graphrag-llm/graphrag_llm/templating/template_engine_factory.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"97901ffbd82116d495b4ed72aef4b59a5cc967ec59b4f1486625b4d8cefefafb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tokenizer or create_tokenizer(TokenizerConfig(model_id=model_id))\u0060 appears character-identically in 2 files \u2014 packages/graphrag-llm/graphrag_llm/completion/completion_factory.py, packages/graphrag-llm/graphrag_llm/embedding/embedding_factory.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":"packages/graphrag-llm/graphrag_llm/completion/completion_factory.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d6a691ceaaabf7e69332e6d18454ff4ceccf63f54996b1618f4a1547dbb690"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060make_yaml_serializable\u0060 is public and takes \u0060data: Any\u0060 from its caller, and it calls itself at line 24 (\u0060make_yaml_serializable\u0060) with a piece of \u0060data\u0060 (and at line 27, line 31) \u2014 and nowhere in \u0060make_yaml_serializable\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060make_yaml_serializable\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-common/graphrag_common/hasher/hasher.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ada01792e9d661d50f9fe6eaaef3cecbf12678f3ea9d0f7fe5f666d4d594566"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060redact\u0060 is public, takes a document from its caller (line 27) and hands it to \u0060redact_dict\u0060, which calls itself at line 46 (\u0060redact_dict\u0060) with a piece of \u0060config\u0060 (and at line 48) \u2014 and nowhere in \u0060redact_dict\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060redact_dict\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/utils/cli.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf80e04044ce3b612640ede818a28f992b408d6d5be90da4803cda97cc1e4d0f"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060deserialize\u0060 is public and takes \u0060data: dict[str, Any]\u0060 from its caller, and it calls itself at line 169 (\u0060self.deserialize\u0060) with a piece of \u0060data\u0060 \u2014 and nowhere in \u0060deserialize\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060deserialize\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/structured_search/drift_search/action.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14fcc77b87fc502f1884c238d0ea32a4f6551e0420c3bfa42de77fff6a7f66c"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 137 is called with an argument built by \u0060[blob.name for blob in all_blobs]\u0060 (line 137), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-storage/graphrag_storage/azure_blob_storage.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8553a6ec1dd9b218dd1e390a545da9f7c8e61f4639a9fd8ee1a7066d94178f8e"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 49 is called with an argument built by \u0060[file.name for file in all_files]\u0060 (line 49), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-storage/graphrag_storage/file_storage.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e90ce169f1f8f65346d011e65346ee8137a78bb9017ae11c47da01ef7c4264"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 162 is called with an argument built by \u0060dict(sorted(Counter(ratings.values()).items()))\u0060 (line 168), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/context_builder/dynamic_community_selection.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc380d1a26cc0153a6c616b297b1297861d181fcd2942bfcfdf7b56c1ea24ce3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except (IndexError, Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/query/indexer_adapters.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"350b285b2a4ca575d4c64888d670fdd718d84d86e4214701ca56a8dc488e16b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 53 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-llm/graphrag_llm/middleware/with_logging.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2cafa4df4e262f4f9e688a609b52429b44699e43b29d5b8d3c32d178b4e445"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 68 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag-llm/graphrag_llm/middleware/with_logging.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf85d16b738c83e47e27e02aa6c067b34de9cb34b6b4a72a8f96cc6b9825fbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 30 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/validate_config.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ffe157126f4d01cdcd2754cea3be89c71abddd6077b832469c4fab73590a55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 47 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/index/validate_config.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43338d0b0baedd1be4d323e2f78602dc88d2e48393653ab40e1989eed729b7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 32 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/graphrag/graphrag/cli/index.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd926095007ae2179a99cbec7a5cbf9cc8bbdaf60faa59c8926f1ecf77309c5"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: This repository commits no tsconfig, so whatever type-checks it uses tsc\u0027s own defaults, in which \u0060strict\u0060 and \u0060strictNullChecks\u0060 are OFF: \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060, and a value that is null is compiled through to the property access that throws. If the build passes \u0060--strict\u0060 on a command line instead, put it in a committed tsconfig \u2014 this check reads configuration, and configuration is all it can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-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":53,"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."]}]}